mlsanityData to 14 Oct 2026

Deep de Finetti: Recovering Topic Distributions from Large Language Models

arXiv 2312.14226 ↗First posted 21 Dec 2023cs.CL cs.AI cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) can produce long, coherent passages of text, suggesting that LLMs, although trained on next-word prediction, must represent the latent structure that characterizes a document. Prior work has found that internal representations of LLMs encode one aspect of latent structure, namely syntax; here we investigate a complementary aspect, namely the document's topic structure. We motivate the hypothesis that LLMs capture topic structure by connecting LLM optimization to implicit Bayesian inference. De Finetti's theorem shows that exchangeable probability distributions can be represented as a mixture with respect to a latent generating distribution. Although text is not exchangeable at the level of syntax, exchangeability is a reasonable starting assumption for topic structure. We thus hypothesize that predicting the next token in text will lead LLMs to recover latent topic distributions. We examine this hypothesis using Latent Dirichlet Allocation (LDA), an exchangeable probabilistic topic model, as a target, and we show that the representations formed by LLMs encode both the topics used to generate synthetic data and those used to explain natural corpus data.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 23 of its 35 references that are in the map. First posted on arXiv 21 Dec 2023.

Builds on

23 of 35 references.

References · 23

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2016Pointer Sentinel Mixture Modelscited by 3,096
  3. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  4. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
  5. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  6. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 457
  7. 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 438
  8. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 383
  9. 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
  10. 2021Implicit Representations of Meaning in Neural Language Modelscited by 180
  11. 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 178
  12. 2017What do Neural Machine Translation Models Learn about Morphology?cited by 166
11 more
  1. 2017Learning to Generate Reviews and Discovering Sentimentcited by 148
  2. 2022Language Models as Agent Modelscited by 132
  3. 2019Open Sesame: Getting Inside BERT's Linguistic Knowledgecited by 120
  4. 2018Under the Hood: Using Diagnostic Classifiers to Investigate and Improve how Language Models Track Agreement Informationcited by 97
  5. 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 86
  6. 2020Tired of Topic Models? Clusters of Pretrained Word Embeddings Make for Fast and Good Topics too!cited by 73
  7. 2022Is Neural Topic Modelling Better than Clustering? An Empirical Study on Clustering with Contextual Embeddings for Topicscited by 35
  8. 2022Topic Discovery via Latent Space Clustering of Pretrained Language Model Representationscited by 34
  9. 2018BRUNO: A Deep Recurrent Model for Exchangeable Datacited by 11
  10. 2022Probing BERT's priors with serial reproduction chainscited by 11
  11. 2022Inconsistencies in Masked Language Modelscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 1; 2026: 1.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026The Probabilistic Structure of Large Language Models
  2. 2024Addressing Topic Granularity and Hallucination in Large Language Models for Topic Modelling
  3. 2024Beyond the Black Box: A Statistical Model for LLM Reasoning and Inference
  4. 2025Diffusion vs. Autoregressive Language Models: A Text Embedding Perspective
  5. 2023DeTiME: Diffusion-Enhanced Topic Modeling using Encoder-decoder based LLM
  6. 2025Model Directions, Not Words: Mechanistic Topic Models Using Sparse Autoencoders
  7. 2025Beyond Tokens in Language Models: Interpreting Activations through Text Genre Chunks
  8. 2026Continuous Latent Diffusion Language Model