potentialpaper

The Shape of a Program: Path Signatures for Trace-to-Program Induction

Import NeurIPS 2026 submission pAtl3nP8op: 5 notes

@openreview[bot] · 2026-11-22 17:59 UTC · fbeb256c5828

Evidence

.gitattributes added

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

.potentialpaper/metadata.json added

+++ b/.potentialpaper/metadata.json
@@ -0,0 +1,22 @@
+{
+ "layout": 5,
+ "identifiers": [
+ {
+ "scheme": "openreview",
+ "value": "pAtl3nP8op"
+ }
+ ],
+ "title": "The Shape of a Program: Path Signatures for Trace-to-Program Induction",
+ "authors": [
+ "Mohamed Ghanem",
+ "Bernd Finkbeiner"
+ ],
+ "abstract": "Synthesizing programs from execution traces is a fundamental challenge in algorithmic interpretability and the reverse engineering of complex systems. We bring a rough-path-theoretic perspective to program induction, treating execution traces as high-dimensional rough paths and encoding them with the path signature transform, a tool from stochastic analysis whose expectation provably characterizes the distribution of traces a program induces. On three program-induction domains, Karel, List, and RASP, our log-signature trace encoder outperforms LSTM, Transformer, and Fourier baselines in almost every setting, with its largest margins when training data is scarce. We further observe that the trace-to-program pipeline is naturally contractive: it often produces valid programs that are shorter than the ground truth. We turn this into a bootstrapping procedure that exposes redundancy in the ground-truth supervision without any external oracle, which we demonstrate on redundancy-injected versions of our datasets. Finally, the log-signature encoder induces a markedly more interpretable latent geometry than the baselines, in which the nearest neighbors of every state lie on its own execution trace.",
+ "year": 2026,
+ "venue": "NeurIPS 2026",
+ "source": "openreview",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}

community/10-tl-dr.md added

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

community/20-summary.md added

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

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

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

community/40-critique.md added

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

community/50-errata.md added

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

community/60-reproductions.md added

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

community/70-follow-ups.md added

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

owners/10-tl-dr.md added

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

owners/20-overview.md added

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

owners/30-results.md added

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

owners/40-demos.md added

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

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

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

owners/60-talks.md added

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

prek.toml added

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

reviews/openreview/patl3np8op/forms.json added

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

reviews/openreview/patl3np8op/notes/j6cwjbibr7.json added

+++ b/reviews/openreview/patl3np8op/notes/j6cwjbibr7.json
@@ -0,0 +1,19 @@
+{
+ "schema": "review/1",
+ "id": "J6CwJbiBR7",
+ "replyTo": null,
+ "kind": "decision",
+ "invitation": "Decision",
+ "signature": "Program Chairs",
+ "content": {
+ "title": "Paper Decision",
+ "decision": "Accept (poster)",
+ "comment": "",
+ "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-09-24T11:28:35.683Z",
+ "modifiedAt": "2026-11-18T14:59:55.868Z",
+ "url": "https://openreview.net/forum?id=pAtl3nP8op&noteId=J6CwJbiBR7",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/patl3np8op/notes/lphzzltr9l.json added

+++ b/reviews/openreview/patl3np8op/notes/lphzzltr9l.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "LPHzzLtR9l",
+ "replyTo": null,
+ "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."
+ },
+ "createdAt": "2026-07-17T01:12:02.456Z",
+ "modifiedAt": "2026-11-18T15:25:55.065Z",
+ "url": "https://openreview.net/forum?id=pAtl3nP8op&noteId=LPHzzLtR9l",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/patl3np8op/notes/raput3v5q8.json added

+++ b/reviews/openreview/patl3np8op/notes/raput3v5q8.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "rapuT3v5Q8",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer Fu6V",
+ "content": {
+ "summary": "This paper studies trace-to-program induction: given several execution traces produced by an unknown program, the goal is to synthesize a program in a target DSL that reproduces those traces. The authors propose to treat embedded execution traces as high-dimensional paths and encode them using the path log-signature transform from rough path theory. This signature-based trace encoder is plugged into an encoder-decoder architecture with a Transformer program decoder and evaluated on Karel and List DSL benchmarks. The paper compares the proposed encoder against LSTM, Transformer, and Fourier trace encoders, reporting improved accuracy and data efficiency. The authors further observe that the learned pipeline often produces shorter programs than the provided ground-truth labels while still matching the supervising traces, and use this as a bootstrapping procedure to identify redundancy in the labels. Finally, they provide qualitative evidence that signature-based encoders induce more structured latent representations of traces and programs.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "**Strengths**\n\n- The paper proposes a novel representation perspective for trace-to-program induction: rather than treating execution traces purely as token/state sequences, it views embedded traces as paths in a high-dimensional latent space and uses the path log-signature transform as a trace encoder. I found this framing original and potentially valuable. The use of path signatures is well motivated by their compositional properties (e.g. Chen’s identity), and by the theoretical fact that expected signatures can characterize path distributions under suitable assumptions. This gives the method a clearer inductive-bias story than simply replacing one neural sequence encoder with another.\n\n- Empirically, the paper reports promising results on two DSL domains, Karel and List. The proposed log-signature encoder outperforms LSTM, Transformer, and Fourier baselines across training-set sizes, with especially strong gains in lower-data regimes. The comparison is relatively clean in that the main architectural difference is the trace encoder, while the decoder and surrounding setup are held fixed. I also found the bootstrapping/contractivity observation interesting: the model often finds shorter programs than the provided labels that still reproduce the supervising traces, suggesting redundancy in the ground-truth supervision.\n\n**Weaknesses**\n- I think several aspects of the paper could be better justified, and some seem overstated or insufficiently supported. The theoretical motivation concerns full expected signatures over trace distributions, but the implemented method uses finitely many traces, learned state embeddings, and a truncated log-signature, mostly at depth $M=2$. The connection between the theorem and the actual finite representation is therefore motivational rather than a guarantee. The authors have indeed acknowledged this as a limitation, but it would still be useful to see more direct stress tests showing where the method breaks as program length, trace length, nesting depth, or required interaction order increases.\n\n- A second concern is the claim that programmatic behavior is “fundamentally geometric.” This is plausible as an inductive-bias hypothesis, but the geometry is not intrinsic to the program alone: it depends on the learned state encoder, positional augmentation, and the DSL/environment representation. Signatures operate on the geometry of the learned embeddings, so the paper should clarify why that geometry should be expected to reflect program structure. Relatedly, 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\n- The interpretability claim is also only weakly established. The t-SNE visualizations are suggestive, but t-SNE is sensitive to hyperparameters, random seeds, and subset choice. Quantitative evidence such as same-program versus different-program distances, clustering metrics, etc. could make the latent-geometry claim more convincing.\n\n- Finally, the scope of the experiments is somewhat limited. Karel and List are useful controlled benchmarks, but they are still synthetic DSLs with clean traces and restricted syntax. This limits the strength of broader claims about reverse engineering, algorithmic interpretability, or AI-safety relevance.\n\nOverall, I view the paper as original and technically interesting, with a promising empirical result and a compelling representation idea, subject to the weaknesses I mentioned above.",
+ "quality": 3,
+ "clarity": 4,
+ "significance": 3,
+ "originality": 3,
+ "questions": "1. The method assumes that execution traces form meaningful geometric paths after applying the state encoder $\\phi$. How straightforward is it to come up with a useful encoder in a new DSL (where CNN or the element-wise embedding are not necessarily useful)? In other words, would the method be applicable in a new DSL, or would finding a geometrically meaningful state encoder be a bottleneck if, say, we want to leverage this for algorithmic interpretability and safety applications? Would the geometric intuition still work with some general-purpose neural network as an embedder? Basically, I would like to better understand the dependence on the learned state embedding geometry.\n2. The authors acknowledge that truncated log-signatures may struggle with longer traces or higher-order interactions. Could they provide a stress test as program length, trace length, nesting depth, or required interaction order increases? This would clarify the practical limits of the method and the extent to which the results go beyond the current toy DSL settings.\n3. The paper motivates the work partly through algorithmic interpretability and safety-relevant inspection of agent behavior, but the experiments are limited to synthetic DSLs. Could the authors clarify what kind of opaque agents or real behavioural traces this method is intended to apply to? Even a small illustrative example or a more concrete discussion would help substantiate this motivation.\n4. It would be interesting to evaluate the approach on DSLs closer to mechanistic/algorithmic interpretability, such as RASP-style programs for Transformer computations. This could test whether the signature-based trace representation helps recover programs that describe learned algorithms, rather than only Karel/List-style synthetic DSLs. Have the authors considered this or found it feasible? I understand it might not be possible to run experiments for RASP-style programs, but I’d like to know if the authors have any comments on this.",
+ "limitations": "The authors have acknowledged the limitations, but I believe it would be useful to actually demonstrate the extent to which the limitations begin to undermine the method.",
+ "rating": 5,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "N/A",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "The authors have 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."
+ },
+ "createdAt": "2026-07-01T22:31:54.285Z",
+ "modifiedAt": "2026-11-18T13:45:37.197Z",
+ "url": "https://openreview.net/forum?id=pAtl3nP8op&noteId=rapuT3v5Q8",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/patl3np8op/notes/stixi5czqm.json added

+++ b/reviews/openreview/patl3np8op/notes/stixi5czqm.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "STiXI5CZqm",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 9WX9",
+ "content": {
+ "summary": "This paper studies trace-to-program induction from execution traces. The main idea is to view an execution trace as a path in a learned latent state space and encode this path using a truncated path log-signature. The resulting trace embedding is then used by a Transformer decoder to generate a program in a target DSL. The paper evaluates this approach on Karel and List DSL program-induction tasks, comparing the log-signature encoder against LSTM, Transformer, and Fourier trace encoders. The paper also studies a bootstrapping procedure that replaces ground-truth programs with shorter model-generated programs when they reproduce the same traces, and visualizes latent geometries using t-SNE.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "The main strength of the paper is the interesting connection between path signatures and trace-to-program induction. The rough-path motivation is appealing: program executions do have temporal structure, and the Chen identity gives a principled algebraic view of how path signatures compose under temporal concatenation. I also appreciate that the paper compares several trace encoders under a shared encoder-decoder framework, includes data-efficiency curves, studies truncation depth, and reports a bootstrapping analysis showing that many ground-truth programs are non-minimal representatives of their behavioral equivalence classes.\n\nHowever, I have several major concerns about whether the empirical evidence actually supports the stronger claims of the paper.\n\nFirst, the implemented method is much simpler than the rough-path framing suggests. The actual encoder uses a truncated log-signature with $M=2$, followed by a learned linear projection\n$h_k = W_{\\mathrm{proj}} \\log(S^M(\\tilde V_k)) + b_{\\mathrm{proj}}$.\nAt $M=2$, the representation is essentially displacement plus second-order/pairwise interaction or Levy-area-like features over latent trajectory increments. This is a reasonable and potentially useful feature map, but it is much less clear that the empirical gains require the full rough-path/signature framework. The appendix shows that $M=1$ is inadequate and that $M=3$ often degrades performance, so the successful regime appears to be specifically the low-order pairwise regime. A more direct ablation against hand-built first-order plus second-order increment features, or symmetric/antisymmetric pairwise interaction features, would be important. Without this, it is difficult to know whether the improvement comes from log-signature theory or simply from giving the decoder fixed pairwise temporal features.\n\nSecond, I could not find an ablation comparing the ordinary truncated signature $S^M(\\tilde V_k)$ against the truncated log-signature $\\log(S^M(\\tilde V_k))$ at the same $M$. This is important because the log-signature is a central part of the proposed encoder and is presented as a compact Lie-algebra representation that removes shuffle-product redundancy. But empirically the paper only seems to ablate the truncation depth $M$, not the log operation itself. A signature-vs-log-signature comparison at $M=2$ and possibly $M=3$ would help isolate whether the logarithmic/Lie-algebra step is actually responsible for the performance.\n\nThird, I am not fully convinced by the strength of the Transformer baseline. The paper states that the Transformer encoder uses relative positional encoding and mean-pooling over the output state embeddings. Meanwhile, the log-signature encoder uses additive sinusoidal positional encoding and then applies a potentially large projection from the log-signature feature space. This raises several issues. Mean-pooling can be a severe information bottleneck for trace-to-program induction, because program structure may depend on localized or ordered subsegments of the trace. The log-signature encoder, especially at $M=2$, effectively exposes global pairwise temporal interaction features before projection, while the Transformer baseline compresses states through mean-pooling. I would be more convinced by a Transformer baseline using absolute positional encoding and a stronger readout, such as attention pooling, a learned query/[CLS]-style pooling token, or allowing the decoder to cross-attend directly to all state embeddings rather than to a single mean-pooled trace vector.\n\nRelatedly, the paper does not clearly compare parameter counts across encoders. The projection\n$W_{\\mathrm{proj}} \\in \\mathbb{R}^{d \\times D_{\\mathrm{logsig}}(d,M)}$\ncan itself be large, depending on the log-signature dimension. If the log-signature encoder has a substantially larger readout/projection module than the baselines, part of the improvement could come from capacity rather than the geometric inductive bias. Parameter counts and matched-capacity baselines would make the comparison more convincing.\n\nFourth, the current trace-compression design may itself be a bottleneck. All trace encoders appear to output a fixed trace-level embedding $h_k$, which the decoder then attends to. But for program induction, one might naturally want the decoder to attend over all state embeddings, or over local/signature segment embeddings, rather than over one compressed trace vector. The paper argues that attention over long traces is expensive, but the final program decoder already uses attention, and the relevant traces in these DSL domains may not be so long that stronger decoder access is impossible. A stronger comparison would include a Transformer encoder/decoder setup where the program decoder attends directly over state-level trace memories, or where the signature method computes signatures over subsegments and exposes multiple memory tokens rather than a single global embedding.\n\nFifth, Finding #2 is interesting as a dataset/label observation, but it does not strongly support the specific log-signature contribution. The bootstrapping results show that all encoders, including LSTM, Transformer, and Fourier, discover nontrivial shorter programs. Thus, 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\nFinally, I am cautious about the interpretation of the t-SNE visualizations in Finding #3. The log-signature encoder explicitly imposes a strong low-order geometric bias: it summarizes paths through displacement and pairwise geometric/order interactions. Therefore, it is not surprising that the resulting latent geometry looks more path-like or clustered by trace/program under t-SNE. The visualization is consistent with the design, but I do not think it provides strong independent evidence that the method has learned a deeper program structure beyond its imposed geometric regularization.\n\nOverall, I find this submission interesting in motivation, but not yet empirically convincing. The rough-path connection is attractive, but the implemented model is essentially a low-order deterministic pairwise temporal feature map followed by a learned projection and a decoder. The current experiments do not sufficiently rule out simpler explanations, such as second-order temporal features, a stronger projection/readout, weaker Transformer pooling, or parameter-count differences. I would be much more convinced if the paper showed that log-signatures outperform stronger APE + attention-over-states Transformer baselines and simpler first/second-order pairwise interaction baselines under matched capacity.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 2,
+ "originality": 3,
+ "questions": "1. Can the authors provide an ablation of ordinary truncated signature features $S^M(\\tilde V_k)$ versus truncated log-signature features $\\log(S^M(\\tilde V_k))$ at the same $M$? This would clarify whether the log/Lie-algebra compression is actually important.\n2. Can the authors compare against simpler first- and second-order trajectory feature baselines, e.g., features based on $\\sum_i \\Delta_i$, $\\sum_{i<j}\\Delta_i \\otimes \\Delta_j$, and/or antisymmetric pairwise area terms, followed by the same projection and decoder? This would test whether the gain is due to log-signature structure or generic pairwise temporal interactions.\n3. Can the authors include a stronger Transformer baseline, e.g., with absolute positional encoding, learned attention pooling/[CLS] pooling, or decoder cross-attention over all state embeddings rather than mean-pooled trace embeddings? The current mean-pooling readout may discard information that the log-signature projection preserves.\n4. What are the parameter counts for each encoder, including $W_{\\mathrm{proj}}$ in the log-signature encoder? Are the performance gains preserved under matched parameter counts?\n5. Can the authors better separate the conclusions of Finding #2 from the proposed encoder? Since all encoders discover shorter valid programs, the bootstrapping result seems more like a property of the dataset and trace-to-program setup than evidence for the log-signature encoder specifically.",
+ "limitations": "The paper discusses the dimensional growth of the truncated log-signature, but I do not think it adequately addresses several important limitations: the gap between full signature theory and the actual $M=2$ implementation, the absence of signature-vs-log-signature ablation, the lack of simple second-order feature baselines, possible weakness of the Transformer mean-pooling baseline, and missing parameter-count comparisons. These should be discussed and, ideally, empirically addressed.",
+ "rating": 4,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "N/A",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "The rebuttal resolved my main empirical concerns.\n\nTwo issues remain: higher-order rough-path features are not yet practically realized, as performance already drops at $M=3$; and even at $M=2$, a fixed LogSig bias is not always better than learnable attention, as shown by APE + learned $[\\mathrm{CLS}]$ on Karel.\n\nThese are follow-up questions rather than blocking flaws. I recommend 4."
+ },
+ "createdAt": "2026-06-24T04:11:34.659Z",
+ "modifiedAt": "2026-11-18T13:45:39.427Z",
+ "url": "https://openreview.net/forum?id=pAtl3nP8op&noteId=STiXI5CZqm",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/patl3np8op/notes/tmwbe96r9c.json added

+++ b/reviews/openreview/patl3np8op/notes/tmwbe96r9c.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "tMwBE96R9c",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 8Ahq",
+ "content": {
+ "summary": "The core question of the paper is: in a low-data trace-to-program setting, what is a good way to compress multiple execution traces into program-behavior vectors for a decoder? The authors propose using log-signatures as the trace aggregation mechanism. Each state is embedded into a 256-dimensional latent space, each trace becomes a latent trajectory, and a depth-2 log-signature computes global displacement and pairwise ordering interactions across embedding dimensions. This high-dimensional feature vector is then linearly projected back to a 256-dimensional trace embedding. A Transformer decoder attends over several such trace embeddings, one per execution trace, to generate the DSL program. The empirical comparison is therefore mainly about trace encoders: log-signature versus LSTM, small Transformer encoder, and Fourier features, under a shared decoder.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "Strengths\nThe paper proposes a well-motivated geometric inductive bias for compressing execution traces into program-behavior representations. Treating embedded traces as paths and summarizing them with depth-2 log-signatures is an interesting alternative to generic sequence aggregation, especially for low-data settings where a fixed structured feature map may improve sample efficiency.\n\nWeaknesses\n1. The exposition is often difficult to follow. The rough-path notation is introduced in a way that is opaque for a program-induction audience, and the paper does not give a simple tensor-level explanation of what the depth-2 log-signature actually computes.\n2. 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.\n3. The relevance to current program synthesis is unclear. In particular, the paper does not discuss LLMs which drive all of modern AI coding agents. For this paper to have real impact, it would be helpful to at least show whether LLMs can't solve the same problems (low sample DSL) with in-context learning.\n4. The tasks are synthetic and relatively toy-scale. 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.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 4,
+ "questions": "1. Is the log-signature bias specifically useful for program induction, or is it primarily a generic sequence-compression regularizer? Since the proposed encoder can technically be applied to any embedded sequence, it would help to clarify why this inductive bias is especially appropriate for program traces.\n2. Can the authors directly test the subroutine-geometry assumption? The paper argues that repeated loops/subroutines should correspond to reusable path factors, but the current evidence is mostly qualitative t-SNE plots of whole states or traces. A more convincing test would be a segment-level probe: for repeated DSL fragments appearing in different contexts or time positions, do their embedded path segments or log-signatures cluster together, retrieve each other, or predict shared syntax?\n3. Can the authors provide a clearer mechanistic account of how log-signatures shape the learned representations? The current mathematical presentation is difficult to connect to the actual tensor operations used in the model. A plain explanation of what the depth-2 log-signature computes over a sequence of 256-dimensional embeddings, along with quantitative analyses of how these features differ from LSTM/Transformer/Fourier representations, would substantially improve the paper.\n4. Can the authors include or discuss stronger modern baselines? The current baselines establish that log-signatures outperform relatively simple trace encoders, but not that the approach is competitive with current program-induction practice. The Transformer baseline is only 2 layers, and many architectural details are omitted. Even a lightweight baseline using a strong LLM with in-context learning help contextualize the contribution.",
+ "limitations": "The paper includes a short limitations discussion, but I do not think it adequately addresses the main methodological limitations. The stated limitation focuses mostly on the dimensional growth of log-signatures with truncation depth. A more central limitation is that the paper does not sufficiently characterize why the method works: it is unclear whether the gains come from program-specific geometric structure, generic second-order sequence compression, regularization, reduced capacity, or favorable optimization. Because the mechanism is not isolated, it is difficult to predict when the method should or should not work.",
+ "rating": 4,
+ "confidence": 4,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "None",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "The authors have addressed my primary concerns on clarity, comparison to existing coding LMs, and interpretability. Given the novelty of the approach, it is understandable (and in some ways preferable) that the experiments presented in the paper use simpler toy settings. While applications / scaling to even SLM levels and beyond toy tasks is desirable (and is my primary reason for not assigning a higher score), the lack of it is not enough to warrant rejecting the paper."
+ },
+ "createdAt": "2026-06-24T23:10:15.051Z",
+ "modifiedAt": "2026-11-18T13:45:38.379Z",
+ "url": "https://openreview.net/forum?id=pAtl3nP8op&noteId=tMwBE96R9c",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/patl3np8op/submission.json added

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

versions/v_4jrvyrnc.json added

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