arXiv:2610.09272cs.LGOct 2026

Manuscript Offprint

arXiv:2610.09272

Evaluating Trajectory Features for Routing Final-Layer Attention

Yupeng Yao

Abstract

Attention routing requires a signal that predicts the value of attention on the current prefix. We evaluate whether hidden-state extrapolation error, curvature and error change improve this prediction beyond uncertainty, one-step displacement, position and state projections. Paired executions of the final attention layer supply signed next-token loss differences in frozen SmolLM3-3B-Base and Qwen3.5-4B-Base checkpoints. Utility-supervised routers are tested on 100 held-out PG-19 books at an identical causal 20% invocation quota. None of six prespecified comparisons shows a positive gain after familywise correction. In Qwen3.5, a parameter-matched fixed-projection control lowers NLL by 0.00356 nats/token relative to the trajectory router (95% interval 0.00218–0.00487). Secondary results depend on the operation removed, feature location and scoring horizon; frozen thresholds also drift substantially at longer horizons. Actual selected-query execution yields small long-sequence latency reductions with increased NLL, while learned routers remain slower during cached continuation. The study identifies limits on the incremental value of these trajectory summaries and separates allocation quality from measured inference benefit.

1 Introduction

Attention is useful when its output improves a prediction, but predictive uncertainty alone does not identify such positions. A model can remain uncertain after reading the available context, or confidently predict the wrong continuation before retrieving a relevant fact. A routing signal should therefore be evaluated against the change produced by a specified operation on the same prefix. Comparing signals under different supervision or invocation rates makes that question harder to answer.

Recent hidden-state trajectories are a plausible routing signal. Extrapolation error measures departure from a line fitted to preceding representations, while curvature measures a change in their direction. Associations between trajectory error and human reading costs beyond observed-word surprisal motivate this hypothesis (Barenholtz, 2026). They do not determine whether the same statistics predict attention's effect on language-model loss. A useful comparison must also distinguish their contribution from simpler displacement measures and information in the current state.

We test this incremental contribution with paired final-layer interventions in two public base checkpoints. Every router learns from the same signed attention utilities and uses the same invocation quota. Scalar and fixed-projection controls match the trajectory router's head capacity; a second comparison adds trajectory summaries to a learned state projection. The primary experiment was specified and the fits frozen before modern test utilities were collected. It finds no positive gain in the six familywise-corrected comparisons. Secondary experiments examine why results change with the utility target, context length and feature location. Finally, selected-query measurements assess the quality and latency produced by the executed policies, including routing overhead. Our contribution is an empirical test of routing information under controlled interventions and budgets, with the full failure record retained.

Generative AI tools were used to assist with information retrieval and language polishing during manuscript preparation.

References (29)