Language Models Represent Space and Time
Paper · 2023 · Wes Gurnee and Max Tegmark
Summary
A system can answer questions about places and dates without necessarily organizing those facts into anything resembling a map or a timeline. It might store many separate associations: a city belongs to a country, a writer belongs to a historical period, a song belongs to an artist. “Language Models Represent Space and Time” asks whether the internal activity of large language models contains something more coherent. Can a simple mathematical readout recover geographic coordinates and dates from the representations produced when these systems encounter entity names? More importantly, does that readout expose structure already useful to the system, or does the readout itself supply the organization?
The authors investigate locations at worldwide, national, and city scales, alongside historical people, creative works, and news headlines. They pass names or headlines through pretrained systems, save an internal activation vector at each layer, and fit linear regression probes to predict latitude and longitude or a numerical time label. A probe is a separate supervised predictor: it learns how to translate internal activity into an externally defined measurement. Across the tested systems, spatial and temporal information becomes easier to recover through the earlier layers, with improvement generally flattening around the middle of the network. Larger systems produce stronger representations. Llama-2 performs substantially better than Pythia in these experiments, although the authors’ proposed explanation—different amounts of pretraining data—is a hypothesis instead of an isolated causal result.
Several additional tests make the finding more informative than a successful regression alone. A nonlinear probe with 256 hidden neurons brings little improvement over the linear alternative. Explicit questions about location or date generally do little to improve decoding, whereas distracting random prefixes and unusual capitalization reduce performance. Probes often transfer between different kinds of entities, suggesting that cities and natural landmarks do not require entirely separate geographic readouts. However, withholding an entire country or period makes prediction harder. The resulting errors suggest a distinction between recovering relative arrangement and translating that arrangement into exact human coordinates.
The authors also search inside the networks for neurons whose weights align with the learned spatial or temporal directions. Some individual neurons respond systematically to these properties across entity types. For the Llama-2-7b temporal neuron L19.3610, the reported correlation with release dates is 0.77. Changing its activation alters predictions about publication decades, while separate removal experiments examine contexts whose next-token prediction becomes worse when selected spatial or temporal neurons are disabled. These interventions provide evidence of functional involvement beyond mere decodability. The conclusion remains bounded: the experiments identify spatial and temporal ingredients that could support a broader internal account of the world. They do not demonstrate a complete causal system that understands how the world changes.
Interesting ideas
Start with a measurable physical property. Broad questions about understanding become easier to investigate when tied to a target such as location or time. Coordinates provide an external reference against which an internal representation can be tested. The same strategy applies whenever a disputed capability has an observable component: identify that component, specify its measurement, and investigate it without treating success as proof of every larger claim.
Separate accessible information from functional use. A probe can recover information that the original system never consults during ordinary prediction. The paper therefore moves from decoding to generalization checks, neuron identification, and intervention. This sequence is useful in interpretability, feature analysis, and transparent software alike: first establish that information exists in a usable form, then test whether changing it affects the behavior it supposedly supports.
Hold out the shortcut itself. Random train–test splits may preserve exactly the categorical associations that make a task easy. Removing an entire country, decade, or entity class asks whether a readout transfers beyond those familiar categories. This principle extends to evaluation of dictionaries, classifiers, and reasoning systems, where a successful test may otherwise reflect overlap in creators, families, institutions, or other hidden groups.
Use different metrics to separate different failures. Rank correlation asks whether predictions preserve order; R² also reflects their numerical placement. Proximity error judges an estimate relative to the surrounding density of examples. Their disagreement can reveal that a system has learned useful arrangement without accurate calibration. Similar combinations help distinguish ordering, scale, and local usefulness in retrieval, forecasting, and structured prediction.
Test how much the readout contributes. Comparing linear and nonlinear probes, reducing the number of available dimensions, and checking transfer all constrain explanations based on a powerful supervised decoder. None is decisive on its own. Together they help establish whether the measured property is readily accessible or has been laboriously reconstructed by the measuring instrument.
Treat input wording and observation position as experimental variables. Asking explicitly for a fact is not the only way context matters. Capitalization, unrelated preceding tokens, and the choice between an entity’s final token and a following punctuation token can change what a probe sees. This lesson applies to representation studies and practical pipelines: specify where an observation is taken, then test whether apparently incidental input changes alter the result.
Build evaluation groups from real dependencies. The authors keep locations in the same physical complex together and split creative works by creator. Such choices prevent closely related examples from appearing on both sides of an evaluation boundary. This is broadly reusable in corpus preparation, document analysis, and information extraction, where record-level separation can conceal substantial shared information.
Deep dive: Language Models Represent Space and Time
How linear probes reveal geographic and historical structure inside language models, and what generalization and neuron interventions establish. · about 41 minutes to read
How Mova uses it
Mova’s native language core builds explicit structures: dependency trees, event frames, and states of a text’s world. Its main route therefore differs from the neural activation analysis studied here. The useful transfers concern measurement, representation design, provenance, and the distinction between information being present and being used. The status marks below are proposed mappings against documented mechanisms. They do not establish that this paper has already been applied or that a proposed transfer improves Mova.
Idea: Turn broad claims about understanding into coordinate-level tests. Where: Introduction; Existence. Area: evaluation and knowledge representation. Mova: частково є (world maintains entities and changing states; math handles quantities and units). Mova could test whether its explicit world preserves geographic relations and temporal placement before making broader claims about understanding. A dedicated geographic coordinate benchmark is not established by the documented scope. Why Mova: Concrete targets would make representational gaps easier to diagnose than a single overall answer score.
Idea: Evaluate the same property at different scales. Where: Space and Time Raw Datasets; Existence. Area: evaluation. Mova: частково є (world readers and schools exercise different domains, but a matching multiscale spatial and temporal suite is unknown). Separate tests could examine broad regions, local places, historical periods, and fine event order. The paper motivates this design without establishing how Mova would perform. Why Mova: Success on broad categories should not conceal failure on the finer distinctions needed by a particular task.
Idea: Define a simple readout before adding complexity. Where: Probing; Linear Representations. Area: statistics and mathematical modeling. Mova: частково є (layers exposes explicit interfaces; groupants describe observations and checks). An explicit linear readout over selected numerical features could serve as a diagnostic baseline where Mova has suitable features and targets. This would be an analytical tool instead of a requirement to replace logical rules with neural processing. Why Mova: A simple baseline helps reveal whether extra machinery contributes useful information or merely fitting capacity.
Idea: Separate stored information from information used in an answer. Where: Probing; Space and Time Neurons. Area: reasoning and evaluation. Mova: вже є (world and prag retain reasons; compiled global rules expose their evidence). A targeted evaluation could distinguish a fact present in a graph from a fact actually traversed during a decision. The existing explanation mechanisms provide an implementation basis, but this paper-specific evaluation remains unmeasured. Why Mova: Available knowledge cannot help a user if the relevant reader or rule never consults it.
Idea: Disable a suspected mechanism to test its contribution. Where: Neuron Ablations and Interventions. Area: controlled evaluation. Mova: частково є (MOVA_EN_RULES_SKIP, en rules-audit, and pragmatic feature switches support controlled comparisons). Analogous tests could temporarily disable a temporal relation, spatial link, or frame attribute and observe the resulting answer changes. Existing switches do not establish a complete intervention suite across Mova. Why Mova: A mechanism’s plausible explanation becomes more convincing when removing it produces the predicted failure.
Idea: Change a representation and predict the behavioral consequence. Where: Time Intervention. Area: reasoning and causal testing. Mova: нове (a direct counterpart to the paper’s temporal intervention is not established; implementation status is unknown). An owned test world could vary an event date or ordering relation while holding the question constant, then check whether the answer changes accordingly. This is a proposal for explicit state testing, not a claim about neural time neurons in Mova. Why Mova: Controlled state changes would test whether temporal reasoning follows its declared inputs.
Idea: Hold out whole geographic or temporal blocks. Where: Verification via Generalization, Block holdout generalization. Area: evaluation and data splitting. Mova: частково є (held-out evaluation and regression gates are established; systematic country, region, and period holdouts are unknown). For an appropriate task, Mova could reserve complete conceptual blocks instead of distributing related examples across ordinary splits. Why Mova: This would expose rules or statistics that succeed only within familiar categories.
Idea: Hold out entity types. Where: Verification via Generalization, Cross entity generalization. Area: semantic representation and evaluation. Mova: частково є (global, onto, and frame readers organize entities and relations; dedicated transfer tests are unknown). A location reader trained or tuned with settlements could be tested on natural features, while a temporal reader could transfer between different event classes. Why Mova: Shared relation types should support genuinely shared operations rather than parallel special cases with similar names.
Idea: Keep dependent records in the same evaluation split. Where: Datasets, NYC Places; Art and Entertainment. Area: data preparation. Mova: частково є (assessment separation and source-bound data handling are implemented; these particular grouping rules are not documented). Corpus manifests could carry creator, physical-complex, or document-family identifiers and use them when making splits. Why Mova: Closely related records can leak useful answers across a boundary even when their text differs.
Idea: Compare numerical accuracy with ordering accuracy. Where: Evaluation; Dimensionality Reduction. Area: statistics. Mova: нове (a dedicated paired R² and rank-correlation diagnostic for these targets is not established). Where Mova predicts numerical dates or coordinates, reports could distinguish correct ordering from correct numerical placement. The metrics would need a task-specific interpretation rather than automatic adoption. Why Mova: A reader that orders events correctly but misplaces their dates needs a different repair from one that reverses the sequence.
Idea: Account for local density when judging location error. Where: Evaluation. Area: geographic evaluation. Mova: нове (a proximity-error implementation for geographic answers is not established). A future location benchmark could score estimates relative to nearby alternatives, alongside direct distance measures. The paper’s metric should first be checked against the intended use. Why Mova: The practical importance of an error depends in part on how many plausible places surround the target.
Idea: Examine whether calibration fails while structure survives. Where: Block holdout generalization; Dimensionality Reduction. Area: mathematical modeling and diagnosis. Mova: частково є (typed model observations and correspondences distinguish declared observations; this diagnostic is not established). Tests could separate relative position, ordering, units, and absolute reference values. Why Mova: A coherent relation with an incorrect reference point should not be diagnosed as a complete absence of knowledge.
Idea: Reduce feature capacity as a diagnostic. Where: Dimensionality Reduction. Area: statistics and model analysis. Mova: нове (PCA-based spatial or temporal probing is not established). Where numerical feature vectors are available, Mova could compare full readouts with restricted feature sets or principal-component projections. This would be an optional analysis rather than evidence that its symbolic core needs dimensionality reduction. Why Mova: Restricted readouts can show whether a result depends on broad structure or many individually fitted coefficients.
Idea: Compare linear and nonlinear explanations on the same examples. Where: Linear Representations. Area: statistics and evaluation. Mova: нове (the paper’s matched probe comparison is not documented). A research harness could compare simple statistical readouts without changing the underlying examples or target definitions. Any added nonlinear method would remain outside the native reasoning claim unless explicitly admitted. Why Mova: Extra expressiveness should earn its cost through measured gains rather than presumed superiority.
Idea: Check whether explicit task wording actually helps. Where: Sensitivity to Prompting. Area: pragmatics and evaluation. Mova: частково є (prag represents speech acts and frames; the native deputy resolves configured requests). Equivalent questions could be tested with and without an explicit request for the target relation. This would assess Mova’s own interpretation boundaries, not reproduce Llama-2 behavior. Why Mova: A well-formed request may still fail to activate the reader or capability needed to answer it.
Idea: Test unrelated prefixes as a robustness control. Where: Sensitivity to Prompting. Area: syntax, pragmatics, and evaluation. Mova: нове (a matching random-prefix evaluation is not established). Controlled irrelevant material could precede otherwise unchanged inputs while reports preserve whether parsing, frame extraction, or routing changed. Such tests should remain within the supported input contract. Why Mova: They would reveal whether surrounding noise disrupts an otherwise reliable interpretation.
Idea: Test capitalization separately from meaning. Where: Sensitivity to Prompting. Area: morphology, named entities, and evaluation. Mova: частково є (en implements lexical, morphological, and parsing mechanisms; a matching capitalization study is unknown). Case variants could be checked for entity identity, lemma, parse, and final answer. The paper does not predict which stage would be most sensitive in Mova. Why Mova: An entity’s surface form should not silently change the fact or referent that a reader uses.
Idea: Specify the exact observation position. Where: Data Preparation; Sensitivity to Prompting. Area: representation interfaces. Mova: частково є (groupants and worker interfaces declare observations; prag reads structured frames). Any comparison between token, clause, sentence, and document representations should name the observation boundary explicitly. Why Mova: Two evaluations can disagree because they inspect different stages, even when both describe their target as the same sentence.
Idea: Investigate sentence boundaries as aggregation points. Where: Sensitivity to Prompting, headline punctuation comparison. Area: syntax and discourse. Mova: нове (a direct investigation of punctuation as a summary-bearing observation is not established). Mova could compare information available before and after sentence-final processing in its own pipeline. This would test an interface hypothesis, not imply that its punctuation behaves like a transformer’s residual state. Why Mova: Sentence completion may be a useful point to verify that a coherent event representation has been assembled.
Idea: Disambiguate names without moving the measurement onto a known category. Where: Datasets, World Places. Area: named entities and data preparation. Mova: частково є (global has sense selection; the deputy uses configured entity aliases). Test inputs could preserve necessary modifiers while ensuring that success is attributed to the intended entity instead of a familiar country or state token. Why Mova: Correct disambiguation should clarify the referent without accidentally making an evaluation trivial.
Idea: Preserve metadata that supports later error analysis. Where: Space and Time Raw Datasets. Area: data and provenance. Mova: вже є (tools/dictindex retains source credit, document and sentence identity, token position, and stable posting identity). Additional task-relevant metadata could identify entity type and evaluation group without being promoted to a narrative fact. Why Mova: Rich provenance makes it possible to explain failures and rebuild trustworthy comparisons after a representation changes.
Idea: Use frequency as a sampling aid rather than a truth criterion. Where: Space datasets; Datasets, World Places and Art and Entertainment. Area: data selection. Mova: частково є (dictindex records frequencies and supports statistical candidate selection). Familiarity strata could guide evaluation, but frequency would remain separate from dictionary admission, factual correctness, and licensing. Why Mova: Common examples and rare examples create different difficulty profiles, while neither frequency nor popularity establishes truth.
Idea: Report coverage bias introduced by filtering. Where: Datasets, World Places. Area: data analysis. Mova: частково є (dictindex discover records coverage gaps and source classifications). Reports could also describe which populations, regions, or entity types are overrepresented after selection. Why Mova: An accurate result on a skewed collection should not silently become a claim about all language or knowledge.
Idea: Keep different temporal relations distinct. Where: Time datasets. Area: semantic representation. Mova: частково є (prag frames and world represent events and their order). Death, release, and publication dates should retain their relation types rather than entering a generic date field without explanation. Why Mova: A correct year attached to the wrong event relation can still produce an incorrect answer.
Idea: Separate historical knowledge from reasoning over a described world. Where: Introduction; Discussion. Area: reasoning and assessment. Mova: вже є (onto knowledge is distinguished from narrative state; world maintains the text’s world). Evaluation should continue to distinguish recalled external facts from consequences derived from the current story. Why Mova: Knowing where a real city is does not establish that a reader follows an invented movement or changed location.
Idea: Compare a targeted intervention with an untargeted control. Where: Time Intervention. Area: experimental design. Mova: частково є (negative controls are required in school reports and rule evaluations). A mechanism-removal test could include a change outside the suspected dependency path, with the expected effect specified in advance. Why Mova: This helps distinguish a relevant causal contribution from general disruption.
Idea: Inspect the contexts most damaged by a mechanism’s removal. Where: Neuron Ablations. Area: error analysis. Mova: частково є (en rules-audit, retained traces, and explicit reasons support localized diagnosis). Reports could rank examples by how much a disabled rule or relation harms the final decision, while preserving unaffected and improved cases as well. Why Mova: Concentrated failures can reveal what a mechanism actually supports more clearly than its name or intended purpose.
Idea: Avoid making one component the entire explanation. Where: Space and Time Neurons. Area: system interpretation. Mova: частково є (its pipeline already separates parsing, pragmatics, knowledge, and context). Even when one rule or relation is predictive, diagnosis should examine its prerequisites and consumers. Why Mova: A visible decision rule can depend on several upstream structures, and repairing only that rule may leave the real failure untouched.
Idea: Describe representation quality across processing stages. Where: Existence. Area: architecture evaluation. Mova: частково є (the en → prag → world pipeline exposes distinct stages). An evaluation could ask what target information is available after each stage and whether later processing preserves or damages it. Why Mova: This would identify where useful information first appears and where a downstream consumer loses access to it.
Idea: Keep scale explanations separate from controlled evidence. Where: Existence. Area: experimental interpretation. Mova: вже є (measured claims are bounded by dataset, split, and execution mode; GPU approximants have separate agreement evidence). Comparisons should continue to distinguish observed differences from explanations involving data size, model size, or configuration. Why Mova: A larger configuration can improve for several reasons, and engineering decisions need evidence about the reason that matters.
Idea: Represent multiple granularities without claiming a proven hierarchy. Where: Discussion. Area: knowledge representation. Mova: частково є (global, domain modules, and context already separate kinds of computation; knowledge graphs provide another storage axis). A proposed geographic or temporal hierarchy could be expressed explicitly and checked against observations. The paper’s hierarchical-mesh account remains a conjecture, not a validated design for Mova. Why Mova: Explicit granularity could help connect broad knowledge to local tasks while keeping unsupported transitions visible.
Idea: Study when a representation becomes available during learning. Where: Discussion. Area: training analysis. Mova: частково є (training journals, retained school state, and versioned experiments are implemented). Saved versions could be evaluated with a fixed diagnostic to distinguish gradual improvement from a change associated with a particular admitted update. Why Mova: This would connect observed capability changes to reviewable learning events without turning evaluation labels into training material.
Idea: Keep successful decoding separate from a complete world-model claim. Where: Introduction; Discussion. Area: scientific interpretation. Mova: вже є (docs/hybrid-system.md distinguishes implemented capabilities from broader direction). A successful spatial or temporal diagnostic should remain evidence for its declared observation and task scope. Why Mova: Bounded claims make Mova’s explanations useful and preserve a clear account of what remains to be built.
The problem and its context
From factual answers to internal organization
The paper addresses a familiar ambiguity in interpreting successful language behavior. If a system produces the right answer about a place, it might possess a useful internal geography. It might instead retrieve a local association that happens to be enough for that question. Ordinary answer accuracy does not easily distinguish these possibilities.
The authors frame the debate around two broad accounts of text-based learning. One emphasizes the accumulation of correlations without a coherent account of the processes behind the text. The other suggests that prediction can reward compact internal organization: relationships among entities may help explain many observations more economically than unrelated associations do. The experiments do not attempt to settle every philosophical implication of these accounts. They choose a property whose internal organization can be tested against an external geometry.
Geography is especially helpful because neighboring locations have a relationship that goes beyond sharing a label. If internal activity supports approximate latitude and longitude across varied places, that suggests more than the ability to answer a small set of country-membership questions. Time supplies a related test with different content. Historical people and creative works can be placed along an ordered numerical axis even though their names and categories differ.
The distinction matters for robustness. A collection of isolated associations might work well on familiar questions yet fail when a new combination is needed. A shared representation could support more systematic transfer. However, the paper does not assume that a successful coordinate readout automatically proves systematic reasoning. Its experiments are designed around the gap between these two claims.
What earlier geographic studies established
The related-work discussion describes earlier attempts to recover geography from language. These approaches used co-occurrence patterns, multidimensional scaling, and word embeddings. The paper places work such as Distributed Representations of Words and Phrases and their Compositionality within this broader history of extracting structure from linguistic representations.
According to the authors, earlier geographic studies generally examined relatively small collections of familiar cities and obtained limited correlations. The closest comparison probed embeddings and smaller language systems for city coordinates and country adjacency. Its largest system had 345M parameters. Gurnee and colleagues suggest that scale may help explain why those earlier conclusions about geographic information were less encouraging.
That comparison motivates a larger investigation; it does not establish a controlled historical progression. Different datasets, training procedures, and analysis choices can also matter. The paper’s stronger contribution is its own combination of several scales, varied entity types, layerwise measurements, and interventions.
World-state studies and factual recall
Research on sequence prediction in games supplies another important precedent. The paper discusses chess and Othello studies in which internal activity tracked board state. Emergent Linear Representations in World Models of Self-Supervised Sequence Models is relevant because it connects state tracking with linear readouts. A structured state can arise under a prediction objective even when that state is not directly supplied as the training target.
The authors also cite work on changing properties of entities within a context and on perceptual structure in spatial and color domains. Can Language Models Encode Perceptual Structure Without Grounding? A Case Study in Color helps situate their question: linguistic learning may capture relationships that correspond to an externally meaningful domain, even when the training signal is textual.
A further influence comes from research on factual recall. Locating and Editing Factual Associations in GPT and Dissecting Recall of Factual Associations in Auto-Regressive Language Models inform the choice to inspect activity associated with a subject’s final token and to investigate intermediate network layers.
The paper extends this line of inquiry towards continuous targets. A date or geographic coordinate is not merely a category to identify. Its numerical relationships matter. Recovering such a target raises questions about order, distance, calibration, and the geometry of the representation.
Why probing needs additional evidence
A central methodological warning comes from the probing literature. Probing Classifiers: Promises, Shortcomings, and Advances provides the general setting: train an auxiliary predictor on internal activity and evaluate what it can recover.
The difficulty is that the auxiliary predictor learns something too. A strong probe may combine ordinary categorical information into a structured output that the original system never explicitly used. Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance? expresses the distinction that motivates the paper’s later tests.
This is why the study does not end after drawing a map. It asks whether the readout transfers, whether it requires many fitted dimensions, whether individual network components align with it, and whether changing those components affects prediction. The resulting evidence is cumulative rather than dependent on a single decisive measurement.
The method, step by step
Choose externally defined targets
The authors begin with entity collections whose members can be assigned a location or time. Geographic examples carry latitude and longitude. Temporal examples carry a numerical label associated with a specified event, such as death or release.
This target definition is essential. A person has many dates associated with them, and a creative work may have several historically meaningful milestones. The experiment requires a particular relation whose labels can be used consistently. The temporal datasets therefore test different relations instead of a single undifferentiated notion of when an entity exists.
The spatial collections also differ in scale. A worldwide collection can succeed by capturing broad geographic distinctions that would be inadequate inside a city. Testing both broad and local settings prevents one level of resolution from standing in for every other level.
From entity names to evidence about representation
The steps in order.
Construct the geographic collections
For worldwide locations, the authors query DBpedia for physical places, natural features, and structures. They connect the returned entities to their English Wikipedia articles and use page views as a rough familiarity indicator.
The main description applies a threshold of 5,000 views over a three-year interval. The appendix identifies the interval as 2018-2020. The purpose is not to establish which places are important in an absolute sense. It is to reduce the number of entities that the tested systems may scarcely have encountered.
Names require further care. About 25% of worldwide examples have an appended geographic modifier. Measuring activity at the end of such a name could put the observation directly on a familiar state or province. The authors rearrange these expressions so that disambiguating information remains present while the target entity comes last. This reduces a particular shortcut associated with the observation position.
The United States collection combines natural features and structures with additional records for colleges and populated or administrative locations. Its preprocessing addresses ambiguous names, population thresholds, and geographic coverage. Duplicate city or county names are removed unless one location satisfies the stated population-dominance rule of 2x the next-largest namesake.
Cities with fewer than 500 residents are filtered. The appendix also describes zipcode selection using population and density conditions, including 10,000, 50, and 2000 as the relevant thresholds. Coverage is restricted to the lower 48 states and Washington D.C. These choices define the experiment’s geographic population; they are not claims that the omitted locations lack useful representations.
The New York City collection comes from municipal points of interest. It includes institutions, transport-related locations, housing, and other named sites. Locations that belong to the same larger complex remain together when the evaluation split is made. This matters because different buildings in one complex may be strongly related both geographically and linguistically.
Construct the temporal collections
The historical collection uses people who died between 1000BC and 2000AD. Names are accompanied by occupation information. To reduce the dominance of densely represented periods, the authors retain the 350 people judged most famous within each decade of death, using Wikidata identifier order as an imperfect proxy.
The creative-work collection covers songs, films, and books from 1950 to 2020. It is built from DBpedia and filtered with the page-view procedure. Creator names help disambiguate generic titles. Crucially, the train–test division is made by creator, so works by the same creator do not provide an easy bridge between probe training and evaluation.
The headline collection uses New York Times material from 2010-2020. Here the input is a headline rather than simply an entity name. The desired label is publication time. The authors seek headlines about events that can plausibly be localized in time, so their filters restrict print-page position and news-desk membership and exclude question titles.
Only material from the first 10 print pages is retained. The permitted desks concern current affairs and obituaries. These filters improve the match between input and target, but they also narrow the resulting population of headlines.
Record a vector for each input and layer
The main experiments use the base Llama-2 family. The initial scale comparison also includes Pythia. The pretrained networks remain the object of measurement; the supervised training described here fits the probes.
An input may be just a name, or a name preceded by a short prompt. At each layer, the authors save the residual-stream activation at the entity’s final token. The residual stream is the internal vector state passed through the network’s processing stages.
For a collection containing n entities, one layer therefore supplies n vectors. Each vector has d_model components, where d_model is the width of that network’s residual state. The activation matrix A has one example per row and one internal coordinate per column.
The final-token choice is informed by factual-recall research. It also creates a clearly specified measurement boundary. Since an autoregressive network processes a prefix in order, a token’s representation depends on the text preceding and including it, but not on a later question that has not yet appeared.
The headline experiment later varies this boundary by adding a period and measuring its representation. That comparison tests whether a punctuation position collects information differently from the final word itself.
Fit the linear probe
The probe learns a weighted combination of activation components. For temporal targets, the desired output is a date value. For spatial targets, there are outputs for latitude and longitude.
The fitted weights minimize prediction error while penalizing large coefficients:
Ŵ = argmin_W (‖Y − AW‖₂² + λ‖W‖₂²)
A is the activation matrix. Y contains the externally supplied target values. W is the matrix of coefficients being fitted, and Ŵ is the selected solution. The squared norm measures the magnitude of prediction residuals or coefficients. λ controls the strength of the penalty, trading closer training fit against greater coefficient restraint.
The paper gives the corresponding ridge-regression solution:
Ŵ = (AᵀA + λI)⁻¹AᵀY
Aᵀ is the transpose of A. I is an identity matrix with the dimensions needed to match AᵀA. The inverse applies to the regularized matrix inside parentheses. The other symbols retain their meanings from the objective.
Predictions are then produced by multiplication:
Ŷ = AŴ
Ŷ is the probe’s predicted location or time. A supplies the activations for the examples being evaluated, while Ŵ is fixed after fitting. Performance on examples excluded from fitting is the important evidence: training fit alone could reflect memorization by the readout.
The regularization strength is selected through efficient cross-validation within the probe-training data. This keeps that selection separate from the final held-out measurements.
Compare a more expressive readout
To investigate whether linear decoding leaves substantial recoverable information unused, the authors also fit a nonlinear alternative:
f(x) = W₂ ReLU(W₁x + b₁) + b₂
x is one activation vector. W₁ maps it into a hidden representation, and b₁ is that representation’s offset. ReLU is the rectifying nonlinearity. W₂ maps the hidden representation to the output, while b₂ is the output offset.
The hidden layer contains 256 neurons. This probe can represent relationships that a single linear transformation cannot. The comparison therefore asks whether its additional flexibility yields materially better out-of-sample predictions.
The reported comparison uses activations at 60% of network depth. It is a controlled test of readout form at that position, not a demonstration that no nonlinear decoder could ever improve any spatial or temporal task.
Evaluate complementary aspects of prediction
R² evaluates numerical regression fit. It is sensitive to where predictions fall in the target coordinate system, not merely whether they follow the correct ordering.
Spearman correlation instead compares ranks. For spatial targets, the paper averages correlations for latitude and longitude. A prediction can preserve ordering while being shifted or stretched, so rank correlation and R² answer related but different questions.
Proximity error supplies another perspective. For a target entity, it considers the fraction of other entities whose predicted locations lie nearer to the target’s true position than the target entity’s own prediction does. The metric therefore judges an error relative to the surrounding collection.
The paper motivates this with a 500km error: its significance differs between a dense region and a sparsely represented one. Proximity error is intended to account for that local difference. It does not replace the need to understand the dataset’s sampling density or the application’s actual distance requirements.
Search for relevant internal components
After fitting probes, the authors compare their directions with neuron weight vectors. High cosine similarity identifies neurons whose input or output weights align with the spatial or temporal readout.
These are different functional relationships. An aligned input weight suggests sensitivity to activity along a direction. An aligned output weight suggests a contribution written along it. Alignment supplies candidates for closer analysis, not a complete account of the computation.
The authors examine whether projections onto these neuron weights track target coordinates across entity types. They then perform interventions on selected neurons. This final stage connects the statistical readout to components already present inside the pretrained network.
The authors make their implementation and datasets available through the project named world-models. The research contribution is the measurement procedure and its evidence, instead of a newly trained geographic assistant or a deployed map service.
Experiments and results
Recovery across layers and system sizes
The initial comparison evaluates the Llama-2 settings 7B, 13B, and 70B. The Pythia series begins with 160M and 410M, includes intermediate settings, and extends to 6.9B. Each layer receives its own probe for each dataset.
The consistent result is a developmental pattern across processing depth. Spatial and temporal targets become increasingly recoverable in earlier layers. Around the middle of the network, the improvement generally levels off instead of continuing steadily to the final layer.
Larger systems yield better readouts within the investigated families. The result appears across datasets, although its strength depends on the target population. It supports a scale association under these experimental conditions, not a universal rule that every increase in size improves every property.
The authors highlight the contrast between Llama and Pythia. They suspect that pretraining exposure matters, citing 2T tokens for Llama and 300B for Pythia. The comparison does not independently vary training-data quantity while holding all other differences fixed. The evidence establishes a performance gap; its proposed cause remains less certain.
The city-level collection is the hardest. The authors attribute this partly to the relative obscurity of many municipal points of interest. The largest system also shows its strongest relative advantage there, encouraging the hypothesis that finer local geography may improve with scale. This is an extrapolation from the observed pattern, not evidence that detailed city knowledge is already complete.
Linear decoding and readout capacity
At 60% depth, the nonlinear readout brings only small improvements in R² over ridge regression. This pattern holds across the investigated features and Llama settings. The result supports the claim that useful spatial and temporal information is readily available through linear transformations.
It is important to interpret “linear” at the correct level. The network producing the activation vector is highly nonlinear. The experiment asks whether a linear function of that resulting vector can predict the target. It does not show that the full computation from text to geography is linear.
The full probes also have substantial capacity. Their dimensionality ranges from 4096 to 8192 across the relevant Llama settings. The comparison below concerns that fitting capacity, rather than coordinate-prediction accuracy.
Full linear-probe coefficient count per target coordinate
Wider activation vectors give the supervised readout more coefficients to fit.
The numbers
| System or setting | coefficients per coordinate |
|---|---|
| Llama-2-7B full probe (this paper) | 4096 |
| Llama-2-70B full probe | 8192 |
Lower here means a smaller fitting budget. It does not mean the smaller system predicts more accurately; the observed scale trend favors larger systems. The chart makes visible why the authors also investigate reduced-dimensional readouts and demanding holdouts.
The principal accuracy results are presented as layerwise curves and comparative tables. Their substantive findings are the consistent trends described above. Exact numerical accuracy margins should not be substituted for those trends when they are not explicitly stated.
Prompting and input form
Explicitly requesting a location or date generally has little effect on the recoverability of that information. Adding a hint that a place is in the United States or New York City likewise produces little or no improvement in the tested settings.
This suggests that a direct factual question is not necessary for the information to be present at the observation point. It does not establish that prompting is irrelevant to the final generated answer. The experiment measures what a fitted probe can extract from an internal vector.
The random-prefix condition is more damaging. Each entity receives a prefix containing 10 sampled random tokens. Performance deteriorates enough to surprise the authors, showing that the measured representation remains sensitive to irrelevant context.
Capitalizing entity names also worsens decoding, although less severely. The authors propose that unusual casing interferes with identifying or assembling the entity representation from its tokens. They do not isolate a complete mechanism for that effect.
For headlines, measuring the appended period improves prediction relative to measuring the last word. The authors interpret this as evidence that sentence-ending punctuation may contain aggregated information about the sentence. The comparison supports a useful observation-position effect without proving a universal role for punctuation.
Transfer and lower-dimensional structure
Block holdouts make the task more difficult, especially for spatial targets. Nevertheless, the resulting proximity errors remain better than the stated random reference of 0.5.
Visual analyses suggest that withheld regions frequently land in approximately appropriate relative directions while missing their absolute coordinate placement. This is compatible with useful internal structure plus an imperfect learned conversion into human coordinates.
Entity-type holdouts are generally more successful. A readout learned without one category can often transfer to that category. The main exception concerns creative works. There, rank correlation remains high even when proximity error worsens, suggesting that transfer preserves temporal order more effectively than numerical calibration.
Principal-component analysis provides another constraint on interpretation. When readouts use only leading components, Spearman correlation improves more quickly with additional components than R² does. The authors view this as evidence that meaningful ordering exists in a relatively compact portion of activation variation, while accurate conversion to external coordinates needs more information.
They also observe that early principal components separate entity classes. This explains why simply retaining the most prominent dimensions does not immediately isolate geography or time: some large sources of variation concern what kind of entity is being represented.
Individual neurons and behavioral influence
The neuron analysis finds components whose weights act as useful spatial or temporal readouts. Their sensitivity extends across entity classes, strengthening the case that the measured directions are not solely inventions of the external regression.
For Llama-2-7b, L19.3610 has a reported correlation of 0.77 with release dates in the creative-work collection. The intervention experiment varies this neuron’s pinned activation and measures changes in the next token for date-completion prompts.
The targeted neuron is compared with 9 randomly selected neurons from the same layer. Changing the targeted activation can alter the predicted decade across the illustrated song, film, and book examples. This is causal evidence about the tested completions, not merely a correlation between names and dates.
Separate removal experiments set selected spatial or temporal neurons to 0. The authors inspect the top 10 contexts with the largest increase in next-token loss for each neuron. The selected components include spatial neurons L20.7573 and L20.7423, alongside temporal neurons L18.9387 and L19.3610.
These experiments connect the representation findings to ordinary language prediction. Their scope remains local: they examine selected components and contexts rather than measuring the full dependence of all geographic and temporal behavior on a complete circuit.
What the ablations show
A successful probe can exploit category membership
The most important controlled comparison addresses a deceptively simple alternative explanation. Suppose a network identifies each place’s country but has no shared geographic coordinate system. A supervised readout could learn a separate coefficient for every country and place each example near its country’s center.
Such a readout could draw a recognizable map. Yet the geometry would have been supplied partly by the supervised fitting procedure. Ordinary random splits would not reveal the problem because examples from each country would remain available during fitting.
Holding out an entire country changes the test. The readout can no longer learn that country’s numerical location from labeled examples of its own places. Analogous holdouts remove states, boroughs, or temporal blocks in the other datasets.
The observed deterioration shows that familiar block membership contributes to performance. The continued advantage over random prediction suggests that the readout also accesses transferable information. Neither outcome alone establishes a fully coherent internal metric space.
The authors explicitly preserve an unresolved possibility: category features could themselves form a hierarchy that does not align with the chosen holdout boundaries. A country-level holdout therefore weakens one shortcut account without eliminating all structured categorical alternatives.
Shared readouts can still hide separate representations
A similar issue arises with entity types. One fitted latitude predictor might combine one direction for cities with another direction for natural landmarks. Successful decoding over the mixed dataset would not prove that both use the same internal coordinate representation.
The entity holdout tests remove a complete class from probe training. Good transfer then becomes evidence that the learned readout is useful beyond the categories on which it was calibrated.
The authors exclude classes that constitute most of a dataset from this procedure. That restriction matters when comparing the nominal errors across different holdout tables: the evaluated populations are not identical.
Creative works produce the clearest complication. Different media are distributed differently over time, so a probe can preserve chronology while applying an unsuitable offset or scale to a withheld class. The combination of relatively strong rank correlation and worse proximity error helps distinguish this calibration problem from a complete failure to represent time.
Restricting dimensions reduces the readout’s freedom
The PCA experiment responds to another objection: a linear probe can still have many coefficients. Linearity alone does not make a decoder incapable of memorizing complicated associations.
Projecting onto leading principal components restricts the readout before fitting it. The paper describes reductions of 2 to 3 orders of magnitude in available parameters. This gives the probe less freedom to combine many specialized signals.
The contrast between rapidly improving rank correlation and more slowly improving R² is informative. A compact representation can preserve aspects of relative arrangement while leaving exact coordinate conversion less accurate.
The authors interpret this as support for internal spatial and temporal organization. A careful reading adds a qualification: leading components are selected for overall variance, not exclusively for the property of interest. The result shows where recoverable structure appears under this projection, not a unique decomposition of the network’s semantic content.
The nonlinear comparison tests the readout hypothesis
The nonlinear-probe experiment is a capacity control instead of a removal intervention. Its question is whether the linear readout misses substantial structure that a more flexible decoder can exploit.
The small improvements support the authors’ emphasis on linear accessibility. They are especially relevant because the targets are continuous, whereas much earlier discussion of linear features concerned categories or binary properties.
Still, the comparison evaluates a particular nonlinear architecture and training setup. It does not prove an exact mathematical statement about every possible representation or readout. The strongest warranted conclusion is practical: the tested nonlinear alternative does not substantially outperform the simpler linear probe.
Pinned temporal activity changes date completion
The temporal intervention moves beyond observational analysis. The input asks for a release year with a prefix ending in 19, and the authors track the most probable following tokens as the selected neuron’s activation is fixed at different values.
Because the manipulated variable is internal activity, a change in prediction establishes that the neuron participates causally in those completions. The same-layer random-neuron comparison helps assess whether this is a targeted effect instead of the inevitable consequence of changing any component.
The intervention is nevertheless broader than changing an abstract date variable once. The neuron is pinned across all tokens. Its effect can therefore involve several positions in the computation. The experiment identifies meaningful influence without fully tracing the pathway from entity recognition to date prediction.
Nor does influence establish a perfectly selective control. The observed date change does not show that every other property of the representation stays constant. It is evidence for functional temporal involvement, not a universal date-editing interface.
Removal identifies contexts of dependence
Zeroing selected neurons and inspecting increased loss asks where ordinary prediction depends on them. This complements the constructed date prompts by examining text from Wikipedia articles related to the spatial and creative-work collections.
The method is useful because the component’s functional role can emerge from the contexts it damages. A neuron selected through geographic alignment may matter when a sentence requires geographically relevant information even if the next token is not itself a coordinate.
However, inspecting the most affected contexts emphasizes exceptional dependence. It does not supply a corpus-wide estimate of how much spatial or temporal competence has been removed. The analysis demonstrates meaningful cases, while the overall behavioral contribution remains less completely measured.
Taken together, the controls support a layered conclusion. Linear readouts recover real structure; that structure transfers imperfectly; selected native components align with it; and changing those components affects relevant predictions. The evidence is stronger than decoding alone while remaining short of a comprehensive mechanistic explanation.
Limitations
Limits the authors explicitly acknowledge
The central limitation is conceptual. Spatial and temporal organization is useful for a world model, but it is not equivalent to a dynamic causal account of the world. The authors present a broader causal system as a conjecture that their experiments do not demonstrate.
They also acknowledge uncertainty about the true form of the representation. Their proposed hierarchical mesh is an interpretation: entities might be represented through combinations of nearby reference points at multiple granularities. The experiments do not identify such a mesh directly or prove that it is the correct internal architecture.
Probe generalization remains incomplete. Removing entire spatial or temporal blocks worsens performance, and the authors describe the relative-position evidence cautiously. Hierarchical categorical features remain an alternative that the chosen holdouts cannot fully exclude.
The worldwide dataset has stated coverage biases. It comes from English Wikipedia and is consequently tilted towards the Anglosphere. Entity categories are unevenly distributed across countries; the authors note the unusually strong presence of railway stations in the United Kingdom. A readout might exploit such regularities.
Fame and familiarity are measured imperfectly. Page views are only a proxy for expected exposure, while the historical-figure selection uses Wikidata identifier order as an imperfect stand-in for prominence. These choices improve tractability but do not establish a clean measure of what appeared in pretraining.
The authors also emphasize how little they have established about learning dynamics. Their analyses do not show exactly when these representations emerge during training, how factual components construct them, or how they participate in broader inference. They propose studying checkpoints and alternative representation tools as future work.
Limits visible in the experimental design
A careful reader should distinguish exposure generalization from probe generalization. Holding examples out of the probe-training set does not establish that the pretrained network never encountered them. The experiments test what a supervised readout can recover from existing representations, not whether the underlying system learned every place or date without prior textual exposure.
The target labels also cover different relations. Death year, release date, and headline publication date are not interchangeable forms of temporal understanding. Strong results on these labels do not demonstrate competence with duration, simultaneous events, counterfactual histories, or the temporal consequences of a newly described action.
The geographic targets concern named locations. The paper does not establish a complete navigation system, reliable route planning, or accurate interpretation of arbitrary relational descriptions such as an unfamiliar place positioned relative to several landmarks.
Likewise, static coordinate recovery differs from following a story. A system might place a city correctly yet fail to track an object moved between rooms. The paper’s representation evidence and contextual state-tracking studies address related but distinct requirements.
The Llama–Pythia comparison does not isolate training-data quantity. Different families can differ along several dimensions, so the stated corpus sizes offer a plausible explanation instead of a causal estimate.
Proximity error depends on the evaluated collection. A dense sampling of one region changes the surrounding comparison population. This is part of the metric’s purpose, but it means the score should be interpreted alongside coverage and direct error measures.
The nonlinear result is limited to the tested alternative. Small gains from the chosen MLP support linear accessibility without proving that nonlinear structure is absent.
The neuron results are also selective. Finding an aligned component provides strong positive evidence, but failing to find one would not prove absence of the feature. Information may be distributed across many components. Conversely, an individual neuron can participate in several functions, so a spatial label should not be treated as a complete account of everything it does.
Finally, the intervention evidence concerns selected prompts and loss-sensitive contexts. It does not establish that manipulating these neurons safely or reliably edits all geographic and temporal knowledge. A mechanistic explanation would need a fuller account of how the features are constructed, transformed, and consumed.
What came after
Later papers cite this study across representation analysis, internal-state measurement, retrieval, and reasoning. The citation relationship establishes that the work entered these discussions. It does not, on its own, show that a later paper reused the geographic datasets, reproduced the neuron interventions, or validated the hierarchical-mesh conjecture. The connections below therefore distinguish the later works’ stated subjects from stronger claims about technical inheritance.
Linear structure and internal organization
The Linear Representation Hypothesis and the Geometry of Large Language Models addresses the broader representational question to which this paper contributes concrete spatial and temporal evidence. The important connection is between a property that can be decoded linearly and the geometry of the internal space. Citation alone does not establish that the later treatment adopts the same coordinate probes or interpretation.
Language Models Encode the Value of Numbers Linearly concerns another continuous property: numerical value. Its subject extends the relevance of linear-representation questions beyond places and dates. The available bibliographic information does not establish whether its evidence uses the same controls or whether its conclusions resolve the calibration issues identified here.
Layer by Layer: Uncovering Hidden Representations in Language Models and Exploring Concept Depth: How Large Language Models Acquire Knowledge and Concept at Different Layers? place processing depth at the center of their investigations. Their subjects connect naturally to the finding that coordinate information improves early and then plateaus. That connection should not be mistaken for a confirmed explanation of the plateau.
The Unreasonable Ineffectiveness of the Deeper Layers also concerns what later processing contributes. Gurnee and colleagues supply one bounded observation relevant to that question: later layers do not continually improve every spatial or temporal readout. This does not establish that the same layers are generally unnecessary for language prediction or other tasks.
Interpretability as a broader research program
Several citing works organize the surrounding field. Explainability for Large Language Models: A Survey concerns explanations of these systems, while A Primer on the Inner Workings of Transformer-based Language Models addresses their internal computation.
Mechanistic Interpretability for AI Safety — A Review and A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models situate the topic within mechanistic investigation. The spatial and temporal study is relevant because it combines several evidential levels: a supervised readout, generalization tests, weight alignment, and behavioral intervention.
These reviews should not be treated as independent replications of the geographic findings. Their stated role is broader synthesis. The transferable question is how different forms of evidence support different strengths of explanation.
LLaMAs Have Feelings Too: Unveiling Sentiment and Emotion Representations in LLaMA Models Through Probing moves probing toward sentiment and emotion. The domain changes, but the methodological warning remains relevant: recoverability of a label does not automatically establish its functional role. The citation record does not specify how that later study handles the distinction.
Let's Focus on Neuron: Neuron-Level Supervised Fine-tuning for Large Language Model concerns intervention at the neuron level through supervised adaptation. It belongs near the paper’s component-level analysis, while differing in its stated purpose: changing a system through training is not the same operation as diagnosing a pretrained neuron’s contribution.
Internal states, retrieval, and behavioral control
LLM Internal States Reveal Hallucination Risk Faced With a Query concerns using internal activity as evidence about answer reliability. Its relationship to this paper is methodological rather than geographic: internal measurements may reveal properties that are not directly visible in a generated response.
SeaKR: Self-aware Knowledge Retrieval for Adaptive Retrieval Augmented Generation concerns adaptive retrieval-augmented generation. HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models concerns long-term memory. Their titles establish their research directions, but do not establish that either extracts the coordinate directions found by Gurnee and colleagues.
Programming Refusal with Conditional Activation Steering addresses behavior modification through activation steering. In-Context Representation Hijacking concerns changes to representation under contextual influence. Both are relevant to the general possibility that internal directions can matter behaviorally, but their citation relationship does not show that the same neurons or intervention mechanisms are involved.
LLM Beliefs Are in Their Heads raises a related question about internal organization. Its title alone is insufficient to specify its operational definition of belief or its findings. It should therefore remain a neighboring investigation rather than be presented as confirmation of a particular world-model account.
Spatial questions and grounded reasoning
Spatial-RAG: Spatial Retrieval Augmented Generation for Real-World Geospatial Reasoning Questions addresses geographic reasoning with retrieval. Coordinates from Context: Using LLMs to Ground Complex Location References addresses location references whose interpretation depends on context.
These subjects concern practical capabilities beyond decoding familiar place names. They help clarify an important boundary in the original work: an internal map-like readout is relevant to geographic tasks, but does not itself demonstrate that a system can resolve complex references or answer all spatial questions.
WorldSense: A Synthetic Benchmark for Grounded Reasoning in Large Language Models concerns grounded reasoning under a constructed evaluation. Reasoning Abilities of Large Language Models: In-Depth Analysis on the Abstraction and Reasoning Corpus concerns another reasoning setting. Their subjects reinforce the need to distinguish having a useful representation from performing a successful sequence of deductions over it.
Large Language Models Empowered Agent-based Modeling and Simulation: A Survey and Perspectives addresses simulation and agents. The relevance of spatial and temporal structure to such systems is understandable, but the bibliographic entry does not show a direct transfer of this paper’s methods into a particular simulator.
Evaluation, safety, and the meaning of capability
Language Ranker: A Metric for Quantifying LLM Performance Across High and Low-Resource Languages concerns cross-language measurement. AI Sandbagging: Language Models can Strategically Underperform on Evaluations concerns the interpretation of observed performance. These are different evaluation problems, but both belong to the wider question of what a particular measurement establishes.
Foundational Challenges in Assuring Alignment and Safety of Large Language Models addresses assurance, while Aligned but Blind: Alignment Increases Implicit Bias by Reducing Awareness of Race concerns the relationship between alignment and internal awareness. Their titles identify their subjects; they do not supply evidence that spatial decoding resolves safety or bias questions.
DeepSeek-R1 Thoughtology: Let's think about LLM Reasoning and Towards Understanding Distilled Reasoning Models: A Representational Approach concern reasoning and its representations. Open-Endedness is Essential for Artificial Superhuman Intelligence addresses a broader capability thesis. None should be used to retroactively strengthen the original experiments beyond their demonstrated scope.
Finally, Chatting with Bots: AI, Speech Acts, and the Edge of Assertion approaches language behavior through speech-act theory. That is a different level of analysis from coordinate probes. The connection is a reminder that internal representation, successful prediction, and the interpretation of an utterance are separate questions. Gurnee and colleagues provide unusually concrete evidence about the first, selected causal evidence about its role in the second, and no general solution to the third.
Cite
Cite as Wes Gurnee and Max Tegmark. 2023. Language Models Represent Space and Time. arXiv:2310.02207.
@misc{gurnee2023language,
title = {{Language Models Represent Space and Time}},
author = {Wes Gurnee and Max Tegmark},
year = {2023},
doi = {10.48550/arxiv.2310.02207},
eprint = {2310.02207},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2310.02207}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/gurnee-2023-language-models-represent-space-time/
References
- Mostafa Abdou, Artur Kulmizev, Daniel Hershcovich, Stella Frank, Ellie Pavlick, and Anders Søgaard. Can language models encode perceptual structure without grounding? a case study in color. arXiv preprint arXiv:2109.06129, 2021. our card
- Guillaume Alain and Yoshua Bengio. Understanding intermediate layers using linear classifier probes. arXiv preprint arXiv:1610.01644, 2016. our card
- Issa Annamoradnejad and Rahimberdi Annamoradnejad. Age dataset: A structured general-purpose dataset on life, work, and death of 1.22 million distinguished people. International AAAI Conference on Web and Social Media (ICWSM), 16, 2022. OpenAlex ↗ · Scholar ↗
- Jack Bandy. Three decades of new york times headlines, 2021. URL https://www.kaggle.com/datasets/johnbandy/new-york-times-headlines. Kaggle dataset. OpenAlex ↗ · Scholar ↗
- Yonatan Belinkov. Probing classifiers: Promises, shortcomings, and advances. Computational Linguistics, 480 (1):0 207–219, 2022. our card
- Emily M Bender and Alexander Koller. Climbing towards nlu: On meaning, form, and understanding in the age of data. In Proceedings of the 58th annual meeting of the association for computational linguistics, pp. 5185–5198, 2020. our card
- Emily M Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. On the dangers of stochastic parrots: Can language models be too big? In Proceedings of the 2021 ACM conference on fairness, accountability, and transparency, pp. 610–623, 2021. OpenAlex ↗ · Scholar ↗
- Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O’Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, et al. Pythia: A suite for analyzing large language models across training and scaling. In International Conference on Machine Learning, pp. 2397–2430. PMLR, 2023. OpenAlex ↗ · Scholar ↗
- Yonatan Bisk, Ari Holtzman, Jesse Thomason, Jacob Andreas, Yoshua Bengio, Joyce Chai, Mirella Lapata, Angeliki Lazaridou, Jonathan May, Aleksandr Nisnevich, et al. Experience grounds language. arXiv preprint arXiv:2004.10151, 2020. OpenAlex ↗ · Scholar ↗
- Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258, 2021. our card
- Sébastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, et al. Sparks of artificial general intelligence: Early experiments with gpt-4. arXiv preprint arXiv:2303.12712, 2023. our card
- Collin Burns, Haotian Ye, Dan Klein, and Jacob Steinhardt. Discovering latent knowledge in language models without supervision. arXiv preprint arXiv:2212.03827, 2022. OpenAlex ↗ · Scholar ↗
- György Buzsáki and Rodolfo Llinás. Space and time in the brain. Science, 3580 (6362):0 482–485, 2017. OpenAlex ↗ · Scholar ↗
- Hoagy Cunningham, Aidan Ewart, Logan Riggs, Robert Huben, and Lee Sharkey. Sparse autoencoders find highly interpretable features in language models. arXiv preprint arXiv:2309.08600, 2023. OpenAlex ↗ · Scholar ↗
- Nelson Elhage, Tristan Hume, Catherine Olsson, Neel Nanda, Tom Henighan, Scott Johnston, Sheer ElShowk, Nicholas Joseph, Nova DasSarma, Ben Mann, Danny Hernandez, Amanda Askell, Kamal Ndousse, Andy Jones, Dawn Drain, Anna Chen, Yuntao Bai, Deep Ganguli, Liane Lovitt, Zac Hatfield-Dodds, Jackson Kernion, Tom Conerly, Shauna Kravec, Stanislav Fort, Saurav Kadavath, Josh Jacobson, Eli Tran-Johnson, Jared Kaplan, Jack Clark, Tom Brown, Sam McCandlish, Dario Amodei, and Christopher Olah. Softmax linear units. Transformer Circuits Thread, 2022a. https://transformer-circuits.pub/2022/solu/index.html. OpenAlex ↗ · Scholar ↗
- Nelson Elhage, Tristan Hume, Catherine Olsson, Nicholas Schiefer, Tom Henighan, Shauna Kravec, Zac Hatfield-Dodds, Robert Lasenby, Dawn Drain, Carol Chen, et al. Toy models of superposition. arXiv preprint arXiv:2209.10652, 2022b. OpenAlex ↗ · Scholar ↗
- Mor Geva, Jasmijn Bastings, Katja Filippova, and Amir Globerson. Dissecting recall of factual associations in auto-regressive language models. arXiv preprint arXiv:2304.14767, 2023. our card
- Gabriel Goh, Nick Cammarata, Chelsea Voss, Shan Carter, Michael Petrov, Ludwig Schubert, Alec Radford, and Chris Olah. Multimodal neurons in artificial neural networks. Distill, 60 (3):0 e30, 2021. OpenAlex ↗ · Scholar ↗
- Abhijeet Gupta, Gemma Boleda, Marco Baroni, and Sebastian Padó. Distributional vectors encode referential attributes. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 12–21, 2015. our card
- Wes Gurnee, Neel Nanda, Matthew Pauly, Katherine Harvey, Dmitrii Troitskii, and Dimitris Bertsimas. Finding neurons in a haystack: Case studies with sparse probing. arXiv preprint arXiv:2305.01610, 2023. our card
- Torkel Hafting, Marianne Fyhn, Sturla Molden, May-Britt Moser, and Edvard I Moser. Microstructure of a spatial map in the entorhinal cortex. Nature, 4360 (7052):0 801–806, 2005. OpenAlex ↗ · Scholar ↗
- Michael Hanna, Ollie Liu, and Alexandre Variengien. How does gpt-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model. arXiv preprint arXiv:2305.00586, 2023. our card
- Trevor Hastie, Robert Tibshirani, Jerome H Friedman, and Jerome H Friedman. The elements of statistical learning: data mining, inference, and prediction, volume 2. Springer, 2009. OpenAlex ↗ · Scholar ↗
- Dan Hendrycks, Mantas Mazeika, and Thomas Woodside. An overview of catastrophic ai risks. arXiv preprint arXiv:2306.12001, 2023. OpenAlex ↗ · Scholar ↗
- Evan Hernandez, Arnab Sen Sharma, Tal Haklay, Kevin Meng, Martin Wattenberg, Jacob Andreas, Yonatan Belinkov, and David Bau. Linearity of relation decoding in transformer language models. arXiv preprint arXiv:2308.09124, 2023. our card
- Michal Konkol, Tomáš Brychcín, Michal Nykl, and Tomáš Hercig. Geographical evaluation of word embeddings. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 224–232, 2017. OpenAlex ↗ · Scholar ↗
- Jens Lehmann, Robert Isele, Max Jakob, Anja Jentzsch, Dimitris Kontokostas, Pablo N. Mendes, Sebastian Hellmann, Mohamed Morsey, Patrick van Kleef, Sören Auer, and Christian Bizer. Dbpedia - a large-scale, multilingual knowledge base extracted from wikipedia, 2015. URL http://dbpedia.org. Version 2023. our card
- Belinda Z Li, Maxwell Nye, and Jacob Andreas. Implicit representations of meaning in neural language models. arXiv preprint arXiv:2106.00737, 2021. our card
- Kenneth Li, Aspen K Hopkins, David Bau, Fernanda Viégas, Hanspeter Pfister, and Martin Wattenberg. Emergent world representations: Exploring a sequence model trained on a synthetic task. arXiv preprint arXiv:2210.13382, 2022. our card
- Bastien Liétard, Mostafa Abdou, and Anders Søgaard. Do language models know the way to rome? arXiv preprint arXiv:2109.07971, 2021. OpenAlex ↗ · Scholar ↗
- Leo Z Liu, Yizhong Wang, Jungo Kasai, Hannaneh Hajishirzi, and Noah A Smith. Probing across time: What does roberta know and when? arXiv preprint arXiv:2104.07885, 2021. our card
- Max M Louwerse and Nick Benesh. Representing spatial structure through maps and language: Lord of the rings encodes the spatial structure of middle earth. Cognitive science, 360 (8):0 1556–1569, 2012. OpenAlex ↗ · Scholar ↗
- Max M Louwerse and Rolf A Zwaan. Language encodes geographical information. Cognitive Science, 330 (1):0 51–73, 2009. OpenAlex ↗ · Scholar ↗
- Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in gpt. Advances in Neural Information Processing Systems, 35:0 17359–17372, 2022a. our card
- Kevin Meng, Arnab Sen Sharma, Alex Andonian, Yonatan Belinkov, and David Bau. Mass-editing memory in a transformer. arXiv preprint arXiv:2210.07229, 2022b. OpenAlex ↗ · Scholar ↗
- Eric J Michaud, Ziming Liu, Uzay Girit, and Max Tegmark. The quantization model of neural scaling. arXiv preprint arXiv:2303.13506, 2023. our card
- Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. Advances in neural information processing systems, 26, 2013a. our card
- Tomáš Mikolov, Wen-tau Yih, and Geoffrey Zweig. Linguistic regularities in continuous space word representations. In Proceedings of the 2013 conference of the north american chapter of the association for computational linguistics: Human language technologies, pp. 746–751, 2013b. our card
- Neel Nanda, Andrew Lee, and Martin Wattenberg. Emergent linear representations in world models of self-supervised sequence models. arXiv preprint arXiv:2309.00941, 2023. our card
- Richard Ngo, Lawrence Chan, and Sören Mindermann. The alignment problem from a deep learning perspective, 2023. our card
- NYC OpenData. Points of interest, 2023. URL https://data.cityofnewyork.us/City-Government/Points-Of-Interest/rxuy-2muj. Accessed: 2023-07-01. OpenAlex ↗ · Scholar ↗
- John O'Keefe and Jonathan Dostrovsky. The hippocampus as a spatial map: preliminary evidence from unit activity in the freely-moving rat. Brain research, 1971. OpenAlex ↗ · Scholar ↗
- Chris Olah, Nick Cammarata, Ludwig Schubert, Gabriel Goh, Michael Petrov, and Shan Carter. Zoom in: An introduction to circuits. Distill, 50 (3):0 e00024–001, 2020. OpenAlex ↗ · Scholar ↗
- Roma Patel and Ellie Pavlick. Mapping language models to grounded conceptual spaces. In International Conference on Learning Representations, 2021. OpenAlex ↗ · Scholar ↗
- Tilman Räuker, Anson Ho, Stephen Casper, and Dylan Hadfield-Menell. Toward transparent ai: A survey on interpreting the inner structures of deep neural networks. In 2023 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML), pp. 464–483. IEEE, 2023. OpenAlex ↗ · Scholar ↗
- Abhilasha Ravichander, Yonatan Belinkov, and Eduard Hovy. Probing the probing paradigm: Does probing accuracy entail task relevance? arXiv preprint arXiv:2005.00719, 2020. our card
- Anna Rogers, Olga Kovaleva, and Anna Rumshisky. A primer in bertology: What we know about how bert works. Transactions of the Association for Computational Linguistics, 8:0 842–866, 2021. our card
- Daniel R Schonhaut, Zahra M Aghajan, Michael J Kahana, and Itzhak Fried. A neural code for time and space in the human brain. Cell Reports, 420 (11), 2023. OpenAlex ↗ · Scholar ↗
- Shubham Toshniwal, Sam Wiseman, Karen Livescu, and Kevin Gimpel. Chess as a testbed for language model state tracking. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pp. 11385–11393, 2022. OpenAlex ↗ · Scholar ↗
- Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023. our card
- Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, et al. Emergent abilities of large language models. arXiv preprint arXiv:2206.07682, 2022. our card
- Laura Weidinger, Jonathan Uesato, Maribeth Rauh, Conor Griffin, Po-Sen Huang, John Mellor, Amelia Glaese, Myra Cheng, Borja Balle, Atoosa Kasirzadeh, et al. Taxonomy of risks posed by language models. In Proceedings of the 2022 ACM Conference on Fairness, Accountability, and Transparency, pp. 214–229, 2022. OpenAlex ↗ · Scholar ↗