Технології
🇺🇸 США
Constraint Decay: The Fragility of LLM Agents in Back End Code Generation
Computer Science > Software Engineering
arXiv:2605.06445 (cs)
[Submitted on 7 May 2026]
Title:Constraint Decay: The Fragility of LLM Agents in Backend Code Generation
Authors:Francesco Dente, Dario Satriani, Paolo Papotti View a PDF of the paper titled Constraint Decay: The Fragility of LLM Agents in Backend Code Generation, by Francesco Dente and 2 other authors
View PDF
HTML (experimental)
[v1] Thu, 7 May 2026 15:44:40 UTC (401 KB)
Full-text links:
view license
new | recent | 2026-05 Change to browse by: cs
cs.AI
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos
Demos
Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers
Recommenders and Search Tools
Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
About arXivLabs
arXivLabs: experimental projects with community collaborators
Abstract:Large Language Model (LLM) agents demonstrate strong performance in autonomous code generation under loose specifications. However, production-grade software requires strict adherence to structural constraints, such as architectural patterns, databases, and object-relational mappings. Existing benchmarks often overlook these non-functional requirements, rewarding functionally correct but structurally arbitrary solutions. We present a systematic study evaluating how well agents handle structural constraints in multi-file backend generation. By fixing a unified API contract across 80 greenfield generation tasks and 20 feature-implementation tasks spanning eight web frameworks, we isolate the effect of structural complexity using a dual evaluation with end-to-end behavioral tests and static verifiers. Our findings reveal a phenomenon of constraint decay: as structural requirements accumulate, agent performance exhibits a substantial decline. Capable configurations lose 30 points on average in assertion pass rates from baseline to fully specified tasks, while some weaker configurations approach zero. Framework sensitivity analysis exposes significant performance disparities: agents succeed in minimal, explicit frameworks (e.g., Flask) but perform substantially worse on average in convention-heavy environments (e.g., FastAPI, Django). Finally, error analysis identifies data-layer defects (e.g., incorrect query composition and ORM runtime violations) as the leading root causes. This work highlights that jointly satisfying functional and structural requirements remains a key open challenge for coding agents.
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2605.06445 [cs.SE] |
| (or arXiv:2605.06445v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2605.06445 Focus to learn more arXiv-issued DOI via DataCite |
Submission history
From: Paolo Papotti [view email][v1] Thu, 7 May 2026 15:44:40 UTC (401 KB)
Full-text links:
Access Paper:
-
View a PDF of the paper titled Constraint Decay: The Fragility of LLM Agents in Backend Code Generation, by Francesco Dente and 2 other authors
- View PDF
- HTML (experimental)
- TeX Source
Current browse context:
cs.SE < prev | next >new | recent | 2026-05 Change to browse by: cs
cs.AI
References & Citations
export BibTeX citation Loading...BibTeX formatted citation
× loading... Data provided by:Bookmark
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
Джерело
Читати оригінал
Поділитися
Схожі новини
Britain’s anxious young adults struggle with modern workplace demands, warns UK govt advisor
Times of India — World
·
The AI agent called, your smartphone is changing
India Today
·
Там є кілька військових баз і стоянок: Андрющенко повідомив деталі вибухів біля Маріуполя
Технології 24
·
"Гріємося на вулиці": українка розкрила несподівані мінуси іспанських квартир
Технології 24
·