Research map / Label-efficient and robust learning / Recognition and long-tail
Token-based Decision Criteria Are Suboptimal in In-context Learning
Hakaze Cho, Yoshihiro Sakai, Mariko Kato, Kenshiro Tanaka, Akira Ishii, Naoya Inoue
Japan Advanced Institute of Science and Technology · RIKEN
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace token-probability criteria with nearest centroid on last hidden states | ICL (6 LMs) · 10 classification datasets avg | Macro F1: about +20% over strongest baseline | Improved |
| use hidden states instead of whole-vocabulary probabilities (Cent.C control) (ablation) | centroid classifier · 10 datasets | Macro F1 | Improved |
| use nearest-centroid hidden-state classifier | Llama 2-13B · TREC | Macro F1: 23.22 -> 75.64 | Improved |
| use nearest-centroid hidden-state classifier | Llama 3-8B · Hate_Speech18 | Macro F1: 23.96 -> 20.67 | Hurt |
| use nearest-centroid hidden-state classifier | 6 LMs · Hate_Speech18 | Macro F1: Llama 2-34B 23.92 -> 29.94; Llama 2-13B 23.96 -> 20.06 | Mixed |
| add more calibration examples per class (1 to 128) (ablation) | Hidden Calibration · OPT-2.7B | classification performance | Improved |
| add more calibration examples (ablation) | token-based calibrations · OPT-2.7B | classification performance | No clear effect |
| increase number of demonstrations k (ablation) | Hidden Calibration · 5 datasets | Averaged Overlap: overlap significantly decreases | Improved |
| increase number of demonstrations k (ablation) | token-based methods · 5 datasets | Averaged Overlap | No clear effect |
| use Hidden Calibration instead of token-based criteria | GPT2-XL · 5 datasets | Averaged Overlap | Improved |
| vary prompt template, label distribution and demonstration order | Hidden Calibration · Rotten_Tomatoes, Llama 2-6.9B | Macro F1 | Improved |
| use centroids from other dataset with same label space (ablation) | Hidden Calibration · SemE.L test (centroids from Fina.P) | Macro F1 gain over vanilla: -0.40 | No clear effect |
Open problems in confidence calibration objectives
How can confidence be calibrated and guaranteed when the model, data or class count departs from the clean assumptions?
- Each method needs hyperparameters tuned per dataset. · 10 papers state it
- Tested mostly on image classifiers, often CIFAR and ImageNet. · 7 papers state it
- Extra training or inference passes add cost over a single model. · 7 papers state it
Closest papers by meaning
- A Study on the Calibration of In-context Learning (NAACL 2024 · similarity 0.88)
- Rectifying Demonstration Shortcut in In-Context Learning (NAACL 2024 · similarity 0.87)
- Generative Calibration for In-context Learning (EMNLP 2023 · similarity 0.87)
- Unifying Attention Heads and Task Vectors via Hidden State Geometry in In-Context Learning (NeurIPS 2025 · similarity 0.85)
- Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering (ICLR 2024 · similarity 0.84)
- Can In-context Learning Really Generalize to Out-of-distribution Tasks? (ICLR 2025 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.