SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.30022 · 2026

Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoders

Benjamin Piwowarski, Pierre-Antoine Lequeu, Camille Barboule

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures 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/2605.30022.json · badge: /api/ran/2605.30022.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
LequeuISIR/DSTG-encoder canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
acc_and_f1 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
LequeuISIR/DSTG-encoder/src/neobert/glue/evaluate_glue.py
pointer only (licence: NONE) · get_code("454817035cd7e70d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

get_bsz Ran
ran, honoured the contract we drafted
LequeuISIR/DSTG-encoder/src/neobert/contrastive/datasets.py
pointer only (licence: NONE) · get_code("f6ba7debbce0073b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

get_collator Ran
ran; our contract draft was wrong, not the code
LequeuISIR/DSTG-encoder/src/neobert/collator/collator.py
pointer only (licence: NONE) · get_code("4bce485cf1e603d9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

get_labels Ran
ran, honoured the contract we drafted
LequeuISIR/DSTG-encoder/src/neobert/glue/process.py
pointer only (licence: NONE) · get_code("76a154c3d4d59e0e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

get_local_position_labels Ran
ran; our contract draft was wrong, not the code
LequeuISIR/DSTG-encoder/probing/probing.py
pointer only (licence: NONE) · get_code("c6077616720d107d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

get_sentences Ran
ran; our contract draft was wrong, not the code
LequeuISIR/DSTG-encoder/src/neobert/glue/process.py
pointer only (licence: NONE) · get_code("0c835bff99754e6f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

pearson_and_spearman Ran
ran; our contract draft was wrong, not the code
LequeuISIR/DSTG-encoder/src/neobert/glue/evaluate_glue.py
pointer only (licence: NONE) · get_code("e3e13638a674e4b1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

posbert_scaled_dot_product_attention Ran
ran; our contract draft was wrong, not the code
LequeuISIR/DSTG-encoder/src/neobert/model/model.py
pointer only (licence: NONE) · get_code("95259a91dbe487e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

process_function Ran
ran; our contract draft was wrong, not the code
LequeuISIR/DSTG-encoder/src/neobert/glue/process.py
pointer only (licence: NONE) · get_code("81fc35e91e68d156")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

scaled_dot_product_attention Ran
ran; our contract draft was wrong, not the code
LequeuISIR/DSTG-encoder/src/neobert/model/model.py
pointer only (licence: NONE) · get_code("13c8fb0873f97a00")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

probe_positional_info Not yet run
unverified (harvested, no recorded run)
LequeuISIR/DSTG-encoder/probing/probing.py
pointer only (licence: NONE) · get_code("5c8d0f5c1843b776")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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.

simple_accuracy Not yet run
unverified (harvested, no recorded run)
LequeuISIR/DSTG-encoder/src/neobert/glue/evaluate_glue.py
pointer only (licence: NONE) · get_code("83eba990d34db6a2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, LequeuISIR/DSTG-encoder 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 9 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
acc_and_f1 5 other papers
5 dated earlier
2301.12132 (2023-01)
AutoPEFT: Automatic Configuration Search for Parameter-Efficient Fine-Tuning
2308.16475 (2023-08)
$\rm SP^3$: Enhancing Structured Pruning via PCA Projection
2311.11696 (2023-11)
Sparse Low-rank Adaptation of Pre-trained Language Models
and 2 more not named here
pearson_and_spearman 5 other papers
5 dated earlier
2301.12132 (2023-01)
AutoPEFT: Automatic Configuration Search for Parameter-Efficient Fine-Tuning
2308.16475 (2023-08)
$\rm SP^3$: Enhancing Structured Pruning via PCA Projection
2311.11696 (2023-11)
Sparse Low-rank Adaptation of Pre-trained Language Models
and 2 more not named here
simple_accuracy 5 other papers
5 dated earlier
2301.12132 (2023-01)
AutoPEFT: Automatic Configuration Search for Parameter-Efficient Fine-Tuning
2308.16475 (2023-08)
$\rm SP^3$: Enhancing Structured Pruning via PCA Projection
2311.11696 (2023-11)
Sparse Low-rank Adaptation of Pre-trained Language Models
and 2 more not named here

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

Positional encoding (PE) underpins how permutation-invariant Transformers represent sequence order, yet how positional information is processed and stored remains poorly understood. Modern PE methods such as RoPE still struggle on tasks such as long-context understanding or retrieval (Chen et al., 2025). Hence, a better understanding of the internal positional mechanism could help design better PE. Building on evidence that positional and semantic signals occupy nearly orthogonal subspaces in trained Transformers, we modify an encoder Transformer to process three explicitly disentangled streams: semantic, absolute positional (AP) and relative positional (RP), and confine the masked-language-modeling (MLM) objective to the semantic stream. This decoupling enables a clean mechanistic study and yields three take-aways. (1) The isolated AP subspace spontaneously collapses into a low-frequency two-dimensional manifold that captures the structure of the document; (2) Attention heads specialize into structure and semantic-oriented groups, with RP exclusively supporting the latter; (3) Standard positional encodings do not robustly retain macroscopic structure: RoPE and RP only weakly encode it, and entangled AP loses it in the final layers under MLM pressure. The disentangled approach preserves positional encoding, which improves linguistic representation on 49 of the 65 linguistic phenomena of the Flash-Holmes probing benchmark.

For agents

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

get_harvested_code_for_paper("2605.30022")
get_code_for_paper("2605.30022")
have("2605.30022")

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

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

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

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

Connect an agent — have() is free.