mlsanityData to 14 Oct 2026

Circuit Complexity Bounds for RoPE-based Transformer Architecture

arXiv 2411.07602 ↗First posted 12 Nov 2024cs.LG cs.AI cs.CCcited by 26

Not on the map. Why?

Abstract (arXiv)

Characterizing the express power of the Transformer architecture is critical to understanding its capacity limits and scaling law. Recent works provide the circuit complexity bounds to Transformer-like architecture. On the other hand, Rotary Position Embedding (mathsfRoPE) has emerged as a crucial technique in modern large language models, offering superior performance in capturing positional information compared to traditional position embeddings, which shows great potential in application prospects, particularly for the long context scenario. Empirical evidence also suggests that mathsfRoPE-based Transformer architectures demonstrate greater generalization capabilities compared to conventional Transformer models. In this work, we establish a circuit complexity bound for Transformers with mathsfRoPE attention. Our key contribution is that we show that unless mathsfTC0 = mathsfNC1, a mathsfRoPE-based Transformer with poly(n)-precision, O(1) layers, hidden dimension d ≤ O(n) cannot solve the Arithmetic formula evaluation problem or the Boolean formula value problem. This result significantly demonstrates the fundamental limitation of the expressivity of the mathsfRoPE-based Transformer architecture, although it achieves giant empirical success. Our theoretical result not only establishes the complexity bound but also may instruct further work on the mathsfRoPE-based Transformer.

Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). Builds on 63 of its 92 references that are in the map. First posted on arXiv 12 Nov 2024.

Builds on

63 of 92 references.

References · 63

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2017Graph Attention Networkscited by 8,923
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  8. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  9. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  10. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  11. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  12. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
38 more
  1. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  2. 2021How Attentive are Graph Attention Networks?cited by 835
  3. 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
  4. 2019Heterogeneous Graph Attention Networkcited by 734
  5. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
  6. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
  7. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  8. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
  9. 2022Transformers Learn Shortcuts to Automatacited by 268
  10. 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 260
  11. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
  12. 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
  13. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
  14. 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 139
  15. 2022NumGLUE: A Suite of Fundamental yet Challenging Mathematical Reasoning Taskscited by 112
  16. 2022Long Time No See! Open-Domain Conversation with Long-Term Persona Memorycited by 108
  17. 2023Fast Attention Requires Bounded Entriescited by 102
  18. 2022Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexitycited by 93
  19. 2024Internet of Agents: Weaving a Web of Heterogeneous Agents for Collaborative Intelligencecited by 86
  20. 2022A Logic for Expressing Log-Precision Transformerscited by 67
  21. 2021Training Multi-Layer Over-Parametrized Neural Network in Subquadratic Timecited by 62
  22. 2023An Over-parameterized Exponential Regressioncited by 45
  23. 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44
  24. 2024From LLM to Conversational Agent: A Memory Enhanced Architecture with Fine-Tuning of Large Language Modelscited by 43
  25. 2024On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysiscited by 41
  26. 2024On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs)cited by 40
  27. 2024Do Large Language Models Have Compositional Ability? An Investigation into Limitations and Scalabilitycited by 40
  28. 2024Discovering the Gems in Early Layers: Accelerating Long-Context LLMs with 1000x Input Token Reductioncited by 39
  29. 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
  30. 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 35
  31. 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
  32. 2024SELF-GUIDE: Better Task-Specific Instruction Following via Self-Synthetic Finetuningcited by 32
  33. 2024Training Tensor Attention Efficiently: From Cubic to Almost Linear Timecited by 30
  34. 2024Revisiting Zero-Shot Abstractive Summarization in the Era of Large Language Models from the Perspective of Position Biascited by 28
  35. 2024Fourier Circuits in Neural Networks and Transformers: A Case Study of Modular Arithmetic with Multiple Inputscited by 22
  36. 2024Multi-Layer Transformers Gradient Can be Approximated in Almost Linear Timecited by 22
  37. 2024Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descentcited by 22
  38. 2024Beyond Linear Approximations: A Novel Pruning Approach for Attention Matrixcited by 20

50 most cited of 63 All 63 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 22; 2026: 1.

26 papers.

Sort:

By area:

  1. 2025PaTH Attention: Position Encoding via Accumulating Householder Transformationscited by 34
  2. 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexitycited by 21
  3. 2025T2VWorldBench: A Benchmark for Evaluating World Knowledge in Text-to-Video Generationcited by 19
  4. 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Countingcited by 18
  5. 2025High-Order Matching for One-Step Shortcut Diffusion Modelscited by 15
  6. 2024Theoretical Constraints on the Expressive Power of mathsfRoPE-based Tensor Attention Transformerscited by 12
  7. 2025Video Latent Flow Matching: Optimal Polynomial Projections for Video Interpolation and Extrapolationcited by 11
  8. 2025Circuit Complexity Bounds for Visual Autoregressive Modelcited by 10
  9. 2025On Computational Limits of FlowAR Models: Expressivity and Efficiencycited by 10
  10. 2025Theoretical Guarantees for High Order Trajectory Refinement in Generative Flowscited by 10
  11. 2025T2VTextBench: A Human Evaluation Benchmark for Textual Control in Video Generation Modelscited by 10
  12. 2024Modern Hopfield Networks Require Chain-of-Thought to Solve mathsfNC1-Hard Problemscited by 9
14 more
  1. 2025Fast RoPE Attention: Combining the Polynomial Method and Fast Fourier Transformcited by 9
  2. 2025Provable Failure of Language Models in Learning Majority Boolean Logic via Gradient Descentcited by 8
  3. 2025Only Large Weights (And Not Skip Connections) Can Prevent the Perils of Rank Collapsecited by 7
  4. 2025Compression Barriers for Autoregressive Transformerscited by 5
  5. 2025Towards High-Order Mean Flow Generative Models: Feasibility, Expressivity, and Provably Efficient Criteriacited by 5
  6. 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformerscited by 4
  7. 2025Scaling Law Phenomena Across Regression Paradigms: Multiple and Kernel Approachescited by 4
  8. 2025Minimalist Softmax Attention Provably Learns Constrained Boolean Functionscited by 4
  9. 2025Too Easily Fooled? Prompt Injection Breaks LLMs on Frustratingly Simple Multiple-Choice Questionscited by 4
  10. 2025Implicit Hypergraph Neural Networks: A Stable Framework for Higher-Order Relational Learning with Provable Guaranteescited by 3
  11. 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidthcited by 3
  12. 2025Time and Memory Trade-off of KV-Cache Compression in Tensor Transformer Decodingcited by 2
  13. 2025Theoretical Foundation of Flow-Based Time Series Generation: Provable Approximation, Generalization, and Efficiencycited by 2
  14. 2025Fundamental Limits of Crystalline Equivariant Graph Neural Networks: A Circuit Complexity Perspectivecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Universal Transformers for Circuit Computations: Perfect Length Generalization in Tiny Transformers
  2. 2025TransXSSM: A Hybrid Transformer State Space Model with Unified Rotary Position Embedding
  3. 2026Exploring the Cryptographic Limits of Transformer Networks
  4. 2026Energy-Entropy Regularization: The True Power of Minimal Looped Transformers
  5. 2026Revisiting Padded Transformer Expressivity: Which Architectural Choices Matter and Which Don't
  6. 2025Exact Expressive Power of Transformers with Padding
  7. 2025Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers
  8. 2024Theoretical limitations of multi-layer Transformer