Zero Labs
Industry News / AI

The Transformer’s Three Unfinished Promises变压器的三大未竟之诺

Source · Towards AI By Wuxiao Wang

From the publisher’s feed, collected in the ZeroLabs newsroom.

The Transformer’s Three Unfinished Promises-A Position Paper on Three Open Problems in the Transformer ArchitectureIn 2017, a paper titled “Attention Is All You Need” landed like a detonation in the machine learning community. The Transformer architecture it introduced didn’t just beat existing models — it rewrote the rules of what a sequence model could be. No recurrence. No convolution. Just attention, scaled up.9 years and nearly all of today’s LLMs later, the paper’s central claim has been spectacularly validated. Attention was, indeed, enough.But here’s the part that doesn’t get talked about: it shouldn’t have been.Not because the architecture is weak, but because the mechanism at its heart — the self-attention operation — is simultaneously the Transformer’s greatest strength and its most fundamental bottleneck. The same matrix multiplication that makes it extensible also imposes three structural constraints that the original authors left as open questions, embedded implicitly in the architecture itself.This is not a critique. It’s an invitation to look at what was not said in 2017.Three constraints. Three unfinished promises.1- Gap 1: Homogenization of Relation TypesThe QKV operation imposes a single functional form on all token-to-token relationships. But human language processing — and by extension, any general cognitive architecture — appears to involve at least three qualitatively distinct types of relational processing:Adjacent relations. Syntactic dependencies between consecutive or nearby tokens (typical offset = 1–3). These are primarily local, grammar-driven, and high-frequency.Long-range dependencies. Coreference and discourse relations spanning tens or hundreds of tokens (typical offset ≫ 1). These require the model to maintain and retrieve information across significant positional distance.Meta-relations. The system’s awareness of its own relational processing — e.g., “I notice that I am tracking three separate threads simultaneously.” This is not a relation between tokens, but a relation between relations (second-order relational processing).The Transformer handles all three through the same QKV pathway. While this is architecturally elegant, it incurs a parameterization cost: a single function class that must cover multiple qualitatively distinct phenomena will require more parameters and more data to achieve the same performance as specialized sub-functions.We can frame this as a hypothesis:$$ C_{unified} > \sum_{i} C_{specialized,i} $$where $C$ represents the computational cost (parameters × data) required to reach a given performance threshold. Estimating this gap requires empirical comparison, but a back-of-the-envelope information-theoretic bound can be derived: the mutual information between the attention pattern and the relation type places a lower bound on the representational capacity needed.Status: Open problem. No known architecture has explicitly decoupled relation types while maintaining the Transformer’s favorable scaling properties.2- Gap 2: Static Positional EncodingThe original Transformer uses fixed sinusoidal positional encodings:$$ PE_{(pos, 2i)} = \sin(pos / 10000^{2i/d_{model}}) $$ $$ PE_{(pos, 2i+1)} = \cos(pos / 10000^{2i/d_{model}}) $$These encodings provide a unique “position fingerprint” for each token, with the key design choice being frequency decay across dimensions — higher dimensions encode broader, more global positions.The limitation is that this encoding is static and context-independent. A token at position 50 has the same positional signal regardless of whether it appears in a dense technical paper or a sparse conversational transcript. Human positional reference, by contrast, is relative and context-dependent — “the point I made earlier” is a relation to a focus of attention, not to an absolute index.The representational capacity of fixed sinusoidal encodings for position $pos$ in dimension $d_k$ can be expressed as:$$ \text{Res}(d_k) \approx \frac{\text{period}{\max}}{\text{period}{\min}} = 10000 $$This suggests approximately $10⁴$ distinct positional “resolutions” — but these are fixed, not adaptive. An adaptive positional field, by contrast, could dynamically adjust its resolution to match the information density of the content, allocating more representational capacity to regions with higher dependency density.Status: Open problem. Rotary Position Encoding (RoPE) and ALiBi have addressed some limitations but have not eliminated the fundamental static/adaptive gap.3- Gap 3: Absence of Feedback LoopsThe Transformer’s auto-regressive decoding is strictly feed-forward:$$ y_t = f(y_{1:t-1}; \theta) $$Each token is generated based on previous tokens, but the representation of earlier tokens is never revised in light of later ones. The auto-regressive constraint creates a one-way street: information flows forward, not backward.Human cognition, by contrast, is revisionary. Reading the fifth sentence can restructure the interpretation of the first. This is not mere context-dependence (which Attention handles via softmax weighting), but structural revision — the update of a previously committed representation based on new information.Residual connections mitigate this by allowing additive modification across layers, but addition is not structured revision. The Residual Stream allows information to accumulate but does not permit re-representation.The topological distinction can be characterized:$$ \text{Feed-forward: } \quad G_{\text{FF}} = (V, E_{\text{forward}}) $$ $$ \text{With feedback: } \quad G_{\text{FB}} = (V, E_{\text{forward}} \cup E_{\text{backward}}) $$where $E_{\text{backward}}$ represents edges that allow later-stage representations to modify earlier ones. The Transformer has no such edges by design.Status: Open problem. Recurrent architectures have feedback by nature but lack the parallelism that makes Transformers efficient. A hybrid that preserves both properties remains elusive.4- A Parameterized ObservationWe computed a quantity that contextualizes these gaps.If one were to augment the Transformer with a second-order attention mechanism — that is, an attention operation whose query, key, and value are not token representations but attention distributions themselves — the additional parameter cost would be:$$ \Delta_{\text{params}} \approx d_k \times d_k \times n_{\text{heads}} $$For the Base Transformer model ($d_k = 64$, $n_{\text{heads}} = 8$):$$ \Delta_{\text{params}} \approx 64 \times 64 \times 8 = 32,768 $$This is less than 0.05% of the Base model’s 65M parameters.The observation is not that this solves the problem — architectural changes are not reducible to parameter counts. The observation is that the barrier is architectural, not parametric. Adding the operation would require rethinking the computational graph, not merely adding parameters.This suggests that the three gaps identified above are not capacity problems; they are architectural topology problems.5- Three Open QuestionsWe conclude with three questions, offered as invitations rather than answers.Q1: Can relations be meta-processed?The Transformer computes relations between tokens. Can an architecture compute relations between relations — and if so, does this second-order operation change the scaling properties of the model?Q2: Can the constraint field be dynamic?Positional encoding provides a static constraint field. If the field were dynamic — drawing not only on position but on dialogue history, accumulated context, and the system’s own processing state — would the resulting search space be richer?Q3: Can output rewrite input representations?In the current architecture, once a representation is committed, it remains. If the generation process could structurally rewrite earlier representations, what new capabilities would emerge?6- ConclusionAttention Is All You Need succeeded because it demonstrated that relation is the fundamental primitive — more fundamental than recurrence, convolution, or engineered feature detectors. This insight is the Transformer’s true legacy.But if relation is the fundamental primitive, then the organization of relations is more fundamental than any single relation type. The Transformer implements a fixed, one-size-fits-all organization. The next decade, we believe, will be defined by architectures that organize relations more richly — meta-relations, dynamic constraint fields, and revision-capable topologies.We hope this paper serves as a catalyst for that exploration.ReferencesVaswani, A., et al. (2017). Attention Is All You Need. NeurIPS.Bahdanau, D., et al. (2014). Neural Machine Translation by Jointly Learning to Align and Translate. arXiv:1409.0473.Luong, M.-T., et al. (2015). Effective Approaches to Attention-based Neural Machine Translation. EMNLP.Su, J., et al. (2024). RoFormer: Enhanced Transformer with Rotary Position Embedding. arXiv:2104.09864.Press, O., et al. (2022). Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation. ICLR.Elman, J. L. (1990). Finding Structure in Time. Cognitive Science, 14(2), 179–211.The Transformer’s Three Unfinished Promises变压器的三大未竟之诺 was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.