potentialpaper

Synsema: Syntax-Guided Learning of Semantically Valid Programs

Update NeurIPS 2026 submission HR79HDRXwx: 9 notes

@openreview[bot] · 2026-11-24 15:48 UTC · 9b8dfb9e6dea ·

Evidence

reviews/openreview/hr79hdrxwx/notes/dgkqhcmntz.json added

+++ b/reviews/openreview/hr79hdrxwx/notes/dgkqhcmntz.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "DGkQHCmntZ",
+ "replyTo": "vdwBSi44dp",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for the initial assessment of our work!\n\nSynsema’s central result is not simply that grammar constraints increase validity. Rather, **when syntax is guaranteed by construction, even a small, randomly initialized model can rapidly learn interesting semantic constraints that enable effective compiler testing**. Such constraints are traditionally hand-encoded as language-specific generation logic, or learned jointly with syntax from vast data and compute. Synsema instead uses a standard RL algorithm and a 124M scratch model trained for five days on consumer-grade RTX 4090 GPUs, yet generates semantically interesting programs and finds 14 unique bugs in two production-grade compilers, five previously unknown.\n\n**Learning semantics.** In programming languages and compilers, \"semantically valid\" means conforming to the language specification, not understanding a program’s higher-level meaning. Like others, we use compilers as executable proxies of these semantics. Following Reviewer ECUS and 4xXL, we conduct two analyses to assess whether our agents learn semantic constraints.\n\nFirst, we examine all compilable Rust programs for nontrivial language features. Second, for each action representation, we replace the learned policy with a random one, isolating policy learning from syntax enforcement alone. Each cell below is `X% | Y%`: the fraction of semantically correct programs containing the feature under the learned (`X`) and the random (`Y`) policy, summed over three runs.\n\nFeature|Baseline|Top-Down|Bottom-Up|Chart\n:-|:-:|:-:|:-:|:-:\nOwnership/Borrow|0.00 \\| n/a|0.43 \\| 0.00|0.17 \\| 0.00|0.20 \\| 0.00\nLifetimes|0.00 \\| n/a|5.31 \\| 1.87|1.79 \\| 0.01|8.35 \\| 0.14\nTrait Bounds|0.000 \\| n/a|0.003 \\| 0.00|0.001 \\| 0.00|0.016 \\| 0.00\nGenerics|0.00 \\| n/a|1.75 \\| 0.02|0.98 \\| 0.01|9.67 \\| 0.20\nMacros|0.00 \\| n/a|76.90 \\| 81.06|91.87 \\| 98.44|74.48 \\| 62.43\nConst Generics|0.00 \\| n/a|0.16 \\| 0.00|0.06 \\| 0.00|0.27 \\| 0.00\nUnsafe|0.00 \\| n/a|8.53 \\| 0.78|2.55 \\| 0.05|6.10 \\| 0.54\nHigher Ranked|0.00 \\| n/a|2.74 \\| 0.07|0.45 \\| 0.00|0.18 \\| 0.00\n**Semantically Valid (n)**|336|1,396,268|2,284,384|2,118,690\n\nThe baseline agent's programs contained none of the semantic concepts we examined: trained with the same resources and reward function, it generated no non-trivial programs. All three Synsema agents exercise every feature, though with varying frequencies. Macros are most prevalent, as fewer semantic constraints apply to them. Lifetimes, generics, and unsafe occur in 0.98% to 9.67% of programs, while ownership, trait bounds, const generics, and higher-ranked lifetimes/trait bounds are rarer, from 0.001% to 2.74%.\n\nThe random-policy comparison shows that this diversity comes from the learned policy, not from syntax enforcement alone: it generates significantly more programs for every feature, sometimes by orders of magnitude, and achieves twice the edge coverage. Macros are the sole exception, but their dominance is inherent to the constrained space, and the learned policy in fact generates them less often in two of three representations. Synsema thus generates programs with diverse semantic features, not merely higher compiler acceptance.\n\n**Comparing with LLM-based baselines.** Synsema is not intended to outperform SOTA techniques built on LLMs pretrained with far more data and compute. Still, as requested, we compare it against Fuzz4All [1], a popular LLM-based fuzzer that found 98 compiler bugs. We instantiate it with two pretrained models on the Rust compiler: DeepSeek V4 Pro (LLM) and Gemma 3 4B (SLM). We estimate one Synsema run at ~$100 and use this as the budget per Fuzz4All run, disregarding these models' immense pretraining costs (unfair to Synsema). DeepSeek has exhausted its budget; Gemma is still running and we will update these results.\n\n||DeepSeek|Gemma\n-|-:|-:\nGenerated Programs|29,135|87,078\nCompiled|19,403|82,894\nDuplicates|2,014|77,179\nCrashes|1|0\nEdges, overall|180,236 (10.2%)|130,203 (7.4%)\nEdges, valid only|125,809 (7.1%)|87,514 (5.0%)\n\nTwo observations:\n\n1. DeepSeek exceeds Synsema’s coverage by 21%/75% (overall/semantically valid), while Gemma exercises 12% fewer edges overall and 22% more on semantically valid programs. Both are also better at generating compilable programs, unsurprisingly, given their pretraining on common program patterns. Still, they reach only up to 68.3% of the coverage of the Rust compiler’s test suites, despite $100 per model and the likely inclusion of those tests in their pretraining data.\n\n2. Code coverage is a useful indicator of diversity, but not sufficient on its own to measure bug-finding capability: only DeepSeek finds one bug, whereas Synsema found 14, including 5 previously unknown.\n\nThese results further highlight Synsema’s effectiveness and cost efficiency: learning semantic constraints under syntax-by-construction enables effective compiler testing with limited compute.\n\n---\n[1] Xia et al. Fuzz4All: Universal Fuzzing with Large Language Models. ICSE24."
+ },
+ "createdAt": "2026-07-29T11:20:19.765Z",
+ "modifiedAt": "2026-11-19T17:09:26.123Z",
+ "url": "https://openreview.net/forum?id=HR79HDRXwx&noteId=DGkQHCmntZ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/hr79hdrxwx/notes/dt87moo8aw.json added

+++ b/reviews/openreview/hr79hdrxwx/notes/dt87moo8aw.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "Dt87MoO8aW",
+ "replyTo": "ZsLsy7rNKc",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for the positive feedback! We agree that a detailed analysis of our bug-triggering test cases is valuable, and we will include this analysis in our revision."
+ },
+ "createdAt": "2026-08-04T11:32:17.592Z",
+ "modifiedAt": "2026-11-19T17:09:25.877Z",
+ "url": "https://openreview.net/forum?id=HR79HDRXwx&noteId=Dt87MoO8aW",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/hr79hdrxwx/notes/grrvvbfhno.json added

+++ b/reviews/openreview/hr79hdrxwx/notes/grrvvbfhno.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "gRRVVBfhNO",
+ "replyTo": "2kftJgIXlj",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for your review and for recognizing Synsema’s value!\n\n**Q1. Coverage effort.** Compilers must be instrumented to signal whenever a control-flow-graph edge is traversed. We used LLVM’s SanitizerCoverage for Rust and JaCoCo for Java; neither requires source-level annotations. Both are standard ecosystem tools, and much of our instrumentation code is reusable for other compilers written in C/C++ or Java, so supporting a new compiler should take only a few hours of engineering effort.\n\n**Q2. Bug discovery.** The Rust bugs Synsema found are beyond the reach of existing `rustc` fuzzers. RustSmith [1] does not model the necessary semantic features, e.g. generics (see bug in Figure 5), while Rustlantis [2] operates on MIR, the intermediate representation of `rustc`, where source-level semantic features are already erased. The same holds for our Java bugs and `javac` fuzzers such as Hephaestus [3]. Extending these fuzzers would require substantial manual effort to encode the corresponding semantic constraints and ensure program validity. LLM-based fuzzers such as Fuzz4All [4] might also find these bugs, but the large search space (Figure 1) and their tendency to generate common programs make this unlikely within a practical time budget.\n\n**Q3. Manual effort.** LoC of SOTA traditional compiler fuzzers:\n\nCompiler|Fuzzer|Venue|Language-Specific|LoC\n:-|:-|:-|:-:|-:\ngcc/clang|Csmith|PLDI’11|Yes|32K\ngcc/clang|Reify|PLDI’26|Yes|7K\nrustc|RustSmith|ISSTA’23|Yes|4.2K\nrustc|Rustlantis|OOPSLA’24|Yes|7.3K\njavac|Hephaestus|PLDI’22|Yes|12K\nrustc+javac|Synsema|--|No|7.2K\n\nAll of them are language-specific: they explicitly model their target language’s syntactic and semantic constraints. Only ~2K of Synsema’s 7.2K LoC are language-specific, mostly coverage-collection support and two YACC grammar files for [Rust](https://anonymous.4open.science/r/synsema/grammars/rust/rust.y) and [Java](https://anonymous.4open.science/r/synsema/grammars/java/java.y).\n\n**Q4: GPT-2.** Synsema uses GPT-2’s architecture, not a pretrained checkpoint, and the weights are randomly initialized. We will make this explicit in the revision.\n\n**Generalizing “bi-modal” reward.** Thank you for this interesting question! Generalization is possible whenever errors (i.e. non-conformance to the semantics) can be mapped to specific parts of the input, which diagnostics usually allow: databases report which part of the SQL was invalid, file viewers report the byte they could not read, and crashing software emits a stacktrace. We are therefore confident the reward transfers to many diverse settings.\n\n**Synchromesh.** Both Synchromesh and Synsema guarantee syntactic validity by construction via parsing techniques, but differ in how they constrain token generation and maintain semantic validity.\n\nSynchromesh uses inference-time constrained decoding to ensure syntactic correctness and partially enforce semantic validity. While syntactic constraints can be derived automatically from grammars, Synchromesh still requires semantic constraints to be encoded manually. Constrained decoding also alters the pretrained model’s next-token distribution, potentially yielding lower-quality or invalid outputs [5,6]. Synchromesh mitigates this by adding semantically similar examples into the prompt.\n\nIn contrast, Synsema casts syntax-guaranteed program generation for compiler testing as an RL problem: it automatically derives syntactic constraints from grammars and uses compiler feedback to assess semantic validity. This enables Synsema to use a standard RL algorithm and a 124M model trained from scratch for five days on consumer-grade RTX 4090 GPUs. Despite this modest setup, Synsema generates semantically interesting programs and finds 14 unique bugs in two production-grade compilers, five previously unknown.\n\n**\"Circular\" reasoning.** This is a great point, thank you for raising this! Synsema uses compiler feedback as a proxy for semantic validity, not as a complete language specification. Hence, if a compiler incorrectly accepts a semantically invalid program and exhibits no other observable failure, Synsema may miss it. This can be addressed by adding differential testing: disagreements between compiler implementations/versions or specification checkers then signal such conformance bugs. We will discuss this in the revision.\n\n**Figure 1.** We will fix this, thank you!\n\n---\n\n[1] Sharma et al. RustSmith: Random Differential Compiler Testing for Rust. ISSTA23.\n\n[2] Wang et al. Rustlantis: Randomized Differential Testing of the Rust Compiler. OOPSLA24.\n\n[3] Chaliasos et al. Finding Typing Compiler Bugs. PLDI22.\n\n[4] Xia et al. Fuzz4All: Universal Fuzzing with Large Language Models. ICSE24.\n\n[5] Sakota et al. Combining Constrained and Unconstrained Decoding via Boosting: BoostCD and Its Application to Information Extraction. EMNLP25.\n\n[6] Princis et al. TreeCoder: Systematic Exploration and Optimisation of Decoding and Constraints for LLM Code Generation. PLDI26."
+ },
+ "createdAt": "2026-07-29T09:21:16.121Z",
+ "modifiedAt": "2026-11-19T17:09:26.084Z",
+ "url": "https://openreview.net/forum?id=HR79HDRXwx&noteId=gRRVVBfhNO",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/hr79hdrxwx/notes/noa4vpkqwk.json added

+++ b/reviews/openreview/hr79hdrxwx/notes/noa4vpkqwk.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "noa4VpkqWK",
+ "replyTo": "UWmkP7Hykc",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 4xXL",
+ "content": {
+ "comment": "Thank you for the response and the additional clarifications. However, the rebuttal does not sufficiently address my concerns regarding the comparison with current LLM-based constrained decoding methods and the corresponding performance evaluation. In its current form, I do not think the paper meets the standard for acceptance at NeurIPS. Therefore, I will maintain my original rating."
+ },
+ "createdAt": "2026-08-04T06:33:37.402Z",
+ "modifiedAt": "2026-11-19T17:09:25.874Z",
+ "url": "https://openreview.net/forum?id=HR79HDRXwx&noteId=noa4VpkqWK",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/hr79hdrxwx/notes/qcxk0auyjm.json added

+++ b/reviews/openreview/hr79hdrxwx/notes/qcxk0auyjm.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "QCxk0auYJm",
+ "replyTo": "noa4VpkqWK",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for the feedback. We understand that further comparison with current LLM-based grammar-constrained decoding methods would be helpful and therefore extended our analysis of the existing experiments with DeepSeek, Gemma, and the Fuzz4All harness, originally presented in the **Comparing with LLM-based baselines** section of our response to the AC. Our new findings show that inference-time-only constrained decoding is less effective in our scope, i.e., generating effective test cases for compiler testing:\n\n1. In the absence of grammar-constrained decoding, both DeepSeek and Gemma already generated over 99% syntactically valid programs, suggesting that such constraints offer limited benefit for modern LLMs. Therefore, we have no reason to expect different results had these experiments used grammar-constrained decoding.\n\n2. Moreover, despite being syntactically valid, the DeepSeek- and Gemma-generated programs tend to be relatively common compared with `rustc`’s regression test suite, Synsema-generated programs, and Synsema-discovered bugs, even when steered by the Fuzz4All harness to encourage uncommon test cases effective for compiler testing. To investigate this, we estimate the **likelihood of semantically valid** Rust programs generated by Synsema, Gemma, and DeepSeek. As a proxy for the distribution of developer-written programs, we use the pretrained base model of Qwen3-8B, which is not used in any of our experiments, and compute the program’s negative log-likelihood (NLL) in nats/token. The table below reports the median NLL for programs with similar lengths, where higher NLL indicates that a program is less likely under the model. Perplexity = exp(NLL), so a difference of 0.1 nats/token corresponds to roughly a 10% difference in perplexity.\n\n | Length | Synsema | Gemma | DeepSeek | Syn. Bug | Rust Tests |\n |:---|:--:|:--:|:--:|:--:|:--:|\n | <16 | 6.11 | - | - | 7.31 | 5.52 |\n | 16 - 31 | 4.71 | - | - | 5.62 | 3.67 |\n | 32 - 63 | 3.57 | - | - | 4.16 | 2.26 |\n | 64 - 127 | 2.51 | - | 1.87 | 3.10 | 1.62 |\n | 128 - 255 | 1.85 | 0.74 | 0.92 | 1.91 | 1.16 |\n | 256 - 511 | 1.33 | 0.63 | 0.69 | 1.58 | 0.67 |\n\n > Note:\n > 1. We exclude programs dominated by macro definitions because unexpanded macro bodies contain arbitrary token sequences that naturally lead to high NLL/perplexity.\n > 2. We filter out buckets with fewer than 10 samples, as the data is otherwise unrepresentative.\n\n We find that, compared to `rustc`’s regression tests (see the “Rust Tests” column), Synsema-generated programs consistently have higher NLL/perplexity, while programs generated by Gemma and DeepSeek using Fuzz4All tend to have lower NLL/perplexity. This suggests that Synsema explores program regions less likely explored by a modern pretrained LLM and that, even when using a SOTA fuzzing harness, LLMs tend to generate more common programs.\n\n Our findings are further validated when examining the NLL/perplexity of Synsema-generated programs that cause `rustc` to crash or time out (see the “Syn. Bug” column). This set of programs has the highest median NLL/perplexity. This finding is consistent with our bug-finding results: Synsema found 14 unique bugs, including five previously unknown, whereas DeepSeek found one and Gemma found none. Together, these results provide preliminary evidence that Synsema explores less common regions of the program space and that this exploration is effective for exposing compiler bugs.\n\nWe will make these points clearer in our revision."
+ },
+ "createdAt": "2026-08-04T11:49:08.354Z",
+ "modifiedAt": "2026-11-19T17:09:25.869Z",
+ "url": "https://openreview.net/forum?id=HR79HDRXwx&noteId=QCxk0auYJm",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/hr79hdrxwx/notes/qoritqqiy3.json added

+++ b/reviews/openreview/hr79hdrxwx/notes/qoritqqiy3.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "QOriTqQIY3",
+ "replyTo": "zfJUUjoYPa",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for the detailed assessment and constructive feedback, which our revision will incorporate.\n\n**Q1/W1: Technical novelty.** We do not claim that grammar-constrained generation itself is novel. Synsema's technical novelty lies in **a syntax-guaranteed RL formulation of program generation for compiler testing**, which includes a parser-derived action space representation and a compiler feedback-based reward. Following this, Synsema, for the first time, systematically evaluates three different representations that reduce the sampling space by enforcing syntactic correctness. The proposed reward function shapes the space by steering the agent towards generating semantically correct programs.\n\nLiang et al. [1] study AST-derived representations (such as pre-order traversals of AST nodes `[IfNode,BlockStmt,...]`) for pretrained language models. Although this is similar in spirit to our Top-Down setting, Synsema instead represents actions through parsing operations (such as `[E->E Op E, E->NUM]` and `[reduce:E->NUM,shift PLUS,...]` as shown in Table 1) and thoroughly explores the action-representation design space by comparing three representations drawn from the parsing literature. Furthermore, Synsema does not target general-purpose program generation for, e.g., code completion and refinement, but program generation for compiler testing. Under a resource-bounded setting, Synsema discovered 14 unique bugs, including 5 previously unknown, demonstrating its practical utility.\n\nOur revision will clarify Synsema's overall technical novelty in Section 1, and cite and discuss Liang et al. in Section 5.\n\n**Q2/W2/L1/L2: SOTA LLM-based baselines.** Please refer to the “Comparing with LLM-based baselines” section in our response to AC.\n\n**Q3/W2/W4/L4: Semantic features.** We disagree that the current evidence mainly shows that the model learns to increase compiler acceptance. We agree that by only analyzing compilability, the agents could simply generate many simple programs. We therefore extended our evaluation and would refer the reviewer to the “Learning semantics” section in our response to AC.\n\n**W5: Coverage interpretation.** Our instrumented `rustc` has 1,762,659 edges. Determining that for `javac` is difficult because it is written in Java itself and loads classes dynamically. Therefore, we follow AFL to hash the dynamic edge IDs into a bitmap with 65,536 bits. Hashing collisions make our Java coverage an underapproximation of the true number of exercised edges. After five days, Synsema exercises 148,685 (8.43%) edges in `rustc`, where 71,689 (4.07%) edges are exercised by compilable programs. The data for `javac` is 23,260 (35.49%) and 16,512 (25.20%). Note that achieving good edge coverage in production compilers is challenging: the official test suites for `rustc` reach only 283,040 edges (16.1%) in general and 184,113 edges (10.4%) for compilable programs. For `javac`, it is 29,969 (45.73%) in general and 27,056 (41.28%) for compilable programs. Synsema, after only five days of training, therefore achieves 38.9% of the performance of the official test suite for Rust and 61.0% for Java when considering semantically valid programs.\n\nThe coverage per wall-clock time is already reported in Figure 4, which shows its evolution throughout the five-day experiment. The coverage per GPU-hour can be derived from Figure 4 directly: each run uses two GPUs throughout, so `t` hours of wall-clock time correspond to `2t` GPU hours.\n\n**L3: Bounded programs.** Our paper acknowledges that generated programs have a bounded length and that our implementation uses a predefined subword vocabulary. While this theoretically bounds the semantic and structural complexity, they do not appear to be a limiting factor in practice. Empirically, we know that most compiler bugs are short programs with only a few identifiers, as reported by the Small-Scope Hypothesis [4] and state-of-the-art fuzzers/reducers [2-6]. Further, our experiments show that our approach was effective and found 14 unique bugs (5 previously unknown) in `javac` and `rustc`, two mature production compilers.\n\n---\n\n[1] Liang et al. Grammar-Based Code Representation: Is It a Worthy Pursuit for LLMs? ACL25.\n\n[2] Yang et al. Finding and Understanding Bugs in C Compilers. PLDI11.\n\n[3] Wang et al. Rustlantis: Randomized Differential Testing of the Rust Compiler. OOPSLA24.\n\n[4] Oetsch et al. On the Small-Scope Hypothesis for Testing Answer-Set Programs. KR12.\n\n[5] Sun et al. Toward Understanding Compiler Bugs in GCC and LLVM. ISSTA16.\n\n[6] Regehr et al. Test-Case Reduction for C Compiler Bugs. PLDI12."
+ },
+ "createdAt": "2026-07-29T12:08:05.671Z",
+ "modifiedAt": "2026-11-19T17:09:25.955Z",
+ "url": "https://openreview.net/forum?id=HR79HDRXwx&noteId=QOriTqQIY3",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/hr79hdrxwx/notes/uwmkp7hykc.json added

+++ b/reviews/openreview/hr79hdrxwx/notes/uwmkp7hykc.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "UWmkP7Hykc",
+ "replyTo": "ychqRnLRLw",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for your detailed review, and for finding our formulation clear and well motivated and our evaluation demonstrative of real-world utility.\n\n**Q1: Grammar efforts.** Grammars specifying the syntax of programming languages are widely available [1]. Synsema is compatible with existing formats such as Yacc, which serve all three representations (Top-Down, Bottom-Up, Chart). Otherwise, another format or the official specification can be mechanically transformed into a supported one, taking a single person 1-3 hours per language. Our evaluation grammars are based on the official specifications.\n\nBeyond a grammar, supporting a new language requires source coverage information and machine-readable compilation errors. We provide generic LLVM and JVM instrumentations for the former, and most compilers emit the latter out of the box. We estimate 1-3 days of effort per new language. Synsema’s implementation is reusable and can be easily extended to new targets.\n\nUnlike traditional tools such as Csmith, RustSmith, or Rustlantis, no manual specification of the semantics is needed: the agents learn to conform to them through RL.\n\n**Q2/W1: Semantic features.** Please refer to the AC rebuttal.\n\n**Q3/W2: Constrained decoding.** “Training the model normally” could mean (1) conventional pre-training on a dataset, or (2) running Synsema’s RL loop without action masking. In either case, grammar-constrained decoding [2] is then applied at inference time.\n\n+ The first is worth considering. However, constrained decoding usually creates a mismatch between the model’s learned distribution and the one induced by forced token selection [3]. This mismatch often degrades performance under complex constraints, particularly for instruction-tuned or small language models [4,5,6]. Recent work therefore augments it with few-shot examples [5,6,7], unconstrained decoding [5], or post-processing [8]. Applying these to compiler testing remains challenging: they mainly yield common, in-distribution programs, where compilers rarely fail.\n\n+ The second is equivalent to applying constrained decoding to our existing baseline, which learned neither syntactic nor semantic constraints: only 336 of its programs compile, and these contain only trivial constructs, providing little learning signal. Constrained decoding on this policy is therefore unlikely to outperform the semantics-agnostic random policy from our AC rebuttal, which neither exercises interesting language features nor achieves comparable coverage. Receiving next to no positive reward, a normally trained RL agent cannot learn to conform to the semantics, so we expect the unmasked baseline with inference-time constrained decoding to behave similarly.\n\nWe integrated constrained decoding into the RL training loop itself, in both actors and learner: the actors perform inference and need action masking to guarantee syntactic validity, a core goal of our approach. The learner must apply the same masking to calculate the next optimal action, as its value estimates would otherwise depend on unreachable actions.\n\n**Q4/W4: Connection with SOTA LLMs.** Yes, and we believe this is a very promising direction! SOTA LLMs have two advantages: more sophisticated architectures, which Synsema can directly leverage, and extensive pre- and post-training. Their understanding of a language’s semantics would help Synsema, but is not sufficient for compiler testing: they learn the distribution of common programs, which are less likely to expose compiler bugs. Synsema instead trains agents to generate semantically valid programs with no prior notion of what is typical, incentivizing them to explore and exploit all of a language's semantics which is a different objective.\n\n**W3: Unconditional program generation.** We did not evaluate the conditional setting, as it falls outside the scope of our current evaluation. We do consider it a promising direction for extending Synsema to other scenarios, such as code completion! There, prompts, datasets, and pre-trained LLMs could all be integrated to generate semantically valid, interesting programs.\n\n---\n\n[1] ANTLR. Grammars-v4. https://github.com/antlr/grammars-v4.\n\n[2] Geng et al. Grammar-Constrained Decoding for Structured NLP Tasks Without Finetuning. EMNLP23.\n\n[3] Park et al. Grammar-Aligned Decoding. NeurIPS24.\n\n[4] Schall et al. The Hidden Cost of Structure: How Constrained Decoding Affects Language Model Performance. RANLP25.\n\n[5] Sakota et al. Combining Constrained and Unconstrained Decoding via Boosting: BoostCD and Its Application to Information Extraction. EMNLP25.\n\n[6] Ferrazzi et al. Small LLMs for Medical NLP: A Systematic Analysis of Few-Shot, Constraint Decoding, Fine-Tuning and Continual Pre-Training in Italian. LREC26.\n\n[7] Poesia et al. Synchromesh: Reliable Code Generation from Pre-Trained Language Models. ICLR22.\n\n[8] Princis et al. TreeCoder: Systematic Exploration and Optimisation of Decoding and Constraints for LLM Code Generation. PLDI26."
+ },
+ "createdAt": "2026-07-29T11:44:53.547Z",
+ "modifiedAt": "2026-11-19T17:09:25.905Z",
+ "url": "https://openreview.net/forum?id=HR79HDRXwx&noteId=UWmkP7Hykc",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/hr79hdrxwx/notes/vdwbsi44dp.json modified

+++ b/reviews/openreview/hr79hdrxwx/notes/vdwbsi44dp.json
@@ -5,11 +5,12 @@
"kind": "meta_review",
"invitation": "Meta_Review",
"signature": "Area Chair Dfd8",
"content": {
- "metareview": "The reviewers appear to accept the basic premise of the paper, specifically that learning programming language semantics can help generate compiler test cases. However, there are some substantial concerns:\n\n The entire setup seems somewhat archaic. Would a modern LLM have made the problem irrelevant through its knowledge of Rust and Java? A success rate of 7.29% generated programs compilable seems low with modern technology.\n The experiments measure compilability, not conformance to semantics. What evidence is there for learning semantics? Or, is this just not a goal and the only goal is to find programs that crash the compiler?\n A stronger comparison with existing test generation techniques would help - does the technique discover bugs these previous techniques would not have discovered, and is there a quantitative measure somewhere that would make this argument more precise?\n Better compiler coverage results would help as suggested by the reviewers.\n\nThe response period was very productive and reviewers were unanimous that this paper can be accepted. I strongly urge the authors to pay attention to the reviews and the responses as they prepare a revision as I anticipate that we can expect to see the paper significantly improved during the revision along the lines suggested in the reviews."
+ "metareview": "The reviewers appear to accept the basic premise of the paper, specifically that learning programming language semantics can help generate compiler test cases. However, there are some substantial concerns:\n\n The entire setup seems somewhat archaic. Would a modern LLM have made the problem irrelevant through its knowledge of Rust and Java? A success rate of 7.29% generated programs compilable seems low with modern technology.\n The experiments measure compilability, not conformance to semantics. What evidence is there for learning semantics? Or, is this just not a goal and the only goal is to find programs that crash the compiler?\n A stronger comparison with existing test generation techniques would help - does the technique discover bugs these previous techniques would not have discovered, and is there a quantitative measure somewhere that would make this argument more precise?\n Better compiler coverage results would help as suggested by the reviewers.\n\nThe response period was very productive and reviewers were unanimous that this paper can be accepted. I strongly urge the authors to pay attention to the reviews and the responses as they prepare a revision as I anticipate that we can expect to see the paper significantly improved during the revision along the lines suggested in the reviews.",
+ "final_justification": "Rebuttal answered reviewers questions and surfaced new interesting results that justify acceptance."
},
"createdAt": "2026-07-27T00:05:42.591Z",
- "modifiedAt": "2026-11-18T15:26:07.916Z",
+ "modifiedAt": "2026-11-19T05:03:53.185Z",
"url": "https://openreview.net/forum?id=HR79HDRXwx&noteId=vdwBSi44dp",
"license": "CC-BY-4.0"
}

reviews/openreview/hr79hdrxwx/notes/zslsy7rnkc.json added

+++ b/reviews/openreview/hr79hdrxwx/notes/zslsy7rnkc.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "ZsLsy7rNKc",
+ "replyTo": "zfJUUjoYPa",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer ECUS",
+ "content": {
+ "comment": "Thank you for the detailed response and additional experiments. I find the combination of grammar-guided generation, reinforcement learning, and compiler feedback well motivated, and the new results support that this combination provides benefits beyond syntax enforcement alone.\n\nOne remaining question is whether the increased use of features such as lifetimes, generics, and ownership translates into better exploration of compiler behaviors that are more likely to expose bugs. A more detailed analysis of the bug-triggering test cases, including the feature combinations or unusual program structures they require, would help clarify this point. The fact that DeepSeek achieves higher coverage but finds fewer reported bugs also suggests that coverage alone may not capture this distinction.\n\nI also consider the cost-matched comparison with LLMs reasonably fair, since API pricing already amortizes the cost of pretraining.\n\nOverall, the response has improved my view of the paper. I increased my score from 3 to 4."
+ },
+ "createdAt": "2026-08-04T05:40:08.217Z",
+ "modifiedAt": "2026-11-19T17:09:25.958Z",
+ "url": "https://openreview.net/forum?id=HR79HDRXwx&noteId=ZsLsy7rNKc",
+ "license": "CC-BY-4.0"
+}