atlas

Research map / Optimization / Implicit bias and generalization

On the Origins of Linear Representations in Large Language Models

ICML 2024 · Optimization › Implicit bias and generalization · approach: Explicit and implicit regularization interplay · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces a latent binary concept variable model of next-token prediction and shows that log-odds matching and the implicit bias of gradient descent (with softmax cross-entropy) both promote linear and orthogonal concept representations, with simulations and LLaMA-2 checks.

Problem

Why are high-level semantic concepts encoded linearly in LLM representation spaces, and could apparent linearity be illusory? The paper seeks theoretical origins of linear representations under the next-token prediction objective.

Approach

Model context and next tokens as sharing a latent space of binary concept variables forming a Markov random field, then show that softmax cross-entropy with gradient descent's implicit bias (max-margin convergence of exponential loss) yields parallel steering vectors and aligned embedding/unembedding representations, with orthogonality for separated concepts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train on the complete set of conditional distributionsLatent conditional model · Simulated latent conditional model, m=3cosine similarity (unembedding steering vectors): 0.972±0.006Helped
Train on the complete set of conditional distributionsLatent conditional model · Simulated latent conditional model, m=3cosine similarity (embedding and unembedding steering vectors): 0.980±0.005Helped

Surprising findings

Limitations

Experimental setup

Datasets: OPUS Books Big Analogy Test dataset Winograd Schema dataset synthetic samples from random DAG latent variable models

Benchmarks: OPUS Books Big Analogy Test dataset Winograd Schema dataset

Metrics: average cosine similarity between steering vectors absolute cosine similarity between embedding and unembedding

Builds on: word2vec linear structure analyses RAND-WALK model max-margin implicit bias of gradient descent

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy