Capability Provenance in Language Models: A Case Study in Social Reasoning

Glenn Matlin, Chandreyi Chakraborty, Saehee Eom, Mika Okamoto, Rayan Castilla, Louis Jaburi, Alvin Deng, Taywon Min, Lucia Quirke, Stella Biderman, Mark Riedl

TL;DR

This paper introduces a framework for "capability provenance"—mapping specific skills in large language models (LLMs) back to the regions of the pretraining corpus that fostered them. By aggregating noisy document-level influence scores into a structured taxonomy, the authors demonstrate that social reasoning relies on qualitatively different data (like literature and customer support) than STEM reasoning, a finding they causally validate through targeted machine unlearning.

What Problem Does This Paper Address?

We know that LLMs are remarkably capable, but we have a poor understanding of where those capabilities come from. While training-data attribution (TDA) methods exist to identify which specific documents influence a model's output, document-level scores are often too noisy and granular to provide actionable insights for model auditing or dataset curation.

The authors address the challenge of identifying "functional regions" of a corpus. They want to know if we can move beyond individual documents to find broad categories of data—defined by topic and format—that support distinct capabilities like social commonsense versus scientific reasoning.

Methods

The researchers utilize the OLMo3-7B ecosystem because it is "fully open," meaning both the model weights and the exact pretraining data are public. Their pipeline consists of three main stages:

  1. Corpus Stratification: They use the WebOrganizer taxonomy to classify a 5.6M document sample of the Dolma3 corpus into 576 "bins" based on 24 topics (e.g., Social Life, Politics) and 24 formats (e.g., FAQ, Documentation).
  2. Training Data Attribution (TDA): They use TrackStar (a scalable gradient-based attribution method) to calculate how much each document influenced the model's performance on specific benchmarks. These scores are then aggregated into the 576 bins to create a "Bin-Level Influence Map."
  3. Causal Validation via Unlearning: To prove the influence isn't just a correlation, they perform "targeted unlearning" using the NGDiff framework. They essentially force the model to "forget" high-influence bins and measure if the corresponding capability degrades more than it does when forgetting random data.
The capability provenance pipeline: from corpus sampling to unlearning validation.

Datasets

  • Pretraining Corpus: Dolma3 (specifically a de-duplicated 6T token mix).
  • Evaluation Benchmarks: The authors use a $2 \times 2$ contrastive design to compare Domain (Social vs. STEM) and Capability (Reasoning vs. Knowledge).
  • Social Reasoning: SocialIQA
    • Social Knowledge: MMLU Social Sciences
    • STEM Reasoning: ARC-Challenge
    • STEM Knowledge: MMLU STEM
  • Held-out Probes: Additional tests for Theory of Mind (ToMBench), moral judgment, and social bias (BBQ).
Table 1: Contrastive benchmark design: domain (social vs. STEM) crossed with capability type (reasoning vs. knowledge). Cell tint follows the manuscript’s semantic benchmark palette; citations for the four benchmarks appear at first mention in the introduction.

Key Insights and Ideas

  • Social Reasoning is a "Provenance Outlier": While STEM reasoning, STEM knowledge, and Social Science knowledge all draw from similar data regions (mostly technical documentation), SocialIQA is unique. Its influence profile correlates very weakly ($r \le 0.21$) with the other three.
  • The Bimodal Signature of Social Skills: Social reasoning doesn't just come from "social" topics. It draws from a bimodal mix of interactional text (Customer Support, Q&A forums) and long-form narrative (Literature).
  • Reasoning vs. Knowledge: The contrast between Social and STEM is much sharper at the reasoning level than the knowledge level. This suggests that while facts might be scattered, the "logic" of social interaction is concentrated in specific types of interpersonal text.
  • Causal Necessity: The most striking "aha" moment is that forgetting "Literature" documents degrades SocialIQA accuracy by 17.5 percentage points more than forgetting random documents from the same topic. This confirms that TDA is identifying functionally necessary data, not just topical overlaps.

Key Results

The authors produced a "Bin-Level Influence Map" that highlights the stark differences in data reliance. For example, the bin for Literature × Customer Support showed an extreme positive influence (+16.0 z-score) for SocialIQA but was actually suppressive (negative influence) for the STEM benchmarks.

Figure 2: SocialIQA is the provenance-structure outlier, with a bin-level profile that cor- relates with each comparison benchmark at only r≤0.21 versus r = 0.76–0.86 among the three (Appendix D.1). A–B show marginal mean signed influence (z) over the 576-bin grid by format and topic on a shared z axis, rows sorted by the SocialIQA-minus-comparison contrast; Documentation drives the comparison benchmarks, whereas Customer Support and Literature are positive only for SocialIQA, which also leads Social Life by a wide margin. C gives seven topic–format cells ordered by the same contrast, spanning the range from SocialIQA-exclusive to comparison-exclusive support. Literature × Customer Support is extreme for SocialIQA (+16.0) yet negative for all three comparison benchmarks (−7.31, −1.92, −5.75), whereas Politics × Documentation inverts that pattern; colors are capped at |z| = 2.5, and asterisks mark cells at or beyond the cap. Full heatmaps in Figure 12.

Quantitatively, the unlearning experiments showed that influence-targeted document removal consistently outperformed random removal for SocialIQA across multiple topics, including Education & Jobs (+15.0 pp drop) and Sports & Fitness (+8.4 pp drop).

Limitations and Future Work

  • Model Scale: The study was limited to the 7B parameter model. It remains to be seen if these provenance signatures shift as models scale to hundreds of billions of parameters.
  • Taxonomy Constraints: The results are bound by the WebOrganizer taxonomy. While useful, these bins are classifier-defined and may not capture the full semantic nuance of the data.
  • Mechanism Discovery: While the paper identifies which regions matter, it doesn't yet explain the mechanism—i.e., exactly what linguistic patterns in a "Customer Support" document teach a model how to navigate a social narrative.
  • Future Directions: The authors suggest applying this pipeline to other open-data ecosystems and using these maps to intentionally "curate-in" or "curate-out" specific behaviors during pretraining.

Summary updated

BibTeX
@inproceedings{matlin2026capability,
  author = {Glenn Matlin and Chandreyi Chakraborty and Saehee Eom and Mika Okamoto and Rayan Castilla and Louis Jaburi and Alvin Deng and Taywon Min and Lucia Quirke and Stella Biderman and Mark Riedl},
  title = {{Capability Provenance in Language Models: A Case Study in Social Reasoning}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=GpVSCC8NDP},
}
Figure