Mutable Transcripts: Mitigating Context Pollution through Editable Conversation State

Dan Barry, Andrew HinesNeurIPS 2026

TL;DR

Standard AI chat interfaces treat conversation history like wet cement: once a message is sent, it sets, and any corrections must simply be piled on top. This paper introduces mutable transcripts, an interaction paradigm that lets you rewrite past turns—both yours and the AI’s—using simple natural language instructions. By treating the chat log as a living, editable state rather than an append-only ledger, users can scrub away dead-end tangents and outdated assumptions, keeping long conversations sharp, accurate, and surprisingly compact.

What Problem Does This Paper Address?

Behind the scenes, most Large Language Model (LLM) chatbots have no true persistent memory. Every time you hit send, the entire JSON transcript of your conversation is bundled up and shipped back to the model from scratch.

Human intent, however, is messy and iterative. We make typos, change project constraints halfway through, or go down brief tangents. In standard "append-only" interfaces, fixing a mistake means sending a follow-up message ("Actually, make it Python, not Java"). Because the old Java discussion still sits in the transcript, it continues to whisper to the model's attention mechanism.

The authors call this context pollution: the buildup of stale, contradictory, or irrelevant information that degrades future responses. Today’s interfaces only let you edit your very last message or fork the chat into messy, parallel branches. If a long thread gets too polluted, our only real escape hatch is the nuclear option: opening a brand-new chat and starting from zero.

Methods

Instead of ditching the familiar chat layout for complex node-based editors, the authors add a simple toggle right above the prompt box: "Edit History" mode.

Figure 1: Interface design: (A) At any point in the conversation, the user can engage “Edit History” mode and enter a prompt to modify the chat history. (B) The UI refreshes and shows that previous conversational turns are updating. (C) The UI refreshes with the updated conversation constraint.

When toggled off, the prototype (called ReChat, powered by Gemini 2.5) acts like any normal chatbot. When toggled on, your prompt isn't treated as the next turn in the conversation; it acts as a meta-instruction $e$ applied to the entire transcript $T$ to generate a clean, rewritten transcript $T' = f(T, e)$.

Figure 2: System overview of mutable transcripts operation. In normal chat mode, user prompts are appended to an immutable JSON transcript. In edit mode, natural language edit instructions are applied to the full transcript, which is rewritten and replaced before being re-rendered in the chat interface.

Rather than forcing you to manually click and rewrite individual chat bubbles, the LLM handles the cascading updates across both user prompts and assistant replies. This unlocks three neat transcript-level operations:

  • Retroactive Correction: Fixing an earlier factual slip (e.g., "Sorry, I meant 2022, not 2021") and watching all downstream math and answers automatically update to match.
  • Context Pruning: Excising a distracting side-quest (e.g., "Remove the detour about climate change").
  • Constraint Injection: Retroactively weaving new rules throughout the entire history (e.g., "Assume no cloud services and strict WCAG AA compliance from the start").

Datasets

Not discussed in the paper. Rather than training models on existing static benchmarks, this human-computer interaction study evaluates its prototype through a live, controlled within-subjects user study ($n=17$, mostly researchers and software engineers) across three standardized task scenarios, paired with a structural token-level analysis of representative conversation transcripts.

Key Insights and Ideas

  • Chat logs are state, not court records: We instinctively treat chat transcripts as historical logs of what happened. Reframing them as an editable representation of current working state aligns the interface with how human-AI collaboration actually evolves.
  • Models aren't "forgetting"—they're overwhelmed by ghosts: When an LLM resurrects a constraint you canceled ten turns ago, it isn't suffering from amnesia; it's struggling to weigh competing instructions in an append-only soup. Deleting the ghost fixes the confusion at the root.
  • Current user workarounds are high-friction: Pre-study surveys showed 94.1% of participants currently fix errors by appending corrective follow-up messages, and 70.6% copy-paste-modify old prompts—actively feeding context pollution because existing UIs offer no clean alternative.

Key Results

Across all five evaluation metrics, participants significantly preferred mutable transcripts (Condition B) over standard chat (Condition A), with $p \le 0.004$ on every measure:

Figure 3: Condition A vs. B combined preference for five evaluation metrics: transcript cleanliness, state clarity, confidence, restart intent, and ease of use. The direction of the observed differences is consistent across both counterbalanced groups. The combined results show statistically significant preference for Condition B (mutable) vs. A across all questions, including a lower restart preference. Error bars represent 95% confidence intervals over participant-level mean responses
  • Higher Clarity & Confidence: Users rated mutable transcripts substantially higher for transcript cleanliness, clarity of active constraints, confidence in future responses, and ease of use.
  • Fewer Rage-Quits: Participants reported significantly lower restart intent—meaning they felt able to repair and continue an existing thread rather than abandoning it for a fresh session. Furthermore, 88.2% (15/17) said they would use an "Edit History" button in real-world chatbots.
  • Massive Token Diet: In a structural comparison of representative task transcripts (tokenized via tiktoken), mutable transcripts cut average conversation length in half (from 8 turns to 4) and slashed total token count by 59% (from 581 to 238 tokens). Meanwhile, standard append-only transcripts ended up with an average of 71% of their tokens consisting of obsolete, superseded information.

Limitations and Future Work

The authors are candid that this is an early feasibility study. First, the user group was small ($n=17$) and heavily skewed toward tech professionals (15/17), so broader testing in longer, open-ended conversations is needed.

Second, regenerating an entire JSON transcript on every edit gets slow and token-expensive as chats grow; future systems should use localized diffs or targeted updates instead. Finally, letting an AI rewrite history introduces real UX and safety wrinkles: natural language edits can accidentally delete useful details, force users to re-read past turns to verify what changed, complicate auditability in sensitive domains (like law or medicine), and potentially open new doors for prompt-injection attacks. Adding visual diffs, previews, and "undo" version histories will be essential next steps.

Summary updated

Abstract

Contemporary large language model (LLM) chat systems treat conversation history as an immutable sequence of turns that defines the model’s working context. However, user intent in real interactions is not static: it evolves through correction, refinement, and shifting constraints. This mismatch between dynamic intent and static transcripts can result in context pollution, where outdated or irrelevant information persists and continues to influence subsequent responses. We introduce mutable transcripts, a new interaction paradigm that enables users to revise prior turns through natural language edit requests, allowing the conversation history itself to be updated rather than appended. This reframes the transcript from a passive record into an editable representation of conversational state. We present a working prototype that integrates transcript-level revision into a standard chat interface and evaluate its feasibility through a controlled user study (n=17) and an illustrative transcript analysis of representative interaction scenarios. Participants significantly preferred mutable transcripts over standard chat across measures of clarity, confidence, and ease of use, with reduced intent to restart conversations. Transcript analysis of representative user study conversations shows that mutable transcripts can reduce conversation length and eliminate obsolete retained context. These findings provide initial evidence that user-driven revision of conversational history can improve interaction quality and help maintain a more current representation of user intent. The source code and prototype can be accessed at https://github.com/QxLabIreland/ReChat
BibTeX
@inproceedings{barry2026mutable,
  author = {Dan Barry and Andrew Hines},
  title = {{Mutable Transcripts: Mitigating Context Pollution through Editable Conversation State}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=MpRxjdY3Md},
}
Figure