potentialpaper

The Price of Choosing Examples: Context Overfitting in Adaptive In-Context Learning

Import NeurIPS 2026 submission Gzmzr2tIux: 8 notes

@openreview[bot] · 2026-11-22 17:55 UTC · 170c9999a126

Evidence

.gitattributes added

+++ b/.gitattributes
@@ -0,0 +1,10 @@
+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),
+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.
+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text
+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text
+/thumbnail.png filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text
+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text
+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text

.potentialpaper/metadata.json added

+++ b/.potentialpaper/metadata.json
@@ -0,0 +1,22 @@
+{
+ "layout": 5,
+ "identifiers": [
+ {
+ "scheme": "openreview",
+ "value": "Gzmzr2tIux"
+ }
+ ],
+ "title": "The Price of Choosing Examples: Context Overfitting in Adaptive In-Context Learning",
+ "authors": [
+ "Xiaoyu Li",
+ "Jiangxuan Long"
+ ],
+ "abstract": "In-context learning is usually analyzed as if the examples in the prompt were sampled before the learner is chosen. In deployed systems they are not: examples are retrieved, filtered, re-ranked, edited, and repeatedly tested after seeing the query and the data store. We formalize this gap by treating prompt construction as adaptive data analysis through a conditional stochastic-kernel calculus. Our main quantity is the context capacity, the mutual information or approximate max-information between the data store and the final prompt transcript. For any frozen in-context learner and any adaptive context pipeline with capacity $\\kappa$, we prove a finite-sample context generalization bound of order $\\sqrt{\\kappa/k}$, where $k$ is the number of selected examples whose losses form the reported score. We prove a matching lower bound, whose constant is exact when $\\log k\\ll\\kappa\\ll k$, and derive two PAC-Bayesian retrieval rules: a first-order Gibbs rule that charges data-dependent candidate gates their prior mass, and a self-normalized second-order rule. On Banking77 with 64 retrieval recipes and two model families, the certificates hold in all 24,000 resampled selection events, and from 64 (Qwen2.5-7B) or 128 (GPT-4.1-mini) reused validation queries the Gibbs rule certifies a risk below the zero-shot error in over 99% of validation draws. Finally, we instantiate the theory for Bayesian linear in-context regression, including an order-statistics analysis of query-aligned top-$k$ Gaussian retrieval. The results separate context quality from context certification: longer or more relevant contexts improve risk only when the procedure used to choose them is stable enough for selected-context evidence to transfer.",
+ "year": 2026,
+ "venue": "NeurIPS 2026",
+ "source": "openreview",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}

community/10-tl-dr.md added

+++ b/community/10-tl-dr.md

community/20-summary.md added

+++ b/community/20-summary.md

community/30-why-it-matters.md added

+++ b/community/30-why-it-matters.md

community/40-critique.md added

+++ b/community/40-critique.md

community/50-errata.md added

+++ b/community/50-errata.md

community/60-reproductions.md added

+++ b/community/60-reproductions.md

community/70-follow-ups.md added

+++ b/community/70-follow-ups.md

owners/10-tl-dr.md added

+++ b/owners/10-tl-dr.md

owners/20-overview.md added

+++ b/owners/20-overview.md

owners/30-results.md added

+++ b/owners/30-results.md

owners/40-demos.md added

+++ b/owners/40-demos.md

owners/50-code-and-data.md added

+++ b/owners/50-code-and-data.md

owners/60-talks.md added

+++ b/owners/60-talks.md

prek.toml added

+++ b/prek.toml
@@ -0,0 +1,36 @@
+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.
+# The site checks every push again; these catch mistakes before you commit. The same on every page.
+
+[[repos]]
+repo = "builtin"
+hooks = [
+ { id = "check-json" },
+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },
+ { id = "end-of-file-fixer", exclude = '^demos/' },
+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },
+ { id = "check-case-conflict" },
+ { id = "check-illegal-windows-names" },
+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },
+]
+
+# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).
+[[repos]]
+repo = "https://github.com/python-jsonschema/check-jsonschema"
+rev = "0.39.0"
+hooks = [
+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },
+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },
+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },
+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },
+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },
+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },
+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },
+]
+
+# Sections formatted the way the web editor formats them.
+[[repos]]
+repo = "https://github.com/rbubley/mirrors-prettier"
+rev = "v3.9.9"
+hooks = [
+ { id = "prettier", files = '^(owners|community)/.*\.md$' },
+]

reviews/openreview/gzmzr2tiux/forms.json added

+++ b/reviews/openreview/gzmzr2tiux/forms.json
@@ -0,0 +1,227 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ },
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "quality",
+ "clarity",
+ "significance",
+ "originality"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 6
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 5
+ },
+ {
+ "key": "quality",
+ "label": "Quality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "clarity",
+ "label": "Clarity",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "significance",
+ "label": "Significance",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "originality",
+ "label": "Originality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "contribution_type",
+ "label": "Contribution type",
+ "type": "choice"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "strengths_and_weaknesses",
+ "label": "Strengths and weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions",
+ "label": "Questions",
+ "type": "text"
+ },
+ {
+ "key": "limitations",
+ "label": "Limitations",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ },
+ {
+ "key": "paper_formatting_concerns",
+ "label": "Formatting concerns",
+ "type": "text"
+ },
+ {
+ "key": "ethical_concerns",
+ "label": "Ethical concerns",
+ "type": "choice"
+ },
+ {
+ "key": "code_of_conduct_acknowledgement",
+ "label": "Code of conduct",
+ "hidden": true
+ },
+ {
+ "key": "responsible_reviewing_acknowledgement",
+ "label": "Responsible reviewing",
+ "hidden": true
+ }
+ ]
+ },
+ "Rebuttal": {
+ "label": "Rebuttal",
+ "fields": [
+ {
+ "key": "rebuttal",
+ "label": "Rebuttal",
+ "type": "text"
+ }
+ ]
+ },
+ "Ethics_Review": {
+ "label": "Ethics review",
+ "fields": [
+ {
+ "key": "scope_of_ethics_concerns",
+ "label": "Scope",
+ "type": "choice"
+ },
+ {
+ "key": "ethics_review",
+ "label": "Ethics review",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gzmzr2tiux/notes/8esdybdojz.json added

+++ b/reviews/openreview/gzmzr2tiux/notes/8esdybdojz.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "8ESDybDojz",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 1GLX",
+ "content": {
+ "summary": "This paper studies the statistical validity of adaptive prompt and retrieval selection in in-context learning and RAG systems. The paper views prompt-construction pipelines as adaptive transcript-generating procedures and introduce \\emph{context capacity}, measured by mutual information between the transcript and data store, as a notion of statistical complexity. Using tools from adaptive data analysis and PAC-Bayes theory, they derive bounds on selected-context overfitting, extend the analysis to multi-round prompt editing and adaptive retrieval, and propose stability-constrained adaptive retrieval methods (SCAR). Experiments on synthetic settings and small-scale LLM tasks illustrate the predicted overfitting behavior and the benefits of capacity-aware retrieval.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "**Strengths**\n\n1. **Mathematical rigor:** The paper develops a substantial amount of nontrivial theoretical results built from techniques on adaptice data analysis applied to prompt retrieval. The paper casts adaptive prompt construction as a stochastic transcript-generation process, making all data-dependent choices explicit. This formulation highlights the selected-context average as the key statistic and yields overfitting bounds that scale with the context size k.\n\n2. **Relevance of contributions:** A theoretical understanding of the statistical validity of prompt engineering, retrieval tuning is lacking given the popularity of these techniques. The observation that repeated prompt search can induce overfitting seems to be practically important.\n\n**Weaknesses**\n\n1. **Experiments are largely diagnostic:** Experiments are primarily synthetic demonstrations to validate the theoretical scaling laws. I find that there is not a large scale benchmark or RAG system to measure the practical context capacity and the corresponding bounds in realistic retrieval pipelines. It remains unclear whether context capacity can be practically measured and whether the predicted bounds hold tight in realistic LLM systems.\n\n2. How do you compute the context capacity $I(T; S|U)$ for realistic retrieval systems?",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 3,
+ "questions": "See Weaknesses.",
+ "limitations": "Yes",
+ "rating": 4,
+ "confidence": 2,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "N/A",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "I will keep my score as Borderline Accept. The authors have addressed my questions regarding how to compute the context capacity and provided further benchmark experiment results on Intent classification task."
+ },
+ "createdAt": "2026-06-25T09:54:16.672Z",
+ "modifiedAt": "2026-11-18T13:43:01.532Z",
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux&noteId=8ESDybDojz",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gzmzr2tiux/notes/es6ybslbhh.json added

+++ b/reviews/openreview/gzmzr2tiux/notes/es6ybslbhh.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "ES6ybSLbhh",
+ "replyTo": "zHE4cJmQZ7",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "We are grateful to the reviewer for the careful reading and the encouraging assessment: that the paper studies a timely and important problem with clearly illustrated background and intuition, that the formulation of context overfitting is rigorous with technically solid main theorems, and that the extensions are useful. The largest updates below: a real-pipeline experiment completed during the discussion period showing the certificates are valid and non-vacuous (W3/Q3), a concrete restructuring plan (W4), and the winner's-curse connection the reviewer suggested, which we adopt (Q1).\n\n**W1 + Q1, first part: theoretical contribution.** The reviewer is right, and the imports are broader than PAC-Bayes: Thm 4.1 is Xu–Raginsky's Thm 1 applied to the empirical mean over the $k$ selected examples (Donsker–Varadhan decoupling, Lemma D.12); Thm 4.3 is approximate max-information transfer (Dwork et al.) conditioned on the query; Prop 4.8 is a conditional chain rule; Thm 4.7's construction is a finite-class Rademacher maximum; Thm 6.1 is fixed-$\\lambda$ Catoni-form PAC-Bayes; Hoeffding sits underneath. Thm 4.2 is an instance of Bu–Zou–Veeravalli (2019) and Jiao–Han–Weissman (2017), both missing from our bibliography (our omission); we will cite them and demote Thm 4.2 from the contribution list. The claimed contribution is the one Table 1 states (\"not a new concentration inequality in isolation\"): the certified object, the selected-context empirical mean, and the composable capacity accounting over prompt-construction pipelines.\n\nTwo steps survive our re-audit as technical deltas. (i) The selected-subsample step (proof of Thm 4.1, App D.3): conditionally on a fixed transcript, the $k$ adaptively selected examples are independent under the ghost store, giving variance proxy $\\sigma^2/k$ with denominator $k$ rather than the store size $n$. We are not aware of a prior statement of the information bound in this selected-subsample form; the closest results (Russo–Zou; Xu–Raginsky; Bu–Zou–Veeravalli; Steinke–Zakynthinou) normalize by the full sample size, and the latter's selection variables are data-independent supersample bits rather than adaptively chosen indices. (ii) The gate-charge rule in Thm 6.1: a data-dependent candidate gate $A(S,u)$ is charged $-\\log \\Pi_u(A)$ inside the KL to the ambient prior; we found no counterpart phrased for retrieval gating (its gated oracle comparison is asserted in App. D.13; the explicit derivation is part of the revision). The revision replaces App G's prose with a per-theorem provenance table naming source theorems, plus the missing citations.\n\n**Q1, second part: winner's curse and post-selection.** The connection is apt, and Thm 4.7 is itself a winner's-curse statement: the expected maximum of $N$ centered empirical means is $\\gtrsim \\sqrt{\\log N/k}$. A new related-work subsection will connect our accounting to the winner's curse (Zöllner–Pritchard 2007); simultaneous post-selection inference (Berk et al. 2013: our $\\kappa$ plays the PoSI constant's role, in nats); exact conditional selective inference (Lee et al. 2016; Fithian–Sun–Taylor: conditioning as the alternative to an information charge); data-snooping reality checks (White 2000); leaderboard reuse (Blum–Hardt 2015); and max-information for post-selection testing (Rogers–Roth–Smith–Thakkar 2016: the same object as our Def 3.5, in the testing role). The delta: those works certify inference on parameters after selection; our object is the selected-context empirical mean itself, with the in-context count $k$ as effective sample size and a capacity that composes across construction rounds.\n\n**W2 + Q2: assumptions in real systems.** The request for more justification is reasonable, and the answers are concrete: each assumption in Table 3 except conditional i.i.d. is satisfied or satisfiable by construction in deployment. Frozen learner: true for a version-pinned model during the search window. Bounded losses: free for standard RAG metrics, since 0-1 exact match gives $\\sigma^2=1/4$ automatically. Logged transcript: a logging discipline; retrieval stacks already log candidates, scores, and seeds (App F checklist). Prior domination: a design choice, satisfied by fixing $\\Pi$ before any score is read (Alg 1, step 2). Standard Borel: purely technical. Conditional i.i.d. is the strongest idealization for scraped corpora (near-duplicates, cross-document dependence). We state this ranking explicitly; the in-paper mitigations are Prop 4.5 (block-level certificates $k_{\\mathrm{blk}}$: many chunks from one document count as one block), blocked resampling, and a fresh holdout (zero capacity if never used to choose, edit, or stop). Revision: a fourth Table 3 column (\"when this holds in deployment\") and intuition sentences after Defs 3.4/3.5 and Thm 6.1.\n\n**W3 + Q3: are the certificates useful in realistic systems?** This is a fair concern: as submitted the paper had not demonstrated it (App A.4 itself calls Sec 5 \"diagnostic rather than benchmark-scale\"), so we ran the certificates on a real pipeline. Protocol: Banking77 intent classification; frozen Qwen2.5-7B-Instruct, temperature 0; 2,000-example store embedded with bge-small-en-v1.5, demonstrations retrieved per query; $M=64$ recipes (templates × retrieval rules × demo configurations) fixed before any score was read; selection reuses $k$ validation examples; risk on a fresh 1,024-example holdout; 400 resamples per configuration; 87,040 model calls (parse failures 0.73%, counted as errors). Recipe holdout errors span 0.092–0.366 (zero-shot 0.373): a genuinely heterogeneous library. Capacity is known by construction: best-of-$M$ spends at most $\\log M=4.16$ nats; SCAR's $\\mathrm{KL}(Q\\|\\Pi)$ is computed exactly.\n\nResults (0-1 loss, $\\delta=0.05$). (1) The predicted bias is real, growing with $M$ (at $k=64$: $-0.003$ at $M=4$, noise-dominated; $0.016$ at $M=16$; $0.023$ at $M=64$) and shrinking with $k$ per the table, i.e., the $\\sqrt{\\log M/k}$ pattern on a real LLM pipeline. (2) The certificate held in 100% of the 12,000 selection events (all 30 $(M,k)$ configurations, 400 resamples each; nominal $\\geq 95\\%$): non-vacuous, but conservative by roughly an order of magnitude on this benign library (the price of worst-case tightness, Thm 4.7), and the tail is real (cf. the submission's nonce-label stress test).\n\n| $k$ | mean gap | p95 gap | bound on E[gap] (Thm 4.1) | certificate (Thm 4.3) |\n|---|---|---|---|---|\n| 16 | 0.057 | 0.142 | 0.361 | 0.600 |\n| 64 | 0.023 | 0.071 | 0.180 | 0.300 |\n| 256 | 0.010 | 0.014 | 0.090 | 0.150 |\n\n(3) The useful regime, SCAR vs. greedy (certified risk $=$ val err $+$ surcharge; greedy: Thm 4.3 with $\\kappa=\\log(M/\\beta)$, $\\beta=\\delta=0.025$; SCAR: Thm 6.1 at the a-priori $\\lambda^{\\ast}$):\n\n| selector | $k$ | val err | holdout err | capacity (nats) | certified risk |\n|---|---|---|---|---|---|\n| SCAR | 64 | 0.102 | 0.106 | KL $=1.34$ | **0.292** |\n| greedy | 64 | 0.088 | 0.104 | $\\le\\log 64=4.16$ | 0.388 |\n| SCAR | 256 | 0.100 | 0.101 | KL $=1.63$ | **0.198** |\n| greedy | 256 | 0.094 | 0.107 | $\\le 4.16$ | 0.244 |\n| zero-shot | — | — | 0.373 | 0 | — |\n\nEven at $k=64$ SCAR certifies, from reused validation data alone, that the selected prompt beats zero-shot ($0.292<0.373$); greedy cannot ($0.388$).\n\nA same-protocol replication on a second model family, completed during the discussion period (gpt-4.1-mini; 52,224 calls; holdout 512), reproduces the findings on the configurations tested: selection bias at the same magnitude (mean gap 0.024, p95 0.074 at $M=64$, $k=64$, shrinking to 0.008 at $k=256$), 100% certificate validity, and SCAR's tighter certificates (0.296 at $k=64$, 0.204 at $k=256$, vs greedy's 0.390/0.248) at essentially equal realized risk. One instructive difference: against this model's stronger zero-shot baseline (0.282), the beats-zero-shot certification requires $k=256$, exactly as the certificate arithmetic predicts.\n\nHow to apply it: capacity is budgeted from logs, not estimated by reverse-engineering the pipeline. Choosing among $M$ recipes costs at most $\\log M$; SCAR costs its logged $\\mathrm{KL}(Q\\|\\Pi)$ including gate mass; $R$ adaptive rounds cost the sum of per-round capacities (Prop 4.8); a fresh holdout costs zero. The boundary: an unmodified deterministic pipeline that reveals raw store contents (plain top-$k$ dense retrieval over a large store) can reach $\\log\\binom{n}{k}$ nats or be unbounded (Sec. 3), and Thm 4.7 shows no method can certify that regime in the worst case; certificates cover logged, finite, or randomized pipelines, while the diagnosis covers all adaptive pipelines.\n\n**W4: density.** We agree and will restructure: keep the eleven-statement main-text spine (definitions, upper and lower bounds, composition, SCAR, propagation); move Def 3.4 + Thm 4.2, Props 4.4/4.5/4.6 (collapsed into one extensions remark: $k_{\\mathrm{eff}}$, $k_{\\mathrm{blk}}$, latent tasks), Cor 4.9, Prop 4.10, and Prop 7.2 + Cor 7.3 to the appendix, each replaced by a one-sentence takeaway; add a notation table and an end-of-Sec-1 roadmap; co-locate Fig 6 with its Sec 5 discussion. One batch of mechanical fixes: the empty App C, App E's \"Figures 2–6\" cross-reference, and Fig 4's caption (a null/control outcome).\n\nThese revisions address clarity (the restructuring) and applicability (certificates demonstrated on a real pipeline); the certified selected-context object and its composable accounting stand, now positioned within the post-selection literature.\n\nWe would be glad to provide further detail on any of these points during the discussion phase. We deeply appreciate the reviewer's comprehensive evaluation and the constructive suggestions, each of which is now a concrete revision item above."
+ },
+ "createdAt": "2026-07-26T23:33:20.114Z",
+ "modifiedAt": "2026-11-18T17:19:31.658Z",
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux&noteId=ES6ybSLbhh",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gzmzr2tiux/notes/ledeiho3p4.json added

+++ b/reviews/openreview/gzmzr2tiux/notes/ledeiho3p4.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "lEDEIHo3P4",
+ "replyTo": null,
+ "kind": "meta_review",
+ "invitation": "Meta_Review",
+ "signature": "Area Chair J6YB",
+ "content": {
+ "metareview": "Overall, i find this work to be conceptually clean and targeting a relevant yet under-explored overfitting mode of LLMs. However, I share the concerns raised by the reviewers regarding the technical novelty of the proofs, the practical computability of the bounds, and the diagnostic nature of the experiments."
+ },
+ "createdAt": "2026-07-21T19:18:37.108Z",
+ "modifiedAt": "2026-11-18T15:23:59.057Z",
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux&noteId=lEDEIHo3P4",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gzmzr2tiux/notes/nkf4gcwywe.json added

+++ b/reviews/openreview/gzmzr2tiux/notes/nkf4gcwywe.json
@@ -0,0 +1,19 @@
+{
+ "schema": "review/1",
+ "id": "nKf4GCwYwE",
+ "replyTo": null,
+ "kind": "decision",
+ "invitation": "Decision",
+ "signature": "Program Chairs",
+ "content": {
+ "title": "Paper Decision",
+ "decision": "Accept (poster)",
+ "comment": "",
+ "metareview": "Overall, i find this work to be conceptually clean and targeting a relevant yet under-explored overfitting mode of LLMs. However, I share the concerns raised by the reviewers regarding the technical novelty of the proofs, the practical computability of the bounds, and the diagnostic nature of the experiments.",
+ "final_justification": "The authors provided detailed responses to the reviews, where two reviewers actively confirmed that. Now, we have 3 reviewers converge on the weak accept.\n\nFrom my reading on the reviews and responses, i am happy to change my recommendation towards accept."
+ },
+ "createdAt": "2026-09-24T11:25:08.241Z",
+ "modifiedAt": "2026-11-18T14:57:50.724Z",
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux&noteId=nKf4GCwYwE",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gzmzr2tiux/notes/rwvd0dypwj.json added

+++ b/reviews/openreview/gzmzr2tiux/notes/rwvd0dypwj.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "RwVd0DYpWj",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer nRAe",
+ "content": {
+ "summary": "The paper studies context overfitting: when in-context examples are retrieved, re-ranked, and edited after seeing the query and store, the prompt becomes an adaptive statistic of the data it is judged on, so its selected-context score overstates true risk. The authors model prompt construction as a stochastic kernel, define context capacity as the mutual information between store and transcript, and prove the selected-context gap scales as √(κ/k). They add a matching lower bound, weighted/clustered/multi-round refinements, a PAC-Bayesian retrieval rule (SCAR), and a Bayesian linear-regression instantiation.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "**Strengths**\n\n- It formalizes a real and largely ignored failure mode, and the framing is clean. The theory is correct and honest about its scope, and the capacity accounting composes well across realistic pipeline steps (weighting, clustering, multi-round editing), with a useful practitioner checklist.\n\n\n**Weaknesses**\n\n- My main concern is novelty. Theorem 4.1 is the Russo–Zou / Xu–Raginsky information-theoretic generalization bound, here with the empirical mean taken over the k selected examples (so the variance proxy is σ²/k) and the information term I(T;S|U) over the store; the proof is the standard Donsker–Varadhan decoupling (Lemma D.12). The rest follows the same way: capacity composition is the mutual-information chain rule, SCAR is standard PAC-Bayes plus the Maurer–Pontil empirical-Bernstein inequality, and the lower bound is the textbook Rademacher-maximum construction. What is genuinely new is conceptual — that the certified object is the selected-context average, with the denominator being k rather than the store size n — and I think that is a worthwhile reframing, but the new mathematical content is modest, and Appendix G largely says so.\n\n- My second concern is significance: the central quantity is hard to use for the deterministic RAG/agentic pipelines that motivate the paper. The capacity can be as large as log(n choose k), and the paper notes it is infinite once real-valued data are revealed without finite precision. A non-vacuous certificate therefore requires re-engineering the pipeline into a randomized or finite form (SCAR, DP noise, finite recipe sets, or a fresh holdout), so the practical upshot reduces to \"randomize your retrieval or hold out fresh data\" — narrower than the framing around general RAG and model-in-the-loop workflows.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 2,
+ "originality": 3,
+ "questions": "1. What is the precise technical delta of Theorems 4.1–4.3 beyond Russo–Zou/Xu–Raginsky applied to the selected subsample plus the chain rule?\n2. Is there a regime where the capacity term is both computable and tight enough to give a useful (not just qualitative) certificate on a realistic pipeline?",
+ "limitations": "yes",
+ "rating": 4,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "N/A",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "The authors have provided thorough and honest response, which addresses both of my concerns, so I am keeping my positive assessment."
+ },
+ "createdAt": "2026-06-25T08:57:54.730Z",
+ "modifiedAt": "2026-11-18T13:43:02.641Z",
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux&noteId=RwVd0DYpWj",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gzmzr2tiux/notes/tb5yji0r9b.json added

+++ b/reviews/openreview/gzmzr2tiux/notes/tb5yji0r9b.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "tb5Yji0r9b",
+ "replyTo": "8ESDybDojz",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "We are grateful to the reviewer for the positive assessment, in particular of the mathematical rigor of the transcript-level formulation, which \"highlights the selected-context average as the key statistic\", and of the practical importance of overfitting from repeated prompt search. The biggest update is that during the discussion period we ran the measurement this review asks for: certified prompt selection on a real retrieval pipeline, with capacity computed by forward accounting rather than estimated.\n\n**W2/Q: how we compute $I(T;S\\mid U)$ for realistic retrieval systems.** This question goes to the heart of how the framework is meant to be used, and it has a concrete answer: capacity is budgeted forward from the pipeline's own logs (App A, Table 2), not estimated from an opaque system's behavior. The six rules, each computable from logged metadata alone:\n1. choosing one of $M$ templates/recipes: $\\kappa\\le\\log M$ (required log: the library, fixed before any score is read);\n2. best-of-$M$ validation search: $\\le\\log M$ plus the cost of any released scores, per rule 4 (log: candidates and released scores);\n3. Gibbs/SCAR selection: exactly the logged $\\mathrm{KL}(Q\\|\\Pi)$, including the mass of any data-dependent candidate gate (log: prior and posterior weights);\n4. Gaussian-noisy score release: $\\le\\rho\\Delta^2/2$ (Prop 4.10), no matter how many deterministic filters follow (log: noise scale and sensitivity);\n5. $R$ adaptive rounds: the sum of the per-round capacities (Prop 4.8);\n6. evaluation on a fresh holdout: $0$.\nApp G fixes this scope: \"The mutual-information capacity is not meant to be estimated by reverse-engineering an opaque RAG system. The practical route is forward accounting.\"\n\nThe honest boundary: an unmodified deterministic pipeline that reveals raw store contents (plain top-$k$ dense retrieval over a large store) can reach $\\log\\binom{n}{k}$ nats or be unbounded (Sec 3 states this), and Thm 4.7 shows no method can certify that regime in the worst case, so some restriction is information-theoretically necessary. Certificates therefore cover logged, finite, or randomized pipelines; the diagnosis (the $\\sqrt{\\kappa/k}$ overfitting scale) covers all adaptive pipelines. Worked instance (0-1 loss, $\\sigma^2=1/4$): best-of-$M$ search at $M=k=64$ spends $\\kappa\\le\\log 64=4.16$ nats, giving expected-gap bound $\\sqrt{\\log M/(2k)}=0.180$ (Thm 4.1) and high-probability certificate $0.300$ (Thm 4.3, $\\kappa=\\log(M/\\beta)$, $\\beta=\\delta=0.025$); at $k=256$: $0.090$ and $0.150$.\n\n**W1a: no benchmark-scale measurement.** The reviewer's reading is fair: the submitted experiments are, in App A.4's own words, \"diagnostic rather than benchmark-scale\". We have now run the missing measurement. Task: Banking77 intent classification (77 intents, real banking queries); frozen learner Qwen2.5-7B-Instruct at temperature 0; store of 2,000 labeled examples embedded with bge-small-en-v1.5, demonstrations retrieved per query. A library of $M=64$ recipes (4 instruction templates × 4 retrieval rules × 4 demonstration configurations) was fixed before any score was read, so capacity is known by construction ($\\log M=4.16$ nats; SCAR's KL logged exactly). Selection reuses $k\\in\\{16,\\dots,256\\}$ validation examples (400 resamples per configuration); risk is measured on a fresh holdout of 1,024 examples never used for any choice (87,040 model calls).\n\nResults. (i) Gap scaling: the mean selected-context gap (holdout minus validation error of the selected recipe) grows with search width (at $k=64$: $-0.003$ at $M=4$, noise-dominated; $0.016$ at $M=16$; $0.023\\ (\\pm0.003)$ at $M=64$) and shrinks with $k$ as in the table below, the predicted $\\sqrt{\\log M/k}$ pattern on a real pipeline. (ii) Validity and non-vacuity: the realized gap fell below the certificate in 100% of the 12,000 selection events (all 30 $(M,k)$ configurations, 400 resamples each; nominal $\\ge 95\\%$); certificates are far below the trivial value $1$ yet conservative by roughly an order of magnitude on this benign library (the price of worst-case tightness), and the tail matters (p95 $0.071$ at $k=64$; the submission's nonce-label stress test realizes the fully adversarial case).\n\nSelection bias vs. certificates ($M=64$, 0-1 loss, $\\delta=0.05$, 400 resamples per row):\n\n| $k$ | mean gap | p95 gap | bound on E[gap] (Thm 4.1) | certificate (Thm 4.3) |\n|---|---|---|---|---|\n| 16 | 0.057 | 0.142 | 0.361 | 0.600 |\n| 32 | 0.039 | 0.107 | 0.255 | 0.425 |\n| 64 | 0.023 | 0.071 | 0.180 | 0.300 |\n| 128 | 0.016 | 0.045 | 0.127 | 0.212 |\n| 256 | 0.010 | 0.014 | 0.090 | 0.150 |\n\n(iii) The certificate is decision-useful, not only qualitative (certified risk $=$ val err $+$ surcharge; greedy: Thm 4.3 with $\\kappa=\\log(M/\\beta)$, $\\beta=\\delta=0.025$; SCAR: Thm 6.1 at the a-priori $\\lambda^{\\ast}$, $\\delta=0.05$):\n\n| selector | $k$ | val err | holdout err | capacity (nats) | certified risk |\n|---|---|---|---|---|---|\n| SCAR | 64 | 0.102 | 0.106 | KL $=1.34$ | **0.292** |\n| greedy | 64 | 0.088 | 0.104 | $\\le\\log 64=4.16$ | 0.388 |\n| SCAR | 256 | 0.100 | 0.101 | KL $=1.63$ | **0.198** |\n| greedy | 256 | 0.094 | 0.107 | $\\le 4.16$ | 0.244 |\n| zero-shot | — | — | 0.373 | 0 | — |\n\nAt $k=64$ only SCAR's certificate ($0.292<0.373$) proves, at the 95% level and from reused validation data alone, that the selected prompt beats zero-shot, at essentially the same realized risk as greedy. The experiment will be added to App B with a summary in Sec 5.\n\nA same-protocol replication on a second model family, completed during the discussion period (gpt-4.1-mini; 52,224 calls; holdout 512), reproduces the findings on the configurations tested: selection bias at the same magnitude (mean gap 0.024, p95 0.074 at $M=64$, $k=64$, shrinking to 0.008 at $k=256$), 100% certificate validity, and SCAR's tighter certificates (0.296 at $k=64$, 0.204 at $k=256$, vs greedy's 0.390/0.248) at essentially equal realized risk. One instructive difference: against this model's stronger zero-shot baseline (0.282), the beats-zero-shot certification requires $k=256$, exactly as the certificate arithmetic predicts.\n\n**W1b: *\"whether context capacity can be practically measured and whether the predicted bounds hold tight in realistic LLM systems.\"*** Measured: capacity is budgeted exactly for finite or noisy pipelines ($\\le\\log M$; $\\le\\rho\\Delta^2/2$) and logged exactly for SCAR (its KL), not estimated; the SCAR runs above logged KL $=1.34$–$1.63$ nats at run time. Tight: the bounds are minimax-tight in the worst case (Thm 4.7's matching lower bound: no method improves the rate) while remaining one-sided upper bounds on benign tasks, which is why the new experiment reports certificate and realized gap side by side rather than claiming empirical tightness.\n\nIn sum: capacity is computed by forward accounting from logs alone, and the resulting bounds are now measured, valid and non-vacuous, on a realistic retrieval pipeline.\n\nWe hope these results address both concerns, and we would be glad to run further variants or provide additional detail during the discussion phase. We thank the reviewer for the valuable feedback, which prompted exactly the measurement the paper needed."
+ },
+ "createdAt": "2026-07-26T23:32:57.975Z",
+ "modifiedAt": "2026-11-18T17:19:32.563Z",
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux&noteId=tb5Yji0r9b",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gzmzr2tiux/notes/xu19cduptq.json added

+++ b/reviews/openreview/gzmzr2tiux/notes/xu19cduptq.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "xU19cdUPTQ",
+ "replyTo": "RwVd0DYpWj",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "We are grateful to the reviewer for the encouraging assessment, in particular that the paper formalizes a real and largely ignored failure mode with clean framing, that the theory is correct and honest about its scope, and that the capacity accounting composes well across realistic pipeline steps. W1 prompted a line-by-line re-derivation of every main result against its named source: the audit confirms the reviewer's mapping except one component, where the correction runs against the paper (Thm 6.2 below). A real-pipeline experiment completed during the discussion period answers Q2 with numbers.\n\n**W1: the novelty inventory.** The reviewer's mapping is accurate except for one half of one component (the Maurer–Pontil half of the SCAR item, discussed below), and we confirm the rest by name: Thm 4.1 is Xu–Raginsky Thm 1 with the empirical mean over the $k$ selected examples, proved by the standard Donsker–Varadhan decoupling (our Lemma D.12); capacity composition (Prop 4.8) is the conditional chain rule; the Thm 4.7 construction is the finite-class Rademacher maximum; Thm 6.1 is fixed-$\\lambda$ Catoni-form PAC-Bayes.\n\nThat component, *\"standard PAC-Bayes plus the Maurer–Pontil empirical-Bernstein inequality\"*, splits: the PAC-Bayes half is Thm 6.1, confirmed above; the Maurer–Pontil half is Thm 6.2, where \"standard\" is more than the paper earned: our Lemma D.11 as written attributes to Maurer–Pontil a stronger tail ($e^{-x}/(2\\sqrt{k})$) than their Theorem 4 proves ($2e^{-x}$), and the supermartingale step in the proof of Thm 6.2 is not constructed; as stated, Thm 6.2 is not established by its current proof. We will repair it by the PAC-Bayes-empirical-Bernstein route of Tolstikhin–Seldin (which carries an additional multiplicative factor and a logarithmic grid term) or a betting/nonnegative-supermartingale construction (Waudby-Smith–Ramdas). Only Fig. 6 and Rmk 6.3 depend on Thm 6.2; Thms 4.1/4.3/6.1, SCAR's first-order certificate, Sec. 7, and the experiment below do not.\n\nWhat survives as technical delta: (i) the selected-subsample step (proof of Thm 4.1, App. D.3): conditionally on a fixed transcript the $k$ adaptively selected examples are independent under the ghost store, giving variance proxy $\\sigma^2/k$ with denominator $k$ rather than the store size $n$. We are not aware of a prior statement of the information bound in this selected-subsample form; the closest results (Russo–Zou, Xu–Raginsky, Bu–Zou–Veeravalli, Steinke–Zakynthinou) normalize by the full sample size, and Steinke–Zakynthinou's selection variables are data-independent supersample bits rather than adaptively chosen indices. (ii) The gate-charge rule in Thm 6.1: a data-dependent candidate gate $A(S,u)$ is charged $-\\log \\Pi_u(A)$ inside the KL to the ambient prior; we found no counterpart phrased for retrieval gating (its gated oracle comparison is asserted in App. D.13; the explicit derivation is part of the revision). (iii) The conceptual layer the review calls a *worthwhile reframing*: the certified object itself, the selected-context average with denominator $k$. In revision App. G's prose becomes a per-theorem provenance table (import/adaptation/no-counterpart-found, with source theorem numbers) and the bibliography adds the nine closest comparators it omits.\n\n**W2: which pipelines get certificates.** The reviewer is right that the deterministic/continuous regime is uncertifiable without modification (our own Sec. 3 says the capacity can reach $\\log\\binom{n}{k}$ and is infinite once real-valued data are revealed at full precision), and that boundary is real. But *\"randomize your retrieval or hold out fresh data\"* skips a third class that is common in deployed practice: pipelines that are already finite. A fixed menu of templates or retrieval recipes, best-of-$M$ validation search, bounded editing rounds, a logged candidate pool: these need logging, not re-engineering. Capacity is budgeted forward from logs (Table 2: choosing among $M$ recipes costs at most $\\log M$; $R$ adaptive rounds sum per-round capacities, Prop 4.8; a fresh holdout costs 0), and the revision promotes forward accounting to Sec. 4.6 with a worked example. The residual restriction belongs to the problem, not the technique: Thm 4.7 makes some restriction information-theoretically necessary for any method. The framing point stands; we will add one intro sentence making the split explicit: the diagnosis (the $\\sqrt{\\kappa/k}$ danger) covers all adaptive pipelines; certificates cover logged/finite/randomized ones.\n\n**New experiment (run during the discussion period).** We ran the certificate on a real retrieval-ICL pipeline. Task: Banking77 intent classification (77 intents; real banking queries). Frozen learner: Qwen2.5-7B-Instruct, temperature 0. Store: 2,000 labeled examples embedded with bge-small-en-v1.5; demonstrations retrieved per query. Recipe library: $M=64$ prompt-construction recipes fixed before any score was read (4 instruction templates $\\times$ 4 retrieval rules {random, top-$m$, label-diverse, MMR} $\\times$ 4 demo configurations {$m\\in\\{4,8\\}$} $\\times$ {similar-first, similar-last}). Selection reuses $k$ validation examples ($k\\in\\{16,\\dots,256\\}$); deployment risk is measured on a fresh holdout of 1,024 examples never used for any choice; 400 selection resamples per configuration; 87,040 model calls. Capacity is known by construction: best-of-$M$ selection spends at most $\\log M=4.16$ nats (high-probability form $\\log(M/\\beta)$); the SCAR posterior's $\\mathrm{KL}(Q\\Vert\\Pi)$ to the uniform prior is computed exactly.\n\nOn this pipeline the certificate is decision-useful (certified risk $=$ val err $+$ surcharge; greedy: Thm 4.3 with $\\kappa=\\log(M/\\beta)$, $\\beta=\\delta=0.025$; SCAR: Thm 6.1 at the a-priori $\\lambda^{\\ast}$, $\\delta=0.05$):\n\n| selector | $k$ | val err | holdout err | capacity (nats) | certified risk |\n|---|---|---|---|---|---|\n| SCAR | 64 | 0.102 | 0.106 | KL $=1.34$ | **0.292** |\n| greedy | 64 | 0.088 | 0.104 | $\\le\\log 64=4.16$ | 0.388 |\n| SCAR | 256 | 0.100 | 0.101 | KL $=1.63$ | **0.198** |\n| greedy | 256 | 0.094 | 0.107 | $\\le 4.16$ | 0.244 |\n| zero-shot | — | — | 0.373 | 0 | — |\n\nAt $k=64$ only SCAR's certificate ($0.292<0.373$) proves, at the 95% level and from reused validation data alone, that the selected prompt beats zero-shot; greedy's ($0.388$) cannot; at $k=256$ both do. Realized holdout risk is essentially equal for both routes, so SCAR's 19–25% tighter certificates are bought by randomization-plus-logging, not by worse selections.\n\nA same-protocol replication on a second model family, completed during the discussion period (gpt-4.1-mini; 52,224 calls; holdout 512), reproduces the findings on the configurations tested: selection bias at the same magnitude (mean gap 0.024, p95 0.074 at $M=64$, $k=64$, shrinking to 0.008 at $k=256$), 100% certificate validity, and SCAR's tighter certificates (0.296 at $k=64$, 0.204 at $k=256$, vs greedy's 0.390/0.248) at essentially equal realized risk. One instructive difference: against this model's stronger zero-shot baseline (0.282), the beats-zero-shot certification requires $k=256$, exactly as the certificate arithmetic predicts.\n\n**Q1: the precise delta.** Thm 4.1: exactly the selected-subsample step of W1(i); \"applied to the selected subsample\" is where the only nonstandard work occurs, and we found no prior statement of it. Thm 4.2: no delta; it is an instance of Bu–Zou–Veeravalli (2019) / Jiao–Han–Weissman (2017), both missing from our bibliography, and we will cite both and demote Thm 4.2 from the contribution list. Thm 4.3: approximate max-information transfer (Dwork et al.) conditioned on the query, plus the same selected-subsample denominator; Prop 4.8 is, as the review says, the chain rule. The same audit surfaced a further limitation: as written, the Thm 4.7 construction uses store size $n=k$. It extends verbatim to any $n\\ge k$ by appending never-selected store elements (the selector reads only $Z_1,\\dots,Z_k$, so the capacity and the gap are unchanged); verified during the discussion period; a three-line remark will be added.\n\n**Q2: a certifiable regime exists.** Yes: the regime instrumented above, a finite recipe library or a SCAR posterior over a logged candidate pool, with capacity known by construction rather than estimated, so certificates are computable from logs alone. The high-probability certificate (Thm 4.3, $\\kappa=\\log(M/\\beta)$) is 0.300 at $k=64$, 0.150 at $k=256$; the realized gap stayed below it in 100% of the 12,000 selection events (all 30 $(M,k)$ configurations, 400 resamples each; nominal $\\ge 95\\%$). The certificates are non-vacuous, but conservative by roughly an order of magnitude on this benign library (expected-gap bound 0.180 vs realized mean gap 0.023 at $k=64$; 0.090 vs 0.010 at $k=256$). The conservatism is the price of worst-case tightness (Thm 4.7); the adversarial tail is real (p95 gap 0.071 at $k=64$; the submission's nonce-label stress test shows the fully adversarial case). Decision-usefulness is the SCAR result above: certified-beats-zero-shot at both $k$. The practitioner's lever is $k$: at fixed logged capacity certificates tighten as $\\sqrt{\\kappa/k}$, so enlarging the reused validation set buys tightness at a known rate.\n\nFor the significance axis: certificates for logged/finite/randomized pipelines are computable by forward accounting, worst-case-unimprovable (Thm 4.7), and now demonstrated valid and decision-useful on a real retrieval pipeline; the novelty claim narrows to the audited deltas above.\n\nWe would be glad to discuss any of these points further during the discussion phase. We sincerely appreciate the time and effort the reviewer invested in providing such precise and helpful feedback; it directly improved the paper."
+ },
+ "createdAt": "2026-07-26T23:33:34.483Z",
+ "modifiedAt": "2026-11-18T17:19:31.753Z",
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux&noteId=xU19cdUPTQ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gzmzr2tiux/notes/zhe4cjmqz7.json added

+++ b/reviews/openreview/gzmzr2tiux/notes/zhe4cjmqz7.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "zHE4cJmQZ7",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer Gvdh",
+ "content": {
+ "summary": "The paper studies the problem that in in-context learning and RAG, prompt examples are often selected adaptively after observing the query and data store, which the authors call “context overfitting.” The authors argue that the empirical performance of a selected context may be optimistically biased because the same data are used both to construct the prompt and to evaluate its quality. To formalize this problem mathematically, they treat the language model as a frozen map, and model prompt construction as an adaptive process that maps a query and data store to a complete prompt transcript. Using theoretical tools from adaptive data analysis, concentration inequalities, and PAC-Bayes, they prove generalization bounds for the selected context and propose stability-constrained retrieval rules. The authors conduct experiments that mainly use synthetic and API-backed diagnostic settings to illustrate finite prompt search, multi-round prompt editing, and validation leakage. They also extend the framework to weighted contexts, clustered data stores, latent tasks, multi-round construction, and Bayesian linear in-context regression.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "Strengths:\n\n1. The paper studies a timely and important problem in in-context learning and RAG. The background and intuition are illustrated clearly.\n\n2. The paper provides a rigorous formulation of \"context overfitting\", and the main theorems are technically solid.\n\n3. The paper also considers several useful extensions, including weighted contexts, clustered data stores, latent tasks, multi-round prompt construction, and Bayesian linear in-context regression.\n\nWeaknesses:\n\n1. The theoretical contribution seems limited. The theoretical results appear to be direct applications or translations of existing theoretical tools (e.g., PAC-Bayes) to a new prompt-construction setup.\n\n2. The assumptions for the theory are stated clearly, but they are not sufficiently justified for realistic RAG or ICL systems.\n\n3. The experiments in Section 5 are mostly synthetic or diagnostic. They illustrate the predicted scaling behavior, but they do not convincingly show empirically that the proposed certificates are useful in realistic RAG or ICL systems.\n\n4. The presentation is somewhat dense. The core intuition is simple, but the paper introduces many technical objects and extensions quickly. Some parts are not sufficiently explained, and several technical details and secondary extensions could be moved to the appendix to make the main contribution clearer.",
+ "quality": 3,
+ "clarity": 2,
+ "significance": 3,
+ "originality": 2,
+ "questions": "1. Could the authors clarify the theoretical contributions beyond reformulating the “context overfitting” problem? Many results seem to directly translate existing tools to the new problem setup. In addition, could the authors discuss the connections with classical statistics and machine learning literature on related post-selection phenomena, such as winner’s curse?\n\n2. Could the authors provide more intuition for the theoretical conditions used in the main theorems, and explain why these conditions are reasonable in real-world ICL and RAG systems?\n\n3. Could the authors explain more concretely how the proposed results can be applied in practice, and provide empirical examples showing that the proposed certificates are not vacuous and useful in realistic settings?",
+ "limitations": "yes",
+ "rating": 4,
+ "confidence": 2,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "No major concerns noticed.",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "The authors address my concerns regarding the assumptions and practical applicability. However, my concern about the overall novelty and significance remains: the framework primarily adapts established information-theoretic and PAC-Bayesian tools, while the broader impact of the two technical additions is still unclear. Given the meaningful improvements provided in the rebuttal, I have increased my score by one point, but the remaining concerns prevent a larger increase."
+ },
+ "createdAt": "2026-06-23T00:43:02.745Z",
+ "modifiedAt": "2026-11-18T13:43:03.532Z",
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux&noteId=zHE4cJmQZ7",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/gzmzr2tiux/submission.json added

+++ b/reviews/openreview/gzmzr2tiux/submission.json
@@ -0,0 +1,12 @@
+{
+ "schema": "submission/1",
+ "id": "Gzmzr2tIux",
+ "venue": {
+ "id": "NeurIPS.cc/2026/Conference",
+ "name": "NeurIPS 2026",
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"
+ },
+ "number": 25451,
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux",
+ "license": "CC-BY-4.0"
+}

versions/v_3xi7ru6n.json added

+++ b/versions/v_3xi7ru6n.json
@@ -0,0 +1,22 @@
+{
+ "date": "2026-05-04",
+ "kind": "submitted",
+ "label": "NeurIPS 2026",
+ "submissions": [
+ {
+ "venue": "NeurIPS 2026",
+ "status": "accepted",
+ "decision": "Accept (poster)",
+ "number": 25451,
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux",
+ "reviews": "openreview/gzmzr2tiux",
+ "evidence": [
+ "https://openreview.net/forum?id=Gzmzr2tIux"
+ ]
+ }
+ ],
+ "url": "https://openreview.net/forum?id=Gzmzr2tIux",
+ "evidence": [
+ "https://openreview.net/forum?id=Gzmzr2tIux"
+ ]
+}