What Should Embeddings Embed? Autoregressive Models Represent Latent Generating Distributions

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Liyi, Li, Michael Y., McCoy, R. Thomas, Sumers, Theodore R., Zhu, Jian-Qiao, Griffiths, Thomas L.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917188620779520
author Zhang, Liyi
Li, Michael Y.
McCoy, R. Thomas
Sumers, Theodore R.
Zhu, Jian-Qiao
Griffiths, Thomas L.
author_facet Zhang, Liyi
Li, Michael Y.
McCoy, R. Thomas
Sumers, Theodore R.
Zhu, Jian-Qiao
Griffiths, Thomas L.
contents Autoregressive language models have demonstrated a remarkable ability to extract latent structure from text. The embeddings from large language models have been shown to capture aspects of the syntax and semantics of language. But what should embeddings represent? We connect the autoregressive prediction objective to the idea of constructing predictive sufficient statistics to summarize the information contained in a sequence of observations, and use this connection to identify three settings where the optimal content of embeddings can be identified: independent identically distributed data, where the embedding should capture the sufficient statistics of the data; latent state models, where the embedding should encode the posterior distribution over states given the data; and discrete hypothesis spaces, where the embedding should reflect the posterior distribution over hypotheses given the data. We then conduct empirical probing studies to show that transformers encode these three kinds of latent generating distributions, and that they perform well in out-of-distribution cases and without token memorization in these settings.
format Preprint
id arxiv_https___arxiv_org_abs_2406_03707
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle What Should Embeddings Embed? Autoregressive Models Represent Latent Generating Distributions
Zhang, Liyi
Li, Michael Y.
McCoy, R. Thomas
Sumers, Theodore R.
Zhu, Jian-Qiao
Griffiths, Thomas L.
Machine Learning
Artificial Intelligence
Computation and Language
I.2; I.5
Autoregressive language models have demonstrated a remarkable ability to extract latent structure from text. The embeddings from large language models have been shown to capture aspects of the syntax and semantics of language. But what should embeddings represent? We connect the autoregressive prediction objective to the idea of constructing predictive sufficient statistics to summarize the information contained in a sequence of observations, and use this connection to identify three settings where the optimal content of embeddings can be identified: independent identically distributed data, where the embedding should capture the sufficient statistics of the data; latent state models, where the embedding should encode the posterior distribution over states given the data; and discrete hypothesis spaces, where the embedding should reflect the posterior distribution over hypotheses given the data. We then conduct empirical probing studies to show that transformers encode these three kinds of latent generating distributions, and that they perform well in out-of-distribution cases and without token memorization in these settings.
title What Should Embeddings Embed? Autoregressive Models Represent Latent Generating Distributions
topic Machine Learning
Artificial Intelligence
Computation and Language
I.2; I.5
url https://arxiv.org/abs/2406.03707