Abstract
The rapid proliferation of Large Language Models (LLMs) has largely followed empirical scaling laws, yet the granular impact of specific architectural choices remains poorly understood. This paper presents a comprehensive analysis using the LLM-Structure-Performance-Dataset, mapping the configurations of over 160,000 models to their performance across diverse benchmarks. Through regression analysis and mechanistic interpretability techniques, we demonstrate that structural parameters like layer depth and feed-forward network (FFN) width serve distinct functional roles—depth driving reasoning and width governing knowledge. Our findings provide a quantitative framework for architectural optimization, highlighting a performance plateau in mid-sized models and the increasing efficiency of smaller, highly-optimized architectures.
Introduction: Beyond Scaling Laws
The AI community has long operated under the "bigger is better" paradigm, where increasing data and parameter counts are seen as the primary levers for performance. However, for a fixed parameter budget, the optimal distribution of those parameters—whether into deeper layers or wider hidden dimensions—remains a subject of qualitative hypothesis rather than data-driven certainty. There is a critical need for systematic research that quantifies how specific structural configurations, such as the number of attention heads or FFN size, impact performance across specialized domains like mathematics, coding, and factual recall. This study addresses this gap by analyzing a massive dataset of open-source model configurations and their corresponding benchmark results.
Methodology and Datasets
The researchers employed a three-pronged methodology to decode the LLM blueprint. First, they constructed the LLM-Structure-Performance-Dataset by aggregating configuration files and evaluation metrics for approximately 160,000 models from Hugging Face and the Open LLM Leaderboard. This dataset includes detailed performance metrics for 6,000 of these models across benchmarks such as ARC-Challenge, MMLU, and GSM8K.
Second, they utilized machine learning regression models—including Random Forest and Gradient Boosting—to predict benchmark scores from structural parameters. Random Forest proved particularly effective at identifying feature importance. Finally, they applied mechanistic interpretability techniques, such as layer pruning (ShortGPT) and gradient analysis, to validate the functional roles of different model components during fine-tuning and inference.
Key Insights: The Functional Division of Labor
The analysis revealed a clear functional division within LLM architectures. Layer depth emerged as the primary driver for reasoning-heavy tasks (e.g., ARC-C, HellaSwag), suggesting that deeper models facilitate the complex, non-linear transformations required for logical deduction. In contrast, FFN size ($d_{ffn}$) was the dominant factor for knowledge-intensive tasks (e.g., MMLU, GSM8K), supporting the hypothesis that FFNs function as the model's "key-value memory."
A notable trend is the rapid improvement in "size-to-performance" ratios. As shown in the performance evolution data, modern sub-10B models (like Yi-1.5-9B) are now achieving scores comparable to much larger models from previous generations, such as LLaMA-2-70B. Furthermore, the study identified a performance plateau in the 10B-20B parameter range, suggesting that models in this bracket are often less optimized than their smaller or larger counterparts. MMLU performance was identified as the most representative "North Star" metric for overall structural quality.
Results and Deployment Metrics
The predictive models demonstrated high accuracy, with the Random Forest model achieving an $R^2$ of 81% for MMLU and 75% for ARC-C, indicating that performance is highly predictable from structural data alone. Pruning experiments further validated these findings: removing middle layers (21-29) in a LLaMA-2-7B model caused reasoning scores to plummet while leaving knowledge-based scores relatively stable.
From a deployment perspective, the hidden dimension ($d_{model}$) was found to be the single most influential factor for memory usage ($R^2 = 88.36\%$), whereas decoding speed depends on a balance between $d_{model}$ and $d_{ffn}$.
Conclusion
While this study provides a robust data-driven roadmap for LLM design, it is limited by the scope of available benchmarks on the Open LLM Leaderboard. Future research should aim to bridge the gap between these benchmarks and real-world application performance. The ultimate goal is to move toward autonomous structural optimization, where AI systems can design task-specific architectures that maximize efficiency and performance based on these quantitative insights.
Summary updated