potentialpaper

Causal Edit Serialization

Louis Robinson

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Causal Edit Serialization lets decoder-only transformers emit explicit, source-localized edit programs under a standard causal mask, enabling insert/delete/replace/move/copy revisions with modest language-modeling cost.

Abstract. Standard autoregressive language models generate text sequentially, but revision requires referring back to tokens in the input context or those already generated. \emph{Causal Edit Serialization} (CES) is introduced as a framework for expressing such revisions within the same causal token stream. Special pointer tokens are paired with predicted source addresses, allowing insertion, deletion, replacement, copying and movement to be localized explicitly. A lightweight localization head and dual-index rotary position encoding support both address prediction and conditioning on previously emitted pointers, while retaining a standard causal attention mask. A pretraining procedure combines ordinary language modeling with serialized repairs derived from random corruptions, model-generated edits and repeated text. Across model scales and editing baselines, CES models demonstrate complete applied edits with modestly higher clean-text bits per byte than clean autoregressive models. Supervised and reinforcement-learning post-training provide a grammatical-error-correction proof of concept, producing more beneficial than harmful changes under reference-blind model judging. Correct repair programs also improve subsequent text prediction while the original context and its cached states are retained. CES provides a common interface for generation and localized revision, with potential extensions to iterative refinement and additional pointer-addressed transformations.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Summary

This paper proposes Causal Edit Serialization (CES), a decoder-only editing framework that augments autoregressive language models with explicit edit operations and source position localization. The authors show that a strictly causal transformer can generate structured edit programs and achieve better editing performance than autoregressive baselines on several synthetic and human edit benchmarks.

Strengths

  • The paper studies a timely problem of enabling explicit editing inside a strictly causal decoder only model. It introduces a framework that allows a model to revise earlier content while keeping the standard autoregressive decoding process.

  • The combination of the edit DSL, localization head, and dual index positional encoding is a reasonable and well designed choice that provides editing ability without large changes to the transformer architecture.

  • The comparison with AR DSL shows possible benefits of using explicit source localization instead of textualized coordinates. The experiments also give useful analysis on model size, localization trade offs, and decoding behavior under different conditions.

Weaknesses

  • The main issue, pointed out by Reviewer FDrm and also supported by Reviewer P1Ln, is that the experiments mainly show a proof of concept rather than strong evidence for general causal editing in decoder only models. All experiments use small NanoChat models and depend heavily on GPT 5 mini generated edit supervision. Therefore, it is not clear if CES can scale to larger pretrained LLMs, longer contexts, more complex edit cases, or practical interactive editing workflows. The paper itself also admits several of these limitations.

  • A second major concern, raised by both Reviewer FDrm and Reviewer NC6Z, is that the human edit evaluation is mostly factorized instead of end to end. The paper separately measures operation prediction, location prediction, and payload generation, which helps analysis but does not show that the model can fully generate and apply complete edit programs. Since errors can accumulate across stages, stronger end to end evaluation would be more convincing for real editing performance.

  • Reviewers also comment that the baseline coverage is limited. While AR and AR DSL are suitable ablations for internal comparison, the paper does not include stronger editing baselines such as insertion based, encoder decoder, denoising, or iterative editing approaches discussed in related work. Wider comparisons would make the empirical evaluation more complete and competitive.

  • In addition, Reviewer NC6Z notes that the training data largely depends on GPT 5 mini generated edits. Although the human edit datasets show some transfer, the training data is still synthetic and may not capture true human editing patterns.

  • Reviewer P1Ln also finds that the workflow description is not always easy to follow. In particular, the inference process, how an edit is triggered, generated, applied, followed by cache rebuilding and resumed generation, would benefit from a clearer step by step algorithm or schematic figure in the main paper.

These issues should be carefully addressed to better support the paper’s main claims and to show the broader effectiveness and practicality of the CES framework.

Final justification

After reviewing the authors’ rebuttal and the following reviewer discussions, I think the authors have addressed most of the key concerns raised during the review process. In particular, the added end-to-end edit-generation and application experiments, stronger baseline comparisons, and clearer description of the editing workflow make the paper stronger and provide more convincing evidence for the proposed approach.

Some limitations still remain, especially about validation on modern pretrained LLMs and broader real-world editing settings. However, these concerns now seem to be limitations of the current experimental scope, rather than fundamental weaknesses of the method itself. The authors have properly narrowed their claims and clearly acknowledged these remaining limitations.

Overall, the rebuttal improves the paper substantially and addresses the main concerns raised by the reviewers. I think the paper provides a novel and useful contribution to causal editing in decoder-only models, and therefore I recommend acceptance.

Area Chair GP2N · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Summary

This paper proposes Causal Edit Serialization (CES), a decoder-only editing framework that augments autoregressive language models with explicit edit operations and source position localization. The authors show that a strictly causal transformer can generate structured edit programs and achieve better editing performance than autoregressive baselines on several synthetic and human edit benchmarks.

Strengths

  • The paper studies a timely problem of enabling explicit editing inside a strictly causal decoder only model. It introduces a framework that allows a model to revise earlier content while keeping the standard autoregressive decoding process.

  • The combination of the edit DSL, localization head, and dual index positional encoding is a reasonable and well designed choice that provides editing ability without large changes to the transformer architecture.

  • The comparison with AR DSL shows possible benefits of using explicit source localization instead of textualized coordinates. The experiments also give useful analysis on model size, localization trade offs, and decoding behavior under different conditions.

Weaknesses

  • The main issue, pointed out by Reviewer FDrm and also supported by Reviewer P1Ln, is that the experiments mainly show a proof of concept rather than strong evidence for general causal editing in decoder only models. All experiments use small NanoChat models and depend heavily on GPT 5 mini generated edit supervision. Therefore, it is not clear if CES can scale to larger pretrained LLMs, longer contexts, more complex edit cases, or practical interactive editing workflows. The paper itself also admits several of these limitations.

  • A second major concern, raised by both Reviewer FDrm and Reviewer NC6Z, is that the human edit evaluation is mostly factorized instead of end to end. The paper separately measures operation prediction, location prediction, and payload generation, which helps analysis but does not show that the model can fully generate and apply complete edit programs. Since errors can accumulate across stages, stronger end to end evaluation would be more convincing for real editing performance.

  • Reviewers also comment that the baseline coverage is limited. While AR and AR DSL are suitable ablations for internal comparison, the paper does not include stronger editing baselines such as insertion based, encoder decoder, denoising, or iterative editing approaches discussed in related work. Wider comparisons would make the empirical evaluation more complete and competitive.

  • In addition, Reviewer NC6Z notes that the training data largely depends on GPT 5 mini generated edits. Although the human edit datasets show some transfer, the training data is still synthetic and may not capture true human editing patterns.

  • Reviewer P1Ln also finds that the workflow description is not always easy to follow. In particular, the inference process, how an edit is triggered, generated, applied, followed by cache rebuilding and resumed generation, would benefit from a clearer step by step algorithm or schematic figure in the main paper.

These issues should be carefully addressed to better support the paper’s main claims and to show the broader effectiveness and practicality of the CES framework.

Final justification

After reviewing the authors’ rebuttal and the following reviewer discussions, I think the authors have addressed most of the key concerns raised during the review process. In particular, the added end-to-end edit-generation and application experiments, stronger baseline comparisons, and clearer description of the editing workflow make the paper stronger and provide more convincing evidence for the proposed approach.

Some limitations still remain, especially about validation on modern pretrained LLMs and broader real-world editing settings. However, these concerns now seem to be limitations of the current experimental scope, rather than fundamental weaknesses of the method itself. The authors have properly narrowed their claims and clearly acknowledged these remaining limitations.

Overall, the rebuttal improves the paper substantially and addresses the main concerns raised by the reviewers. I think the paper provides a novel and useful contribution to causal editing in decoder-only models, and therefore I recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

Author update: completed evaluation suite

Thank you to the reviewers and Area Chair. Since July 28, 111 core training runs have completed across supervision, methods, scales, and seeds, plus arithmetic, continuation, oracle, and systems studies. We organize this update around the five meta-review weaknesses.

1. Generality beyond a small proof of concept. The main grid evaluates eight methods at depths 12, 18, and 24 with three paired training seeds. CES is the only evaluated neural method combining substantial changed coverage with positive controlled-edit direction at every depth. Function-preserving pretrained-decoder adaptation is also complete at all depths; depth-24 adaptation has the strongest clean pretrained metrics, although short adaptation is not yet sufficient for useful editing.

A 3,075-example arithmetic study tests executable multi-edit repair, verification, and operand shift. CES is 99.71% executable and exactly recovers 11.45%, versus 5.69-7.64% for matched learned baselines. It retains 8.49% exact recovery with all operands held out, while regeneration and flat-relative reach 0%; verifier-guided selection raises CES to 13.11%. Modern pretrained large language model families remain an open limitation.

2. End-to-end rather than factorized evaluation. We measure complete generation, parsing, application, and final text, retaining invalid programs in every denominator. Depth-24 CES is valid on 90.5% +/- 1.9% of the controlled suite and exactly recovers 5.27% +/- 0.45% of targets. After CoEdit fine-tuning, it produces valid changed outputs on 90.0% +/- 2.6%. This includes accumulated operation, localization, payload, termination, and application errors.

3. Stronger baselines. The 72-run grid (three seeds, three model depths, and eight methods) includes CES, autoregressive editing, regeneration, oracle- and predicted-span fill-in-the-middle (FIM), matched flat-relative addressing, iterative Levenshtein, and pretrained adaptation. Corrected depth-24 valid rates are 91.3-99.8% for regeneration/FIM, so results are no longer explained by termination failures. Regeneration has the strongest ERRANT F0.5 (0.0733 +/- 0.0235), but harms 53.9% and has strongly negative controlled direction. Matched flat-relative removes the CES localization head and dual position encoding while using the same loader; it learns teacher-forced coordinates but collapses to copying. Levenshtein is depth- and seed-matched, and Oracle CES separates localization, payload, and selectivity bottlenecks.

4. GPT-5 Mini supervision and human mismatch. A three-seed source sweep finds mixed random plus GPT-5 Mini supervision strongest overall; random-only remains strong, while GPT-5 Mini-only mostly copies. Random corruption is therefore essential. Three-seed sweeps selected the position-head loss weight, dataloader type, and clean/corrupted exposure ratio (rho) by Pareto analysis rather than arbitrary settings. CoEdit transfer reports final-text ERRANT, validity, coverage, improvement/harm, and training variation. Depth-24 CES has low ERRANT F0.5 (0.0155 +/- 0.0051), but broad valid editing and positive controlled direction. We will emphasize the generated/random/human mismatch.

5. Inference workflow and practical interaction. We will add the requested algorithm and schematic: a caller appends edit-start; CES generates operation, source addresses, payload, later operations, and edit-end; a deterministic interpreter applies the program; terminal editing returns the result, while continued generation can rebuild the edited-prefix key-value (KV) cache.

Semantic continuation is also tested. On 100 equations, a gold repair raises clean-answer selection from 0.14 to 0.87 and greedy exact continuation from 0.00 to 0.35. On 540 natural-text documents, one depth-24 checkpoint improves clean-tail negative log-likelihood by 21.23 millinats/token [18.68, 24.22] against an empty-program control and 6.41 [3.91, 9.56] against a non-correcting sham, with positive gains across every operation, span, and distance. CES programs therefore affect downstream semantics rather than merely parsing.

Cache rebuilding plus 32 resumed tokens adds 3.7% median latency in the measured depth-12 RTX 5080 setup. Regeneration uses 1.65-2.07 times the observed live context and has a substantial H100 latency tail. CES has a larger KV cache per token, but shorter programs reduce observed total cache use at depths 18 and 24.

Together, these results address most empirical concerns in the meta-review and support CES as a viable, distinctive decoder-only editing representation. They do not establish a production editor or modern-LLM scaling; we will state that boundary and incorporate the complete results, algorithm, and schematic. Checkpoints, manifests, raw and resolved outputs, per-seed summaries, and commands have been retained for release.

Reviewer P1LnOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes casual edit serialization which aims to enable a causal decoder model to perform edit operations (insertion, deletion, replacement, copy, and move). Each edit operation is given a defined structured token stream that maintains the causal attention mask. Each token has a global index and address index, and a lightweight localization head is trained to select edit addresses. Extensive experiments using NanoChat show improvements over AR-DSL baseline.

Strengths and weaknesses

Strengths: This paper works on a timely problem with clear motivation and interest. The CES shows promise towards bringing about a decoder model that can edit during inference, a design that, to the best of our knowledge, has not yet been introduced in other literature. During experimentation, the authors test multiple model depths, sampling variety, temperature sweeps, etc.

Weaknesses: There is lack of clarity for aspects of the overall design. For example, without an algorithm, it is tricky to understand when and how the decoder chooses to perform edit operations. It is also confusing to understand the process of inference from start to finish (input->generation with edits->final output). Much important information is kept in the appendices, so in order to understand these basic details, readers need to refer to these constantly. We note that runs are only conducted using NanoChat, restricting all experimental results to only one small model.

Questions
  1. What are the ClimbMix documents? These are listed as an external asset in Table 4; however, each mention is missing its necessary corresponding citation. Presumably, these documents are pre-training data from "Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-training"? Otherwise, it is unclear what type and quality of textual data is being worked with.

  2. Related to Q1 above, the approximate human edits in the training data are synthetically generated using GPT-5-mini; however, it is unclear how or if the synthetic data is evaluated for quality. Section 6 states that this synthetic data can only be used as an approximation to real human editing. In this case, a comparative description and analysis is necessary. This can be used to shed further insights on performance over the data.

  3. It would be helpful to show an algorithm that clarifies how the decoder chooses edit functions. Similarly, an introductory figure could simply the understanding of the overall process from initial input to final output. We note that Figure 3 does not seem to have a written explanation, and the figure by itself does not clarify the process of causal edit serialization.

  4. Only one small model is used for all experimental runs, restricting our understanding of the system's performance. It would be interesting to compare these results with results from a broader set of decoder models.

Limitations

Yes

Final justification

My confusion about the design (i.e., when/how edit operations take place) has been addressed. Personally, I think a schematic is necessary, and the authors have stated in their rebuttal that they will include this in the final draft. It is also important that they remain transparent about the limitations (e.g., limited testing on different models). Overall, I find this paper to be interesting and timely. While it may not solve the problem of general causal editing using decoder-only models, it provides good insights into the problem and a baseline for future works.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the thoughtful and helpful comments identifying that the inference workflow and data provenance need to be understandable without repeatedly consulting the appendix. We will move a complete algorithm and schematic into the main paper and clarify which decisions are made by the model and which are made by the caller.

How editing is invoked and executed. In the submitted experiments, editing is externally invoked: a caller supplies the source and appends an edit-start token. Causal Edit Serialization (CES) does not autonomously decide when to enter edit mode. After edit-start, the causal decoder predicts an operation token, predicts source addresses through its localization head, emits any replacement or insertion text, repeats this process for later operations, and finishes with edit-end. A deterministic parser then resolves and applies the complete program. If parsing or application fails, evaluation uses the unchanged source.

If editing is terminal, the edited text can be returned without rebuilding the model's attention state. If ordinary generation must continue from the edited text, the edited prefix is passed through the model again to rebuild its key-value (KV) attention cache before causal decoding resumes. We measured this path on one NVIDIA RTX 5080 with a 12-layer checkpoint and 60 frozen source/edit pairs. The complete-prefix rebuild took a median 3.86 ms. Rebuild plus 32 resumed tokens took 113.53 ms, versus 109.40 ms for ordinary cached continuation, a 1.037x ratio or 3.7% additional latency. Reusing the unchanged prefix did not help overall for sources up to 1,024 tokens and became only slightly faster in the 513-to-1,024-token bucket. We will therefore show the conservative full-rebuild path in the algorithm and avoid claiming that partial cache reuse is universally beneficial.

Q1: ClimbMix. ClimbMix is the pretraining mixture associated with Nemotron-CLIMB. We omitted the required citation and description. We use it as the source of NanoChat clean pretraining and validation documents and of documents supplied to the synthetic edit-generation pipeline. The generated edit corpus was constructed from a 2.5% sample of the approximately 15-gigabyte ClimbMix source corpus. We will add the full citation, corpus version, shard selection, separate training and validation roles, and licensing information in the main paper rather than only in the external-assets table.

Q2: Quality of approximate human edits. The pipeline produced 361,773 rows, of which 361,429 (99.9%) pass structural parsing and round-trip resolution. The valid rows contain approximately 1.03 million operations: about 201,000 insertions, 325,000 deletions, 482,000 replacements, and 26,000 movements. Copy is not generated by the GPT-5-mini language model and instead comes from a separate repeated-span mining pipeline. These checks establish serialization correctness, not human semantic quality. The corpus is replacement-heavy and uses longer edits than minimal human corrections.

The submitted appendix already includes a figure comparing operation and edit-length distributions across GPT-5-mini edits, random corruptions, and copy-mined data. We will make this existing analysis easier to find from the main text and supplement it with measured edit mass and clearer filtering and minimality statistics.

To test transfer rather than assume equivalence, we fine-tuned a small 12-layer NanoChat CES model on CoEdit grammatical error correction (GEC) data and froze one protocol before a one-shot evaluation on a disjoint 5,000-example confirmation set. ERRANT, the ERRor ANnotation Toolkit for GEC evaluation, reports a precision-weighted F0.5 score of 0.06340 [0.05743, 0.06961]. Of the programs, 97.46% are structurally valid and 129 exactly match the reference; qualitative outputs include genuine grammatical and spelling corrections. Precision is 0.0767, while a single-reference token-distance diagnostic reports a 78.02% harm rate. That diagnostic can penalize acceptable alternative corrections, but it still shows that this particular small model is not a reliable unrestricted editor. It does not establish an upper bound on larger CES models, and we will make the model scale explicit when presenting the result.

We have also examined how the amount of synthetic corruption affects later human-edit learning. We now report measured edit-mass rho, defined as total scripted edit mass divided by raw source tokens consumed, instead of treating a loader probability as a self-explanatory hyperparameter. A 12-layer pilot compared no, intermediate, and full synthetic-corruption exposure before the same human-edit fine-tuning; full exposure transferred best, while intermediate exposure improved canonical edit likelihood but later lost generation validity. Since the clean initialization also lacked CES-syntax experience, we have added a no-corruption CES control with no-op edit syntax to separate format familiarity from learning to detect corruptions.

Q3: Algorithm and figure. We will add a main-paper source-to-final-output schematic showing the source, external edit request, generated edit program, deterministic parse and application, optional KV-cache rebuild, and resumed generation. Beside it we will define program validity, exact recovery, target-similarity change, likelihood change, and invalid-as-source accounting.

Q4: Model scale and pretrained initialization. The submitted main results stop at 18 layers. Since submission, a corrected 24-layer checkpoint has generated valid complete programs on 83.4% of the frozen 1,000-example benchmark, exactly recovered 3.3% of targets, and achieved mean character-similarity change +0.003742; validity remains 64.8% for the eight-operation stress split. This is a useful larger NanoChat point but does not establish transfer to modern pretrained large language model (LLM) families.

In response to your helpful comment on model breadth, we also completed a first ordinary-decoder-to-CES adaptation. A standard clean 12-layer causal model was imported with shared-vocabulary behavior exactly preserved and adapted for 1,000 steps. It reached 42.4% valid programs [39.3%, 45.5%], but 0% exact recovery and mean character-similarity change -0.0558 [-0.0644, -0.0475]. This demonstrates technical compatibility, while showing that this short adaptation recipe is not yet effective. It is not compute-matched to the longer from-scratch run. We will retain modern pretrained LLMs and substantially longer contexts as open limitations rather than treating this small-model result as definitive.

Reviewer P1Ln · CommentOpenReview ↗

Response to Author Rebuttal

Thank you for these clarifications. It seems my major concerns have been mostly addressed, and I will increase my score.

Reviewer NC6ZOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces Causal Edit Serialization (CES), a method for enabling decoder-only transformers to emit explicit edit programs while retaining a standard causal mask. CES serializes insert/delete/replace/move/copy operations into an edit DSL, adds a lightweight localization head for source-position prediction, and uses dual-index RoPE to separate generation order from source-token addressing. The model is trained on random corruptions, a GPT-5-mini generated edit corpus derived from ClimbMix, and separately mined copy examples. The paper compares CES against standard autoregressive training and an AR-DSL baseline that emits textualized positions.

The main finding is that CES improves source localization, valid-edit behavior, and similarity to human edit targets relative to AR-DSL, with some degradation in clean language-modeling quality.

Strengths and weaknesses

Strengths

  1. The problem setting is clear and relevant: adding compositional edit operations to strictly causal decoder-only models is both practically useful and technically nontrivial.

  2. The method is natural and relatively lightweight. The edit DSL, localization head, and dual-index RoPE match the structure of the task without substantially changing the transformer backbone.

  3. The AR-DSL comparison is useful. The results suggest that source addressing should not simply be treated as ordinary token generation, since textualized coordinates often parse but refer outside the source.

Major Weakness

  1. The key human-edit evaluation is not a full end-to-end editing metric. Figure 2 uses a factorized probe: operation type, then location conditioned on type, then payload conditioned on gold type/location. This is useful diagnostically, but it does not establish that the model can reliably generate, parse, and apply complete edit programs in realistic settings.

  2. Human-edit validity remains limited. The paper itself notes that valid-edit rates are still modest in many settings, especially at smaller model scales.

  3. The main edit corpus depends heavily on GPT-5-mini generated revisions. The corpus is replace-heavy, contains longer spans than minimal human diffs, and obtains copy examples from a separate pipeline. This raises concerns about synthetic style bias and mismatch with real human editing behavior.

  4. The baseline set is incomplete. In addition to AR and AR-DSL, the paper should compare against stronger regeneration, FIM/infilling, patch-style editing, span-denoising, encoder-decoder, or iterative edit baselines.

  5. The authors do not currently plan to release checkpoints, which limits reproducibility for a method that depends on training details, data construction, and loss-weight calibration.

Questions
  1. Can the authors add a true end-to-end edit-application metric, where the model generates the full edit program, the program is parsed and applied, and the final result is compared with the human target?

  2. Can the authors compare against stronger practical baselines such as prompted regeneration, FIM/infilling, span-denoising editors, Levenshtein-style editors, or patch-style editing methods?

  3. Can the authors report multiple seeds, error bars, or bootstrap confidence intervals for the main comparisons?

Limitations

yes

Final justification

Given the added end-to-end evidence and planned artifact release, I am inclined to move from weak reject toward borderline accept, while keeping the above limitations in mind.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the thoughtful and concrete requests concerning end-to-end application, stronger baselines, uncertainty, synthetic-data mismatch, and checkpoint release. We agree that the submitted factorized probes were diagnostic but could not show whether complete generated programs remain useful after errors accumulate, and we have now addressed this with direct applied-edit evaluations.

Q1: End-to-end edit application. We froze a 1,000-example ClimbMix validation benchmark balanced across insertion, deletion, replacement, movement, and mixed edits, with 1, 2, 4, or 8 repair operations. Causal Edit Serialization (CES) receives only the corrupted source and an edit-start token and freely generates the entire program. We parse and apply that program before scoring; invalid generations remain in every denominator and fall back to the unchanged source. A corrected 24-layer checkpoint produces valid complete programs on 83.4% of examples, exactly recovers 3.3% of final targets, improves target similarity on 46.3%, and has mean character-similarity change +0.003742. Validity is 91.6%, 90.0%, 87.2%, and 64.8% for 1, 2, 4, and 8 operations. Deletion is strongest, with 14% exact recovery and +0.0178 mean character change. Insertion remains a clear failure mode, with -0.0124 mean change, so the aggregate result does not hide the main operation-specific weakness.

We also fine-tuned a small 12-layer NanoChat CES model on CoEdit grammatical error correction (GEC) data and selected one recipe using only a development split before evaluating a disjoint 5,000-example confirmation set once. ERRANT, the ERRor ANnotation Toolkit for GEC evaluation, gives a precision-weighted F0.5 score of 0.06340 with a 95% example-bootstrap confidence interval of [0.05743, 0.06961]. Of the programs, 97.46% are structurally valid and 129 exactly match the reference; qualitative outputs include genuine grammatical and spelling corrections. Precision is 0.0767, recall is 0.0374, and a single-reference token-distance diagnostic reports 8.70% improvement and 78.02% harm. The distance diagnostic can penalize acceptable alternatives, but this particular small model is not yet a reliable unrestricted editor. These results show a real human-transfer signal and do not establish the limit of larger CES models.

Q2: Stronger baselines. On the identical frozen controlled manifest, the current 24-layer pilot results are:

Method Complete or valid Exact final target Mean character-similarity change
CES 83.4% 3.3% +0.003742
Oracle-span fill-in-the-middle (FIM) 34.3% 0.0% -0.1153
Full regeneration 0.5% 0.1% -0.00441

For FIM and regeneration, these percentages are the fraction that emitted the required end marker within the decoding cap. We cannot yet tell whether their nontermination comes from training balance, special-token design, adaptation budget, or decoding setup, so these are preliminary implementations rather than evidence that the objectives intrinsically fail.

We also completed a preliminary independent 12-layer iterative Levenshtein-style editor with deletion, gap-insertion, and token-filling heads. After a full 26,880-step from-scratch run, it exactly recovers 0.6% of targets, leaves 56.6% of sources unchanged, and has mean token-sequence target-similarity change -0.0314. The corresponding 12-layer CES result has 0.5% exact recovery and mean token-similarity change -0.00403. These are useful depth-matched results within the smaller 12-layer setting, but they are preliminary and separate from the 24-layer table above.

For the address ablation, we are training a relative-position-token baseline on the repaired loader. It serializes an address as an ordinary token such as BACK_17, predicts it through the normal vocabulary head, uses standard single rotary position embeddings, and removes both CES's localization head and its dual sequence/address rotary encoding. This is more informative than our earlier autoregressive domain-specific-language (AR-DSL) and relative-token runs, whose less closely matched row layout prevents a clean attribution to localization. We will report completed matched results rather than use the earlier zero-valid outputs as a definitive comparison.

Q3: Uncertainty and independent seeds. The 5,000-example ERRANT interval uses 20,000 example-level bootstrap resamples with the checkpoint and protocol frozen before confirmation evaluation. Our earlier controlled 12-layer run was 65.2% valid [62.3%, 68.2%], and independently scored average log-likelihood changed by +0.250 natural-log units per token [+0.223, +0.278]. These intervals quantify evaluation-example uncertainty, not training-seed variation. The completed headline systems currently have one training seed. The full position-loss weight grid has now completed for two independent paired training seeds and selected a weight of 0.01; we will label this as a two-seed result until the third seed completes. A d18 CES dataset-source sweep comparing random-only, GPT-5-mini-only, and mixed training is underway with three paired seeds per condition. Decoding seeds and bootstrap resamples will not be presented as independent training runs.

Synthetic-data mismatch and corruption exposure. Structural correctness of the GPT-5-mini-generated corpus is not evidence that its edits match human choices. The submitted paper already reports corpus totals and operation counts and includes an appendix figure comparing operation and edit-length distributions across GPT-5-mini edits, random corruptions, and copy-mined data. These show that the generated corpus is replacement-heavy, uses longer spans than the random fallback, and obtains copy operations from a separate repeated-span pipeline. We will make this existing analysis more prominent and supplement it with measured edit mass and clearer minimality and filtering statistics.

We have also made the previously arbitrary amount of training corruption explicit. We define measured edit-mass rho as total scripted edit mass divided by raw source tokens consumed, then compare no, intermediate, and full synthetic-corruption exposure before identical CoEdit fine-tuning. In the 12-layer development pilot, full exposure transferred best; intermediate exposure improved canonical human-edit likelihood but later suffered a collapse in valid generation, while a clean autoregressive initialization did not learn valid CES syntax within the same short fine-tuning budget. Because syntax exposure was also different, this pilot does not isolate corruption experience from format familiarity. Our follow-up therefore includes a no-corruption CES control that still receives no-op CES examples, allowing a cleaner test of whether corruption exposure improves detection and execution of later human edits.

If accepted, we will release the selected 12- and 24-layer checkpoints, checkpoint metadata, frozen manifests, raw generated programs, resolved outputs, bootstrap summaries, and exact evaluation commands. We will revise the reproducibility statement accordingly.

Reviewer NC6Z · CommentOpenReview ↗

Score will be increased

I thank the authors for the detailed response. The new end-to-end applied-edit evaluation directly addresses one of my main concerns: the submitted paper relied mostly on factorized diagnostics, whereas the rebuttal now reports complete program generation, parsing, and application with invalid programs kept in the denominator. This is a useful addition and should be included in the paper.

That said, the new results also show that CES is still quite early-stage as a practical editor. Exact target recovery remains low, the average similarity gain is very small, insertion remains a clear failure mode, and the CoEdit GEC result shows only a weak human-transfer signal. I appreciate the authors' candor on these points.

The stronger-baseline additions are helpful but still preliminary. The FIM/regeneration baselines appear affected by nontermination and decoding/setup issues, the Levenshtein-style comparison is only in a smaller 12-layer setting, and the more directly matched address ablation is still pending. Thus my concern about baseline completeness is mitigated but not fully resolved.

The uncertainty discussion is also useful, but the main headline systems still appear to have only one training seed. The bootstrap intervals quantify evaluation-example uncertainty, not training variability. I appreciate the planned checkpoint and artifact release.

Overall, the rebuttal substantially improves the paper and addresses the biggest evaluation gap, but the evidence still supports a feasibility study rather than a reliable editing system. I am more positive after the response, provided the authors incorporate the new results and appropriately narrow the claims.

Given the added end-to-end evidence and planned artifact release, I will increase the score. Nice Work!

Authors · CommentOpenReview ↗

Thank you for the follow-up and for updating your assessment. We agree that the submitted factorized diagnostics needed complete applied-edit evidence, and that the practical limitations should remain explicit.

Since your comment, all pending baseline and training-variability experiments have completed. We now have three paired model/data training seeds for eight methods at depths 12, 18, and 24: CES, AR-DSL, regeneration, oracle-span FIM, predicted-span FIM, the matched flat-relative address baseline, iterative Levenshtein, and pretrained-decoder-to-CES adaptation. The corrected regeneration and FIM pipelines now terminate reliably; iterative Levenshtein is depth-matched throughout; and the flat-relative comparison uses the same repaired loader and removes the CES localization head and dual position encoding.

The corrected results are informative rather than uniformly favorable to CES. Regeneration is stronger on depth-24 ERRANT and improvement rate, but remains aggressive and has strongly negative controlled direction. CES has lower GEC scores, but is the only evaluated neural method combining substantial changed coverage with positive controlled direction across all three depths. The arithmetic study provides a second protocol-matched comparison: moderate-corruption CES exactly recovers 11.45% of intended equations, versus 6.41% for AR-DSL, 5.69% for flat-relative, 7.64% for regeneration, and 7.06% for iterative Levenshtein. A separate 540-document continuation-likelihood study also shows that a supplied valid CES repair improves later clean-text prediction relative to both empty-program and non-correcting sham controls across every operation, span, and distance aggregate.

We will incorporate the complete applied-edit evaluation, three-seed variation, corrected baselines, operation-specific weaknesses, post-edit continuation evidence, systems costs, and artifact details into the revision. We will describe CES as a well-supported causal-edit feasibility result, while retaining reliable unrestricted editing and transfer to modern pretrained large language models as open problems.

Reviewer FDrmOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes a decoder-only editing framework (CSE) that serialize insert, delete, replace, copy, and move operations into an edit DSL. The method uses a lightweight source-position localization head, and adds dual-index RoPE to separate generation order from the source token location. The model is trained on random corruptions, GPT-5-mini-generated edit examples over ClimbMix, and mined copy examples.

Strengths and weaknesses

Strength

The core idea is novel and interesting -- keep the causal decoding while appending serialized stream to edit earlier content. The source-address head is an important design to make the decoding source-address aware, and the results show it improves in-source location validity compared with textualized coordinate prediction.

The paper also conducts sweep experiments and reports trade-offs on clean-LM degradation, position-head weight sensitivity, etc.

Weakness

  1. The empirical evidence is not yet strong enough to support broad claims about causal editing in decoder-only models are practically useful. The main experiments use relatively small models (18 layers at largest) and benchmarked on synthetic/GPT edit supervision. It is unclear whether the approach scales to other pretrained LMs, longer contexts, denser edits, or interactive editing.

  2. Rebuilding the KV cache for the modified prefix can become a computational overhead that reduce the inference advantages comparing to non-causal decoding workflows.

  3. The main human-edit evaluation is largely factorized: type, location, and payload are probed conditionally (and those metrics have not been adequately defined) rather than through full end-to-end edit decoding and application. This makes it hard to assess whether CES actually produces useful complete edits in realistic settings.

  4. The baseline comparisons are limited (AR and AR-DSL), no FIM style comparisons. Also, including a discussion with the methods used in modern coding agents will be beneficial for context.

  5. method names used in the figures (CAE) is not consistent with the names in the text (CES).

Questions

Q1. Does the method work when initialized from a pretrained decoder-only LM?

Q2. Can you provide other metrics other than the human-defined factorized score to quantify the gain of the localization head?

Limitations

yes

Final justification

The additional evidence provided during rebuttal strengthen the empirical evidence of CES as an effective editing framework over baselines, especially in the sparse-edit regime. Therefore I revised my rating from 3 to 4.

Formatting concerns

No formatting concerns.

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the thoughtful and helpful comments, particularly for distinguishing separately scored subproblems from complete editing and for asking directly about pretrained initialization, the localization head, and inference cost. We agree that the submitted experiments did not establish production-ready editing or scaling to modern pretrained language models, and we have addressed the end-to-end evidence gap while narrowing our claims accordingly.

End-to-end editing. We froze a 1,000-example benchmark balanced across insertion, deletion, replacement, movement, and mixed edits, with 1, 2, 4, or 8 repair operations. Causal Edit Serialization (CES) receives only the corrupted source and an edit-start token, freely generates the full program, and is scored after deterministic parsing and application. Invalid programs fall back to the unchanged source and remain in every denominator. A corrected 24-layer checkpoint is 83.4% valid, exactly recovers 3.3% of final targets, improves target similarity on 46.3% of all examples, and has mean character-similarity change +0.003742. Validity is 91.6%, 90.0%, 87.2%, and 64.8% for 1, 2, 4, and 8 operations. This is a complete applied-edit result, although low exact recovery and negative mean change on insertion examples (-0.0124) show that edit selection remains limited.

On human edits, we fine-tuned a small 12-layer NanoChat CES model on CoEdit grammatical error correction (GEC) data and froze the model, decoding policy, and scorer before a one-shot evaluation on 5,000 held-out examples. ERRANT, the ERRor ANnotation Toolkit for GEC evaluation, reports a precision-weighted F0.5 score of 0.06340 with a 95% example-bootstrap confidence interval of [0.05743, 0.06961]. Of the generated programs, 97.46% are structurally valid and 129 exactly match the reference; qualitative outputs include genuine grammatical and spelling corrections. Precision is 0.0767, and a single-reference token-distance diagnostic reports a 78.02% harm rate. That diagnostic can penalize acceptable alternatives, but the result still shows that this particular small model is not yet a reliable unrestricted editor. It does not determine how CES will behave at larger scales or with stronger training, and we will state that distinction clearly.

Q1: Can CES be initialized from a pretrained decoder-only language model? In response to your helpful comment, we have now completed a first empirical test. A standard 12-layer causal NanoChat model was trained on clean text, then imported into CES with all ordinary transformer tensors and shared vocabulary rows copied. The import is function-preserving: before adaptation, the shared-vocabulary logits are identical. CES control tokens and localization components are new; adaptation first emphasizes those components and then jointly updates the network. After 1,000 adaptation steps, or 32.8 million serialized tokens, it produces valid programs on 42.4% of the controlled benchmark [39.3%, 45.5%], but obtains 0% exact targets and mean character-similarity change -0.0558 [-0.0644, -0.0475]. Thus pretrained initialization is technically feasible, but this short adaptation recipe is not yet effective. It is not compute-matched to the much longer from-scratch training run, so we will not claim that pretraining helps or hurts overall.

Q2: What gain is attributable to the localization head? Varying the loss weight on the localization head while leaving the head present only tells us how sensitive training is to that weight; it cannot establish whether the head itself causes an improvement. The full weight grid has now completed for two independent model/data seed pairs, selecting 0.01 as the balance point between localization, valid editing, and clean language modeling; the third planned seed remains pending. The more direct comparison is the relative-position-token baseline mentioned in the question: it writes every address as an ordinary vocabulary token such as BACK_17, predicts addresses through the standard language-model head, uses a single set of rotary position embeddings (RoPE), and has neither the separate CES localization head nor dual sequence/address RoPE. We are training this baseline with the same repaired source-to-target loader, data mixture, schedule, and end-to-end evaluation as CES. An earlier relative-token run used a less closely matched row layout, so its zero-valid result is diagnostic but not a clean head ablation; we will report the new comparison only when it completes. A separate d18 CES dataset-source sweep over random-only, GPT-5-mini-only, and mixed data is also underway with three paired seeds per condition.

Fill-in-the-middle and inference cost. On the frozen controlled benchmark, a preliminary 24-layer oracle-span fill-in-the-middle (FIM) comparator emits its required end marker on 34.3% of examples, exactly recovers 0%, and has mean character-similarity change -0.1153. The observation is simply that most outputs did not terminate within the cap in this pilot; the cause may be the training balance, token design, adaptation budget, or decoding setup rather than the FIM objective itself. We therefore present it as a preliminary diagnostic rather than a definitive CES advantage.

We also measured key-value (KV) cache rebuilding on one NVIDIA RTX 5080 using a 12-layer CES checkpoint. Across 60 frozen source/edit pairs, rebuilding the complete edited prefix took a median 3.86 ms. Rebuild plus 32 resumed tokens took 113.53 ms, versus 109.40 ms for ordinary cached continuation: 1.037x, or 3.7% additional latency. Terminal editing needs no post-edit rebuild. Reusing cache entries before the first change was not faster overall for sources up to 1,024 tokens and became only slightly faster in the 513-to-1,024-token bucket. These timings exclude model loading, tokenization, cache allocation, edit-program generation, and deterministic edit application, which are measured separately.

CES also enables a distinct cache-preserving interactive workflow. A live human revision can be encoded as the same explicit edit program and appended to the existing causal stream. Because this only extends the sequence rather than rewriting past tokens, the existing KV cache remains valid and decoding can continue after edit-end while conditioning on both the source and the supplied revision. This differs from materializing the edited text as the model's sole prefix, which requires the rebuild measured above. We have not yet evaluated continuation quality after human-supplied edit programs, so we present this as an inference mode enabled by the representation rather than a completed empirical result.

Finally, editing is externally invoked in the current experiments by appending edit-start. The model then predicts the operation type, source addresses, payload, later operations, and edit-end; it does not decide autonomously when to enter edit mode. We will make this explicit in a main-paper algorithm and schematic and correct every CAE/CSE label to CES.

Reviewer FDrm · CommentOpenReview ↗

Thank you to the authors for the rebuttal and for providing additional evidence. The new experiments improve the paper’s clarity regarding CES’s feasibility and potential, particularly its end-to-end editing capability and the moderate KV-cache overhead in the tested setting. However, I still have concerns about its practical utility:

  • The end-to-end editing results are difficult to interpret without comparisons against stronger baselines, such as textualized edit prediction, regeneration, or FIM-based editing. In particular, the current results do not establish the advantage of CES for complete editing tasks.

  • The inference-cost measurements consider only a single edit, a relatively short continuation, and a 12-layer model. Larger models, longer contexts, multiple edit–resume cycles, and denser edits are needed to assess CES’s practical cost.

  • The FIM comparison remains inconclusive because most generations failed to terminate within the decoding budget. Concerns about baseline strength and scaling to modern pretrained language models also remain unresolved.

Overall, I view CES as a useful proof of concept, but its empirical evidence would need to be substantially stronger to establish clear practical advantages over existing editing approaches. I will therefore maintain my assessment.

Authors · CommentOpenReview ↗

Thank you for the follow-up. We agree that the preliminary results in our July 28 response did not establish a practical advantage over stronger baselines. Since that response, the baseline, FIM, scaling, and systems experiments have completed, so we would like to clarify which concerns the new evidence addresses and which remain open.

Complete-edit baselines. We now have a 72-run comparison: three training seeds at depths 12, 18, and 24 for eight methods. These include CES, textualized autoregressive edit programs (AR-DSL), regeneration, oracle-span and predicted-span fill-in-the-middle (FIM), matched flat-relative textual addressing without the CES localization head or dual position encoding, iterative Levenshtein editing, and ordinary-decoder-to-CES adaptation. Every applicable method is evaluated by generating and applying its complete output, with invalid outputs retained in the denominator, before and after CoEdit fine-tuning.

The depth-24 controlled-edit results expose a meaningful trade-off rather than an across-the-board CES win. CES obtains 90.5% +/- 1.9% valid programs and 5.27% +/- 0.45% exact final targets. Regeneration obtains 7.13% +/- 3.86% valid outputs and 0.20% +/- 0.10% exact targets; oracle-span FIM obtains 35.1% +/- 0.4% valid outputs and 0.10% exact targets; predicted-span FIM obtains 91.2% +/- 13.2% valid outputs but 0.03% +/- 0.06% exact targets. On human grammatical-error correction, regeneration has the strongest ERRANT F0.5 (0.0733 +/- 0.0235), versus 0.0155 +/- 0.0051 for CES, but it harms 53.9% of examples and has strongly negative controlled-edit direction. CES is the only evaluated trained neural method with both substantial changed coverage and positive controlled direction at every depth. We will therefore claim a useful CES quality/cost trade-off for sparse controlled editing, not universal superiority or production readiness.

We also added a 3,075-example executable arithmetic study involving multi-edit repair, verification, and held-out operand shifts. CES is 99.71% executable and exactly recovers 11.45%, compared with 5.69-7.64% for the matched learned baselines; it retains 8.49% exact recovery when all operands are held out. This provides a more complex out-of-distribution test than the original factorized diagnostics.

Corrected FIM evidence. We agreed that the original nonterminating FIM pilot was inconclusive and did not treat it as evidence of CES superiority. Both FIM variants have now been retrained over three seeds and three depths with corrected termination and evaluation. At depth 24 after CoEdit fine-tuning, oracle-span and predicted-span FIM produce valid outputs on 97.9% and 99.8% of examples, respectively. Their weak editing results therefore can no longer be attributed to nontermination. Predicted-span FIM is fully end to end: it predicts a span, reconstructs the FIM prompt, and generates the middle. Oracle-span FIM is explicitly labelled information-advantaged.

Context, latency, and memory. Beyond the original RTX 5080 cache-rebuild microbenchmark, we now compare CES and regeneration on NVIDIA H100 GPUs at depths 12, 18, and 24, using 250 paired controlled examples per seed and three seeds per depth. The depth-24 model has 24 layers, 1,536 hidden dimensions, 12 attention heads, and 1.389B parameters: twice the depth, width, and heads and 4.8x the parameters of depth 12; all models use a 2,048-token context. On CoEdit, regeneration uses 1.65x, 2.07x, and 2.03x the observed live context at the three depths. At depth 24 the mean live key-value cache is 9.35 MiB for CES and 18.22 MiB for regeneration; on the longer controlled benchmark, the budgeted caches are approximately 77.3 and 148.8 MiB. Regeneration's total controlled-generation time is 2.74x, 7.26x, and 5.59x that of CES, largely because some outputs reach its longer cap. At depth 24, median CES generation latency rises from 206 ms for one repair to 405 ms for eight repairs. We will clearly state that this is not a quality-matched speed comparison: regeneration is faster for short valid depth-12 outputs, while CES benefits when sparse programs avoid rewriting the complete target.

The controlled suite contains 1, 2, 4, and 8-operation programs, and separate arithmetic and natural-text continuation experiments verify that supplied CES repairs affect downstream predictions. Nevertheless, repeated edit-resume cycles, much longer source contexts, denser global rewrites, and adaptation of modern pretrained large language models remain untested. We agree these should remain explicit limitations. Our revised claim is that the completed evidence establishes CES as a scalable-to-depth-24 causal editing mechanism with a distinct sparse-edit Pareto point, not yet a generally reliable replacement for existing editing systems.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…