Research map / Large language models / Language, safety and interpretability
Enhancing Input-Label Mapping in In-Context Learning with Contrastive Decoding
Keqin Peng, Liang Ding, Yuanxin Ouyang, Meng Fang, Yancheng Yuan, Dacheng Tao
Beihang University · The University of Sydney · University of Liverpool · The Hong Kong Polytechnic University · Nanyang Technological University
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.
On benchmark leaderboards
- TREC leaderboard accuracy 46.6 · rank 94 of 94 papers
- DBPedia leaderboard accuracy 93.8 · rank 38 of 54 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add ICCD contrastive decoding | Llama3.2-1B · 7 NLU tasks average | accuracy: 66.1 -> 68.3 | Improved |
| add ICCD contrastive decoding | Qwen2-1.5B · 7 NLU tasks average | accuracy: 72.3 -> 74.6 | Improved |
| add ICCD contrastive decoding | Llama3.1-8B · QNLI | accuracy: 60.3 -> 65.4 | Improved |
| add ICCD contrastive decoding | Llama3.1-8B · SST-2 | accuracy: 96.7 -> 96.5 | No clear effect |
| add ICCD contrastive decoding | Llama3.2-1B · SST-5 | accuracy: 43.7 -> 43.3 | Hurt |
| add ICCD with TopK demonstration selection | Llama3.2-1B · 7 NLU tasks average (TopK) | accuracy: 73.6 -> 73.4 | Hurt |
| add ICCD with BM25 selection | Llama3.1-8B · 7 NLU tasks average (BM25) | accuracy: 79.7 -> 80.8 | Improved |
| add ICCD | Llama3.2-3B · TREC (6 classes) | accuracy: 44.4 -> 49.6 | Improved |
| add ICCD | Llama3.2-3B · Dbpedia (14 classes) | accuracy: 83.1 -> 91.4 | Improved |
| build negative examples by altering inputs rather than labels (ablation) | ICCD (random selection) · 7 NLU tasks average | accuracy: 77.3 -> 79.4 | Improved |
| use NULL (no negative demonstrations) as the contrast (ablation) | ICCD (random selection) · 7 NLU tasks average | accuracy: 77.6 -> 73.0 | Hurt |
| use Label-altered negatives instead of regular decoding (ablation) | ICCD (random selection) · 7 NLU tasks average | accuracy: 77.6 -> 77.3 | No clear effect |
Open problems in in-context learning analysis
Which in-context learning methods hold up beyond English classification on small open models, and what do they cost?
- Only a few small or medium open models were tested. · 14 papers state it
- The method needs many extra LLM calls or passes. · 13 papers state it
- Evaluated on English data only, with other languages untested. · 12 papers state it
Closest papers by meaning
- Interpret and Improve In-Context Learning via the Lens of Input-Label Mappings (ACL 2025 · similarity 0.91)
- In-Context Learning Learns Label Relationships but Is Not Conventional Learning (ICLR 2024 · similarity 0.90)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.89)
- Revisiting In-context Learning Inference Circuit in Large Language Models (ICLR 2025 · similarity 0.89)
- MAPLE: Many-Shot Adaptive Pseudo-Labeling for In-Context Learning (ICML 2025 · similarity 0.88)
- Making Text Embedders Few-Shot Learners (ICLR 2025 · similarity 0.88)
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.