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

Researchers have identified a fundamental constraint in how large language models adapt to new data distributions through in-context learning. When faced with rare categories in structured datasets, LLMs hit a hard ceiling: they reproduce the categorical priors baked into pre-training and cannot update them with new examples, even as numerical accuracy improves. This failure mode, termed categorical prior lock-in, exposes a gap between ICL's theoretical flexibility and practical performance on tabular data. Parameter-efficient fine-tuning like LoRA sidesteps the problem, suggesting that true adaptation to out-of-distribution structured data may require weight updates rather than prompt-based approaches. The finding matters for practitioners deploying LLMs as conditional generators and signals that ICL alone is insufficient for production systems handling imbalanced or novel categorical distributions.
Modelwire context
ExplainerThe key distinction the summary gestures at but doesn't fully land: this isn't about LLMs being bad at tables generally, it's about the asymmetry between how ICL updates numerical versus categorical representations. Numerical priors can shift with examples; categorical priors appear to be frozen at the weight level, making the failure invisible until you hit a rare class.
This connects directly to the tension surfaced in the Chronos-2 coverage ('Time-Series Foundation Model Embeddings for Remaining Useful Life Estimation') from the same day, where frozen embeddings performed well precisely because the task stayed within the model's distributional comfort zone. Categorical prior lock-in is what happens when you push outside that zone and expect prompt-based adaptation to compensate. Both papers, read together, suggest a cleaner mental model: foundation models transfer well when the target distribution resembles pre-training, and degrade in specific, predictable ways when it doesn't. The LoRA finding here adds a practical corollary: the fix requires touching weights, which changes the deployment calculus significantly for teams that chose ICL specifically to avoid fine-tuning overhead.
Watch whether any tabular-focused benchmarks (TabPFN evaluations, for instance) begin reporting categorical rare-class accuracy separately from overall metrics in the next two quarters. If they do, this paper will have shifted how the field measures ICL progress on structured data.
This analysis is generated by Modelwire’s editorial layer from our archive and the summary above. It is not a substitute for the original reporting. How we write it.
MentionsLarge Language Models · In-Context Learning · LoRA · Tabular Data
Modelwire Editorial
This synthesis and analysis was prepared by the Modelwire editorial team. We use advanced language models to read, ground, and connect the day’s most significant AI developments, providing original strategic context that helps practitioners and leaders stay ahead of the frontier.
Modelwire summarizes, we don’t republish. The full content lives on arxiv.org. If you’re a publisher and want a different summarization policy for your work, see our takedown page.