NanoKnow: How to Know What Your Language Model Knows
Not on the map. Why?
Abstract (arXiv)
How do large language models (LLMs) know what they know? Answering this question has been difficult because pre-training data is often a "black box" - unknown or inaccessible. The recent release of nanochat - a family of small LLMs with fully open pre-training data - addresses this as it provides a transparent view into where a model's parametric knowledge comes from. Towards the goal of understanding how knowledge is encoded by LLMs, we release NanoKnow, a benchmark dataset that partitions questions from Natural Questions and SQuAD into splits based on whether their answers are present in nanochat's pre-training corpus. Using these splits, we can now properly disentangle the sources of knowledge that LLMs rely on when producing an output. To demonstrate NanoKnow's utility, we conduct experiments using eight nanochat checkpoints. Our findings show: (1) closed-book accuracy is strongly influenced by answer frequency in the pre-training data, (2) providing external evidence can mitigate this frequency dependence, (3) even with external evidence, models are more accurate when answers were seen during pre-training, demonstrating that parametric and external knowledge are complementary, and (4) non-relevant information is harmful, with accuracy decreasing based on both the position and the number of non-relevant contexts. We release all NanoKnow artifacts at https://github.com/castorini/NanoKnow.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 16 of its 30 references that are in the map. First posted on arXiv 23 Feb 2026.
Builds on
16 of 30 references.
References · 16
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2019How Can We Know What Language Models Know?cited by 953
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
- 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 333
- 2024The Power of Noise: Redefining Retrieval for RAG Systemscited by 275
- 2024Knowledge Conflicts for LLMs: A Surveycited by 274
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
4 more
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2025OLMoTrace: Tracing Language Model Outputs Back to Trillions of Training Tokenscited by 27
- 2024Deciphering the Interplay of Parametric and Non-parametric Memory in Retrieval-augmented Language Modelscited by 10
- 2025Enhancing Training Data Attribution with Representational Optimizationcited by 8
Built on by
Citing papers per year: 2026: 2.
2 papers.