TL;DR
Sloth (Skills Scaling Laws) is a new framework that predicts LLM performance across different model families and benchmarks by modeling underlying latent skills like reasoning and knowledge. It allows researchers to accurately forecast how a larger model will perform on multiple benchmarks using data from its smaller versions, even when training recipes differ significantly across families.
What Problem Does This Paper Address?
Standard scaling laws, like the famous Chinchilla laws, are excellent at predicting a model's final training loss based on compute. However, they often fail to predict performance on specific benchmarks (like MMLU or GSM8k) across different model families.
The core issue is that different families (e.g., LLaMA, Qwen, Mistral) have different "efficiencies." A 7B model from one family might vastly outperform a 7B from another because of superior data quality or specialized training recipes. Existing solutions either ignore these family-specific differences or require training multiple models of varying sizes for every new family to find a specific scaling law—an approach that is prohibitively expensive for most.
Methods
The authors propose Sloth, a novel class of scaling laws that assumes LLM performance is driven by a small set of low-dimensional latent skills (e.g., reasoning, knowledge, and instruction following).
- Latent Skill Modeling: Instead of modeling benchmark scores directly, Sloth models how underlying skills scale with model size ($s$) and training tokens ($t$). It uses a "translog production function" from economics, which includes an interaction term ($\log(s) \times \log(t)$) to capture how model capacity and data volume complement each other.
- Family Efficiency Intercepts: Each model family is assigned a unique "efficiency" parameter. This allows the model to "borrow strength" from all available leaderboard data while still accounting for the fact that some families are simply better at converting compute into skills.
- Factor Analysis Structure: The model uses a structure similar to factor analysis to map these latent skills back to benchmark scores. This makes the model highly parameter-efficient.
- Trainable Link Functions: Sloth can learn a specific activation function for each benchmark, allowing it to better capture performance saturation (the point where adding more compute yields diminishing returns on a specific task).
Datasets
The study utilizes a comprehensive dataset of 53 model families (including state-of-the-art families like LLaMA 3, Qwen 2, and Yi 1.5). These models were evaluated on 12 prominent benchmarks from the Open LLM Leaderboard (v1 and v2), including:
- Reasoning-heavy: GSM8k, MATH, GPQA, BBH.
- Knowledge-heavy: MMLU, ARC, HellaSwag.
- Instruction-following: IFEval.
Key Insights and Ideas
- Skill-Benchmark Mapping: Sloth automatically identifies which benchmarks test which skills. For instance, GSM8k and MATH are heavily tied to "Reasoning," while ARC and HellaSwag map to "Knowledge." Mapping benchmarks to latent skills
- Size vs. Data: Different skills scale differently. The authors found that "Reasoning" is primarily a function of model size, whereas "Knowledge" is highly sensitive to both model size and the number of training tokens. How size and tokens affect different skills
- The Impact of Instruction Tuning: Instruction tuning (IT) provides a massive, predictable boost to "Instruction Following" skills across all families. Interestingly, it has mixed or even slightly negative effects on raw "Reasoning" and "Knowledge" scores.
- Predicting Downstream Tasks: Because Sloth extracts abstract skills, it can predict a model's performance on entirely new downstream tasks (like HumanEval for coding) by first estimating the model's latent skills and then mapping those skills to the new task.
Key Results
- Superior Accuracy: Sloth consistently achieves lower Mean Absolute Error (MAE) compared to standard FLOPs-based scaling laws and PCA-based baselines. It can accurately predict the performance of a 70B model using only data from its smaller 7B or 8B siblings. MAE comparison across different scaling methods
- Parameter Efficiency: By leveraging shared structure across benchmarks, Sloth uses significantly fewer parameters than family-specific models without sacrificing predictive power.
- Optimal Resource Allocation: The framework can be used to derive "compute-optimal" rules for specific skills, helping practitioners decide whether to invest their next dollar of compute into a larger model or more training data.
Limitations and Future Work
- Family Data Requirement: The main limitation is that Sloth typically needs to see at least one model from a new family to estimate its specific efficiency intercept.
- Extrapolation Risks: While the model is robust for interpolation, there are no theoretical guarantees when extrapolating to models that are significantly larger or trained on radically different data than those in the training set.
- Interpretability Trade-offs: As the model incorporates more complex features like trainable link functions, the latent skills can become harder to uniquely identify and interpret without additional constraints.
Summary updated