Papers › StepGame: A New Benchmark for Robust Multi-Hop Spatial Reasoning in Texts

StepGame: A New Benchmark for Robust Multi-Hop Spatial Reasoning in Texts

18 Apr 2022Association for the Advancement of Artificial Intelligence (AAAI) 2022 2arXiv:2204.08292archive 2025-07-28

Zhengxiang Shi, Qiang Zhang, Aldo Lipani

Inferring spatial relations in natural language is a crucial ability an intelligent system should possess. The bAbI dataset tries to capture tasks relevant to this domain (task 17 and 19). However, these tasks have several limitations. Most importantly, they are limited to fixed expressions, they are limited in the number of reasoning steps required to solve them, and they fail to test the robustness of models to input that contains irrelevant or redundant information. In this paper, we present a new Question-Answering dataset called StepGame for robust multi-hop spatial reasoning in texts. Our experiments demonstrate that state-of-the-art models on the bAbI dataset struggle on the StepGame dataset. Moreover, we propose a Tensor-Product based Memory-Augmented Neural Network (TP-MANN) specialized for spatial reasoning tasks. Experimental results on both datasets show that our model outperforms all the baselines with superior generalization and robustness performance.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2204.08292")

Code

Syntology Ran 5 of 7 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 5 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ZhengxiangShi/StepGame officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

7 samples harvested; 5 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

5ran
2unverified

Licence: 0 of the 7 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ZhengxiangShi/StepGame. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

InferenceModule ZhengxiangShi/StepGame/Code/TP-MANN/model/tp_mann.py official repository ran · metamorphic tier: deterministic MIT (permissive) · c45368528446001c · report
LayerNorm ZhengxiangShi/StepGame/Code/TP-MANN/model/tp_mann.py official repository ran · metamorphic tier: invariant MIT (permissive) · 8b94a14b1e542957 · report
MLP ZhengxiangShi/StepGame/Code/TP-MANN/model/tp_mann.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 07292c83f8398f4d · report
OptionalLayer ZhengxiangShi/StepGame/Code/TP-MANN/model/tp_mann.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 3dae9138f98cdefa · report
UpdateModule ZhengxiangShi/StepGame/Code/TP-MANN/model/tp_mann.py official repository ran MIT (permissive) · b61d5d9761232a97 · report
InputModule ZhengxiangShi/StepGame/Code/TP-MANN/model/tp_mann.py official repository unverified MIT (permissive) · bc83a2dc9f1b6337 · report
Tpmann ZhengxiangShi/StepGame/Code/TP-MANN/model/tp_mann.py official repository unverified MIT (permissive) · ddc0dbfc4e527788 · report

Tasks

Question AnsweringSpatial Reasoning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Question Answering StepGame TP-MANN 1-of-100 Accuracy 52.99 #1 of 1 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections