The Shape of a Program: Path Signatures for Trace-to-Program Induction
Update NeurIPS 2026 submission pAtl3nP8op: 14 notes
@openreview[bot] · 2026-11-24 15:55 UTC · bda1e56b3210 ·
reviews/openreview/patl3np8op/notes/0rb3zymw8j.json added
+++ b/reviews/openreview/patl3np8op/notes/0rb3zymw8j.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "0Rb3Zymw8j",+ "replyTo": "Fu2YPKlUZ4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for their thoughtful engagement with our rebuttal and for raising the score. Both remaining points are well taken, and we will incorporate their discussion into the revision as follows.\n\n\n**Scaling in trace length vs. interaction order.**\n\n1. There are two distinct axes of scaling in this setting, and the encoder families sit on opposite ends of the trade-off. Along the **trace length** axis, the scaling favors the log-signature: its cost is linear in $T$ (with an embedding dimension independent of $T$), and Chen's identity makes the computation associative, hence parallelizable to logarithmic depth, so its forward pass stays near-constant on GPU up to $T=10^4$ (${\\sim}4$ms, vs. ${\\sim}125$ms for quadratic self-attention; see the encoder-runtime Figure 7 in the paper's appendix). Along the **interaction order** axis, the scaling favors the classical baselines: softmax attention (and recurrence) composes nonlinearities to unbounded order at fixed cost, as the reviewer notes, whereas the signature produces $O(d^M)$ features for order $M$. We would argue that length is the harder challenge in most trace settings: traces grow unboundedly with program runtime (loops, long horizons, real system executions), whereas the interaction order needed to identify a program is a bounded structural property of the program family, which the next two points take up.\n\n2. Capturing higher-order interactions between the states might play a bigger role for generic sequence tasks like classification, but inferring programs from execution traces is less bound by interaction depth in the presence of sufficiently rich low-order features. This low order was the second order in our evaluation programs, which explains why the third-order logsignature didn't improve the performance in our ablation. Of course, other program distributions might require higher interaction depths, in which case we would expect the higher-order logsignature ($M>2$) to pay off. We will try to include a self-contained controlled experiment to isolate this effect in the final revision.\n\n3. In addition to our original truncation-depth ablation documenting exactly this phenomenon of the higher-depth feature capacity being spent on overfitting rather than useful structure, we will place more emphasis on this point, stating that the practically learnable regime is low-order (on our tasks the benefit is concentrated at $M{=}2$), and realizing the theory's higher-order expressivity will require channel down-projection or implicit (kernelized) signature methods, which we leave to future work.\n\n**Transformer ablations.**\n\nWe thank you again for the ablation suggestions. We will include the results of our rebuttal experiments in the revision, along with a discussion of the no-pooling variant's limitations. We would like to re-emphasize that even though the log-signature beats the transformer on most settings (RASP, List, and lower-volume Karel), the main goal of these evaluations is to demonstrate that the log-signature inductive bias is competitive with transformers, rather than to claim a blanket superiority over them. \n\n\n\nWe are grateful for the constructive exchange; the paper is stronger for it."+ },+ "createdAt": "2026-08-02T17:43:03.844Z",+ "modifiedAt": "2026-11-19T16:48:09.073Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=0Rb3Zymw8j",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/b1ro8yosvx.json added
+++ b/reviews/openreview/patl3np8op/notes/b1ro8yosvx.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "B1rO8YOsVX",+ "replyTo": "Fu2YPKlUZ4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 9WX9",+ "content": {+ "comment": "Thank you for the detailed rebuttal.\n\n**Well addressed**\n\n* Signature vs. log-signature: the log mainly removes redundant coordinates and reduces parameters, rather than driving the accuracy.\n* Simple second-order baselines: the symmetric/antisymmetric ablation gives exactly the mechanistic insight I was hoping to see.\n* Parameter count: the capacity sweep shows the gain, especially on List, is not explained by the large projection layer.\n* Finding #2: clarified appropriately as a pipeline/dataset property rather than a LogSig-specific advantage.\n\n**Partially addressed**\n\n* Transformer baseline: the stronger APE + $[\\mathrm{CLS}]$/attention-pooling variants are helpful, and $[\\mathrm{CLS}]$ actually outperforms LogSig on Karel. The no-pooling result only tests one flat concatenation design, so it does not rule out stronger hierarchical state-level attention.\n* Latent geometry: the added quantitative metrics strengthen the result, though the geometry remains largely expected from the imposed bias.\n\n**Remaining concerns**\n\n1. While rough-path theory gives greater expressivity as $M$ increases, the empirical benefit is concentrated at $M=2$, and performance already drops at $M=3$. I understand this may be due to the rapidly growing feature dimension and learnability issues, but since the paper is specifically about applying rough-path theory in learning models, this is an unavoidable practical hurdle that should be acknowledged more clearly.\n\n2. Even at $M=2$, LogSig is a fixed second-order interaction map. A learnable attention pool is not similarly restricted: although $q_i^\\top k_j$ is pairwise, the softmax is nonlinear with an infinite power-series expansion, so the overall interaction order is not bounded by two. A learned $[\\mathrm{CLS}]$ token can further act as a memory state that repeatedly accumulates and recombines lower-order information, making global higher-order functions easier to learn. The fact that APE + learned $[\\mathrm{CLS}]$ substantially outperforms LogSig on Karel may reflect this greater flexibility.\n\n\nMost of my original empirical concerns are now resolved, and the remaining issue is a useful follow-up question for the community rather than a blocking flaw. I therefore update my score from 2 to 4."+ },+ "createdAt": "2026-08-01T21:38:53.234Z",+ "modifiedAt": "2026-11-19T16:48:09.127Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=B1rO8YOsVX",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/fu2ypkluz4.json added
+++ b/reviews/openreview/patl3np8op/notes/fu2ypkluz4.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "Fu2YPKlUZ4",+ "replyTo": "STiXI5CZqm",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Rebuttal Part 2",+ "comment": "**Q3 — Stronger Transformer baselines.**\n\nAs requested, we have conducted the additional ablations on the Transformer baseline. The results are summarized in the table below. Please note the following:\n\n- The PE in the paper's version already uses absolute sinusoidal PE (APE): we used \"relative\" to mean \"trace-relative\" (positions being indexed within each trace). This phrasing is understandably confusing, so we will edit it to avoid confusion with variants like the T5-style relative PE (RPE). To still answer the question though, we trained on T5-style RPE.\n- For the no-pooling variant, since the traces are concatenated into a single sequence, we added a learned trace-id embedding to the states, so that the decoder can distinguish which state belongs to which trace.\n\n| Variant | Karel | List |\n|---|---|---|\n| RPE + learned [CLS] | 0.604 | 0.265 |\n| RPE + attention-pool | 0.011 | 0.282 |\n| RPE + mean-pool | 0.011 | 0.676 |\n| APE + learned [CLS] | 0.897 | 0.811 |\n| APE + attention-pool | 0.849 | 0.832 |\n| APE + mean-pool readout (paper) | 0.868 | 0.798 |\n| APE + Decoder no-pooling cross-attn | 0.707 | 0.517 |\n| Log-signature (ours) | 0.861 | 0.906 |\n\n**Summary of findings:**\n\n1. With APE, performance is largely insensitive to the readout: learned [CLS], attention-pool, and mean-pool land within a few points, so the paper's mean-pool was not handicapping the baseline.\n2. The pooling bottleneck is not what the log-signature's advantage rests on: the no-pooling variant lets the decoder cross-attend to *all* state embeddings, yet performs clearly worse than the pooled variants, so removing the bottleneck widens the gap rather than closing it.\n3. APE consistently beats T5-style RPE, which is also unstable here, supporting the paper's trace-relative absolute sinusoidal PE.\n4. The strongest variant (APE + [CLS]) pulls ahead on Karel but not on List.\n\nWe will include the strengthened variants in the revision.\n\n**Q4 — Parameter counts and matched capacity.**\nThis is a good point. Beyond a single matched-capacity baseline, we ran a capacity *sweep*: the (positionally augmented) states are linearly mapped to lower dimensions before the signature (shrinking the log-signature feature dimension, and with it $W_\\text{proj}$, quadratically), with the Transformer swept over matching widths. Accuracy is evaluated on List:\n\n| Encoder | State Dim | Sig Feat Dim | Encoder Params | Total Params | Accuracy |\n|---|---|---|---|---|---|\n| LogSig | 256 | 32,896 | 8.5M | 17.5M | 0.906 |\n| LogSig | 128 | 8,256 | 2.15M | 11.2M | 0.881 |\n| LogSig | 64 | 2,080 | 549K | 9.6M | 0.884 |\n| LogSig | 32 | 528 | 144K | 9.2M | 0.897 |\n| LogSig | 16 | 136 | 39K | 9.1M | 0.884 |\n| Transformer | 256 | — | 2.76M | 11.8M | 0.798 |\n| Transformer | 128 | — | 1.25M | 10.3M | 0.779 |\n| Transformer | 64 | — | 595K | 9.6M | 0.755 |\n| Transformer | 32 | — | 292K | 9.3M | 0.682 |\n| Transformer | 16 | — | 146K | 9.2M | 0.564 |\n| LSTM | 256 | — | 658K | 9.7M | 0.496 |\n| Fourier | 256 | — | 1.51M | 10.6M | 0.697 |\n\nIndeed, the log-signature feature dimension grows quadratically with the state dimensionality, so $W_\\text{proj}$ gets quite large for wide state dimensionalities: at the paper's $d'{=}256$ it makes the log-signature the largest trace encoder in the comparison (8.5M parameters vs. 2.8M for the Transformer trace encoder). However, this is easily managed by down-projecting the states before the signature, e.g., the $d'{=}16$ variant retains only 39k encoder parameters, over $70\\times$ fewer than the Transformer's 2.76M, while still outperforming it. The sweep confirms that the gains do not rest on that capacity:\n\n- The log-signature encoder is robust far below the paper's state dimensionality.\n- The Transformer degrades considerably under the same treatment.\n- The gains are preserved under matched parameter counts, and indeed under a large deficit: the $d'{=}16$ pipeline is smaller than the width-128 Transformer in both encoder and total parameters, yet leads by over 10pp.\n\nThis is the pattern expected when the advantage lives in the feature map rather than the parameters. The sweep is plotted in Figure 2 (supplementary Appendix C); the table will be included in the revision.\n\n**Q5 / Finding 2 — bootstrapping is a pipeline property, not a log-signature advantage.**\n\n> this seems to be a property of the trace-to-program pipeline and the non-minimality of the dataset labels, not a distinctive advantage of the log-signature encoder. I think this should be framed more modestly.\n\nThat is correct, and it is expressly stated in L310-313. The bootstrapping analysis was intended as a measurement instrument for redundancy in the released supervision, and the fact that all encoders uncover such redundancy is part of the finding."+ },+ "createdAt": "2026-07-28T20:46:05.774Z",+ "modifiedAt": "2026-11-19T16:48:09.187Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=Fu2YPKlUZ4",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/harrw8djrf.json added
+++ b/reviews/openreview/patl3np8op/notes/harrw8djrf.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "HArRw8DJRf",+ "replyTo": "qV03SB4TH1",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer Fu6V",+ "content": {+ "title": "Response to author rebuttal",+ "comment": "I would like to thank the authors for their extensive effort during the rebuttal period, carefully addressing my concerns as well as those of other reviewers. Having read all other reviews and rebuttals, I agree with the AC and raise my score to 5."+ },+ "createdAt": "2026-08-03T21:24:51.349Z",+ "modifiedAt": "2026-11-19T16:48:08.859Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=HArRw8DJRf",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/j0w2gqmsr7.json added
+++ b/reviews/openreview/patl3np8op/notes/j0w2gqmsr7.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "j0W2gQMSR7",+ "replyTo": "rapuT3v5Q8",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Rebuttal Part 1",+ "comment": "We thank the reviewer for their feedback, and for correctly identifying both the promise and the current scope of the work. We address the reviewer's points in the following:\n\n*A note on the supplementary link.* Prompted by a reviewer's request for implementation details, we compiled an [anonymized supplementary appendix](https://anonymous.4open.science/r/ProgSig-NIPS-Rebuttal/), which is permitted under the NeurIPS rebuttal guidelines. Beyond those details, it collects the optional supplementary visuals and results referenced below for added clarity; consulting it is not required to assess this response.\n\n**W1 Theoretical Motivation**\n\nWe agree the connection between theory and implementation is motivational rather than a guarantee, but it is well-founded for two reasons: (1) the information carried by the signature decays factorially in the truncation depth, so a low-order signature usually suffices, and (2) the law characterization is a property of the mean path signature, so sampling finitely many traces from a program (law) is a statistically grounded estimator of it. The revision will emphasize this motivational nature, clarifying it is not a guarantee for the finite, truncated, learned-embedding setting.\n\n**W1 / Q2: Trace/Program Length Test**\n\nThe \"very-long-horizon programs\" point in the limitations pertains more to the length of the embedded temporal interactions than the raw length of the traces/programs, but since the former is hard to quantify, we have added a stress-test analysis that stratifies accuracy by trace length and reports the stats on program length and maximum nesting depth. Since it is the strongest baseline, we evaluate the Transformer vs Logsig encoders on List-domain dataset with wider trace length range (30-100), consisting of 100K training samples and 5000 test samples. The full per-bin histogram is shown in Figure 3 (Appendix D) of the supplementary appendix. The results are summarized in the table below.\n\n| Model | short (30-53) | medium (54-76) | long (77-100) |\n|---|---|---|---|\n| Log-Sig | 0.923 | 0.803 | 0.983 |\n| Transformer | 0.821 | 0.720 | 0.863 |\n\nOver the full 5,000-program test set, program length is 19.79±3.32 (max 37) and depth 2.35±0.52 (max 5); correct-subset stats below.\n\n| Model | n_correct | prog len correct (mean±std, max) | depth correct (mean±std, max) |\n|---|---|---|---|\n| Log-Sig | 4,632 | 19.58±3.20, 34 | 2.34±0.51, 5 |\n| Transformer | 4,114 | 19.57±3.22, 37 | 2.35±0.52, 5 |\n\nIn light of both results, the trace and program lengths do not seem to be the basis of the failure mode.\n\n**W2 / Q1 — Is the geometry intrinsic, or an artifact of the learned embedding $\\phi$?**\n\nThis is an important point. Substantively, the signature transform requires only that states be embedded as points on a path; the positional augmentation then ensures that distinct time steps map to distinct augmented states (the sinusoidal encoding is injective in the time index over any realistic trace length), which removes the backtracking (tree-like) equivalence of signatures independently of $\\phi$. In both our domains, generic encoders (a small CNN for grids, element-wise embeddings for lists) trained end-to-end sufficed, with no geometric hand-engineering. To directly test the impact of $\\phi$, we ablate with a frozen, randomly initialized state-encoder.\n\n| Model | Karel | List |\n| --- | --- | --- |\n| Logsig (trained φ) | 0.861 ± 0.0035 | 0.906 ± 0.007 |\n| Logsig (frozen φ) | 0.867 ± 0.010 | 0.891 ± 0.011 |\n| Transformer (trained φ) | 0.868 ± 0.004 | 0.798 ± 0.003 |\n| Transformer (frozen φ) | 0.053 ± 0.008 | 0.781 ± 0.002 |\n\nSomewhat surprisingly, the log-signature encoder is mostly unaffected by freezing the state-encoder $\\phi$ at random initialization. This indicates that *shaping* the state representation is not the main contributor to its performance; the main purpose of $\\phi$ is to *lift* the raw state space (e.g., images, text, discrete vectors) into a vector space where the signature transform can be applied.\n\n> the contrast between \"geometry\" for signatures and \"content\" for LSTMs/Transformers feels somewhat too sharp, since all of these methods ultimately operate on the same embedded state content.\n\nEven though the input to all encoders is the same embedded sequence, the log-signature computes fundamentally geometric features of the path traced by that sequence (such as path increments, signed area, and higher-order iterated integrals). This results in invariances to content-changing but geometry-preserving variations like translation and reparameterization, which stems from only looking at the *geometry* of the path, rather than the *content* of the individual states. In contrast, LSTMs and Transformers compute features that are more sensitive to the specific content of the states and their order, without explicitly capturing these geometric properties."+ },+ "createdAt": "2026-07-28T19:08:11.838Z",+ "modifiedAt": "2026-11-19T16:48:09.450Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=j0W2gQMSR7",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/lphzzltr9l.json modified
+++ b/reviews/openreview/patl3np8op/notes/lphzzltr9l.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair nqzH","content": {- "metareview": "## Summary\n\nThe authors define a new method to do program induction from traces, i.e. given a set of traces, they train an NN to synthesize the program that created the traces. Each trace consists of a sequence of program states, so the synthesis pipeline consists of three parts:\n\n1. *state encoder*: embed each program state to a latent vector \n2. *trace encoder*: embed each trace (a sequence of states) to a latent vector\n3. *decoder*: a transformer which attends to the trace vectors, and generates a program\n\nThe authors train models to generate programs for two toy domain-specific languages: Karel, for grid worlds, and List, for list manipulation. In these experiments, the decoder and state encoder are fixed (i.e. have a fixed architecture), while the trace encoder varies. All models are trained from scratch. The authors compare four trace encoder architectures: LSTM, transformer, Fourier, and *path signature*. \n\nThe *path signature* encoder is the novel part of this work, and defining the underlying theory comprises the bulk of the paper. Path signatures have a deep mathematical theory, and have previously been used for ML, but primarily for time-series prediction. Thus, this paper is the first work applying them to program traces. \n\nThe authors argue convincingly that the path signature encoder has an inductive bias that is well suited to program traces. It strongly outperforms LSTM, transformer, and Fourier baselines, while running at a fraction of the wall-clock time. In addition, the t-SNE visualizations show tight clustering of state embeddings within traces, and of traces belonging to the same program, which the other encoders do not have. \n\n## Reviews\n\nAs AC, I would like to thank all of the reviewers for writing exceptionally detailed and clear reviews. This was a difficult paper to review, yet review quality for this paper was well above average across the board. \n\nReviews for this paper were generally negative, 2, 2, 4. The reviewers had many concerns, including:\n\n* The Karel/List DSLs are toy languages, and it is not clear that the technique will scale to real-world problems. \n* Reviewers were not convinced by the t-SNE visualizations.\n* Clarity issues -- how do you take the high-level log-signature theory, and convert it to an implementable algorithm? [8Ahq]\n* Transformer baseline used mean-pooling rather than the more powerful [CLS] token. [9WX9]\n* Compressing the trace to a single vector may itself favor the signature -- what about attending directly to the traces? [9WX9]\n* ... and many others\n\n## AC Opinion\n\nAs AC, I am actually going to push back on the negative reviews here; I think the reviewers were overly harsh. \n\nThe paper is exceptionally well-written, and it does something that is not easy: introducing a very difficult mathematical topic (path signatures) to an audience that will generally be unfamiliar with it. The theory is well-motivated. The experiments seem well-designed, and are focused on answering a focused question: do path signatures have a useful inductive bias for encoding program traces? To my eye, the experimental results (including t-SNE) are convincing in answering this question.\n\nReviewer complaints that the DSLs are toy languages are absolutely valid; this technique may not be scalable to real-world problems. However, I would treat this paper primarily as a seminal theory paper, rather than one that is attempting to beat SOTA program synthesis. The authors are applying a branch of mathematics to a new area, and small-scale studies are accepted practice for such work. For initial exploratory work, it makes sense to use simple DSLs that operate in well-defined state-spaces. The models here have to be trained from scratch, so it also makes sense that they are small. Compressing entire traces to a single vector may not be the best way to do program induction, but it’s the right way to test the inductive bias of a trace encoder; etc. I would expect future work to build on these results in more realistic settings.\n\nThat being said, I would encourage the authors to engage with and address as many reviewer concerns as they can; there is a lot of detailed feedback here. Reviewer 8Ahq’s comments on clarity are especially important -- what is the algorithm for computing the log-signature of a trace, in a form that can be implemented by a practicing ML researcher? (This can be in the appendix if need be.) Additional experiments to create stronger baselines are always good as well."+ "metareview": "## Summary\n\nThe authors define a new method to do program induction from traces, i.e. given a set of traces, they train an NN to synthesize the program that created the traces. Each trace consists of a sequence of program states, so the synthesis pipeline consists of three parts:\n\n1. *state encoder*: embed each program state to a latent vector \n2. *trace encoder*: embed each trace (a sequence of states) to a latent vector\n3. *decoder*: a transformer which attends to the trace vectors, and generates a program\n\nThe authors train models to generate programs for two toy domain-specific languages: Karel, for grid worlds, and List, for list manipulation. In these experiments, the decoder and state encoder are fixed (i.e. have a fixed architecture), while the trace encoder varies. All models are trained from scratch. The authors compare four trace encoder architectures: LSTM, transformer, Fourier, and *path signature*. \n\nThe *path signature* encoder is the novel part of this work, and defining the underlying theory comprises the bulk of the paper. Path signatures have a deep mathematical theory, and have previously been used for ML, but primarily for time-series prediction. Thus, this paper is the first work applying them to program traces. \n\nThe authors argue convincingly that the path signature encoder has an inductive bias that is well suited to program traces. It strongly outperforms LSTM, transformer, and Fourier baselines, while running at a fraction of the wall-clock time. In addition, the t-SNE visualizations show tight clustering of state embeddings within traces, and of traces belonging to the same program, which the other encoders do not have. \n\n## Reviews\n\nAs AC, I would like to thank all of the reviewers for writing exceptionally detailed and clear reviews. This was a difficult paper to review, yet review quality for this paper was well above average across the board. \n\nReviews for this paper were generally negative, 2, 2, 4. The reviewers had many concerns, including:\n\n* The Karel/List DSLs are toy languages, and it is not clear that the technique will scale to real-world problems. \n* Reviewers were not convinced by the t-SNE visualizations.\n* Clarity issues -- how do you take the high-level log-signature theory, and convert it to an implementable algorithm? [8Ahq]\n* Transformer baseline used mean-pooling rather than the more powerful [CLS] token. [9WX9]\n* Compressing the trace to a single vector may itself favor the signature -- what about attending directly to the traces? [9WX9]\n* ... and many others\n\n## AC Opinion\n\nAs AC, I am actually going to push back on the negative reviews here; I think the reviewers were overly harsh. \n\nThe paper is exceptionally well-written, and it does something that is not easy: introducing a very difficult mathematical topic (path signatures) to an audience that will generally be unfamiliar with it. The theory is well-motivated. The experiments seem well-designed, and are focused on answering a focused question: do path signatures have a useful inductive bias for encoding program traces? To my eye, the experimental results (including t-SNE) are convincing in answering this question.\n\nReviewer complaints that the DSLs are toy languages are absolutely valid; this technique may not be scalable to real-world problems. However, I would treat this paper primarily as a seminal theory paper, rather than one that is attempting to beat SOTA program synthesis. The authors are applying a branch of mathematics to a new area, and small-scale studies are accepted practice for such work. For initial exploratory work, it makes sense to use simple DSLs that operate in well-defined state-spaces. The models here have to be trained from scratch, so it also makes sense that they are small. Compressing entire traces to a single vector may not be the best way to do program induction, but it’s the right way to test the inductive bias of a trace encoder; etc. I would expect future work to build on these results in more realistic settings.\n\nThat being said, I would encourage the authors to engage with and address as many reviewer concerns as they can; there is a lot of detailed feedback here. Reviewer 8Ahq’s comments on clarity are especially important -- what is the algorithm for computing the log-signature of a trace, in a form that can be implemented by a practicing ML researcher? (This can be in the appendix if need be.) Additional experiments to create stronger baselines are always good as well.",+ "final_justification": "The authors did an excellent job of responding to reviewer concerns, and the reviewers, in turn, carefully evaluated the author responses. As AC, I would like to thank both authors and reviewers -- this is how the peer review process is supposed to work! \n\nAll reviewers are now in unanimous agreement that this paper should be accepted. \n\nReviewer FU6V writes: *The authors have extensively addressed most points raised by reviewers. Despite the limited scope of experiments, I find the direction's novelty and carefully controlled validation of the majority of the claims to be solid contributions.*\n\nReviewer 8Ahq writes: *The authors have addressed my primary concerns on clarity, comparison to existing coding LMs, and interpretability.*\n\nReviewer 9WX9 writes: *The rebuttal resolved my main empirical concerns.*"},"createdAt": "2026-07-17T01:12:02.456Z",- "modifiedAt": "2026-11-18T15:25:55.065Z",+ "modifiedAt": "2026-11-19T05:03:45.244Z","url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=LPHzzLtR9l","license": "CC-BY-4.0"}
reviews/openreview/patl3np8op/notes/oilrfkffxx.json added
+++ b/reviews/openreview/patl3np8op/notes/oilrfkffxx.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "oilRFkFFxX",+ "replyTo": "tMwBE96R9c",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Rebuttal Part 1",+ "comment": "We thank the reviewer for their comments and clarifying questions. We addressed each point with experiments/clarifications below.\n\n*A note on the supplementary link.* Following your request for implementation details, we compiled an [anonymized supplementary appendix](https://anonymous.4open.science/r/ProgSig-NIPS-Rebuttal/), which is permitted under the NeurIPS rebuttal guidelines. Beyond those details, it includes optional supplementary visuals for added clarity; consulting it is not required to assess this response.\n\n**W1/Q3 — What does the depth-2 log-signature actually compute?**\n\nTo address, the [anonymized supplementary appendix](https://anonymous.4open.science/r/ProgSig-NIPS-Rebuttal/) noted above contains the following:\n1. Our tensor-level implementation of the signature/log-signature, verified against the `signatory` library (`signatures.py`), together with a minimal, self-contained end-to-end demo of the log-signature trace-to-program pipeline that makes the data flow and tensor shapes explicit (`logsig_pipeline_demo.py`).\n2. An algorithm box outlining the general pipeline (Algorithm 1, Appendix A).\n\nIn plain terms, for a trace embedded as vectors $x_1, \\dots, x_T \\in \\mathbb{R}^d$ with increments $\\Delta_i = x_{i+1} - x_i$, the depth-2 log-signature is the concatenation of exactly two objects:\n\n1. **Level 1 — total displacement:** $\\sum_i \\Delta_i \\in \\mathbb{R}^d$ (where the trace ended up, per embedding dimension);\n2. **Level 2 — Lévy areas:** $A_{ab} = \\tfrac{1}{2} \\sum_{i<j} (\\Delta_i^a \\Delta_j^b - \\Delta_i^b \\Delta_j^a)$ for each dimension pair $a<b$ (the *signed order* in which dimension $a$ moved relative to dimension $b$, aggregated over the whole trace).\n\nThis is a fixed, deterministic feature map of size $d + d(d-1)/2$; the only learned component is the linear projection to the embedding dimension. This can be implemented with concise tensor operations as follows:\n\n```python\n# X: (T, d) positionally-augmented trace; W_proj: (embed_dim, d + d*(d-1)//2)\ndeltas = X[1:] - X[:-1] # (T-1, d) path increments Δᵢ\n\n# Level 1 — total displacement ΣᵢΔᵢ ∈ ℝᵈ\nlevel1 = deltas.sum(dim=0) # (d,)\n\n# Level 2 — Lévy areas via a single matmul.\n# M_ab = Σ_{i<j} Δᵢᵃ Δⱼᵇ, using exclusive prefix sums of the increments.\nprefix = deltas.cumsum(dim=0) - deltas # (T-1, d) = Σ_{i<j} Δᵢ at each j\nM = prefix.T @ deltas # (d, d)\nA = 0.5 * (M - M.T) # (d, d) antisymmetric ⇒ signed areas\niu = triu_indices(d, offset=1) # the d(d-1)/2 pairs a < b\nlevy = A[iu[0], iu[1]] # (d*(d-1)//2,)\n\n# Depth-2 log-signature, then the single learned projection.\nlogsig = concat([level1, levy]) # (d + d*(d-1)//2,)\nembedding = W_proj @ logsig # (embed_dim,)\n```\n\n**W2, W3, W4 / Q4 — Baselines, including LLMs (1/2).**\n\n> The empirical comparison is narrow. The baselines are LSTM, a small Transformer encoder, and Fourier features, so the results mainly support a controlled trace-encoder comparison rather than a strong claim about modern program induction.\n\n- Since our work introduces a new inductive bias for program induction, it is important to first establish its base effectiveness compared to the base versions of the existing classical sequence encoders. We do not claim that our proposed log-signature encoder is a better trace encoder than the current state-of-the-art LSTM or Transformer models. Establishing such a claim would take us far away from the main focus of our work, which is to study the inductive bias of the log-signature in a controlled setting. This is an important first step before we can explore how to combine the log-signature with other state-of-the-art methods. We are happy to add more emphasis on this in the revision.\n\n> the paper does not discuss LLMs which drive all of modern AI coding agents.\n\n- Trace-to-program induction is a different setting/objective from that of coding agents/assistants, and conflating them distracts from the core scope and contribution. Recovering a program from its behavioral traces carries a different set of challenges and utilities than generating code from natural language.\n\n> Can the authors include or discuss stronger modern baselines?\n\nWe are happy to include any suggested architectures or architectural variants. We have conducted further transformer PE and aggregation ablations (reported in full in our response to Reviewer 9WX9's Q3), as requested by that reviewer.\n\n> The Transformer baseline is only 2 layers, and many architectural details are omitted.\n\n- Can you please clarify which architectural details you would like to see? We can include them in the revision. Regarding the 2-layer choice, we report in the paper (Section 5.2) that adding encoder layers did not help and that $\\geq 8$ layers destabilized training.\n\n*Apologies for splitting the rebuttal across two comments; a comment has half the character limit for the rebuttal.*"+ },+ "createdAt": "2026-07-28T19:28:27.861Z",+ "modifiedAt": "2026-11-19T16:48:09.190Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=oilRFkFFxX",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/qv03sb4th1.json added
+++ b/reviews/openreview/patl3np8op/notes/qv03sb4th1.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "qV03SB4TH1",+ "replyTo": "rapuT3v5Q8",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Rebuttal Part 2",+ "comment": "*Apologies for splitting the rebuttal across two comments; a comment has half the character limit for the rebuttal.*\n\n**W3 — t-SNE is weak evidence.**\n\nt-SNE is not rigorous evidence on its own, but when read alongside the performance metrics (e.g., semantic accuracy) it helps contextualize the main thesis. To strengthen Finding 3, we complement it with quantitative metrics on the raw embeddings (no dimensionality reduction): nearest-neighbour same-program retrieval, silhouette with program-identity labels, ARI/NMI of k-means against program identity, and same- vs. different-program cosine similarities.\n\n| task | encoder | knn_top1 | silhouette | cos_gap | ARI | NMI |\n| --- | --- | --- | --- | --- | --- | --- |\n| Karel | Logsig | **0.810** | **0.263** | **0.508** | **0.460** | **0.909** |\n| Karel | LSTM | 0.672 | 0.072 | 0.410 | 0.310 | 0.851 |\n| Karel | Transformer | 0.768 | 0.103 | 0.425 | 0.353 | 0.868 |\n| Karel | Fourier | 0.374 | -0.118 | 0.271 | 0.130 | 0.791 |\n\nMetrics (raw embeddings): **knn_top1**, leave-one-out top-1 retrieval accuracy (fraction of traces whose nearest cosine neighbour shares the same program); **silhouette**, mean silhouette coefficient over program-id clusters (−1 to 1, higher is tighter/better-separated); **cos_gap**, mean same-program minus mean different-program cosine similarity; **ARI / NMI**, Adjusted Rand Index and Normalised Mutual Information of k-means (k = number of programs) against true program ids. We additionally verified that the t-SNE picture is stable across 3 seeds and 2 perplexities.\n\n**Q3 — What opaque agents is this intended for?**\n\nThe intended application class is agents whose *state trajectories* are observable even when their policy is not: RL policies in gridworld-like or robotic-control environments, rule-based systems under black-box audit, and program-synthesis-in-the-loop settings where candidate behaviors are indexed by behavioral similarity. The common requirement is exactly what our pipeline assumes: access to state sequences, not to the mechanism generating them.\n\n**Q4 — RASP-style programs.**\n\n- We find this direction genuinely exciting and thank the reviewer for it. RASP programs describe Transformer computations whose \"traces\" are residual-stream states, arguably a *better* fit for path-signature methods than our discrete DSLs, for two reasons. First, residual streams are natively continuous, removing the $\\phi$-dependence discussed under W2/Q1. Second, they are natively high-dimensional, the regime where low-order truncation is least lossy: at depth 2 all ordering information lives in the $d(d-1)/2$ cross-channel Lévy areas (a one-dimensional path has none), and part of $\\phi$'s role in our pipeline is precisely to manufacture such channels, whereas residual streams arrive pre-lifted.\n\n- We were able to generate three RASP dataset variants of different sizes and difficulty levels to attach to our pipeline. Due to the limited time window, we only evaluated the log-signature and the transformer encoders on these datasets, and the results are summarized in the table below.\n\n| Dataset | Train Size | Test Size | Encoder | Totally Correct | Partial Correctness | Exact GT Match | Parse-fail | Conv. Epoch | Total Epochs |\n|---|---|---|---:|---:|---:|---:|---:|---:|---:|\n| rasp_v5s8-1400 | 1.4k | 280 | Logsig | **0.625** | **0.673** | 0.111 | 0.000 | 27 | 100 |\n| rasp_v5s8-1400 | 1.4k | 280 | Transformer | 0.029 | 0.039 | 0.000 | 0.000 | 4 | 100 |\n| rasp_v5s8-8k | 8k | 800 | Logsig | **0.902** | **0.909** | 0.163 | **0.000** | 131 | 200 |\n| rasp_v5s8-8k | 8k | 800 | Transformer | 0.068 | 0.069 | 0.004 | 0.834 | 186 | 200 |\n| rasp_v8s8-18k | 17k | 1800 | Logsig | **0.743** | **0.775** | 0.162 | **0.003** | 24 | 200 |\n| rasp_v8s8-18k | 17k | 1800 | Transformer | 0.012 | 0.013 | 0.001 | 0.928 | 48 | 200 |\n\nBoth encoders were trained under the same protocol, and every run reaches its best validation metric within the training budget (Conv. Epoch vs. Total Epochs), so the Transformer's parse failures are not an artifact of insufficient training.\n\nThe exact DSL and more dataset details are given in Figure 1 (Appendix B) of the supplementary appendix. We will also include a bigger RASP dataset in the main experiments (next to Karel and List) in the revision.\n\n**On synthetic DSLs with clean traces and restricted syntax.**\n\nWe agree with the reviewer's closing remark that the real-world cases typically involve noisier traces and more complex program syntax. For the purposes of our study, we focused on more controlled settings in order to establish a base competency of rough-path theoretic methods for program induction. The RASP domain above already relaxes the setting in one direction: its traces are the internal activations of real compiled Transformers rather than the states of a hand-designed interpreter. We hope that future research can build on our work to explore more complex and realistic program synthesis tasks with richer syntax and noisier traces."+ },+ "createdAt": "2026-07-28T19:07:18.431Z",+ "modifiedAt": "2026-11-19T16:48:09.306Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=qV03SB4TH1",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/qzgmusfbyo.json added
+++ b/reviews/openreview/patl3np8op/notes/qzgmusfbyo.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "qzgmuSfBYo",+ "replyTo": "STiXI5CZqm",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Rebuttal Part 1",+ "comment": "We thank the reviewer for the technically detailed review. We address each point with experiments/clarifications below.\n\n*A note on the supplementary link.* Prompted by a reviewer's request for implementation details, we compiled an [anonymized supplementary appendix](https://anonymous.4open.science/r/ProgSig-NIPS-Rebuttal/), which is permitted under the NeurIPS rebuttal guidelines. Beyond those details, it collects the optional supplementary visuals and results referenced below for added clarity; consulting it is not required to assess this response.\n\n**Q1 — Signature vs. log-signature at $M=2$.**\n\nWe agree that this is an insightful comparison to complete the picture. We trained a full-signature variant under identical hyperparameters, with $W_\\text{proj}$ resized to the doubled feature dimension; the results are below.\n\n| Encoder | Feature dim | $W_\\text{proj}$ params | Karel | List |\n|---|---|---|---|---|\n| Log-signature, $M=2$ | 32,896 | 8.4M | 0.861 | 0.906 |\n| Full signature, $M=2$ | 65,792 | 16.8M | 0.855 | 0.884 |\n\nThe full signature matches the log-signature on Karel and trails it slightly on List, despite doubling the feature dimension and the $W_\\text{proj}$ parameters. This is what the theory predicts. The two feature sets differ only in the symmetric part of level 2, which the shuffle identity fixes to $\\tfrac{1}{2}\\, S^1 \\otimes S^1$, a deterministic function of level 1: the full signature adds coordinates but no information, and the truncated log map that removes them is invertible, so the compression is lossless in principle. To answer the question as posed: the log/Lie-algebra step is not where the accuracy comes from, since the informative coordinates are present in both encoders, but it is what delivers that accuracy with half the features and half the projection parameters.\n\n**Q2 — Hand-built first/second-order feature baselines.**\n\n**The strongest version of the baseline the reviewer proposes is our encoder.** The depth-2 log-signature is *exactly* $\\{\\sum_i \\Delta_i\\} \\cup \\{\\text{antisymmetric pairwise areas } \\tfrac{1}{2}\\sum_{i<j}(\\Delta_i^a \\Delta_j^b - \\Delta_i^b \\Delta_j^a)\\}$, so the reviewer's suggested combination (net displacement plus antisymmetric pairwise areas) is not a simpler alternative but a hand-derivation of the method. This is the theory doing its job: rough-path theory *tells you which* pairwise features form the canonical non-redundant coordinate system and how they compose, rather than leaving them to be hand-designed.\n\nThe informative remaining ablation is which *part* of the second order matters. Holding everything else fixed (same positional augmentation, projection, and decoder), we decompose the level-2 features of the full signature into their symmetric and antisymmetric (Lévy-area) parts, keeping level 1 in both:\n\n| Encoder | Karel | List |\n| --- | --- | --- |\n| Logsig | 0.861 | 0.906 |\n| Sig (full) | 0.855 | 0.884 |\n| Sig (sym) | 0.538 | 0.306 |\n| Sig (antisym) | 0.861 | 0.892 |\n\nA priori, the \"generic pairwise temporal interactions\" view doesn't distinguish the two halves, yet the experiment separates them decisively. The symmetric-only variant collapses, exactly as the shuffle identity predicts: it is a deterministic function of the level-1 displacement and carries no new information. The antisymmetric variant performs closely to the full and log-signatures, as it must, since level 1 plus the antisymmetric areas is the log-signature's feature set in a different linear basis. \n\nThe existing baselines offer an answer to the hypothesis \"the gains come simply from giving the decoder fixed temporal features.\" Fourier is already a fixed, deterministic, temporal but *first-order* feature map (frequency content, no pairwise interactions), and it trails substantially. So, first-order fixed features underperform (Fourier); pairwise but order-blind features underperform (symmetric-only); pairwise *temporally ordered* features succeed (Lévy areas). Fixed pairwise temporal features per se are therefore not sufficient; the specific cell that wins, ordered and non-redundant, is the one rough-path theory identifies in advance.\n\n**On the t-SNE interpretation.**\n\nWe agree that clustered t-SNE plots are *consistent with* the imposed bias. We would add one clarification of the paper's logic: the claim is not that the encoder \"learned\" structure beyond its bias, but that this bias is the *right* one, which is an empirical claim carried jointly by the geometry metrics and the downstream accuracy and data-efficiency results, not by the visualizations alone. To further strengthen the evidence, we added quantitative metrics on the raw embeddings (no dimensionality reduction), on which the log-signature leads on Karel; the full table, metric definitions, and the seed/perplexity stability check are given in our response to Reviewer Fu6V (W3).\n\n*Apologies for splitting the rebuttal across two comments; a comment has half the character limit for the rebuttal.*"+ },+ "createdAt": "2026-07-28T20:47:33.573Z",+ "modifiedAt": "2026-11-19T16:48:09.129Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=qzgmuSfBYo",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/rgopwbbgr8.json added
+++ b/reviews/openreview/patl3np8op/notes/rgopwbbgr8.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "rGopWbBGR8",+ "replyTo": "HArRw8DJRf",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We sincerely thank you for your interest in our work, for thoughtfully assessing it from the right perspective, and for taking the time to read the entire discussion then raising the score accordingly.\n\nThanks again for the RASP-style programs suggestion; it made for a great addition. Much appreciated!"+ },+ "createdAt": "2026-08-04T08:42:29.331Z",+ "modifiedAt": "2026-11-19T16:48:08.833Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=rGopWbBGR8",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/s2aexilojy.json added
+++ b/reviews/openreview/patl3np8op/notes/s2aexilojy.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "s2aexIloJY",+ "replyTo": "yInqpkWS78",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 8Ahq",+ "content": {+ "comment": "I thank the authors for the detailed rebuttal.\n\nThe mathematical and code-level breakdown of the depth-2 log-signature helps a lot. It addresses both my clarity concern and reproducibility, and I would encourage keeping a condensed version of it in the main text.\n\nI take the authors' argument on LLM baselines and production-scale languages. On reflection I think the controlled setting is a strength of the paper rather than a weakness. This is an initial proof of concept, and keeping it out of the confounds that come with real-world data and pretrained models is what makes the result interpretable at all. I withdraw that concern.\n\nI especially appreciate that the authors addressed the mechanistic account with an actual ablation rather than an argument. I still find the full mechanistic story hard to grasp, but narrowing the hypothesis space and showing that the contribution really does come from the log-signature and trajectory structure, rather than from the state encoder or from raw capacity, raises my confidence that the authors are onto something here.\n\nI am really impressed and appreciative of the author's effort and comprehensiveness in their responses, providing not just theoretic/framing arguments, but also providing new analyses as well. I have raised by score from 2 to a 4."+ },+ "createdAt": "2026-08-03T23:48:57.944Z",+ "modifiedAt": "2026-11-19T16:48:08.890Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=s2aexIloJY",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/th1fn976s1.json added
+++ b/reviews/openreview/patl3np8op/notes/th1fn976s1.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "th1Fn976S1",+ "replyTo": null,+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Summary of the discussion period: new experiments, ablations, and clarifications",+ "comment": "We sincerely thank the AC and all reviewers for their detailed and constructive feedback, which has measurably strengthened the paper. As the discussion period draws to a close, we summarize the main additions and clarifications made during the rebuttal phase. We would welcome the opportunity to address any remaining concerns before the discussion period closes.\n\n**1. Implementation details (Reviewer 8Ahq, AC).** We compiled an anonymized supplementary appendix with our tensor-level PyTorch implementation of the log-signature (verified against `signatory`), an algorithm box for the full pipeline, and a self-contained end-to-end demo, alongside a plain-terms account of exactly what the depth-2 log-signature computes. Our PyTorch implementation is modular and can be easily plugged into existing pipelines, and the demo makes the data flow and tensor shapes explicit. \n\n**2. New evaluation domain (Reviewer Fu6V).** We added a RASP/Tracr domain in which programs are recovered from the residual-stream traces of compiled Transformers, a controlled instance of the reverse-engineering setting several reviewers asked about. Across all three datasets of different sizes and difficulty levels, the log-signature encoder's advantage carries over decisively (e.g., accuracy **90.2%** vs. 6.8% on the 8k-program variant). We will include this domain alongside Karel and List in the revision.\n\n**3. Stronger baselines and matched capacity (Reviewers 9WX9, 8Ahq).** We ran positional-encoding and readout ablations for the Transformer baseline (APE/RPE × [CLS] / attention-pool / mean-pool, plus a no-pooling variant with decoder cross-attention over all states), confirming the paper's baseline was not handicapped by its readout. A capacity sweep further shows the gains are preserved under matched, and even strongly deficient, parameter counts: a 39K-parameter log-signature encoder still outperforms a 2.76M-parameter Transformer encoder on most settings.\n\n**4. Mechanism-isolation ablations (Reviewers 9WX9, 8Ahq).** We performed the following ablations to isolate the potential sources of performance gains:\n\n **(i)** Full signature vs. log-signature at M=2: the log step compresses without driving accuracy, as theory predicts. \n **(ii)** Symmetric/antisymmetric decomposition of the level-2 features: the symmetric part collapses, the antisymmetric Lévy areas carry the signal, exactly as the shuffle identity predicts. \n **(iii)** Frozen, randomly initialized state-encoder: the log-signature extracts usable trace structure even from an unshaped lift, whereas the Transformer depends on a trained state encoder in the visual domain.\n\n**5. Quantitative latent-geometry evidence (Reviewers Fu6V, 9WX9).** We supplemented the t-SNE visualizations with metrics on the raw embeddings (nearest-neighbour retrieval, silhouette, cosine gap, ARI/NMI), on which the log-signature leads across the board, and verified the t-SNE picture is stable across seeds and perplexities.\n\n**6. Length stress test (Reviewer Fu6V).** We added a stress test on a longer-horizon List dataset that stratifies accuracy by trace length and reports program-length and nesting-depth statistics, indicating that trace and program length are not the basis of the failure mode.\n\n**7. Scaling trade-off clarification (Reviewer 9WX9).** We clarified the two distinct axes of scaling in this setting: along **trace length**, the log-signature scales much more favorably (linear cost, parallelizable via Chen's identity, near-constant GPU runtime up to $T=10^4$), while along **interaction order**, attention and recurrence compose nonlinearities to unbounded order at fixed cost (up to numerical precision bounds), whereas the signature's feature count grows as $O(d^M)$, which might require projecting the state latents to a lower-dimensional space before computing the signature, or using kernelized signature methods (future work). We argued that length is the more critical challenge in most trace settings: traces grow unboundedly with program runtime (loops, long horizons, real system executions), whereas the interaction order needed to identify a program is a bounded structural property of the program family."+ },+ "createdAt": "2026-08-03T18:15:36.151Z",+ "modifiedAt": "2026-11-19T16:48:08.889Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=th1Fn976S1",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/wuwxmd5xry.json added
+++ b/reviews/openreview/patl3np8op/notes/wuwxmd5xry.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "wUwXMd5xry",+ "replyTo": "s2aexIloJY",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Many thanks for taking the time to revisit our submission and raising the score accordingly. We are glad the new experiments and clarifications addressed your concerns, and we appreciate your constructive feedback. All additions (the implementation appendix, new ablations, and clarifications) will be incorporated into the camera-ready revision."+ },+ "createdAt": "2026-08-04T08:26:00.250Z",+ "modifiedAt": "2026-11-19T16:48:09.118Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=wUwXMd5xry",+ "license": "CC-BY-4.0"+}
reviews/openreview/patl3np8op/notes/yinqpkws78.json added
+++ b/reviews/openreview/patl3np8op/notes/yinqpkws78.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "yInqpkWS78",+ "replyTo": "tMwBE96R9c",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Rebuttal Part 2",+ "comment": "**W2, W3, W4 / Q4 — Baselines, including LLMs (2/2).**\n\n> Even a lightweight baseline using a strong LLM with in-context learning would help contextualize the contribution.\n\n- A comparison with an LLM in our setting carries too many confounding factors to be meaningful: the LLM is pretrained on vast corpora of code and is orders of magnitude larger, while our encoders are trained from scratch on a small number of problems. Such a comparison matters for a state-of-the-art claim, but is misleading for introducing and assessing a new inductive bias (our scope).\n\n> Karel/grid navigation and the List DSL are useful controlled domains, but it is unclear whether the claimed geometric bias would transfer to richer program traces (like Python) or more realistic reverse-engineering settings.\n\nWe agree this remains to be demonstrated, and we scope the transfer to richer languages as future work deliberately rather than by omission: a Python-scale language inflates the program space combinatorially, so training from scratch would demand far larger trace corpora, and an under-resourced attempt would risk measuring the effects of data scarcity rather than of the inductive bias under study. Small-scale controlled studies are the standard instrument for first applications of a mathematical framework to a new area. The evaluation no longer rests on the two original DSLs alone, however: prompted by Reviewer Fu6V, we added a RASP/Tracr domain in which programs are recovered from the residual-stream traces of compiled Transformers (Appendix B), a controlled instance of exactly the reverse-engineering setting the reviewer describes, and the log-signature encoder's advantage carries over (accuracy $0.902$ vs. $0.068$ on the 8k-program variant).\n\n**Q1 — Is the log-signature bias program-specific, or a generic sequence-compression regularizer?**\nThe signature is a universal path encoder (feature map) that happens to be particularly well-suited for trace-to-program induction thanks to its law characterization property. The key aspect is that programs define a law over trace distributions. As such, computing the mean signature over a set of traces sampled from this distribution yields enough information to characterize the law (i.e., the program) under mild assumptions. This might not be necessarily useful in settings where generic sequences are not grouped by a governing law/generator that needs to be inferred.\n\n**Q2 — Segment-level subroutine probe.**\nWe appreciate the proposed probe, but we want to clarify the paper's claim, because the probe tests a stronger claim than the one we make. We deliberately do *not* claim that syntactic program fragments correspond to reusable path factors: conditionals branch at runtime, loops execute a data-dependent number of iterations, and sequential sub-programs only yield concatenable traces when the second runs from the final state of the first. Chen's identity concerns *temporal splits of a path*, not program syntax, and as such our compositional claim is: the embedding of a full trace factors algebraically over the embeddings of its temporal segments.\n\n**Limitations — mechanism isolation.**\n- Mechanistic accounts of deep learning pipelines are notoriously difficult to isolate, even for well-established architectures. While a mechanistic theory would be a great addition, the general effectiveness of the log-signature bias can already be understood as consequence of its universal approximation and law-characterization properties.\n- However, one easy mechanism to isolate is the effect of the state-encoder shaping on the performance of the trace encoder. To this end, we conducted an ablation on a frozen, randomly initialized state-encoder. The results are reported in the table below.\n\n| Model | Karel | List |\n| --- | --- | --- |\n| Logsig (trained φ) | 0.861 ± 0.0035 | 0.906 ± 0.007 |\n| Logsig (frozen φ) | 0.867 ± 0.010 | 0.891 ± 0.011 |\n| Transformer (trained φ) | 0.868 ± 0.004 | 0.798 ± 0.003 |\n| Transformer (frozen φ) | 0.053 ± 0.008 | 0.781 ± 0.002 |\n\nSomewhat surprisingly, the log-signature encoder is essentially unaffected by freezing the state-encoder $\\phi$ at random initialization: no significant change on Karel and only a small drop on List. This indicates that *shaping* the state representation is not the main contributor to its performance; the main purpose of $\\phi$ is to *lift* the raw state space (e.g., images, text, discrete vectors) into a vector space where the signature transform can be applied. The Transformer baseline behaves differently: it is similarly robust on List but collapses on Karel, so in the visual domain a substantial part of its performance is attributable to the trained state-encoder rather than to the trace encoder itself. This isolates one mechanism neatly: the log-signature transform extracts usable trace structure even from a random, unshaped lift, whereas the attention baseline depends on a trained $\\phi$ in the visual domain."+ },+ "createdAt": "2026-07-28T19:26:42.327Z",+ "modifiedAt": "2026-11-19T16:48:09.449Z",+ "url": "https://openreview.net/forum?id=pAtl3nP8op¬eId=yInqpkWS78",+ "license": "CC-BY-4.0"+}