arXiv · 2109.07971
Do Language Models Know the Way to Rome?
Abstract
The global geometry of language models is important for a range of applications, but language model probes tend to evaluate rather local relations, for which ground truths are easily obtained. In this paper we exploit the fact that in geography, ground truths are available beyond local relations. In a series of experiments, we evaluate the extent to which language model representations of city and country names are isomorphic to real-world geography, e.g., if you tell a language model where Paris and Berlin are, does it know the way to Rome? We find that language models generally encode limited geographic information, but with larger models performing the best, suggesting that geographic knowledge can be induced from higher-order co-occurrence statistics.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Bastien Liétard, Mostafa Abdou, Anders Søgaard. 2021-09-16. Do Language Models Know the Way to Rome?. https://arxiv.org/abs/2109.07971
Cite the original work for its findings. Save a collection to share your selection of sources.