potentialpaper

Agentic Transformers Provably Learn to Search via Reinforcement Learning

Import ICLR 2027 submission 3dMNKs8ZSs: 8 notes

@openreview[bot] · 2026-11-22 20:19 UTC · 1f4bfe48296e

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,19 @@
+{
+ "layout": 5,
+ "identifiers": [
+ {
+ "scheme": "openreview",
+ "value": "3dMNKs8ZSs"
+ }
+ ],
+ "title": "Agentic Transformers Provably Learn to Search via Reinforcement Learning",
+ "authors": [],
+ "abstract": "Tree search is a central abstraction behind many language-agent reasoning and decision-making tasks: agents must explore actions, remember failures, and backtrack toward promising alternatives. Yet, we lack a theoretical understanding of how transformer-based policies acquire such search capabilities from the training dynamics of reinforcement learning (RL). We study this question in a stochastic $k$-ary tree environment, where an agentic transformer observes only its trajectory history through interaction and receives a terminal reward for reaching a hidden leaf goal node. \n We first construct a two-head transformer that implements randomized depth-first search (DFS): one head tracks previous actions, while the other detects failure outcomes and triggers backtracking. \n We then analyze the training dynamics of policy gradient under a depth-wise curriculum, showing that this same DFS mechanism emerges in stages from sparse reinforcement feedback without expert demonstrations. \n The resulting policy exhibits depth generalization: after training only on depth-$1$ and depth-$2$ trees, it succeeds on deeper full trees. We further show that, under imbalanced goal distributions, discounting the return leads to a ranked DFS policy that prioritizes higher-probability branches. Overall, our results identify a mechanistic normal form for transformer-based search, in which attention heads specialize and cooperate to extract decision-relevant traces from context and convert them into agentic action selection via RL training.",
+ "year": 2027,
+ "venue": "ICLR 2027 (under review)",
+ "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/3dmnks8zss/forms.json added

+++ b/reviews/openreview/3dmnks8zss/forms.json
@@ -0,0 +1,183 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "additional_comments_on_reviewer_discussion",
+ "label": "Reviewer discussion",
+ "type": "text"
+ },
+ {
+ "key": "recommendation",
+ "label": "Recommendation",
+ "type": "choice"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "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",
+ "soundness",
+ "presentation",
+ "informativeness"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "soundness",
+ "label": "Soundness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "presentation",
+ "label": "Presentation",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "informativeness",
+ "label": "Informativeness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "paper_summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "critical_strengths",
+ "label": "Strengths",
+ "type": "text"
+ },
+ {
+ "key": "critical_weaknesses",
+ "label": "Weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions_for_authors",
+ "label": "Questions for the authors",
+ "type": "text"
+ },
+ {
+ "key": "flag_for_ethics_review",
+ "label": "Flag for ethics review",
+ "type": "choice",
+ "omitWhen": [
+ "No",
+ "No ethics review needed."
+ ]
+ },
+ {
+ "key": "details_of_ethics_concerns",
+ "label": "Ethics concerns",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/3dmnks8zss/notes/bogpggrtcb.json added

+++ b/reviews/openreview/3dmnks8zss/notes/bogpggrtcb.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "boGpggRTcb",
+ "replyTo": "OmmHPD3JRf",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 14Jy",
+ "content": {
+ "comment": "I thank the authors for their response and apologize for the delay in my response.\n\n1. The overclaiming half of my concern is resolved assuming the authors make sure to qualify wordings (e.g. in the title) with the assumptions. The other half of my concern -- that the gap between theory and practice is too large for the insights gained from the theory to be useful -- remains unaddressed. The authors provide testable predictions in their rebuttal, but for the gap to be bridged they would need to \"empirically test those hypotheses on actual RL reasoning post-training\" as I've stated in my review.\n\n2. Regarding history encodings, I was referring more to the fact that the paper groups the 4 elements of the transition tuple into a *single* feature vector (apologies for my inaccurate use of the word \"token\"). More realistic encodings would have the different elements spread across multiple token positions, so when my question asked about alternative \"encodings\" I was referring more to splitting the transition tuple into multiple embedding vectors in the sequence (alternative tokenizations, if you will).\n\nMy remaining concerns have been addressed and questions answered in a satisfactory manner.\n\nI appreciate the theoretical contribution, with my remaining reservation being what I perceive to be a large gap between theory and practice that makes it unclear to me how well the theoretical insights generalize to realistic scenarios. I have increased my overall score to 2 (weak reject)."
+ },
+ "createdAt": "2026-11-19T09:42:20.147Z",
+ "modifiedAt": "2026-11-19T09:42:20.147Z",
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs&noteId=boGpggRTcb",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/3dmnks8zss/notes/czmprsxrk2.json added

+++ b/reviews/openreview/3dmnks8zss/notes/czmprsxrk2.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "czMprSxRk2",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer s4k7",
+ "content": {
+ "paper_summary": "The paper studies whether policy-gradient training with a two-head transformer can search a hidden tree. With DFT, the training learns to avoid some actions and backtracking. The results also generalizes from depth-1 and depth-2 trees.",
+ "presentation": 3,
+ "informativeness": 2,
+ "soundness": 3,
+ "critical_strengths": "1. The paper gives a nontrivial analysis connecting policy-gradient updates to a search mechanism.\n\n2. The explanation of why depth-1 training fails to generalize, and how depth-2 training corrects the parameter imbalance, is particularly interesting.",
+ "critical_weaknesses": "1. The environment does not repeated actions, which forces successful policies to follow DFS. With the predefined head roles, it's confusing on whether this significantly restrict the policy search space.\n2. The analysis requires careful constructions of the transformer. While this isn't unusual for related works in the literature, I wonder if this theoretical construction is validated to perform well empirically (maybe i'm missing this information from appendix E).",
+ "questions_for_authors": "1. Since the no-repeat rule forces successful policies to follow DFS, which insights from the analysis are expected to extend to environments allowing revisits and other search strategies?",
+ "flag_for_ethics_review": "No",
+ "rating": 3,
+ "confidence": 2
+ },
+ "createdAt": "2026-10-21T18:18:48.493Z",
+ "modifiedAt": "2026-11-06T12:20:30.834Z",
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs&noteId=czMprSxRk2",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/3dmnks8zss/notes/gfuil273vl.json added

+++ b/reviews/openreview/3dmnks8zss/notes/gfuil273vl.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "GFUIl273vL",
+ "replyTo": "wHqYZqPLLf",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer Hzih",
+ "comment": "Thank you for the positive assessment of our theoretical soundness and the learnability of the search mechanism. We appreciate the questions and clarify the role of the architectural simplifications below.\n\n> **1. Regarding the task-specific inductive bias and extension to standard transformers.**\n\nThe architectural constraints do not hard-code DFS. They specify which information each head can access, but not how to use it. In particular, all four matrices $B,C,P,Q$ are learned from zero initialization using sparse terminal rewards (Sec. 4):\n\n- $B$: learns to retrieve action history associated with the current node.\n- $C$: learns to distinguish failure and internal-node outcomes.\n- $P,Q$: learn how retrieved information determines action logits.\n\nCrucially, Theorem 2 (Eq. 22) proves that depth-1 training alone does *not* yield general search, while Theorem 3 (Eq. 23) establishes that depth-2 training learns the missing backtracking behavior and achieves $R\\ge 1-\\epsilon$ on deeper trees. Thus, the search algorithm is learned through RL, not built into the architecture.\n\nThese constraints isolate an interpretable attention mechanism and make its nonconvex policy-gradient learning dynamics analytically tractable (App. A.3).\n\n> **2. Regarding additional layers/heads and removing head specialization.**\n\nThe proposed mechanism is not inherently limited to two heads. A larger transformer has sufficient representational flexibility to implement the same computation: additional heads can retrieve other information, while additional layers can compose or refine the retrieved features.\n\nImportantly, our mechanism relies on two functional primitives—retrieving previously tried actions and identifying failure/backtracking conditions—rather than on a specific number of heads. We hypothesize that unconstrained transformers can learn equivalent primitives, potentially distributed across multiple heads and layers.\n\nThe distinction is between representational capability and provable learnability: our analysis establishes the latter for a tractable parameterization, while extending the optimization guarantees to unrestricted attention remains a separate problem.\n\n> **3. Regarding experiments with standard transformers.**\n\nOur experiments focus on the architecture in Eq. (10), allowing direct comparison with the theoretical predictions, rather than training a fully unrestricted transformer.\n\nNevertheless, the training experiments already relax some analytical constraints: Fig. 3 and App. E train both $B,P$ during depth-2 training, and Figs. 6–8 train all four matrices $B,C,P,Q$ throughout both stages. The predicted search behavior and depth generalization persist.\n\n> **4. Regarding notation and presentation.**\n\nThe induced matrices in Eq. (12) simply express the learned parameters in token coordinates: $A_B,A_C$ describe attention matching, while $A_P,A_Q$ describe how retrieved actions and outcomes affect logits. Fig. 2 illustrates their interaction, and Lemma 1 (Eqs. 88–91) provides explicit policy expressions. We will make these intuitive interpretations more prominent in the main text.\n\nOverall, our main contribution is not merely a two-head DFS construction, but a provable account of how sparse-reward RL learns and composes the memory-retrieval and backtracking primitives needed for interactive search."
+ },
+ "createdAt": "2026-11-15T06:59:39.119Z",
+ "modifiedAt": "2026-11-15T06:59:39.119Z",
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs&noteId=GFUIl273vL",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/3dmnks8zss/notes/jq12v8nfbf.json added

+++ b/reviews/openreview/3dmnks8zss/notes/jq12v8nfbf.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "Jq12V8nfbF",
+ "replyTo": "GFUIl273vL",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer Hzih",
+ "content": {
+ "comment": "Thank you for your clarifications. I will maintain my positive score."
+ },
+ "createdAt": "2026-11-18T04:48:34.514Z",
+ "modifiedAt": "2026-11-18T04:48:34.514Z",
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs&noteId=Jq12V8nfbF",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/3dmnks8zss/notes/nlv6wq4zul.json added

+++ b/reviews/openreview/3dmnks8zss/notes/nlv6wq4zul.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "nLV6wQ4ZUL",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 14Jy",
+ "content": {
+ "paper_summary": "The authors present a potential mechanism for a transformer learning to search in agentic settings. They provide an explicit construction of a simplified transformer with just an attention layer with two heads that implements randomized DFS over a rooted tree, and construct a two-stage curriculum (training on depth-1 trees then depth-2) with certain parameters frozen where the transformer learns that DFS algorithm that generalizes to arbitrary depth.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "1. The authors provide a simple and intuitive construction that shows how a simplified 2-layer transformer variant could be trained to learn a general search algorithm over trees.",
+ "critical_weaknesses": "1. My main concern is that there’s no evidence that the presented mechanism is actually the mechanism by which search capabilities emerge in RL post-training of reasoning models — there’s a large gap between the simplified setting the authors study and actual training of reasoning models. To bridge this gap, the authors would need to formulate specific falsifiable predictions from their mechanism, and empirically test those hypotheses on actual RL reasoning post-training. Without empirical validation of the mechanism in more realistic scenarios, the paper’s central claim, especially how it’s described in the title of the paper, is an overclaim.",
+ "questions_for_authors": "1. For tractability, the theoretical analyses are specific to the particular simplified architecture and training curriculum the authors present, and with simplifying assumptions, diverging from actual transformer architectures and their training. Here are a few questions on how much the theoretical analysis (or its derived insights) rely on details in those divergences:\n- The analysis assumes a particular encoding of the history, where a transition tuple (n, a, n’, c) is a single token. What about alternative encodings? Is there a general method for constructing the transformer for a wide range of encodings, and does training still recover the randomized DFS algorithm or some general search algorithm?\n- Many weights are frozen to 0 during training, and the two phases of training don’t freeze the same set of weights. There are also implicit freezings of attention output projection weights from the fact that the value matrices are E_a and E_c in Eq. (7). How much does the success of learning the randomized DFS algorithm depend on freezing those weights?\n- The training is split into two phases — the first training on depth-1 trees and the second training on depth-2 trees. How much does the success of learning depend on this two-phase split?\n\nIf some of the questions above are intractable theoretically, experimental evidence that the predicted mechanisms are present would be valuable.\n\n2. What is $a_{p,2}$ at line 366? It appears undefined up until this point.\n\nSuggestions:\n1. The causal attention mask is missing in Eq. (7), but this is ultimately harmless as the step-by-step generation process during inference (Eq. (10)) effectively applies a causal attention mask.\n2. The presentation of the construction could be improved to be easier to understand. For example, the authors could provide expressions for intermediate results like the attention map, the attention output before the P and Q transformations, and the final logits. A diagram showing how the attention mechanism implements the desired logic would help.\n\nPotential fixable mistake (reported by AI — I haven’t checked this myself): Eq. (40) assumes $n_s$ is deterministic, but it is still random when conditioned on $s$ as the unexplored subtrees are still random.",
+ "flag_for_ethics_review": "No",
+ "rating": 2,
+ "confidence": 2
+ },
+ "createdAt": "2026-10-24T06:33:54.057Z",
+ "modifiedAt": "2026-11-19T09:42:59.752Z",
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs&noteId=nLV6wQ4ZUL",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/3dmnks8zss/notes/ommhpd3jrf.json added

+++ b/reviews/openreview/3dmnks8zss/notes/ommhpd3jrf.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "OmmHPD3JRf",
+ "replyTo": "nLV6wQ4ZUL",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer 14Jy",
+ "comment": "Thank you for the careful review. We hope the following clarifications address your concerns, particularly regarding the distinction between theoretical soundness and applicability to real-world reasoning models, and would appreciate your reconsideration of the rating in light of these points.\n\n> **1. Regarding relevance to RL post-training and overclaiming.**\n\nOur claim is that RL can provably learn interactive search in a transformer, not that we have identified the circuit inside frontier LLMs. Theorem 1 constructs DFS; Theorems 2–3 establish its emergence under policy gradient from sparse terminal rewards, with $R\\ge1-\\epsilon$ on unseen deeper trees (Eq. 23). Crucially, the tree is hidden and discovered through interaction, unlike prompt-revealed or fixed-graph abstractions (Sec. 2; App. A.2). Thus the central criticism concerns external validity, not a flaw in these results. Testable predictions follow: disrupting action-history retrieval should increase repeated actions; disrupting failure-label retrieval should impair backtracking. The title is qualified by the paper's stated assumptions.\n\n> **2. Regarding history encoding.**\n\nEq. (5) groups a transition into one *feature column*; this is not a requirement for an atomic tokenizer token. Theorem 1 requires only full-column-rank embeddings. Its expressivity construction survives invertible linear re-encodings $x'=Rx$ with $W'^{KQ}=R^{-\\top}W^{KQ}R^{-1}$ and corresponding output reparameterization. Our optimization proof additionally assumes orthonormal embeddings (Assumption 1); parsing arbitrary multi-token histories is a separate representation-learning question.\n\n> **3. Regarding frozen weights and projections.**\n\n$P,Q$ are trainable output maps (Eqs. 6–10); fixed value channels $E_a,E_c$ do not pre-encode DFS. Additional projections can be absorbed into effective output maps at the representation level, although training dynamics may differ. Crucially, experiments already relax freezing: balanced depth-2 training updates $B,P$ (Fig. 3; App. E), while imbalanced training updates all four $B,C,P,Q$ in both stages (Fig. 6; App. E). Freezing in the theorem isolates coupled gradient terms; it is not required for the observed behavior (App. A.3).\n\n> **4. Regarding the two-stage curriculum.**\n\nThe split exposes a meaningful compositional learning barrier. Depth-1 training learns failure backtracking and repeat avoidance but does *not* generalize: $R=O(k^{-(l-1)})$ for $l\\ge2$ (Theorem 2, Eq. 22). Depth-2 training learns backtracking from exhausted internal nodes, yielding $R\\ge1-\\epsilon$ on deeper trees (Theorem 3, Eq. 23; Fig. 3). This demonstrates that DFS is learned, not hard-coded. The curriculum is a *sufficient* schedule; we do not claim necessity.\n\n> **5. Regarding the AI-reported Eq. (40) issue.**\n\nDeterminism of $n_s$ is unnecessary. Write the exploration length as random $N_s$. The second term of $G_{\\pi'}^\\gamma(s)$ is $(1-p_s)\\mathbb E[\\gamma^{N_s}X\\mid E_s^c,s]$, where $X\\ge0$ is the continuation return. Eq. (45) already bounds $N_s\\le M_s:=r(2+h_{d-1})$ *pointwise*. Since $0<\\gamma<1$, $\\gamma^{N_s}\\ge\\gamma^{M_s}$, giving\n\n$$\nG_{\\pi'}^\\gamma(s)-G_\\pi^\\gamma(s)\\ge p_sR_\\gamma(s)-(1-p_s)(1-\\gamma^{M_s})R'_\\gamma(s).\n$$\n\nThis is the bound used in the subsequent proof, so Proposition 2's conclusion is unchanged. The conditional-expectation notation can be made explicit.\n\n> **6. Regarding notation and presentation.**\n\n$a_{p,2}$ is the common off-diagonal entry of $A_P=PV$ (App. C.2, Eq. 79). Causality is enforced by the autoregressive prefix $E^{(h)}$ (Eqs. 5, 10). Fig. 2 already diagrams both heads, and attention/logit expressions appear in App. C.3.1, Eqs. 202–204, and Lemma 1, Eqs. 88–91; we can foreground these references.\n\nIn sum, the paper contributes an optimization-level account of acquiring interactive DFS from sparse RL feedback, beyond an expressivity construction. The realism questions identify future extensions, not refutations of the proved mechanism."
+ },
+ "createdAt": "2026-11-15T07:02:48.073Z",
+ "modifiedAt": "2026-11-15T07:06:07.146Z",
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs&noteId=OmmHPD3JRf",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/3dmnks8zss/notes/tqhxewzihr.json added

+++ b/reviews/openreview/3dmnks8zss/notes/tqhxewzihr.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "TqHxEWzIHr",
+ "replyTo": "czMprSxRk2",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer s4k7",
+ "comment": "We thank the reviewer for the positive assessment and for recognizing the contribution of our policy-gradient analysis. We clarify the two concerns below.\n\n> **Regarding whether the no-repeat rule forces DFS and restricts the policy space.**\n\nAn important distinction is that the no-repeat rule does not enforce DFS at the policy level. In particular, illegal actions are not masked from the transformer's output distribution (Eqs. 9–10). The agent can still select previously tried actions or backtrack prematurely, resulting in failure. Thus, the policy must learn to suppress these actions and identify when backtracking is appropriate, solely through terminal reward.\n\nMoreover, the predefined head roles do not hard-code the search algorithm: the attention and output matrices \\(B,C,P,Q\\) are learned from zero initialization. Indeed, Theorem 2 shows that depth-1 training fails to generalize despite learning basic backtracking and action avoidance, while Theorem 3 establishes that depth-2 training learns the missing internal-node backtracking mechanism and generalizes to deeper trees. This distinction is central to our contribution.\n\n> **Regarding extension to environments allowing revisits and alternative search strategies.**\n\nThe key transferable insight is how RL trains attention to retrieve action histories and failure outcomes, and combines them into search decisions (Theorem 1, Fig. 2).\n\nIn our static-tree setting, revisiting an already explored branch provides no new information, so redundant revisits are unnecessary for efficient search. If revisits were permitted, avoiding such redundant exploration would remain beneficial. More generally, while richer environments may favor other search strategies, the learned primitives of history-dependent action selection and outcome-conditioned backtracking remain relevant.\n\nOur imbalanced extension already demonstrates that the framework is not limited to uniform random DFS: Proposition 2 and Theorem 4 establish ranked DFS, which prioritizes more promising branches to minimize expected search length.\n\n> **Regarding empirical validation of the theoretical construction.**\n\nWe indeed provide empirical validation in Appendix E, using stochastic policy gradient with batch size 256 rather than the population gradients assumed in the analysis.\n\n- Figure 3 shows that training on depth-1 and depth-2 trees achieves high success rates on unseen trees of depths 3–4.\n- Figures 4–5 visualize the learned attention/output matrices, showing agreement with the predicted DFS mechanism.\n- Figures 6–7 further validate ranked DFS under imbalanced goal distributions, including experiments that update all four matrices throughout both training stages.\n\nThese experiments support both the predicted training dynamics and depth generalization, rather than merely verifying that the hand-constructed parameters can execute DFS.\n\nWe hope these clarifications address the concerns and further highlight that our main contribution is explaining how RL learns the search mechanism, rather than assuming it is already present."
+ },
+ "createdAt": "2026-11-15T07:01:24.378Z",
+ "modifiedAt": "2026-11-15T07:01:24.378Z",
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs&noteId=TqHxEWzIHr",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/3dmnks8zss/notes/whqyzqpllf.json added

+++ b/reviews/openreview/3dmnks8zss/notes/whqyzqpllf.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "wHqYZqPLLf",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer Hzih",
+ "content": {
+ "paper_summary": "The paper studies how transformers learn to search via RL (as opposed to supervised learning). They construct a simple k-ary tree environment, provide a construction for a simplified 2-head transformer that provably learns DFS, and show it depth-generalizes. They then train transformers of their simplified form and show they learn a search mechanism similar to the construction.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 3,
+ "critical_strengths": "The paper provides a clean construction of search in the (simple) k-ary tree setting implemented by a 2-head transformer, and also show it is learnable via gradient descent. Though the transformer architecture they use is stylized/simplified, it at least keeps the core attention mechanism intact.",
+ "critical_weaknesses": "The construction and results are presented for a stylized/simplified transformer where head 1 is constrained to look at actions and head 2 is constrained to look at labels (so some task-specific knowledge has been \"built in\"). The authors briefly cite prior work \"following standard simplification for theoretical analysis\" but I would like to see some justification for why results with this simplification might extend to standard more complex transformers with full architecture and training machinery. Also is this construction learnable without the inductive bias of head 1 looking only at actions and head 2 at labels?",
+ "questions_for_authors": "- Some of the notation is hard to follow and I feel there is insufficient guiding text to motivate the constructions, for example all the variable names B, C, P, Q, induced matrices. Can you provide intuitive explanations for these (and in the text to make it clearer)?\n- How general do you hypothesize the mechanism from the construction is? e.g. what would happen with more layers, more heads, etc. And what if you remove the constraint in eq 7 that head 1 only looks at actions and head 2 only at labels?\n- Did you try training a standard transformer on this task and does it find a similar mechanism to the proposed construction?",
+ "flag_for_ethics_review": "No",
+ "rating": 3,
+ "confidence": 2
+ },
+ "createdAt": "2026-10-22T03:54:22.354Z",
+ "modifiedAt": "2026-11-06T12:20:29.315Z",
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs&noteId=wHqYZqPLLf",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/3dmnks8zss/submission.json added

+++ b/reviews/openreview/3dmnks8zss/submission.json
@@ -0,0 +1,17 @@
+{
+ "schema": "submission/1",
+ "id": "3dMNKs8ZSs",
+ "venue": {
+ "id": "ICLR.cc/2027/Conference",
+ "name": "ICLR 2027",
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"
+ },
+ "number": 16421,
+ "keywords": [
+ "transformer",
+ "training dynamics",
+ "reinforcement learning"
+ ],
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs",
+ "license": "CC-BY-4.0"
+}

versions/v_rnzv5nnr.json added

+++ b/versions/v_rnzv5nnr.json
@@ -0,0 +1,21 @@
+{
+ "date": "2026-09-13",
+ "kind": "submitted",
+ "label": "ICLR 2027",
+ "submissions": [
+ {
+ "venue": "ICLR 2027",
+ "status": "under_review",
+ "number": 16421,
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs",
+ "reviews": "openreview/3dmnks8zss",
+ "evidence": [
+ "https://openreview.net/forum?id=3dMNKs8ZSs"
+ ]
+ }
+ ],
+ "url": "https://openreview.net/forum?id=3dMNKs8ZSs",
+ "evidence": [
+ "https://openreview.net/forum?id=3dMNKs8ZSs"
+ ]
+}