Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:28 UTC · 5dc8a2b494ad ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "W4DiIGZZY9"- }- ],- "title": "Instant Context Optimization: Compiling Few-Shot In-Context Demonstrations into Pre-Trained Channel Magnitudes via Circuit-Bounded Sparse Optimization",- "authors": [],- "abstract": "In-Context Learning (ICL) enables Large Language Models (LLMs) to perform tasks from a small set of demonstrations (e.g., $K \\le 8$), but requires persistent Key-Value (KV) cache expansion and quadratic prefill latency on every forward pass. While compiling demonstrations directly into model weights would eliminate this runtime prompt tax, standard few-shot parameter optimization ($K \\ll D_{dim}$) is fundamentally ill-posed, causing severe overfitting and representation collapse. In this work, we propose \\textbf{Instant Context Optimization (ICO)}, a framework that compiles demonstrations into task-specific static weights once per task offline, recovering the performance benefits of ICL without serving-time prompt costs. Formally framed as episodic prompt-to-weight internalization via circuit-bounded test-time distillation, ICO leverages three structural constraints exposed by the model's own in-context activation routing: (1)~\\textit{Where to update:} Gradient-based parameter saliency localizes updates to sparse, task-relevant subcircuits ($d_{\\text{eff}} \\le 0.10 D$); (2)~\\textit{How to update:} Updates are restricted to channel-wise gain modulation along fixed directional bases ($W^* = \\operatorname{diag}(\\mathbf{m}^*/\\mathbf{m}_0) W_0$), provably preserving the layerwise kernel nullspace ($\\operatorname{ker}(W^*) \\equiv \\operatorname{ker}(W_0)$); and (3)~\\textit{How to score updates:} Reasoning trajectories are supervised via Demonstration-Conditioned Teacher Reference Scoring with Group Minimum-Anchored Relative Advantage ($\\hat{A}_i = (r_i - r_{\\text{bot}})/\\sigma_k$). Across 38 benchmarks on models up to 27B parameters, ICO recovers $26.2\\% \\to 74.9\\%$ (up to $107.8\\%$ on GSM8K) few-shot headroom with a universal $+12.67\\%$ grand macro served gain in pure zero-shot setting, safeguarded by an empirical Risk-Monotonic AR validation gate.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "5bbace72-8e93-4363-8cfc-5a6e6e53860e"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Instant Context Optimization: Compiling Few-Shot In-Context Demonstrations into Pre-Trained Channel Magnitudes via Circuit-Bounded Sparse Optimization",+ "authors": [],+ "abstract": "In-Context Learning (ICL) enables Large Language Models (LLMs) to perform tasks from a small set of demonstrations (e.g., $K \\le 8$), but requires persistent Key-Value (KV) cache expansion and quadratic prefill latency on every forward pass. While compiling demonstrations directly into model weights would eliminate this runtime prompt tax, standard few-shot parameter optimization ($K \\ll D_{dim}$) is fundamentally ill-posed, causing severe overfitting and representation collapse. In this work, we propose \\textbf{Instant Context Optimization (ICO)}, a framework that compiles demonstrations into task-specific static weights once per task offline, recovering the performance benefits of ICL without serving-time prompt costs. Formally framed as episodic prompt-to-weight internalization via circuit-bounded test-time distillation, ICO leverages three structural constraints exposed by the model's own in-context activation routing: (1)~\\textit{Where to update:} Gradient-based parameter saliency localizes updates to sparse, task-relevant subcircuits ($d_{\\text{eff}} \\le 0.10 D$); (2)~\\textit{How to update:} Updates are restricted to channel-wise gain modulation along fixed directional bases ($W^* = \\operatorname{diag}(\\mathbf{m}^*/\\mathbf{m}_0) W_0$), provably preserving the layerwise kernel nullspace ($\\operatorname{ker}(W^*) \\equiv \\operatorname{ker}(W_0)$); and (3)~\\textit{How to score updates:} Reasoning trajectories are supervised via Demonstration-Conditioned Teacher Reference Scoring with Group Minimum-Anchored Relative Advantage ($\\hat{A}_i = (r_i - r_{\\text{bot}})/\\sigma_k$). Across 38 benchmarks on models up to 27B parameters, ICO recovers $26.2\\% \\to 74.9\\%$ (up to $107.8\\%$ on GSM8K) few-shot headroom with a universal $+12.67\\%$ grand macro served gain in pure zero-shot setting, safeguarded by an empirical Risk-Monotonic AR validation gate.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}