Research map / Large language models / Language, safety and interpretability
NICE: To Optimize In-Context Examples or Not?
Pragya Srivastava, Satvik Golechha, Amit Deshpande, Amit Sharma
Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
4improved
3no clear effect
3hurt
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 |
|---|---|---|---|
| add detailed task instruction (ablation) | NICE (GPT-4-Turbo) · TREC | NICE: 0.52 -> 0.98 | Improved |
| add detailed task instruction (ablation) | NICE (GPT-4-Turbo) · MTOP | NICE: 0.29 -> 0.38 | Improved |
| add detailed task instruction (ablation) | NICE (GPT-4-Turbo) · Break | NICE: 0.43 -> 0.20 | Hurt |
| add detailed task instruction (ablation) | NICE (GPT-4-Turbo) · SST-2 / MNLI / MedQA | NICE: 0.99 -> 1.00; 0.97 -> 0.99; 0.98 -> 0.98 | No clear effect |
| replace random ICE with optimized ICE selection when a detailed instruction is given | GPT-3.5-Turbo · high-NICE tasks (SST-2, SST-5, TREC, MNLI, FinQA, MedQA) | accuracy | No clear effect |
| use optimized ICE instead of random ICE with instruction | GPT-3.5-Turbo · low-NICE tasks (MTOP, Break, NL2BASH) | task metric | Improved |
| replace gold ICE labels with random labels under detailed instruction (ablation) | GPT-3.5-Turbo · high-NICE classification tasks | accuracy | No clear effect |
| induce non-standard output schema (ablation) | SST-2 / SST-5 (no instruction) · SST-2 / SST-5 | NICE: SST2 0.99 -> 0.86; SST5 0.91 -> 0.83 | Hurt |
| add detailed instruction under induced schema (ablation) | NICE · SST-2 / SST-5 induced schema | NICE: 0.86 -> 0.96; 0.83 -> 0.93 | Improved |
| require reasoning-format correctness instead of final answer correctness | NICE (detailed instruction) · GSM8K | NICE: 0.98 -> 0.74 | Hurt |
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
- InstructEval: Systematic Evaluation of Instruction Selection Methods (NAACL 2024 · similarity 0.90)
- Rethinking the Evaluation of In-Context Learning for LLMs (EMNLP 2024 · similarity 0.89)
- SEE: Strategic Exploration and Exploitation for Cohesive In-Context Prompt Optimization (ACL 2025 · similarity 0.89)
- Finding Support Examples for In-Context Learning (EMNLP 2023 · similarity 0.88)
- Coverage-based Example Selection for In-Context Learning (EMNLP 2023 · similarity 0.88)
- Dual Operating Modes of In-Context Learning (ICML 2024 · 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.