Towards Fully Exploiting LLM Internal States to Enhance Knowledge Boundary Perception

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Ni, Shiyu, Bi, Keping, Guo, Jiafeng, Yu, Lulu, Bi, Baolong, Cheng, Xueqi
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912448318013440
author Ni, Shiyu
Bi, Keping
Guo, Jiafeng
Yu, Lulu
Bi, Baolong
Cheng, Xueqi
author_facet Ni, Shiyu
Bi, Keping
Guo, Jiafeng
Yu, Lulu
Bi, Baolong
Cheng, Xueqi
contents Large language models (LLMs) exhibit impressive performance across diverse tasks but often struggle to accurately gauge their knowledge boundaries, leading to confident yet incorrect responses. This paper explores leveraging LLMs' internal states to enhance their perception of knowledge boundaries from efficiency and risk perspectives. We investigate whether LLMs can estimate their confidence using internal states before response generation, potentially saving computational resources. Our experiments on datasets like Natural Questions, HotpotQA, and MMLU reveal that LLMs demonstrate significant pre-generation perception, which is further refined post-generation, with perception gaps remaining stable across varying conditions. To mitigate risks in critical domains, we introduce Confidence Consistency-based Calibration ($C^3$), which assesses confidence consistency through question reformulation. $C^3$ significantly improves LLMs' ability to recognize their knowledge gaps, enhancing the unknown perception rate by 5.6% on NQ and 4.9% on HotpotQA. Our findings suggest that pre-generation confidence estimation can optimize efficiency, while $C^3$ effectively controls output risks, advancing the reliability of LLMs in practical applications.
format Preprint
id arxiv_https___arxiv_org_abs_2502_11677
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Towards Fully Exploiting LLM Internal States to Enhance Knowledge Boundary Perception
Ni, Shiyu
Bi, Keping
Guo, Jiafeng
Yu, Lulu
Bi, Baolong
Cheng, Xueqi
Computation and Language
Large language models (LLMs) exhibit impressive performance across diverse tasks but often struggle to accurately gauge their knowledge boundaries, leading to confident yet incorrect responses. This paper explores leveraging LLMs' internal states to enhance their perception of knowledge boundaries from efficiency and risk perspectives. We investigate whether LLMs can estimate their confidence using internal states before response generation, potentially saving computational resources. Our experiments on datasets like Natural Questions, HotpotQA, and MMLU reveal that LLMs demonstrate significant pre-generation perception, which is further refined post-generation, with perception gaps remaining stable across varying conditions. To mitigate risks in critical domains, we introduce Confidence Consistency-based Calibration ($C^3$), which assesses confidence consistency through question reformulation. $C^3$ significantly improves LLMs' ability to recognize their knowledge gaps, enhancing the unknown perception rate by 5.6% on NQ and 4.9% on HotpotQA. Our findings suggest that pre-generation confidence estimation can optimize efficiency, while $C^3$ effectively controls output risks, advancing the reliability of LLMs in practical applications.
title Towards Fully Exploiting LLM Internal States to Enhance Knowledge Boundary Perception
topic Computation and Language
url https://arxiv.org/abs/2502.11677