mlsanityData to 14 Oct 2026

Rethinking Autonomy: Preventing Failures in AI-Driven Software Engineering

arXiv 2508.11824 ↗First posted 15 Aug 2025cs.SE cs.AI cs.CRcited by 4

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

The integration of Large Language Models (LLMs) into software engineering has revolutionized code generation, enabling unprecedented productivity through promptware and autonomous AI agents. However, this transformation introduces significant risks, including insecure code generation, hallucinated outputs, irreversible actions, and a lack of transparency and accountability. Incidents like the Replit database deletion underscore the urgent need for robust safety and governance mechanisms. This paper comprehensively analyzes the inherent challenges of LLM-assisted code generation, such as vulnerability inheritance, overtrust, misinterpretation, and the absence of standardized validation and rollback protocols. To address these, we propose the SAFE-AI Framework, a holistic approach emphasizing Safety, Auditability, Feedback, and Explainability. The framework integrates guardrails, sandboxing, runtime verification, risk-aware logging, human-in-the-loop systems, and explainable AI techniques to mitigate risks while fostering trust and compliance. We introduce a novel taxonomy of AI behaviors categorizing suggestive, generative, autonomous, and destructive actions to guide risk assessment and oversight. Additionally, we identify open problems, including the lack of standardized benchmarks for code specific hallucinations and autonomy levels, and propose future research directions for hybrid verification, semantic guardrails, and proactive governance tools. Through detailed comparisons of autonomy control, prompt engineering, explainability, and governance frameworks, this paper provides a roadmap for responsible AI integration in software engineering, aligning with emerging regulations like the EU AI Act and Canada's AIDA to ensure safe, transparent, and accountable AI-driven development.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 17 of its 49 references that are in the map. First posted on arXiv 15 Aug 2025.

Builds on

17 of 49 references.

References · 17

  1. 2024SpecRover: Code Intent Extraction via LLMscited by 72
  2. 2024LLMs Meet Library Evolution: Evaluating Deprecated API Usage in LLM-based Code Completioncited by 32
  3. 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++cited by 16
  4. 2024Model Editing for LLMs4Code: How Far are We?cited by 10
  5. 2024An Empirical Study on Developers Shared Conversations with ChatGPT in GitHub Pull Requests and Issuescited by 9
  6. 2025Faster Configuration Performance Bug Testing with Neural Dual-level Prioritizationcited by 9
  7. 2024Understanding the Effectiveness of Coverage Criteria for Large Language Models: A Special Angle from Jailbreak Attackscited by 8
  8. 2025Knowledge-Enhanced Program Repair for Data Science Codecited by 6
  9. 2025TRACE: Transparent Web Reliability Assessment with Contextual Explanationscited by 5
  10. 2024Diversity Drives Fairness: Ensemble of Higher Order Mutants for Intersectional Fairness of Machine Learning Softwarecited by 3
  11. 2025FairSense: Long-Term Fairness Analysis of ML-Enabled Systemscited by 3
  12. 2023SparseCoder: Advancing Source Code Analysis with Sparse Attention and Learned Token Pruningcited by 2
5 more
  1. 2024Diversity's Double-Edged Sword: Analyzing Race's Effect on Remote Pair Programming Interactionscited by 1
  2. 2024Software Model Evolution with Large Language Models: Experiments on Simulated, Public, and Industrial Datasetscited by 1
  3. 2024Investigating the Impact of Interpersonal Challenges on Feeling Welcome in OSScited by 1
  4. 2024User Personas Improve Social Sustainability by Encouraging Software Developers to Deprioritize Antisocial Featurescited by 1
  5. 2025Towards More Trustworthy Deep Code Models by Enabling Out-of-Distribution Detectioncited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Concept-Guided LLM Agents for Human-AI Safety Codesign
  2. 2025How Safe Are AI-Generated Patches? A Large-scale Study on Security Risks in LLM and Agentic Automated Program Repair on SWE-bench
  3. 2026Taxonomy-Driven Analysis of Open-Source AI Risk Mitigation Tools
  4. 2026Towards Verifiably Safe Tool Use for LLM Agents
  5. 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistants
  6. 2026A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agents
  7. 2026STELP: Secure Transpilation and Execution of LLM-Generated Programs
  8. 2025Application Modernization with LLMs: Addressing Core Challenges in Reliability, Security, and Quality