LLMs fail at copying exact text spans from context, researchers find
Source published ·Modelwire updated
Original coverage: arXiv cs.CL ↗·How Modelwire adds context
The development
A new research effort exposes a critical weakness in current LLMs: the inability to reliably copy exact text spans from context, even when the target string is present. This matters because production systems like code generation depend on verbatim reproduction of sensitive values like API keys. The team benchmarked models across contracts, scientific papers, code, and synthetic sequences, confirming frequent failures in span fidelity and boundary control. They propose CopyGen, a lightweight plugin that constrains decoding to enforce exact copying without retraining frozen models. The work signals growing attention to grounding and faithfulness as core reliability metrics, not edge cases.
Modelwire’s AI-generated summary of coverage from arXiv cs.CL.
Modelwire analysis
ExplainerOur AI-generated reading of the wider context and the next developments to watch.
The paper isolates copying fidelity as a distinct failure mode separate from hallucination or reasoning. Most prior work treats span reproduction as a side effect of general language modeling; this work treats it as a decoding problem that can be solved without retraining, suggesting the issue is architectural rather than learned.
This connects directly to the reliability diagnostics published over the past week. The entity extraction paper from October 14th showed that confidence signals are broken even in flagship models, and the medical device compliance study from October 15th found that every tested deployment produced inconsistent outputs on identical queries. CopyGen addresses a narrower but related problem: not whether models know what to copy, but whether they can be constrained to do so reliably during generation. The context compression benchmark from October 19th also revealed that models lose critical information despite correct outputs, suggesting that fidelity failures run deeper than single-token mistakes. Together, these papers sketch a picture where production reliability requires post-hoc constraints and verification layers, not just better base models.
If CopyGen maintains exact span reproduction rates above 95% when tested on code generation tasks with real API keys and secrets (not synthetic sequences), and if at least one major code LLM provider integrates it into their inference pipeline within six months, the approach has crossed from research to operational necessity. If adoption stalls or accuracy drops below 90% on real-world contracts and code, it signals the problem requires deeper architectural changes.
This interpretation is generated from the summary above and the archive coverage cited below. Our methodology · Report an error
Coverage behind this analysis
These archive entries ground the connection in our analysis. They are ordered by source publication date, with links to our coverage and the original sources.
·arXiv cs.CL
LLM confidence signals fail across model tiers in extraction tasks
A preregistered evaluation of extraction reliability across LLM tiers reveals that confidence calibration remains severely broken even in flagship models. Testing DeepSeek-V4-Flash, GLM-5.3-Flash, and GPT-6.1-Sol on cyber threat intelligence extraction shows micro precision ranging from 0.03 to 0.34 and calibration error between 0.53 and 0.94. The finding matters because it exposes a fundamental gap: LLMs…
MentionsCopyGen · LLMs
How this coverage is produced
Modelwire uses AI to generate summaries and context from source headlines, snippets, and selected archive coverage. Automated checks do not verify every claim, and items are not routinely reviewed by a person before publication. Zacaria Solis operates the site. Read the linked source for the full evidence and report errors through our corrections process.
Modelwire summarizes, we don’t republish. arXiv cs.CL originally reported this story as “When Copying Is Hard: Copy-Constrained Decoding for Exact Span Reproduction”. The full content lives on arxiv.org. If you’re a publisher and want a different summarization policy for your work, see our takedown page.