Reproduce “The Geometry of Contextual Relations: Language Models Address Facts by Order of Mention” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yufa Zhou

The authors test whether models address facts by mention order rather than names. They average query-state changes between fact orders and add the resulting ordinal vector to a query state in a new context. In Qwen2.5-7B-Instruct, the edit selects the designated answer in 84.1% of 12,288 four-fact cases, versus 0.0% for random directions; transfer varies across models and is tested in templated settings.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.