Research map / Large language models / Instruction and fine-tuning
In-Context Compilation: Encoding Context-Induced Behavioral Shift into Model Weights
Michael Merzin, Yehonatan Elisha, Oren Barkan, Yonatan Toib, Noam Koenigstein
The Open University · Tel Aviv 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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Compile few-shot context into weights with ICC | Mistral-7B, Phi-3-mini, Gemma-2-2B · 27 task-model pairs | accuracy: exceeds with-context teacher on 21 of 27 pairs | Improved |
| Apply ICC | Mistral-7B · AG News | accuracy: 90.68 -> 84.94 | Hurt |
| Apply ICC instead of LoRA/DoRA in low-data setting | Mistral-7B · MRPC | accuracy: LoRA 34.31, DoRA 31.62 -> ICC 80.88 | Improved |
| Apply ICC instead of LoRA | Mistral-7B · SST-2 | accuracy: 94.72 -> 88.65 | Hurt |
| Train LoRA/DoRA on the full calibration pool | LoRA/DoRA · Mistral-7B tasks | accuracy: matches or exceeds ICC on several tasks | Improved |
| Edit oproj instead of mlp.down_proj (ablation) | ICC · Mistral-7B, 7 tasks | accuracy: better on 6 of 7 tasks, +1.92 pp average | Improved |
| Apply ICC edits to Mistral-7B | Mistral-7B · WikiText-2 | perplexity: 5.431 -> 5.424/5.420/5.402/5.415 | No clear effect |
| Use cross-fit auto-sparsity instead of sweep (ablation) | ICC · Mistral DBPedia | accuracy: 84.17 vs 89.07 swept | No clear effect |
| Use cross-fit auto-sparsity instead of sweep (ablation) | ICC · Phi-3 DBPedia-14 | accuracy: 96.90 -> 93.00 | Hurt |
| Select calibration examples by KL (unsupervised) instead of supervised unranked (ablation) | ICC · Phi-3 DBPedia-14 | accuracy: 96.90 -> 98.17 | Improved |
| Add KL ranking to supervised selection (hybrid) (ablation) | ICC · Phi-3 DBPedia-14 | accuracy: +1.15pp jump 96.90 -> 98.05 | Improved |
| Use ICC on Gemma-2-2B AG News | Gemma-2-2B · AG News | accuracy: 4.36 -> 80.73 | Improved |
Open problems this paper states
- “Effectiveness depends on the context producing a sufficiently consistent behavioral shift, and it cannot create capabilities the model lacks.” → The method depends on what the base model already knows. (an open problem in fine-tuning for reasoning data)
Open problems in fine-tuning for reasoning data
Do reasoning fine-tuning methods keep working on larger models, open-ended tasks and beyond plain SFT?
- Tested only on models of 14B parameters or fewer, not 70B-scale. · 22 papers state it
- Gains are shown on math and verifiable tasks, not open-ended ones. · 15 papers state it
- The method depends on what the base model already knows. · 7 papers state it
Closest papers by meaning
- Let's (not) just put things in Context: Test-time Training for Long-context LLMs (ICLR 2026 · similarity 0.89)
- In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering (ICML 2024 · similarity 0.89)
- Implicit In-context Learning (ICLR 2025 · similarity 0.89)
- In-context Autoencoder for Context Compression in a Large Language Model (ICLR 2024 · similarity 0.88)
- Capturing In-Context Learning Dynamics with Task Operators (NeurIPS 2026 · similarity 0.88)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 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.