cs.AINov 13, 2026

LECAT: Measuring LLM Category Learning from Pretraining Data

Authors: Jimin Mun, Maarten Sap, Yanai Elazar

Organizations: Carnegie Mellon University · Bar-Ilan University

Abstract

Humans know that airplanes are fast, that this extends to red airplanes, but that it does not hold for broken airplanes. How do LLMs acquire category knowledge that humans learn and apply effortlessly? We introduce LeCat, a two-part framework to analyze LLM's Learning of Category knowledge. First, we use LeCat to evaluate models on their ability to learn category knowledge, distinguishing between three cases: memorization of in-domain category knowledge, generalization to unseen instances, and ability to flexibly use knowledge in appropriate contexts. Then, we use LeCat to trace how this knowledge can be learned in pretraining from text that may encode category knowledge in various ways, such as verbatim repetition or exceptions, which we refer to as forms of "knowledge expression". We first assess open-source pretrained models using 199 curated category-feature pairs and analyze their training data. Our findings suggest that strengthening context and category-feature co-occurrence likelihood (PMI) improve learning for larger models and verbatim rule-like statements diminish flexible category learning. To systematically isolate these effects, we then train a 68M model from scratch with precise control over the categorical information each sees in their training data, confirming that verbatim repetition reduces flexible learning but mixture of diverse knowledge expressions lead to more robust category learning. Together, our findings highlight that while contextual flexibility is persistently difficult for models, how category knowledge is expressed in pretraining greatly impacts models' acquisition of robust category knowledge.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Categorical Prior Lock-in: Why In-Context Learning Fails for Structured Data

    Jun 10, 2026Antonio Pelusi, Stefano Braghin, Alberto TrombettaLLM Fine-TuningIn-Context Learning

  2. Latent Taxonomies: How Property Induction Develops in Language Model Pre-training

    Oct 11, 2026Jan Sobotka, Ekaterina Goliakova, Marcin Detyniecki +2Inductive Reasoning in Language ModelsInductive Inference

  3. Knowledge Acquisition During Pre-training? Large Language Models Learn Better With Auxiliary Views

    Sep 3, 2026Joseph Lee, Yidi Huang, Dokyoon Kim +2Language Model PretrainingData Augmentation