2605.02741v1 May 04, 2026 cs.SE

AI 생성 냄새: LLM 및 에이전트 기반 개발에서의 코드 및 아키텍처 분석

AI-Generated Smells: An Analysis of Code and Architecture in LLM and Agent-Driven Development

Nikolaos Tsantalis
Nikolaos Tsantalis
Citations: 4,395
h-index: 30
Peter C. Rigby
Peter C. Rigby
Citations: 117
h-index: 6
Yuecai Zhu
Yuecai Zhu
Citations: 31
h-index: 2

대규모 언어 모델(LLM)이 자동화된 소프트웨어 엔지니어링 분야에서 보여주는 가능성은 종종 기능적 정확성으로 측정되지만, 장기적인 유지 보수성이라는 중요한 측면은 간과됩니다. 본 논문에서는 AI가 생성한 소프트웨어의 기술 부채에 대한 체계적인 분석을 제시하며, AI가 결함을 제거하는 것이 아니라 독특한 기계적 결함의 패턴을 도입한다는 것을 밝힙니다. 단일 파일 수준의 알고리즘 작업부터 복잡한 에이전트가 생성한 시스템에 이르기까지 다양한 규모의 분석을 통해, 모델의 능력이 향상될수록 점점 더 부풀어지고 결합된 코드가 생성되는 근본적인 추론-복잡성 절충 관계를 확인했습니다. 이러한 아키텍처의 붕괴는 매우 심각하여, 코드의 양이 구조적 저하를 거의 완벽하게 예측하는 '부피-품질 역관계'를 확립했습니다. 중요한 점은, 기능적 정확성이나 상세한 프롬프트가 이러한 붕괴를 완화하지 못한다는 것을 보여줍니다. 이러한 결과는 현재의 프롬프트 기반 생성 패러다임을 도전하며, AI 기반 소프트웨어 엔지니어링의 핵심 문제를 코드 생성에서 아키텍처 복잡성 관리로 재구성합니다. 우리는 향후 발전이 에이전트에게 명시적인 아키텍처 예측 능력을 부여하여, 에이전트가 구축하는 소프트웨어가 단순히 기능적으로만 작동하는 것이 아니라 유지 관리 가능하도록 하는 데 달려 있다고 결론 내립니다.

Original Abstract

The promise of Large Language Models in automated software engineering is often measured by functional correctness, overlooking the critical issue of long term maintainability. This paper presents a systematic audit of technical debt in AI-generated software, revealing that AI does not eliminate flaws but rather introduces a distinct machine signature of defects. Our multi-scale analysis, spanning single-file algorithmic tasks and complex, agent generated systems, identifies a fundamental Reasoning-Complexity Trade-off: as models become more capable, they generate increasingly bloated and coupled code. This architectural decay is so pronounced that we establish a Volume-Quality Inverse Law, where code volume is a near perfect predictor of structural degradation. Crucially, we demonstrate that neither functional correctness nor detailed prompting mitigates this decay. These findings challenge the current paradigm of prompt-driven generation, reframing the central problem of AI-based software engineering from one of code generation to one of architectural complexity management. We conclude that future progress depends on equipping agents with explicit architectural foresight to ensure the software they build is not just functional, but also maintainable.

0 Citations
0 Influential
15 Altmetric
75.0 Score
Original PDF

No Analysis Report Yet

This paper hasn't been analyzed by Gemini yet.

Log in to request an AI analysis.

댓글

댓글을 작성하려면 로그인하세요.

아직 댓글이 없습니다. 첫 번째 댓글을 남겨보세요!