# Large Language Models Must Be Taught to Know What They Don’t Know

Large Language Models의 자기 신뢰도 학습

Kapoor, Sanyam, Gruver, Nate, Roberts, Manley, Collins, Katherine, Pal, Arka, Bhatt, Umang 외 4명 · Advances in Neural Information Processing Systems · 2024년 12월 16일

- **연구 문제** 기존 블랙박스 방법은 개방형 답변에서 정답 확률을 잘 맞히지 못했습니다. 같은 뜻의 여러 표현에 확률이 흩어져 문장 우도가 신호로 약합니다.
- **연구 방법** 저자들은 정답 여부를 레이블로 삼아 학습시킵니다. 기반 모델을 고정한 Probe와 달리, LoRA로 모델을 고치는 방식과 비교합니다.
- **주요 결과** 미세조정 방법은 개방형과 객관식 MMLU 모두에서 기준선보다 ECE와 AUROC를 개선했습니다.

## 프롬프팅만으로는 부족한 이유

대규모 언어 모델을 의료나 판단이 중요한 곳에 쓰려면 답이 맞을 확률을 믿을 수 있어야 합니다. 기존 연구들은 프롬프트만으로도 보정된 불확실성을 얻을 수 있다고 주장하기도 하고, 반대로 모델이 여전히 지나치게 확신한다고 보기도 합니다. 이 논문은 개방형 생성에서는 기존의 블랙박스 방법들이 쓸 만한 불확실성을 내기 어렵다고 봅니다. 저자들은 언어 모델의 확률이 여러 표현에 흩어지는 문제 때문에 문장 단위 우도나 perplexity가 정답 여부의 신호로 약하다고 설명합니다.

## 정답 여부를 예측하는 세 가지 방식

이 논문은 P(correct)를 학습 가능한 이진 분류 문제로 봅니다. Probe는 기반 LLM을 고정한 채 마지막 층 특징 위에 작은 피드포워드 네트워크를 학습합니다. LoRA는 같은 작업을 저랭크 어댑터로 기반 모델을 조정하며 수행합니다. LoRA + Prompt는 정답 여부를 두 개의 대상 토큰으로 된 객관식 형식으로 제시하고 LoRA로 미세조정합니다. 학습 데이터는 모델이 생성한 답을 보조 모델로 채점한 정답·오답 레이블입니다. 온도 스케일링은 보류 데이터에서 온도를 학습해 보정합니다. LoRA 계열에는 기반 모델과의 차이를 억제하는 Jensen-Shannon 발산 정규화가 목표 시퀀스 로짓에 적용됩니다.

## MMLU 결과와 데이터 양

개방형 MMLU와 객관식 MMLU 모두에서 미세조정 방법은 기준선보다 ECE와 AUROC를 개선했습니다. 저자들은 특징만 고정한 Probe가 객관식에서는 기준선을 넘지만 개방형에서는 기반 모델을 학습 경로에 포함한 LoRA + Prompt보다 약하다고 보고합니다. 학습 예시 수를 200개에서 20,000개까지 바꾼 실험에서는 1000개 예시가 20,000개와 거의 비슷한 가치를 보였습니다. 이 결과는 여섯 기반 모델의 평균과 표준편차 조건에서 읽어야 합니다.

## 분포 변화에서의 일반화

저자들은 주제 분포와 질문 형식이 바뀌어도 신뢰도가 유지되는지 확인했습니다. 학습 데이터는 STEM과 인문학 질문이 많고 사회과학 질문은 거의 없지만, 카테고리별 신뢰도 성능은 비슷했습니다. 객관식으로 학습한 모델을 개방형에 적용하는 전이는 반대 방향보다 어렵지만 LoRA + Prompt는 여전히 잘 일반화했습니다. 답변 불가능한 SelfAware 질문에 대해서는 미세조정 모델이 답변 가능한 질문과 구분되는 낮은 신뢰도를 주었습니다.

## 코딩 과제로의 확장

학습 데이터에는 코딩 과제가 없습니다. 저자들은 LiveCodeBench의 LeetCode easy 62문제에서 LoRA + Prompt와 Zero-Shot Classifier를 비교했습니다. Mistral-7B에서는 LoRA + Prompt가 보정과 선택적 예측을 크게 개선했습니다.

## 사용자 연구의 한계

저자들은 신뢰도 점수가 평균 정확도보다 가장 낮은 성능의 사용자에게 더 큰 도움이 되었다고 보았습니다. 다만 보정의 효과와 사람이 신뢰도를 해석하는 방식의 효과를 분리하지 못했다고 밝힙니다. 실험은 MMLU 질문과 Mistral 7B Instruct 응답으로만 했습니다.

## 논문 정보

- **저자**: Kapoor, Sanyam, Gruver, Nate, Roberts, Manley, Collins, Katherine, Pal, Arka, Bhatt, Umang, Weller, Adrian, Dooley, Samuel, Goldblum, Micah, Wilson, Andrew
- **학회·저널**: Advances in Neural Information Processing Systems · 게재
- **최초 공개일**: 2024년 12월 16일
- **등록일**: 2026년 11월 25일
- **DOI**: 10.52202/079017-2729
- **원문 이용 조건**: [원문에서 확인 ↗](https://papers.nips.cc/paper_files/paper/2024/hash/9c20f16b05f5e5e70fa07e2a4364b80e-Abstract-Conference.html)
- **제공 범위**: 논문 정보, 해설

[논문 원문 ↗](https://papers.nips.cc/paper_files/paper/2024/hash/9c20f16b05f5e5e70fa07e2a4364b80e-Abstract-Conference.html)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 원문 인용

Kapoor, Sanyam, Gruver, Nate, Roberts, Manley, Collins, Katherine, Pal, Arka, Bhatt, Umang, Weller, Adrian, Dooley, Samuel, Goldblum, Micah, Wilson, Andrew (2024). Large Language Models Must Be Taught to Know What They Don’t Know. Advances in Neural Information Processing Systems. https://doi.org/10.52202/079017-2729

**BibTeX**

```
@article{sanyam2024large,
  title = {{Large Language Models Must Be Taught to Know What They Don’t Know}},
  author = {Kapoor, Sanyam and Gruver, Nate and Roberts, Manley and Collins, Katherine and Pal, Arka and Bhatt, Umang and Weller, Adrian and Dooley, Samuel and Goldblum, Micah and Wilson, Andrew},
  year = {2024},
  journal = {Advances in Neural Information Processing Systems},
  doi = {10.52202/079017-2729},
  url = {https://papers.nips.cc/paper_files/paper/2024/hash/9c20f16b05f5e5e70fa07e2a4364b80e-Abstract-Conference.html}
}
```

## 이 논문의 용어

- [LoRA](https://refivu.com/terms/84da7a415b66-low-rank-adaptation-lora)
- [Perplexity](https://refivu.com/terms/2b204e513801-perplexity)
- [expected calibration error](https://refivu.com/terms/5989f8ad43cb-expected-calibration-error)
- [대규모 언어 모델](https://refivu.com/terms/d06687a9ae3e-large-language-model)
- [LiveCodeBench](https://refivu.com/terms/a42eecb00259-livecodebench)
- [temperature scaling](https://refivu.com/terms/f06bf589474e-temperature-scaling)
- [Jensen-Shannon divergence](https://refivu.com/terms/408b4685369b-jensen-shannon-divergence)
- [Probe](https://refivu.com/terms/afa5332c2868-probe)

## 다른 논문 해설

- [Guidance: Sentence-Level Citation Enforcement via Prefix-Tail Guidance during LLM Decoding](https://refivu.com/papers/c6e6fc4c-6baf-4bb3-a414-a5eba7ff863c-guidance-sentence-level-citation-enforcement-via-prefix-tail.md)
- [Inner-layer Token Self-modulation as Another Scaling Axis for LLMs](https://refivu.com/papers/41b1069d-1f88-4c51-a062-27da8c6b3d1e-inner-layer-token-self-modulation-as-another-scaling.md)
- [Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models](https://refivu.com/papers/4d00bdf0-4a55-413c-828b-0d71373808b6-benchmarking-protein-structure-tokenizers-as-generation.md)
- [From Muon to Gluon: Bridging Theory and Practice of LMO-based Optimizers for LLMs](https://refivu.com/papers/8abf3f11-d4df-432c-a8d8-b81217f6cb67-from-muon-to-gluon-bridging-theory-and-practice.md)
- [Bits That Count: Quantifying and Predicting Capabilities of Language Models](https://refivu.com/papers/18e0cbff-e732-49be-a90d-d2fd6731c419-bits-that-count-quantifying-and-predicting-capabilities-of.md)
- [Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exiting](https://refivu.com/papers/23eec56f-f281-4574-ac78-9af424b32f10-kangaroo-lossless-self-speculative-decoding-for-accelerating.md)
- [Blending Neural Control Density Functions for Stabilization and Safety](https://refivu.com/papers/2b6e127e-d8b0-4e8d-b78b-426f1ca3ea83-blending-neural-control-density-functions-for-stabilization.md)
- [Effective Model Pruning : Measuring the Redundancy of Model Components](https://refivu.com/papers/1e8cd0f7-b3bc-4b55-a972-43c970121d81-effective-model-pruning-measuring-the-redundancy-of-model.md)
- [Parameterized Approximation Schemes for Fair-Range Clustering](https://refivu.com/papers/1e2cf97c-5ebf-4133-85a3-7501f564354d-parameterized-approximation-schemes-for-fair-range.md)
- [ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention](https://refivu.com/papers/1e763f88-1816-4af3-b7f6-f9f54f343798-prosst-protein-language-modeling-with-quantized-structure.md)
- [Beyond Rigid Hands: Deforming Skin into Contact-Consistent Hand Meshes](https://refivu.com/papers/0a4136c6-faea-47d3-8747-2cc7c563762d-beyond-rigid-hands-deforming-skin-into-contact-consistent.md)
- [Reproducing the Speech Labels of Qwen3-Omni's Talker: Mimi in bf16, and a Last-Frame Pitfall](https://refivu.com/papers/f3ee984a-ec3a-4882-9798-a3a6875352e6-reproducing-the-speech-labels-of-qwen3-omni-s.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/4d71ae08-4963-4ae9-916f-e448018e1866-large-language-models-must-be-taught-to-know)
