TL;DR
When AI assistants compress English chat histories into foreign-language memory notes and delete the originals, target-language grammar can force the AI to guess unstated details—like turning "I was exhausted" into the masculine Spanish agotado. Later, the AI is trapped: trust the note and hallucinate a user's gender, or ignore it as routine grammar and forget facts the user actually stated. The authors solve this provenance loss without any model training using a simple slash-notation convention (agotado/a) backed by a clever probability check right before the original message is deleted.
What Problem Does This Paper Address?
Long-running conversational agents don't have infinite memory. To keep context lengths bounded, they routinely summarize older messages into compact notes and evict the raw transcripts—a process called context compaction.
In global workflows like customer support, this compaction often crosses languages: an English message from "Taylor Lin" is distilled into a Spanish or Mandarin note for regional staff or local tools. Here, linguistics lays a trap. Languages vary in what their grammar forces you to specify. Spanish adjectives require gender (agotado vs. agotada); Mandarin kinship terms require lineage and relative age (waipo vs. nainai for maternal vs. paternal grandmother; gege vs. didi for older vs. younger brother).
Once the English source is evicted, provenance—knowing where a piece of information came from—vanishes. Whether Taylor Lin wrote "I was exhausted" or "I was exhausted – Taylor Lin (he/him)", the Spanish note reads Taylor Lin estaba agotado. Any downstream AI reading that note faces an impossible trade-off:
- Take it literally and assert an unstated attribute (a false positive, leaking assumed pronouns into downstream emails).
- Discount it as routine grammar and answer "not stated," erasing a real user-supplied fact (a false negative).
Methods
Instead of training models or forcing rigid database schemas onto free-text notes, the authors introduce a two-part, training-free pipeline across writing, pre-eviction verification, and reading:
- Coupled Write–Read Convention (Method 1): At Turn 1, the note-writer is prompted (with six word-level examples) to map explicitly stated attributes to single forms (agotada, gege) and unstated ones to paired forms (agotado/a, gege/didi). At Turn 2, a matching reader prompt tells the model to treat paired forms as open/unstated (using singular they or abstaining) and single forms as verified user facts.
- Compaction Likelihood Check (Method 2): Smaller or third-party models sometimes ignore the writer rule and output a single form (agotada) anyway. Right before the raw English message $S_i$ is evicted, a verifier catches these slips. Rather than generating tokens, it runs four fast forward passes to compute a log-likelihood ratio ($\bar{\Delta}$). It compares how much the message body boosts the probability of the written note ($Z_i$) versus a form-swapped opposite note ($Z_{i,\text{opp}}$, e.g., agotado), relative to a redacted message ($S_\emptyset$) containing only the sender's name and ticket ID. Subtracting the redacted baseline cancels out name priors and word-frequency biases. If the message body doesn't favor the written form by at least $e \approx 2.7\times$ per span ($\bar{\Delta} < 1.0$), string replacement rewrites it into a paired form (agotado/a) before eviction.
Datasets
Because existing ambiguity benchmarks keep the source text visible and memory benchmarks stick to English, the authors built a new 300-pair synthetic benchmark from scratch:
- Languages & Probes: Five target languages across three binary contrasts (100 minimal pairs each): Romance predicate gender (Spanish, French, Italian, Portuguese), Mandarin sibling age, and Mandarin kinship lineage.
- Structure: Realistic 17–35 word English support/scheduling messages with unisex names. Each unstated message has an exact "stated" twin adding a pronoun tag or modifier (older/younger, maternal/paternal).
- Additional Probes: An 80-item Japanese honorifics set (where seniority marking is grammatically optional) and a 25-pair held-out Mandarin paternal uncle set to test generalization.
Key Insights and Ideas
- Cautious big models forget the most: When reading default notes, larger models (like
Gemma-4-31B) recognize that target-language inflections might just be grammatical defaults. To avoid hallucinating, they over-correct and abstain—causing recall of genuinely stated user facts to plummet. - Grammar predicts vulnerability: Bias only emerges when target grammar forces a choice. In the Japanese probe, where seniority honorifics are optional, post-eviction probability shifts stayed below 3 percentage points on every model.
- Ambiguous fallbacks can hide stated facts: For Mandarin lineage, default writers avoided guessing on unstated inputs by using generic terms (zumu for grandmother), which sounds safe—except they also used zumu for 132 out of 180 explicitly stated paternal relatives, burying stated facts where readers couldn't recover them.
- Half a convention is worse than none: Prompting a writer simply to "use paired forms for ambiguity" without explicit examples for stated inputs causes models to slap paired forms onto everything, tanking recall even further.
Key Results
Evaluated across five open-weight models (Qwen3.5-4B/9B/27B and Gemma-4-12B/31B) on Question Answering (QA) and 3-sentence Agent Handover (HO) emails:
- Audit of Default Eviction: Evicting the English source slashes pooled QA recall of stated attributes from 90.0% to 34.2%. In free-text handovers (where models can't click "not stated"), recall drops to 23.6% while precision falls to 62.1% due to leaked pronoun assumptions.
- Repair Gains: Under two-turn eviction, the full method boosts F1 on every model—by 9 to 53 points in QA (e.g.,
Gemma-4-31Bjumps from 38.2% to 91.5% F1) and 12 to 40 points in handovers. - Verification Safeguards Small Writers: Models $\ge$9B follow the writer rule well on their own, so Method 1 drives almost all their gains. However,
Qwen3.5-4Bstill leaves 53.7% of unstated notes in single-form; Method 2's likelihood check cuts this error rate down to 20.7%, lifting QA precision by 6.9 points. - Deep Compression & Low Overhead: Across six multi-turn and retrieval settings, improvements are largest in deep compression (6-turn long-chat QA-F1 jumps from near 0% to 34–90%). Latency overhead on an H100 GPU is minimal: +13 ms per note for the convention, and 91 ms per verified note run asynchronously at eviction.
Limitations and Future Work
The benchmark relies on synthetic scenarios with explicit attribute cues (like pronoun tags) rather than subtly implied context, and covers only three grammatical categories across two open-weight model families up to 31B parameters. Additionally, paired forms like agotado/a are inherently binary; while singular they is scored as accurate for unstated inputs, how to cleanly encode explicitly stated non-binary identities in gendered target languages remains an open design question. Future work aims to extend provenance tracking to implied attributes, broader language typologies, and larger proprietary models.
Summary updated