# From Geographic Memory to Spatial Generalization in Large Language Models

DevFeed: [From Geographic Memory to Spatial Generalization in Large Language Models](<https://devfeed.tech/articles/from-geographic-memory-to-spatial-generalization-in-large-language-models-145092.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.25703>)

Author: Chen Chu, Zhaonan Wang, Cyrus Shahabi, Hengcai Zhang, Feng Lu

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [geospatial](<https://devfeed.tech/topics/geospatial.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [continuous](<https://devfeed.tech/tags/continuous.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [geospatial](<https://devfeed.tech/tags/geospatial.md>), [grounding](<https://devfeed.tech/tags/grounding.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [location](<https://devfeed.tech/tags/location.md>), [london](<https://devfeed.tech/tags/london.md>), [spatial](<https://devfeed.tech/tags/spatial.md>)

## AI overview

The study separates geospatial memory--recalling observed location-description pairs--from spatial generalization to locations outside the training observations. It adds continuous location representations from a spatial encoder as tokens in LLMs and evaluates them on newly curated Los Angeles and London benchmarks. Captioning tests observed and unobserved locations, while a separate grounding task measures whether generated pairs help map text to geography. Across multiple LLM families, continuous representations improve captioning at unobserved locations compared with textual coordinates; generated descriptions bring modest but consistent grounding gains. Probing and clustering results are also consistent with spatially organized representations. The evidence is limited to the described benchmarks and assessments.

## Source excerpt

arXiv:2611.25703v1 Announce Type: cross Abstract: Large language models (LLMs) can associate places with geographic descriptions, but recovering an observed association does not establish an ability to generalize across geographic space. We distinguish geospatial memory, the recovery of location--description associations observed during training, from spatial generalization, the prediction of descriptions for locations in unobserved regions. We investigate whether continuous location representations improve this generalization and encourage geographic knowledge to become spatially organized within an LLM. We frame this organization as a latent spatial field: a learned mapping from locations to descriptions connected through spatial dependencies. Building on a continuous spatial encoder, we project location representations into the model's embedding space and supply them as spatial tokens. We evaluate the resulting models on two newly curated geo-text benchmarks for Los Angeles and London using two complementary assessments. Geospatial captioning tests both memory and spatial generalization by generating descriptions at observed locations and at locations beyond the spatial coverage of the training observations. A separate geospatial grounding model tests whether generated location--description pairs provide useful additional supervision for mapping text to geographic space. Across multiple LLM families, continuous location representations improve captioning at unobserved locations relative to textual coordinates, while their generated descriptions yield modest but consistent improvements in downstream grounding. Layer-wise probing and representation clustering provide additional evidence consistent with spatially organized geographic representations. Together, these findings show the value of evaluating spatial generalization separately from memory and of incorporating continuous spatial representations into language models.