TRANSMISSION // 2611.38680v2

A cyclic ring trims attention projections—but can it keep retrieval power?

Source published

A cross-head cyclic design halves query-key projection parameters in small tests, while results reveal slower learning in some retrieval settings and leave large-scale performance unknown.

AI-generated conceptual illustration for A cyclic ring trims attention projections—but can it keep retrieval power?
AI-generated conceptual illustration; not documentary evidence.

Transformer attention normally gives every head separate query and key projections. This preprint asks whether heads can share those projections in a cycle instead—cutting their count in half without giving up directional attention. Small experiments suggest the design can work, but also expose settings where it learns more slowly or struggles.

The question: fewer projections, same useful attention?

In a Transformer, attention scores help each token decide which other tokens to draw information from. Each attention head usually has separate learned matrices for producing queries and keys. Their product determines the scores, so the two matrices contain some mathematical redundancy: different pairs can yield the same product.

A tempting shortcut is to make the query and key matrices identical. That saves parameters, but it forces the score matrix to be symmetric: if token A scores token B highly, B scores A equally highly. It also prevents negative self-scores. Those restrictions can interfere with directional retrieval, where one token needs to seek out another without the relationship working equally in reverse.

In the preprint Your Query Is My Key: Halving Attention Parameters via Cross-Head Cyclic Rings, independent researcher Sidharth S S proposes a different way to share the matrices. The goal is to reduce query-key parameters while retaining directional scores between tokens.

A ring of neighboring heads

Instead of tying a head’s query and key projections to each other, the proposed cyclic ring gives each head one projection matrix and pairs it with a neighboring head’s matrix to form attention scores. The head connections wrap around, making a cycle. Because each projection serves in two neighboring heads’ calculations, the design uses one query-key projection per head rather than two.

The paper derives a mathematical identity describing how gradients behave when attention scores depend on the product of query and key matrices. It also analyzes the limits of direct tying and explains how the cross-head arrangement restores directional scoring. A parameter-free addition called FastCycle adjusts updates when the ring’s two roles are initially balanced, aiming to help the model begin learning more quickly.

The experiments compare the standard paired projections, the cyclic design, and FastCycle. They include associative-recall tasks, a small character-level language model, memory measurements, tests of formal-language and sequence-processing behavior, and classification on AG News and CIFAR-10. The models were small and trained from scratch; the reported runs used two RTX A4000 GPUs and generally three random seeds.

What the tests found

The parameter saving is direct: in the reported memory microbenchmark, query-key parameters were halved, and the query-key optimizer state was also smaller. Total model parameters fell by 9.5% in that particular configuration. This is a count-based result, not evidence that real-world memory use or runtime will always fall by the same amount. The authors did not obtain a reliable peak-memory measurement, and actual speed gains depend on hardware and implementation.

On the tested real-text character model and classification tasks, the ring’s performance was broadly similar to the paired version. The paper reports small differences on AG News, CIFAR-10, and character-level language modelling, rather than a consistent winner. FastCycle also generally stayed in a similar range on these tasks.

Associative recall revealed a more difficult case. In one analyzed training run, the paired model crossed a learning threshold at about 1,632 steps on average, compared with about 2,171 for the plain ring; FastCycle crossed at about 1,867. In some harder recall settings, the ring remained near chance while the paired model learned within the training budget. Other settings were difficult for all versions. The paper’s explanation is that sparse retrieval can leave neighboring heads competing or sharing gradients in ways that slow the ring’s learning. These outcomes depend on the task, model size, and training schedule; a low score at a fixed budget does not by itself show that a model can never learn the task.

What remains uncertain

These findings do not establish that the cyclic design matches the paired design in general, or that it is faster in practice. The experiments cover small models and short contexts, with only three seeds in most comparisons. Some sequence-generalization results vary substantially across seeds, and the authors describe them as underpowered. A larger-model memory estimate in the paper is explicitly an extrapolation, not a measurement. Compatibility with common grouped-query and multi-query attention configurations was not tested.

The work is an arXiv preprint, so it should be read as research that has not necessarily undergone peer review. Its evidence supports a narrower conclusion: the cyclic restriction can retain competitive performance in several tested small-scale tasks while cutting query-key projection parameters, but it has meaningful optimization and capacity limits in some retrieval settings. Larger models, longer contexts, broader tasks, and measured end-to-end hardware performance are still needed to establish how useful the approach is in practice.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.