Abstract: Language models have long been shown to embed geographical information in their hidden representations. This line of work has recently been revisited by extending this result to Large Language Models (LLMs). In this paper, we propose to fill the gap between well-established and recent literature by observing how geographical knowledge evolves when scaling language models. We show that geographical knowledge is observable even for tiny models, and that it scales consistently as we increase the model size. Notably, we observe that larger language models cannot mitigate the geographical bias that is inherent to the training data.
Introduction
Large Language Models (LLMs) implicitly construct internal "world maps" that become increasingly accurate as they scale. While previous studies have identified these representations in massive models like Llama-2, the trajectory of this knowledge's emergence—from "tiny" models to multi-billion parameter giants—has remained unclear. This paper investigates the scaling laws governing geographical representation and examines whether increased model capacity helps overcome the geographical biases inherent in training data.
Methodology
The authors utilized linear probing to analyze a wide spectrum of models, ranging from 14 million to 70 billion parameters. By freezing the models and extracting hidden representations for specific locations using prompts like "Where is [Location] in the world?", they trained a Ridge regressor to predict actual latitude and longitude.
The study leveraged the World Dataset (Gurnee and Tegmark, 2023), containing nearly 40,000 locations, and analyzed The Pile to correlate country mention frequencies with model accuracy. This allowed for a direct comparison between a model's "exposure" to a region and its internal spatial understanding.
The Scaling Law of Maps
A primary finding is that geographical knowledge is a "low-level" feature. Even the smallest models (14M parameters) demonstrate a rudimentary understanding of global structure. However, there is a consistent, log-linear relationship between model size and accuracy: as parameter counts grow, the internal map becomes significantly sharper and more precise.
Interestingly, architecture plays a role in efficiency. Encoder models, such as BERT-Large (336M parameters), were found to be as geographically accurate as decoder models (like Pythia-1B) that are three times their size.
Visualizing Internal World Maps
The evolution of these representations is most striking when visualized. In the Pythia model family, the predicted coordinates for the world dataset locations gradually coalesce into recognizable continental shapes as the model scales from 14M to 2.8B parameters.
Quantitatively, the $R^2$ score for the Pythia family jumped from 34.34 at 14M parameters to 74.97 at 2.8B parameters, illustrating the rapid refinement of spatial knowledge during scaling.
The Bias Paradox
Despite the overall increase in accuracy, scaling does not fix geographical bias; it exacerbates it. Using the Gini coefficient to measure inequality in representation, the authors found that larger models actually exhibit more bias.
The models consistently perform best at the latitudes of North America and Europe (the Global North) while showing significantly higher errors for the Southern Hemisphere (Africa, Oceania). This performance is strictly tied to lexical frequency—how often a country is mentioned in the English-centric training data—rather than the actual population of the region.
Conclusion
This research demonstrates that while scaling up language models leads to more precise internal world maps, it also reinforces the data-driven biases of the Global North. Scaling is not a panacea for fairness; without intentional data curation, larger models simply build larger, more biased maps. Future work must address these disparities to ensure that LLMs represent the global landscape equitably.
Summary updated