atlas

Research map / Architectures and efficiency / Attention and transformers

PaTH Attention: Position Encoding via Accumulating Householder Transformations

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Attention head mechanisms · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes PaTH, a data-dependent position encoding for softmax attention built from accumulated Householder-like transformations, with a FlashAttention-style parallel training algorithm, and shows gains over RoPE and FoX on state tracking and language modeling.

Problem

RoPE's position transformation is data-independent, which limits the expressivity of transformers; they struggle with state-tracking and sequential reasoning tasks such as flip-flop language modeling and word problems.

Approach

Replace RoPE's fixed rotation with a cumulative product of data-dependent identity-plus-rank-one (Householder-like) transition matrices along the path between key and query, yielding bilinear softmax logits; combine with the Forgetting Transformer's additive forget gates as PaTH-FoX.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace RoPE with PaTH760M Transformer · Commonsense averageaccuracy: 52.7 -> 54.2Helped
Combine PaTH with FoX760M Transformer · Wikitextperplexity: 18.03 -> 17.35Helped
Replace RoPE with PaTHSmolLM2-1.7B converted model · GSM8Kscore: 19.9 -> 20.1Helped
Replace RoPE with PaTHSmolLM2-1.7B converted model · HumanEvalscore: 23.1 -> 25.6Helped
Distill RoPE teacher to PaTH without continued pretrainingQwen2.5-7B-Instruct · MMLUscore: 74.21 -> 73.28Hurt
Distill RoPE teacher to PaTH without continued pretrainingQwen2.5-7B-Instruct · TheoremQAscore: 18.12 -> 21.88Helped
Distill RoPE teacher to PaTH without continued pretrainingQwen2.5-7B-Instruct · GSM-8Kscore: 80.29 -> 80.67Helped
Combine PaTH with FoX760M Transformer · RULER 16Kaccuracy: 4.9 -> 22.6Helped
Combine PaTH with FoX760M Transformer · PhoneBook 8Kscore: 17.7 -> 66.6Helped
Combine PaTH with FoX760M Transformer · LongBench-E 16Kscore: 11.7 -> 16.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: Fineweb-Edu DCLM Python-Edu MegaMathWeb PG-19 CodeParrot NarrativeQA RULER BABILong PhoneBook LongBench-E flip-flop language modeling synthetic data

Benchmarks: Wikitext LAMBADA PIQA HellaSwag WinoGrande ARC-e ARC-c RULER BABILong PhoneBook LongBench-E GSM8K

Metrics: perplexity accuracy average score

Baselines: RoPE FoX Stick-Breaking Attention SmolLM2-1.7B teacher Qwen2.5-7B-Instruct teacher

Builds on: RoPE DeltaNet Forgetting Transformer FlashAttention DeltaProduct

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy