scimeatlas

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

EMNLP 2026Large language models › Instruction and fine-tuningapproach: Fine-tuning for reasoning dataopen problems in this approach1 citations (OpenAlex)

The Open University · Tel Aviv University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
7improved
2no 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 changedWhereMeasuredEffect
Compile few-shot context into weights with ICCMistral-7B, Phi-3-mini, Gemma-2-2B · 27 task-model pairsaccuracy: exceeds with-context teacher on 21 of 27 pairsImproved
Apply ICCMistral-7B · AG Newsaccuracy: 90.68 -> 84.94Hurt
Apply ICC instead of LoRA/DoRA in low-data settingMistral-7B · MRPCaccuracy: LoRA 34.31, DoRA 31.62 -> ICC 80.88Improved
Apply ICC instead of LoRAMistral-7B · SST-2accuracy: 94.72 -> 88.65Hurt
Train LoRA/DoRA on the full calibration poolLoRA/DoRA · Mistral-7B tasksaccuracy: matches or exceeds ICC on several tasksImproved
Edit oproj instead of mlp.down_proj (ablation)ICC · Mistral-7B, 7 tasksaccuracy: better on 6 of 7 tasks, +1.92 pp averageImproved
Apply ICC edits to Mistral-7BMistral-7B · WikiText-2perplexity: 5.431 -> 5.424/5.420/5.402/5.415No clear effect
Use cross-fit auto-sparsity instead of sweep (ablation)ICC · Mistral DBPediaaccuracy: 84.17 vs 89.07 sweptNo clear effect
Use cross-fit auto-sparsity instead of sweep (ablation)ICC · Phi-3 DBPedia-14accuracy: 96.90 -> 93.00Hurt
Select calibration examples by KL (unsupervised) instead of supervised unranked (ablation)ICC · Phi-3 DBPedia-14accuracy: 96.90 -> 98.17Improved
Add KL ranking to supervised selection (hybrid) (ablation)ICC · Phi-3 DBPedia-14accuracy: +1.15pp jump 96.90 -> 98.05Improved
Use ICC on Gemma-2-2B AG NewsGemma-2-2B · AG Newsaccuracy: 4.36 -> 80.73Improved

Open problems this paper states

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy