potentialpaper

When Do Structured Prompts Help In-Context Learning? A Relevance--Redundancy Theory of In-Context Prediction

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:19 UTC · 37aa24eff63b ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "XunVhzABU1"
- }
- ],
- "title": "When Do Structured Prompts Help In-Context Learning? A Relevance--Redundancy Theory of In-Context Prediction",
- "authors": [],
- "abstract": "In-context learning is commonly analyzed under independent demonstrations, yet real prompts are often structured: demonstrations can be correlated with one another and with the query. When does this structure improve in-context prediction, and when does it merely make the context redundant? We develop a relevance--redundancy account in the solvable setting of in-context linear regression, allowing an arbitrary positive-semidefinite, unit-diagonal sample-similarity kernel over the demonstrations and query. For a linear-attention predictor trained on independent prompts and deployed on a structured one, we derive an exact finite-dimensional excess-risk law. Structure decomposes into a redundancy cost among demonstrations, a relevance gain between demonstrations and the query, and a higher-order mediated interaction. In the weak-structure regime, prediction improves precisely when $Q>\\alpha R/(1+\\rho)$, where $\\alpha=\\ell/d$ is the context-to-dimension ratio and $\\rho$ is the label-noise variance. We then characterize which relevance--redundancy combinations arise from coherent structure. Under graph-induced covariance, the two terms become internal context connectivity and query connectivity. In a sparse stochastic block model, a single latent context-composition variable changes relevance linearly but redundancy quadratically, yielding explicit homophily- and heterophily-dependent help--hurt phase transitions. Finally, trained full linear attention closely follows the exact law, while nonlinear softmax attention often depends on the same coordinates but with architecture-dependent coefficients. Thus, relevance and redundancy describe a shared prompt geometry, while their exchange rate is model-specific.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "fe087f9d-839f-424e-91dd-b766ac3e34d6"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "When Do Structured Prompts Help In-Context Learning? A Relevance--Redundancy Theory of In-Context Prediction",
+ "authors": [],
+ "abstract": "In-context learning is commonly analyzed under independent demonstrations, yet real prompts are often structured: demonstrations can be correlated with one another and with the query. When does this structure improve in-context prediction, and when does it merely make the context redundant? We develop a relevance--redundancy account in the solvable setting of in-context linear regression, allowing an arbitrary positive-semidefinite, unit-diagonal sample-similarity kernel over the demonstrations and query. For a linear-attention predictor trained on independent prompts and deployed on a structured one, we derive an exact finite-dimensional excess-risk law. Structure decomposes into a redundancy cost among demonstrations, a relevance gain between demonstrations and the query, and a higher-order mediated interaction. In the weak-structure regime, prediction improves precisely when $Q>\\alpha R/(1+\\rho)$, where $\\alpha=\\ell/d$ is the context-to-dimension ratio and $\\rho$ is the label-noise variance. We then characterize which relevance--redundancy combinations arise from coherent structure. Under graph-induced covariance, the two terms become internal context connectivity and query connectivity. In a sparse stochastic block model, a single latent context-composition variable changes relevance linearly but redundancy quadratically, yielding explicit homophily- and heterophily-dependent help--hurt phase transitions. Finally, trained full linear attention closely follows the exact law, while nonlinear softmax attention often depends on the same coordinates but with architecture-dependent coefficients. Thus, relevance and redundancy describe a shared prompt geometry, while their exchange rate is model-specific.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}