Source-linked AI summary
What Else Needs Fixing? Exploring Cost-Effective Test-Time Compute for Revision Propagation in Artifacts Generated Through Conversation
Daisuke Kikuta
TL;DR
When a revision request names only a local change, LLMs must infer dependencies to update affected parts of conversationally generated artifacts; this paper introduces a benchmark and evaluates revision methods, finding that selecting among three parallel samples improves accuracy by 2.2–9.7% over a single inference.
Problem
For conversationally generated artifacts, revision requests may omit affected parts, requiring LLMs to infer dependencies and propagate changes; unlike prior settings, those dependencies may not be explicit or statically analyzable.
Source: §1 · p. 1Method
The paper introduces RevPropBench, a human-annotated benchmark for conversationally generated artifacts, and evaluates nine revision methods across six LLMs.
Source: §1 · p. 2Results
Takeaways & Limitations
The findings provide practical insight into improving revision reliability with test-time compute while balancing performance gains and inference cost in this setting.
Source: §6 · p. 7The findings concern conversationally generated artifacts whose dependencies are unavailable in advance and may be established by conversation, not repository-code, knowledge-editing, or document-editing settings.
Source: Limitations · p. 7
Abstract
from arXiv · showhide
Large Language Models (LLMs) often help users generate artifacts through iterative cycles of generation and revision in conversation. A challenge here is that, when users specify only a local change during revision, LLMs must instead identify the relevant dependencies and propagate the revision to all affected parts of the artifact. This paper studies this ability of LLMs on conversationally generated artifacts, where the artifact context and its dependencies may be embedded in the conversation history. Toward practical use, we also explore cost-effective test-time compute for this new setting. Specifically, we introduce a new benchmark for this setting, and evaluate nine revision methods, including sequential reflection and parallel sampling variants, using gpt-oss-20b/120b, gpt-5.4-mini, and qwen3.5-9b/27b/122b on the benchmark. The results show that baselines achieve accuracies of 68.3--93%, and the most cost-effective method is selecting from three parallel samples using either LLM-based or medoid selection, which improves accuracy by 2.2--9.7%. Our code and dataset are available at https://github.com/ntt-dkiku/llm-revision-propagation.
1 Introduction
In conversationally generated artifacts, revision requests may imply changes beyond the explicitly named element, and dependencies can be implicit in conversation history. This paper studies revision propagation in that setting and cost-effective test-time compute.
1 Introduction
- Unlike settings with explicit or statically analyzable dependencies, conversationally generated artifacts may rely on implicit dependencies established in surrounding conversation.Users may find it burdensome to specify every affected artifact part, leaving LLMs to identify dependencies and propagate edits to preserve consistency.Source: §1 · pp. 1–2
- RevPropBench contains 30 development and 120 test samples across nine domains, with artifacts of 10, 50, or 100 JSON elements.The paper evaluates nine revision methods with six LLMs, including sequential reflection and parallel sampling variants.Source: §1 · p. 2
- Single-inference accuracy ranges from 68.3–93% across models; selecting among three parallel samples by LLM-based or medoid selection improves accuracy by 2.2–9.7%.The authors identify either selection method as the most cost-effective test-time compute approach.Source: §1 · p. 2
- The authors release the benchmark instance and the data sampling and annotation tool for reproducibility and future extension.Source: §1 · p. 2
2 RevPropBench
RevPropBench evaluates whether an LLM can propagate a local revision request through a JSON artifact built in a prior conversation. It combines synthetic conversation histories, human-reviewed gold patches, and exact artifact-match evaluation.
2.1 Task definition
- The task is to revise a pre-generated JSON artifact from a local request, with success requiring patches to match gold paths and values exactly.The artifact is built incrementally during a generation phase; the evaluation task occurs in the subsequent revision phase and uses JSON patches (RFC 6902).Source: §2.1 · pp. 2–3
2.2 Synthetic data sampling
- Synthetic samples use LLM-assisted scenario design to cover diverse domains and propagation patterns while making gold patches deterministically definable.The scenarios guide generation of user–LLM conversation histories and local revision requests; conversation turns add artifact elements until a target count is reached or a maximum turn limit is met.Source: §2.2 · p. 3
2.3 LLM-assisted human annotation
- Gold patches are drafted by a strong LLM and reviewed or corrected by human annotators; free-form values use keyword matchers, and contextually optional edits may be left unchanged.A JSON patch is an ordered sequence of replace, add, or remove operations; optional elements count as errors only when edited with an incorrect value.Source: §2.3 · p. 3
2.4 Metrics
- Completion rate measures the proportion of samples whose patched artifact exactly matches the gold-patched artifact; failure analysis tracks misses, over edits, and wrong values.Misses are omitted necessary edits, over edits are unnecessary edits, and wrong values are incorrect values in necessary edits.Source: §2.4 · p. 3
2.5 Benchmark instance
- 50 scenarios across nine domains each yield three samples with 10-, 50-, and 100-element artifacts (150 total); propagated revisions rise with artifact size, while scenarios cover diverse patterns.The benchmark includes practical domains such as travel itineraries, invoices, course plans, data pipelines, and manufacturing BOMs.Source: §2.5 · pp. 3–4, Figure 3 · p. 3
3 Evaluation Settings
The evaluation compares nine single-pass and test-time-compute revision methods across six LLMs, using a scenario-level split with 120 test samples. Test-time compute includes iterative reflection and parallel sampling with rule-based or LLM-based selection.
Data split
- The test set contains 120 samples from 40 scenarios; the other 30 samples from 10 scenarios form a development split balanced by domain, propagation size, and pattern.All three size variants of each scenario stay in the same split, and reported metrics are computed on the test split.Source: §3 · p. 4
Evaluated revision methods
- The nine evaluated methods include single-pass baselines using J, H, or J+H context, plus REFLECT, which iteratively refines a J+H patch through reflection.REFLECT uses four reflection iterations, for five LLM calls total.Source: §3 · p. 4
- Parallel rule-based methods combine multiple J+H patches using OR, AND, or MAJ update rules, or MED, which selects the candidate with the lowest mean leaf-level disagreement (Wang et al., 2023; Eikema and Aziz, 2022).OR updates when any candidate changes a leaf, AND when all agree on a new value, and MAJ when a strict majority agrees; MED is a medoid-style selector.Source: §3 · p. 4
- SELECT generates parallel J+H patches and uses the same LLM to choose one as the final patch.It samples four outputs and uses the fifth call for selection.Source: §3 · p. 4
Evaluated LLMs
- The six evaluated LLMs are gpt-oss-20b/120b, gpt-5.4-mini, and qwen3.5-9b/27b/122b-a10b, with reasoning enabled for all and medium effort for GPT models (OpenAI et al., 2025; OpenAI, 2026; Qwen Team, 2026).Temperature is 0.6 where supported except for gpt-5.4-mini, and the maximum output context is 32K tokens.Source: §3 · p. 4
Hyperparameters
- Each sample is evaluated five times with seeds 0, 42, 84, 126, and 168; local models run in vLLM on four NVIDIA A100 80GB GPUs (Kwon et al., 2023).Parallel sampling uses five outputs per run, with seeds s through s + 4; LiteLLM caching ensures identical outputs for the same seed and input (BerriAI, 2023).Source: §3 · p. 4
4 Evaluation Results
Revision performance improves when models can use both conversation history and the final artifact, and selecting a whole candidate is generally more reliable than rule-based merging. Cost-effectiveness analysis recommends SELECT with four calls, or MED with three calls when latency matters.
4.1 Performance
- Across models, baselines rank J < H < J+H; strongest-baseline completion rates span 68.3–93.0%, and rates generally rise with model scale.For example, gpt-5.4-mini has 90.7% < 92.7% < 93.0%, while qwen3.5-122b has 81.7% < 86.7% < 90.3%. History supplies dependency context, while re-providing the final artifact helps avoid path errors and missed revisions.Source: §4.1 · pp. 4–5
- SELECT improves over J+H by +3.3–12.5%, ranking highest on four of six models and second-highest on the other two; MED improves by +1.8–7.7%.MED ranks highest on one model and second-highest on three. Figure 4 reports completion rates averaged over five runs.Source: Figure 4 · p. 5, §4.1 · p. 5
- AND falls well below J+H on every model (−13.2–21.3%); OR and MAJ are competitive with SELECT and MED on a few models but inconsistent across models (−0.8–+4.8%), while REFLECT yields small, consistent gains (+0.5–8.2%) but rarely matches SELECT or MED.Source: §4.1 · p. 5
- Misses account for most errors; MED reduces outlier over-edits, while SELECT’s selection reasoning targets the most complete candidate and reduces misses most.Figure 5 summarizes failure composition across methods; AND fails almost only by misses, whereas OR introduces many over-edits.Source: Figure 5 · p. 5, §4.1 · p. 5
4.2 Cost analysis
- Performance largely saturates around four to five calls; average cost-effectiveness is highest for SELECT with three or four calls or MED with three.This is a posthoc analysis across models using the full cost-performance curves.Source: Figure 6 · p. 6, §4.2 · p. 6
- At five calls, GPT methods have similar API costs across methods, but SELECT costs Qwen models 5.7–7.5× more than J+H, mainly from reasoning tokens.The cost comparison uses the rightmost solid markers in Figure 6.Source: §4.2 · p. 6, Figure 6 · p. 6
- After aligning methods’ costs by extending call counts, their relative performance ordering remains largely unchanged, so SELECT’s advantage is not merely due to higher cost.Figure 6 plots completion rate against API cost as call counts increase.Source: §4.2 · p. 6, Figure 6 · p. 6
- The practical cost-effective recommendation is SELECT with four calls; MED with three calls is a lower-latency alternative because it uses one parallel sampling stage.SELECT requires sequential sampling and selection stages, while MED offers competitive performance at lower latency.Source: §4.2 · p. 6
5 Related Work
Related work studies revision propagation using dependency sources such as repository graphs, knowledge graphs, and document structure; this paper instead addresses conversationally generated artifacts whose dependencies may be implicit in conversation, and investigates cost-effective test-time compute.
Revision Propagation
- Repository-level code editing propagates task-required edits across dependent repository parts, and extracted repository graphs have improved this process (Jimenez et al., 2024; Bairi et al., 2024; Du et al., 2025; Liu et al., 2024, 2025; Ouyang et al., 2025; Fehr et al., 2025; Tao et al., 2025).Source: §5 · p. 6
- Knowledge-editing work evaluates ripple effects across related facts, with ChainEdit (Dong et al., 2025) using knowledge-graph rules and LLM reasoning to propagate updates through logically connected facts.RippleEdits (Cohen et al., 2024) tests edited target facts and related facts that should change or remain unchanged.Source: §5 · p. 7
- Document-editing work tests whether dependent manuscript claims change while unrelated text remains intact, and LEDGER (Wang et al., 2026) uses document and inferred semantic dependencies to guide context retrieval.EditPropBench (Kruthof, 2026) evaluates factual edit propagation in scientific manuscripts.Source: §5 · p. 7
- Unlike prior settings with pre-existing dependency sources, this setting may lack dependency information in advance, with dependencies established implicitly during the conversation that generated the artifact.Those prior sources include repository graphs, knowledge graphs, document structure, and explicit references.Source: §5 · p. 7
JSON artifacts in LLM-based systems
- The paper uses JSON artifacts for practical utility and automated evaluation, unlike Duanis et al. (2025), who assess JSON patch modification without considering the conversation that generated the artifact.Its distinct objective is identifying cost-effective test-time compute methods for revision propagation.Source: §5 · p. 7
Test-time compute
- Test-time compute includes parallel self-consistency (Wang et al., 2023) and best-of-N (Cobbe et al., 2021), plus sequential Self-Refine (Madaan et al., 2023) and Reflexion (Shinn et al., 2023).The paper investigates whether these methods help in this setting and how sample counts trade off cost and performance.Source: §5 · p. 7
6 Conclusion
The paper introduces a benchmark for revision propagation across conversationally generated JSON artifacts and finds that selecting among three parallel samples offers a cost-effective way to improve accuracy.
6 Conclusion
- Selecting one of three parallel samples with LLM-based or medoid-based selection improves accuracy by 2.2–9.7% over a single inference and is the most cost-effective method.The paper frames this as a balance between performance gains and inference cost.Source: §6 · p. 7
- The paper introduces a benchmark for evaluating how well LLMs propagate revisions across JSON artifacts generated through conversation.Source: §6 · p. 7
Limitations
The work targets revision propagation when dependencies are unavailable in advance and may be established in conversation, but its synthetic, controlled benchmark does not capture all real-world ambiguity or patterns. Its model comparisons may also become harder as performance saturates, motivating continued benchmark updates.
Scope
- The study does not generalize to repository-level code editing, knowledge editing, or document editing, where dependencies are largely available in advance.It instead focuses on dependencies unavailable beforehand that may be established outside the artifact through conversation.Source: Limitations · p. 7
Gap from real-world conversations
- The benchmark’s synthetic conversations and deterministic dependencies exclude actual human–LLM interactions and ambiguous cases where people may disagree about joint revision.Scenarios approximate real-world use cases, but dependencies are controlled to enable reliable automatic evaluation.Source: Limitations · p. 8
Data coverage and potential biases
- The 150-sample benchmark spans nine domains, six propagation patterns, and three artifact sizes, but does not exhaustively cover possible patterns.GPT-5.5-generated conversations may be easier for GPT models; human-created scenarios using Claude-Opus-4.8 and meta-level instructions mitigate potential task overlap, and the authors do not use an LLM-as-a-judge.Source: Limitations · p. 8
Performance saturation
- 68.3%–93% completion rates across six representative models enable comparisons, but gpt-5.4-mini’s 93% rate raises concern that future model improvements may cause performance saturation.The authors provide a tool for benchmark construction, from sample generation to annotation, to support continuous difficulty updates as model capabilities improve.Source: Limitations · p. 8
Ethical Considerations
The benchmark is synthetic and raises no direct privacy concerns about personal information. The authors reviewed scenarios and generated samples for ethically problematic content and found none.
Ethical Considerations
- The synthetic benchmark raises no direct privacy concerns related to personal information.Source: Ethical Considerations · p. 8
- The authors reviewed scenarios during construction and scenarios and generated samples after data sampling, finding no ethically problematic content.Source: Ethical Considerations · p. 8
A Latency Analysis · B API Pricing
MED with three parallel samples is the most latency-efficient method on average across models, while API costs are calculated from per-token input and output prices. Latency multipliers vary by method and model, and their practical impact depends on deployment environment.
A Latency Analysis
- MED latency is determined by its slowest parallel sample and remains below 1.5× J+H latency as sample count increases.Its latency is only slightly higher than J+H.Source: A Latency Analysis · p. 10
- MED with k = 3 is the most latency-efficient method on average across all models.Its performance gain relative to the increase in latency supports the guidelines in Section 4.2.Source: A Latency Analysis · p. 10
- SE-LECT latency is around 2–3× for GPT models and 3.3–6× for Qwen models.The increased amount of reasoning raises latency for Qwen models.Source: A Latency Analysis · p. 10
- The practical responsiveness impact of test-time-compute latency multipliers depends on the deployment environment.The absolute latency of J+H also depends heavily on the deployment environment.Source: A Latency Analysis · p. 10
B API Pricing
- API cost is calculated as the input price times input-token count plus the output price times output-token count.Source: B API Pricing · p. 10
- Table 2 lists per-token prices for the cost analysis as of June 12, 2026, using OpenRouter prices for local models and official OpenAI pricing for gpt-5.4-mini.The prices are sourced from OpenRouter and OpenAI, respectively.Source: Table 2 · p. 10, B API Pricing · p. 10
C Details of Benchmark Construction · C.1 Scenarios
RevPropBench’s 50 scenarios span nine domains and six propagation patterns. They test whether models use dependencies expressed in conversation to propagate local revisions to related artifact entries.
C.1 Scenarios
- RevPropBench covers 50 scenarios across nine domains and six propagation patterns, with every pattern appearing in multiple domains.Table 3 gives a representative scenario for each pattern.Source: §C.1 · p. 10, Table 3 · p. 11
- In the trip-schedule example, changing the trip start date requires updating related activity dates, but the artifact alone does not determine which dates should shift.A user may want to keep some dates fixed, so the needed updates are not uniquely determined by the JSON artifact.Source: §C.1 · p. 10
- Conversation can make the dependency identifiable: describing an activity as occurring three days after the trip begins signals that it should move when the trip date changes.Figure 7 presents the example scenario and a corresponding generated sample.Source: §C.1 · p. 10, Figure 7 · p. 11
C.2 Annotation … F System Prompts
The sections describe how annotators construct and review gold patches, how candidate patches are merged, and how generation and evaluation prompts are applied. They also propose human review as a safeguard for critical revisions, while noting that the proposal has not been experimentally validated.
C.2 Annotation
- Annotators create gold patches from replace, add, or remove operations, labeling each as direct or dependency-driven cascade and specifying value-matching rules and optionality.The GUI displays the sample’s metadata, conversation history, and request; an expected-JSON preview lets annotators inspect the patched artifact.Source: §C.2 · p. 12
- One annotator spent more than 32 hours over 10 days reviewing 150 samples, revising 23 (15%): one request and 22 patches.Claude Code (Opus 4.8) generated tentative patches in batches by artifact size, and the annotator reviewed and revised each batch, consulting Claude Code when clarification was needed.Source: §C.2 · pp. 12–13
D Details of Merging Rules
- AND accepts a change only when all candidates agree, MAJ requires a strict majority, and OR adopts any proposed change, breaking conflicts by earliest sample.Candidates are compared as artifacts; leaf-level key–value pairs are merge units, while arrays are split by index only when the current artifact and all candidates have equal lengths.Source: D Details of Merging Rules · p. 13
- MED selects one candidate artifact with the lowest average pairwise disagreement across leaf-level merge units.A unit missing from one candidate counts as a mismatch; the disagreement is the fraction of mismatched units among those appearing in either artifact.Source: D Details of Merging Rules · p. 13
E Safeguards for Critical Revisions
- For critical revisions, the authors propose showing propagated edits for explicit user approval and suggest prioritizing review by criticality or user-designated items.These are conceptual safeguards, not experimentally validated proposals.Source: E Safeguards for Critical Revisions · p. 13
F System Prompts
- Data generation begins with system and first-turn prompts, appends each subsequent-turn prompt and generated turn to context, then adds a revision-instruction prompt.Curly-brace tokens are placeholders filled with specific values.Source: F System Prompts · p. 13, Figure 9 · p. 14, Figure 10 · p. 14
- Evaluation prompts generate JSON patches from the requested edit and, depending on the baseline, the current JSON, conversation, or both; SELECT chooses among parallel patches, while REFLECT iterates revisions.For REFLECT, the reflection prompt is appended after an initial inference and repeated for k −1 iterations.Source: F System Prompts · p. 13, Figure 13 · p. 16, Figure 14 · p. 16