Sequential Stability Bounds for Order-Dependent In-Context Learning
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:54 UTC · 3d32d1d4d678 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "G4yS4Va5AZ"- }- ],- "title": "Sequential Stability Bounds for Order-Dependent In-Context Learning",- "authors": [],- "abstract": "In-context learning (ICL) accuracy swings by up to 39 percentage points under demonstration reordering, yet every existing theoretical framework treats the prompt as an unordered set and therefore certifies one number for all $k!$ orderings. We formalize causal attention masking as the source of this asymmetry: tracking a single-example replacement through the causal chain gives a closed-form position-dependent amplification factor $W(p,k,L)$, strictly decreasing in slot $p$ for $L\\ge 2$ and exactly flat for $L=1$, which couples with a per-source sensitivity score $\\eta_j$ to define *sequential stability coefficients* $\\beta_\\sigma$—the first bounded-differences constant for ICL that varies with the permutation. Three theorems follow: an order-dependent generalization bound, a rearrangement-based certification of low-sensitivity-first ordering with an $\\Omega(\\Delta^2/(kC^2))$ separation, and a non-vacuity criterion in $(B^3R^2, r_{\\max}, L)$ that is independent of embedding dimension; a spherical-concentration certificate resolves distinct sources at cost $d_x=\\Theta(\\ln k)$. A hierarchy of diagnostic experiments matches the theory: $L=1$ produces spread below $10^{-8}$ across 120 permutations, matched trained and untrained networks are equivalent under normalized attention (TOST $p=0.033$, $n=30$)—so ordering effects are architectural, not learned—and four 7–8B instruction-tuned LLMs show 8–39% accuracy spread on AG News and RTE. The multiplicative decomposition $W(p)\\cdot\\eta_{\\sigma(p)}$ is recovered from the empirical gap matrix: the position factor tracks closed-form $W$ at $r_s=0.82$–$0.98$, an intraclass ceiling $\\mathcal{R}^2_{\\max}=0.35$–$0.98$ quantifies the per-example share, and a learned score saturates $\\ge 92\\%$ of that ceiling at $d_x\\le 32$—identifying the residual $1-\\mathcal{R}^2_{\\max}$ as the framework's predicted many-body component.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "2e3c1630-f717-489c-af4d-f66cd7e78b65"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Sequential Stability Bounds for Order-Dependent In-Context Learning",+ "authors": [],+ "abstract": "In-context learning (ICL) accuracy swings by up to 39 percentage points under demonstration reordering, yet every existing theoretical framework treats the prompt as an unordered set and therefore certifies one number for all $k!$ orderings. We formalize causal attention masking as the source of this asymmetry: tracking a single-example replacement through the causal chain gives a closed-form position-dependent amplification factor $W(p,k,L)$, strictly decreasing in slot $p$ for $L\\ge 2$ and exactly flat for $L=1$, which couples with a per-source sensitivity score $\\eta_j$ to define *sequential stability coefficients* $\\beta_\\sigma$—the first bounded-differences constant for ICL that varies with the permutation. Three theorems follow: an order-dependent generalization bound, a rearrangement-based certification of low-sensitivity-first ordering with an $\\Omega(\\Delta^2/(kC^2))$ separation, and a non-vacuity criterion in $(B^3R^2, r_{\\max}, L)$ that is independent of embedding dimension; a spherical-concentration certificate resolves distinct sources at cost $d_x=\\Theta(\\ln k)$. A hierarchy of diagnostic experiments matches the theory: $L=1$ produces spread below $10^{-8}$ across 120 permutations, matched trained and untrained networks are equivalent under normalized attention (TOST $p=0.033$, $n=30$)—so ordering effects are architectural, not learned—and four 7–8B instruction-tuned LLMs show 8–39% accuracy spread on AG News and RTE. The multiplicative decomposition $W(p)\\cdot\\eta_{\\sigma(p)}$ is recovered from the empirical gap matrix: the position factor tracks closed-form $W$ at $r_s=0.82$–$0.98$, an intraclass ceiling $\\mathcal{R}^2_{\\max}=0.35$–$0.98$ quantifies the per-example share, and a learned score saturates $\\ge 92\\%$ of that ceiling at $d_x\\le 32$—identifying the residual $1-\\mathcal{R}^2_{\\max}$ as the framework's predicted many-body component.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}