Neural Algorithmic Reasoning for Hypergraphs with Looped Transformers
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
Looped Transformers have shown exceptional neural algorithmic reasoning capability in simulating traditional graph algorithms, but their application to more complex structures like hypergraphs remains underexplored. Hypergraphs generalize graphs by modeling higher-order relationships among multiple entities, enabling richer representations but introducing significant computational challenges. In this work, we extend the Loop Transformer architecture's neural algorithmic reasoning capability to simulate hypergraph algorithms, addressing the gap between neural networks and combinatorial optimization over hypergraphs. Specifically, we propose a novel degradation mechanism for reducing hypergraphs to graph representations, enabling the simulation of graph-based algorithms, such as Dijkstra's shortest path. Furthermore, we introduce a hyperedge-aware encoding scheme to simulate hypergraph-specific algorithms, exemplified by Helly's algorithm. We establish theoretical guarantees for these simulations, demonstrating the feasibility of processing high-dimensional and combinatorial data using Loop Transformers. This work highlights the potential of Transformers as general-purpose algorithmic solvers for structured data.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 85 of its 113 references that are in the map. First posted on arXiv 18 Jan 2025.
Builds on
85 of 113 references.
Closest ancestors · 1
Same direction, newest first
Other references · 84
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
38 more
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 781
- 2022Transformers learn in-context by gradient descentcited by 732
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
- 2018Universal Transformerscited by 647
- 2023LLaMA-Adapter V2: Parameter-Efficient Visual Instruction Modelcited by 602
- 2017Learning Combinatorial Optimization Algorithms over Graphscited by 561
- 2018Hypergraph Neural Networkscited by 488
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 318
- 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 256
- 2023Looped Transformers as Programmable Computerscited by 237
- 2019Hypergraph Convolution and Hypergraph Attentioncited by 228
- 2023Looped Transformers are Better at Learning Learning Algorithmscited by 149
- 2023Representational Strengths and Limitations of Transformerscited by 133
- 2019Neural Execution of Graph Algorithmscited by 121
- 2021Neural Algorithmic Reasoningcited by 94
- 2024Internet of Agents: Weaving a Web of Heterogeneous Agents for Collaborative Intelligencecited by 86
- 2023Symbol tuning improves in-context learning in language modelscited by 75
- 2024Can Looped Transformers Learn to Implement Multi-step Gradient Descent for In-context Learning?cited by 65
- 2021Training Multi-Layer Over-Parametrized Neural Network in Subquadratic Timecited by 62
- 2023EcoAssistant: Using LLM Assistant More Affordably and Accuratelycited by 49
- 2023An Over-parameterized Exponential Regressioncited by 45
- 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44
- 2024From LLM to Conversational Agent: A Memory Enhanced Architecture with Fine-Tuning of Large Language Modelscited by 43
- 2023On Sparse Modern Hopfield Modelcited by 42
- 2024On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysiscited by 41
- 2024On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs)cited by 40
- 2024Do Large Language Models Have Compositional Ability? An Investigation into Limitations and Scalabilitycited by 40
- 2024Discovering the Gems in Early Layers: Accelerating Long-Context LLMs with 1000x Input Token Reductioncited by 39
- 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
- 2024LazyDiT: Lazy Learning for the Acceleration of Diffusion Transformerscited by 37
- 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 35
- 2023In-Context Learning for Attention Scheme: from Single Softmax Regression to Multiple Softmax Regression via a Tensor Trickcited by 32
- 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
- 2024Linear-Time Graph Neural Networks for Scalable Recommendationscited by 31
50 most cited of 84 All 84 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Theoretical Guarantees for High Order Trajectory Refinement in Generative Flowscited by 10
- 2025Theoretical Foundation of Flow-Based Time Series Generation: Provable Approximation, Generalization, and Efficiencycited by 2
- 2026Loom: A Scalable Analytical Neural Computer Architecturecited by 0
- 2026A Symbolic Neural CPU for Quantization-Simulated Writeback and Interpretable Program Executioncited by 0
- 2026A Symbolic Neural CPU for Quantization-Simulated Writeback and Interpretable Program Execution10 Jul 2026
- 2026Loom: A Scalable Analytical Neural Computer Architecture9 Apr 2026
- 2025Theoretical Foundation of Flow-Based Time Series Generation: Provable Approximation, Generalization, and Efficiency18 Mar 2025
- 2025Theoretical Guarantees for High Order Trajectory Refinement in Generative Flows12 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2024Understanding Transformer Reasoning Capabilities via Graph Algorithms
- 2024Reasoning Algorithmically in Graph Neural Networks
- 2026Which Algorithms Can Graph Neural Networks Learn?
- 2025Primal-Dual Neural Algorithmic Reasoning
- 2024Are Large-Language Models Graph Algorithmic Reasoners?
- 2026Beyond the Training Horizon: Mechanisms and Limits of Length Generalization in Looped Transformers
- 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracing
- 2026GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMs