SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.16045 · NeurIPS · 2024

Algebraic Positional Encodings

Vikas Garg, Konstantinos Kogkalidis, Jean-Philippe Bernardy

arXiv · PDF · Open in the Atlas

Code that ran

14 of 14 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; 2 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 10 failures of our instrument; 0 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2312.16045.json · badge: /api/ran/2312.16045.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
konstantinoskokos/unitarype canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
konstantinoskokos/ape marked official in Papers with Code
Papers with Code archive
6 ran · 0 no recorded run
FunctionStatusWhere it lives
Branching Ran
ran on a synthesized input · constructed an object; no result was computed
konstantinoskokos/ape/ape/nn/position/algebraic.py
pointer only (licence: CC-BY-SA-4.0) · get_code("82f46cf27f6b050d")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/ape, is not in the permissive set Syntology serves inline. 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.

applicative Ran
ran; our contract draft was wrong, not the code
konstantinoskokos/ape/ape/nn/position/algebraic.py
pointer only (licence: CC-BY-SA-4.0) · get_code("b26ded5e4759c67f")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/ape, is not in the permissive set Syntology serves inline. 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.

beam_active Ran
ran; our contract draft was wrong, not the code
konstantinoskokos/unitarype/eval/models/nmt/base.py
pointer only (licence: CC-BY-SA-4.0) · get_code("84f611811acc8623")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/unitarype, is not in the permissive set Syntology serves inline. 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.

beam_search Ran
ran; our contract draft was wrong, not the code
konstantinoskokos/unitarype/eval/models/nmt/base.py
pointer only (licence: CC-BY-SA-4.0) · get_code("1b5b1a8a40b47b92")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/unitarype, is not in the permissive set Syntology serves inline. 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.

create_paths Ran
ran; our contract draft was wrong, not the code
konstantinoskokos/ape/ape/nn/position/algebraic.py
pointer only (licence: CC-BY-SA-4.0) · get_code("651e7c9e76c6ea73")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/ape, is not in the permissive set Syntology serves inline. 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.

create_steps Ran
ran; our contract draft was wrong, not the code
konstantinoskokos/ape/ape/nn/position/algebraic.py
pointer only (licence: CC-BY-SA-4.0) · get_code("8836ba7e4a50d0ba")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/ape, is not in the permissive set Syntology serves inline. 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.

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
konstantinoskokos/unitarype/ape/nn/drop_path.py
pointer only (licence: CC-BY-SA-4.0) · get_code("e61c32bb0f3aa28d")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/unitarype, is not in the permissive set Syntology serves inline. 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.

make_cosine_schedule Ran
ran; our contract draft was wrong, not the code
konstantinoskokos/unitarype/ape/nn/schedule.py
pointer only (licence: CC-BY-SA-4.0) · get_code("dbd6097f38fb1a58")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/unitarype, is not in the permissive set Syntology serves inline. 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.

make_decoder_mask Ran
ran, violated the contract we drafted
konstantinoskokos/unitarype/eval/models/nmt/base.py
pointer only (licence: CC-BY-SA-4.0) · get_code("1c37865da38b7a15")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/unitarype, is not in the permissive set Syntology serves inline. 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.

make_linear_schedule Ran
ran; our contract draft was wrong, not the code
konstantinoskokos/unitarype/ape/nn/schedule.py
pointer only (licence: CC-BY-SA-4.0) · get_code("c07063a31085fbe6")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/unitarype, is not in the permissive set Syntology serves inline. 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.

make_mediator Ran
ran, honoured the contract we drafted
konstantinoskokos/unitarype/eval/models/nmt/algebraic.py
pointer only (licence: CC-BY-SA-4.0) · get_code("5bf842eb35f51278")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/unitarype, is not in the permissive set Syntology serves inline. 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.

make_schedule Ran
ran; our contract draft was wrong, not the code
konstantinoskokos/unitarype/ape/nn/schedule.py
pointer only (licence: CC-BY-SA-4.0) · get_code("73f5517c35fddfa8")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/unitarype, is not in the permissive set Syntology serves inline. 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.

multihead_atn_fn Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
konstantinoskokos/ape/ape/nn/position/algebraic.py
pointer only (licence: CC-BY-SA-4.0) · get_code("35bf3adaa9416633")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/ape, is not in the permissive set Syntology serves inline. 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.

rope_like_init Ran
ran, honoured the contract we drafted
konstantinoskokos/ape/ape/nn/position/algebraic.py
pointer only (licence: CC-BY-SA-4.0) · get_code("bd29c10489d04283")
How it ran

The body of this sample is withheld: CC-BY-SA-4.0, as GitHub detects it on this paper's repository, konstantinoskokos/ape, is not in the permissive set Syntology serves inline. 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.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 14 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.

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-22.

Repositories linked to this paper

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

Abstract

We introduce a novel positional encoding strategy for Transformer-style models, addressing the shortcomings of existing, often ad hoc, approaches. Our framework provides a flexible mapping from the algebraic specification of a domain to an interpretation as orthogonal operators. This design preserves the algebraic characteristics of the source domain, ensuring that the model upholds its desired structural properties. Our scheme can accommodate various structures, including sequences, grids and trees, as well as their compositions. We conduct a series of experiments to demonstrate the practical applicability of our approach. Results suggest performance on par with or surpassing the current state-of-the-art, without hyper-parameter optimizations or "task search" of any kind. Code is available through https://aalto-quml.github.io/ape/.

For agents

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

get_harvested_code_for_paper("2312.16045")
get_code_for_paper("2312.16045")
have("2312.16045")

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

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

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

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

Connect an agent — have() is free.