Discovering Hierarchical Latent Capabilities of Language Models via Causal Representation Learning

Jikai Jin, Vasilis Syrgkanis, Sham Kakade, Hanlin Zhang

TL;DR

Evaluating large language models (LLMs) is notoriously difficult due to hidden dependencies between different skills and the confounding effects of their base architectures. This paper introduces a causal representation learning framework called Hierarchical Component Analysis (HCA) to disentangle these latent capabilities. By analyzing thousands of models on the Open LLM Leaderboard, the authors uncover a clear, three-node hierarchical causal chain: foundational general capability drives instruction-following proficiency, which in turn unlocks advanced mathematical reasoning.

What Problem Does This Paper Address?

When a fine-tuned language model performs exceptionally well on a math benchmark, is it because the fine-tuning taught it math, or did it simply improve its ability to follow precise formatting instructions? Standard evaluation methods struggle to answer this because model capabilities are deeply intertwined, and the underlying base model acts as a massive "confounder."

Training models from scratch to isolate these variables is computationally prohibitive. Meanwhile, unstructured dimensionality reduction techniques like Principal Component Analysis (PCA) show that benchmark performances are low-rank, but they apply a "one-size-fits-all" lens that ignores the unique heterogeneity across different model families. This paper aims to rigorously map the causal pathways of skill development in LLMs without requiring expensive retraining.

Figure 2: PCA analysis showing low-rank structure and domain hetero- geneity in leaderboard data.

Methods

The authors formalize the problem using Pearl's structural causal model (SCM) framework and draw from multi-domain causal representation learning (CRL). They introduce Hierarchical Component Analysis (HCA), a novel algorithm designed to recover hierarchical latent capabilities while being robust to real-world "inexact" causal structures (where independent source variables might still be slightly entangled).

HCA operates in three main steps:

  1. ICA-based Unmixing: Independent Component Analysis is applied separately to each base model domain to map observed benchmark scores back to independent source variables.
  2. Row-Residual Extraction: The algorithm computes residuals by projecting rows of the unmixing matrices to determine if a valid hierarchical decomposition exists.
  3. Permutation Alignment: Since ICA identifies sources up to an arbitrary permutation, HCA searches across permutations to minimize the Maximum Inexactness Coefficient (MIC), finding the best-fitting shared hierarchical structure across different base model families.

Datasets

The study leverages data from the Open LLM Leaderboard (both v1 and v2), analyzing a subset of 3,360 language models with verified base architectures. Evaluation benchmarks include:

  • MMLU / MMLU-Pro (Massive Multitask Language Understanding)
  • BBH (BIG-Bench-Hard)
  • IFEval (Instruction Following Evaluation)
  • MATH Lvl 5 (Advanced Mathematical Reasoning)
  • GPQA (Graduate-Level Google-Proof Q&A Benchmark)
  • MUSR (Multistep Soft Reasoning)

Key Insights and Ideas

  • The Base Model is a Confounder: Models fine-tuned on more powerful base architectures perform uniformly better across all tasks. Evaluating post-training methods without strictly controlling for the base model family leads to misleading statistical conclusions.
  • A Clear Causal Hierarchy: The authors discover a robust directional pipeline: Foundational General Capability $\rightarrow$ Instruction Following $\rightarrow$ Advanced Mathematical Reasoning.
Figure 1: Example of a Hierarchical model of capa- bilities influencing benchmark performance (top) and hypothesized mechanism (bottom).
  • Why Math Depends on Instruction Following: The causal link suggests that solving complex math problems heavily relies on a model's ability to adhere to precise formatting and logical sequencing constraints—skills directly honed by instruction tuning.
  • Pre-training vs. Post-training Roles: Foundational general capability strongly correlates with pre-training compute (following a strict sigmoid scaling law) and is barely nudged by fine-tuning. Conversely, instruction-following is highly malleable via post-training interventions and less dependent on raw model scale.

Key Results

  • Applying HCA to models derived from Llama-3-8B, Llama-3.1-8B, Qwen2.5-7B, and Qwen2.5-14B yielded a highly optimized three-node causal graph with a minimal Maximum Inexactness Coefficient (MIC) of just 0.04, indicating an exceptionally clean fit.
  • Ordinary Least Squares (OLS) regression confirmed that the recovered latent factors align nearly perfectly with specific benchmarks: the first factor achieves an $R^2$ of 0.94 with BBH, the second achieves an $R^2$ of 0.90 with IFEval, and the third achieves a perfect $R^2$ of 1.00 with MATH Lvl 5.
  • Local matrix completion utilizing these discovered base-model clusters significantly outperformed global matrix completion methods when imputing missing leaderboard data, drastically reducing reconstruction errors (RMSE).

Limitations and Future Work

  • Linearity Constraints: The framework assumes a linear relationship between latent factors and observed benchmark performances, which may oversimplify complex, non-linear model behaviors.
  • Graph Rigidity: The current model assumes a strict chain-like causal relationship between every pair of latent factors, which might not capture more complex graph topologies (e.g., two independent skills jointly causing a third).
  • Base Model Sensitivity: Not all model families perfectly fit the same causal structure; for instance, Qwen2-7B deviated slightly from the shared pattern of the other Llama and Qwen2.5 variants, suggesting that different pre-training recipes can alter downstream capability hierarchies.

Summary updated

BibTeX
@inproceedings{jin2026discovering,
  author = {Jikai Jin and Vasilis Syrgkanis and Sham Kakade and Hanlin Zhang},
  title = {{Discovering Hierarchical Latent Capabilities of Language Models via Causal Representation Learning}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=DLY5xHswjA},
}
Figure