SEAIJun 12

Beyond Correctness: Enhancing Architectural Reasoning in Code LLMs via Scalable Labeling with Agentic Judgment

arXiv:2606.1494814.4
Predicted impact top 24% in SE · last 90 daysOriginality Incremental advance
AI Analysis

For code LLM developers, this work provides a scalable method to improve architectural reasoning, achieving large gains on a standard benchmark.

LLMs struggle with architectural reasoning in software engineering, which is expensive to label and hard to test. The authors propose an agentic judging pipeline to generate training data, fine-tuning Qwen3 models to achieve up to 27.2% resolved rate on SWE-bench Verified, a 540% improvement over the base model.

LLMs have substantially improved software engineering yet real-world development requires architectural understanding. Such understanding is prohibitively expensive to label manually and impossible to verify through tests alone. We propose an agentic judging pipeline using a strong LLM as a scalable proxy for expert architectural evaluation, comprising two judges: the Architecture Complexity Judge (ACJ), which estimates codebase-specific architectural understanding a task demands, and the Architecture Quality Judge (AQJ), which evaluates patch conformance to repository-specific architectural conventions via source-grounded rubrics. Fine-tuning Qwen3-8B/14B/32B on 3,360 curated instances achieves resolved rates of up to 27.2% on SWE-bench Verified - up to 540% over the base model and 256% over unfiltered fine-tuning. Meanwhile, the trained models achieve strong cross-language generalization and consistent improvements in architectural patch quality.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes