In today's software architecture, large language models (LLMs) serve as software architecture co-pilots. However, no benchmark currently exists to evaluate large language models' actual understanding of cloud-native software architecture. For this reason we present a benchmark called CAKE, which consists of 188 expert-validated questions covering four cognitive levels of Bloom's revised taxonomy -- recall, analyze, design, and implement -- and five cloud-native topics. Evaluation is conducted on 22 model configurations (0.5B--70B parameters) across four LLM families, using three-run majority voting for multiple-choice questions (MCQs) and LLM-as-a-judge scoring for free-responses (FR). Based on this evaluation, four notable findings were identified. First, MCQ accuracy plateaus above 3B parameters, with the best model reaching 99.2%. Second, free-response scores scale steadily across all cognitive levels. Third, the two formats capture different facets of knowledge, as the MCQ accuracy approaches a ceiling while free-responses continue to differentiate models. Finally, reasoning augmentation (+think) improves free-response quality, while tool augmentation (+tool) degrades performance for small models. These results suggest that the evaluation format fundamentally shapes how we measure architectural knowledge in LLMs.
Figures & tables
Family Sizes Base +think +tool Total Qwen 0.5–30B 6 – – 6 Llama 1–70B 4 3 3 10 Mistral 3–14B 3 1 – 4 GPT 4o-Mini, 5-Mini 2 – – 2 Total 15 4 3 22
Count of configurations per family. Configurations consist of base (direct question answering), +think (structured reasoning with Chain-of-Thought), and +tool (agentic tool use enabled).
TABLE I: Evaluated Model Families and Configurations.
Fig. 1: Question distribution across five cloud-native topics and four cognitive levels. (A) Full Bench (188 evaluated questions; 12 implement-level MCQs excluded due to a formatting defect). (B) CAKE-Core subset (116 questions passing mean correctness ≥ 4.0 and clarity ≥ 4 filters, with no flags). Cell values show question counts; color intensity indicates density.
Fig. 2: Distribution of expert ratings across clarity, correctness, and difficulty accuracy. Violin plots show density; box overlays show median and IQR. High means (4.72, 4.63) with narrow spread confirm benchmark quality.
Model
Params
Cfg
MCQ
FR
Time
VRAM
(%) ↑
Overall ↑
(s) ↓
(GB)
Qwen
Qwen 2.5
0.5B
base
47.7
1.99
1.2
30.5
Qwen 2.5
1.5B
base
91.5
2.71
1.0
31.8
Qwen 2.5
3B
base
95.4
3.06
0.9
28.7
Qwen 2.5
7B
base
96.9
3.02
1.1
28.7
TABLE II: Performance and resources for all 22 configurations, grouped by family ( ↑ higher is better). GPT models show “—” for Params and VRAM as they run via OpenRouter.
Fig. 3: Free-response judge scores (0–5) for all 22 configurations, ranked per panel, (A) Analyze, (B) Design, (C) Implement and (D) Overall. Each panel shows one cognitive level; color indicates model family. Mistral models consistently rank highest among local models.
Fig. 4: Augmentation effects on MCQ and Free-response performance. (A) MCQ accuracy delta. (B) FR overall delta for +think and +tool variants relative to their base models. Color indicates model family, hatching indicates +tool.
Fig. 5: Full Bench vs. CAKE-Core MCQ accuracy for all 22 configurations. Darker bars show Full Bench; lighter bars show CAKE-Core. Delta values at bar ends indicate the accuracy change after quality filtering. Ranking order is largely preserved across model families.
Fig. 6: Free-response judge scores (0–5) vs. model parameters across cognitive levels. (A) Analyze, (B) Design, (C) Implement, and (D) Overall. Scores scale consistently with size for all families; GPT model baselines shown as dashed lines. Unlike MCQ (which saturates above 3B), free-response continues differentiating across the full parameter range.
Fig. 7: Per-topic performance across all 22 configurations. (A) MCQ accuracy (%) aggregated across recall, analyze, and design levels. (B) free-response judge scores (0–5) aggregated across analyze, design, and implement levels. Color intensity indicates performance; white separators mark family boundaries.
Fig. 8: Expert–model alignment analysis. (A) Expert difficulty ratings show no significant correlation with mean model accuracy across 22 configurations. (B) Questions flagged for ambiguity or typos show no accuracy difference from unflagged questions.
Large Language Models (LLMs) are increasingly used as assistants across the software development lifecycle, yet their ability to reason about software architecture remains largely unmeasured. Architectural decision-making depends on quality attribute trade-offs, design patterns, and system-level constraints, none of which are exercised by benchmarks that target syntactic or algorithmic tasks. We introduce SAKE (Software Architectural Knowledge Evaluation), a standardized and reproducible benchmark for assessing software architectural knowledge in LLMs. SAKE comprises 2154 expert-curated multiple-choice questions, each with four options, stratified across eight architectural categories and four context-length levels. We evaluate 11 proprietary and open-weight models in zero-shot and five-shot settings. Overall accuracy is high, but performance varies markedly across categories, revealing competency gaps in areas central to professional practice. SAKE, its evaluation scripts, and all results are released as open source to give the community a baseline for tracking architectural reasoning in LLMs.
Tiziano Santilli, Francesco Daghero, Mayhar Tourchi Moghaddam
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.
Kirill Vasilevski, Ximing Dong, Benjamin Rombaut +8
Justina · Centre for Software Excellence, Huawei Canada · School of Computing, Queen’s University, Canada +1
Top researchers have good intuition, but do language models have as good intuition about model training as top AI researchers? To measure model intuition of LLMs and humans, we introduce the ArchitectureIQ benchmark. Each question presents a synthetic dataset and several training recipes, and the test-taker is asked to predict the recipe yielding the best test metric. Overall, we find that LLMs' model intuition is good but has four limitations: (1) The intuition is imperfect, or even sub-human in some cases. Frontier models achieve around 76% accuracy (random choice 33%) vs best human researcher (66.0%), yet remain far from perfect. For architecture-only questions, best human achieves 65% while GPT-6 Astra only has 38%. (2) The intuition is empirical, not structured, supported by the fact that more CoT compute does not lead to substantial improvement. Unlike math, we still lack a "Science of AI" language that enables structured reasoning on AI. (3) The intuition is not maximally condensed, and can be further compressed into a knoledge base. Our constructed knowledge base with only 20 items yields large gains for weak models: GPT-4o equipped with the accumulated knowledge almost matches the performance of Claude Opus 5. (4) The intuition is insensitive to dataset properties, but the best model should in general depend on data properties. This suggests that data is the real "dark matter" in AI -- LLMs (so do human researchers) understand too little about data, even less than model architectures.
Zirui Ren, Shaoyang Guo, Chencheng Tang +9
MetaCircle (元环智能) · Tsinghua University · Peking University +4