🤖 AI Summary
Transformer language models exhibit reasoning-like behavior but remain fragile on tasks requiring stable symbolic manipulation. Method: We propose a novel interpretive framework—“attention as approximate Vector Symbolic Architecture (VSA)”—establishing, for the first time, a systematic theoretical correspondence between self-attention and VSA: queries/keys define role spaces, values encode fillers, attention weights implement soft binding/unbinding, and residual connections enable structural superposition. Building on this, we design explicit bind/unbind attention heads, hypervector memory layers, and a role-filler separation training objective; we further introduce “VSA similarity” and logical compositionality metrics. Results: Experiments demonstrate substantial mitigation of canonical failures (e.g., variable confusion), unified modeling of chain-of-thought reasoning, program execution, and tool use, and significant improvements in symbolic operation stability and logical consistency.
📝 Abstract
Transformer-based language models display impressive reasoning-like behavior, yet remain brittle on tasks that require stable symbolic manipulation. This paper develops a unified perspective on these phenomena by interpreting self-attention and residual streams as implementing an approximate Vector Symbolic Architecture (VSA). In this view, queries and keys define role spaces, values encode fillers, attention weights perform soft unbinding, and residual connections realize superposition of many bound structures. We use this algebraic lens to relate transformer internals to chain-of-thought traces, program-based reasoning, and memory-augmented tool use, and to explain characteristic failure modes such as variable confusion and inconsistency across logically related prompts. Building on this perspective, we propose VSA-inspired architectural biases, including explicit binding/unbinding heads and hyperdimensional memory layers, and training objectives that promote role-filler separation and robust superposition. Finally, we outline metrics for measuring "VSA-likeness" and logical compositionality, and pose theoretical and architectural open problems. Overall, the paper argues that viewing attention as soft vector-symbolic computation offers a principled route toward more interpretable and logically reliable reasoning systems.