SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.15160 · ICLR · 2024

Spatially-Aware Transformer for Embodied Agents

Sungjin Ahn, Jaesik Yoon, Junmo Cho

arXiv · PDF · Open in the Atlas

Code that ran

3 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.15160.json · badge: /api/ran/2402.15160.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
junmokane/spatially-aware-transformer canonical (classifier label)
classifier basis: classifier_2025
3 ran · 2 no recorded run
FunctionStatusWhere it lives
SinusoidalPosition Ran
ran on a synthesized input · constructed an object; no result was computed
junmokane/spatially-aware-transformer/htm/hcam.py
pointer only (licence: NONE) · get_code("c60821b0764d8fc9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, junmokane/spatially-aware-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

exists Ran
ran, violated the contract we drafted
junmokane/spatially-aware-transformer/htm/transformer.py
pointer only (licence: NONE) · get_code("7790f674bc0ba229")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, junmokane/spatially-aware-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pad_to_multiple Ran
ran; our contract draft was wrong, not the code
junmokane/spatially-aware-transformer/htm/hcam.py
pointer only (licence: NONE) · get_code("4f5419184b0129f9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, junmokane/spatially-aware-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Attention Not yet run
unverified (harvested, no recorded run)
junmokane/spatially-aware-transformer/htm/hcam.py
pointer only (licence: NONE) · get_code("a6eea8936d08b19d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, junmokane/spatially-aware-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

HCAMAttention Not yet run
unverified (harvested, no recorded run)
junmokane/spatially-aware-transformer/htm/hcam.py
pointer only (licence: NONE) · get_code("9e47e0865aa13b6f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, junmokane/spatially-aware-transformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 1 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
exists
brick of this paper's assembly: helper
486 other papers
293 dated earlier, 15 the same month, 167 later, 9 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
Attention
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2105.14039 (2021-05)
Towards mental time travel: a hierarchical memory for reinforcement learning agents
pad_to_multiple
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2105.14039 (2021-05)
Towards mental time travel: a hierarchical memory for reinforcement learning agents

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Episodic memory plays a crucial role in various cognitive processes, such as the ability to mentally recall past events. While cognitive science emphasizes the significance of spatial context in the formation and retrieval of episodic memory, the current primary approach to implementing episodic memory in AI systems is through transformers that store temporally ordered experiences, which overlooks the spatial dimension. As a result, it is unclear how the underlying structure could be extended to incorporate the spatial axis beyond temporal order alone and thereby what benefits can be obtained. To address this, this paper explores the use of Spatially-Aware Transformer models that incorporate spatial information. These models enable the creation of place-centric episodic memory that considers both temporal and spatial dimensions. Adopting this approach, we demonstrate that memory utilization efficiency can be improved, leading to enhanced accuracy in various place-centric downstream tasks. Additionally, we propose the Adaptive Memory Allocator, a memory management method based on reinforcement learning that aims to optimize efficiency of memory utilization. Our experiments demonstrate the advantages of our proposed model in various environments and across multiple downstream tasks, including prediction, generation, reasoning, and reinforcement learning. The source code for our models and experiments will be available at https://github.com/junmokane/spatially-aware-transformer.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.15160")
get_code_for_paper("2402.15160")
have("2402.15160")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.15160.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.15160.svg)](https://syntology.ai/paper/2402.15160)

Connect an agent — have() is free.