JSAI2025

Presentation information

Poster Session

Poster session » Poster Session

[1Win4] Poster session 1

Tue. May 27, 2025 3:30 PM - 5:30 PM Room W (Event hall D-E)

[1Win4-46] Method for quantifying a reliability of LLM answers and OOD detection by internal calculation values

〇Shinji Nakagawa1, Ryota Komatsu1, Masashi Egi1 (1.Hitachi, Ltd.)

Keywords:LLM, Reliability, Internal calculation value, Attention, Out-of-distribution

Ensuring high reliability of LLM is an important issue. In this paper, we propose a method to quantify a reliability of outputs based on attention vectors, which are an internal calculation value of LLM, and an out-of-domain (OOD) detection method using the quantified reliability. Values of attention vectors corresponding to a previously proven input and output of LLM are converted into features, and the values are determined as in-domain (ID) features. The greater the difference between the feature of unknown input and the ID features for input is, the lower the reliability of the unknown input is, and OOD detection is performed based on the reliability. Same processing is performed for unknown output. A final OOD judgment is made by both the OOD detection for input and output. Evaluations using actual business data was performed, and both OOD judgment rates and ID judgment rates was over 95%.

Authentication for paper PDF access
A password is required to view paper PDFs. If you are a registered participant, please log on the site from Participant Log In.
You could view the PDF with entering the PDF viewing password bellow.

Password