mlsanityData to 14 Oct 2026

Neural Algorithmic Reasoning for Hypergraphs with Looped Transformers

arXiv 2501.10688 ↗First posted 18 Jan 2025cs.LG cs.AI cs.CCcited by 4

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

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan

Other references · 84

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  7. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  9. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  10. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  11. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  12. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
38 more
  1. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  2. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  3. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
  4. 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attentioncited by 781
  5. 2022Transformers learn in-context by gradient descentcited by 732
  6. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
  7. 2018Universal Transformerscited by 647
  8. 2023LLaMA-Adapter V2: Parameter-Efficient Visual Instruction Modelcited by 602
  9. 2017Learning Combinatorial Optimization Algorithms over Graphscited by 561
  10. 2018Hypergraph Neural Networkscited by 488
  11. 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 318
  12. 2022Black-Box Tuning for Language-Model-as-a-Servicecited by 256
  13. 2023Looped Transformers as Programmable Computerscited by 237
  14. 2019Hypergraph Convolution and Hypergraph Attentioncited by 228
  15. 2023Looped Transformers are Better at Learning Learning Algorithmscited by 149
  16. 2023Representational Strengths and Limitations of Transformerscited by 133
  17. 2019Neural Execution of Graph Algorithmscited by 121
  18. 2021Neural Algorithmic Reasoningcited by 94
  19. 2024Internet of Agents: Weaving a Web of Heterogeneous Agents for Collaborative Intelligencecited by 86
  20. 2023Symbol tuning improves in-context learning in language modelscited by 75
  21. 2024Can Looped Transformers Learn to Implement Multi-step Gradient Descent for In-context Learning?cited by 65
  22. 2021Training Multi-Layer Over-Parametrized Neural Network in Subquadratic Timecited by 62
  23. 2023EcoAssistant: Using LLM Assistant More Affordably and Accuratelycited by 49
  24. 2023An Over-parameterized Exponential Regressioncited by 45
  25. 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44
  26. 2024From LLM to Conversational Agent: A Memory Enhanced Architecture with Fine-Tuning of Large Language Modelscited by 43
  27. 2023On Sparse Modern Hopfield Modelcited by 42
  28. 2024On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysiscited by 41
  29. 2024On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs)cited by 40
  30. 2024Do Large Language Models Have Compositional Ability? An Investigation into Limitations and Scalabilitycited by 40
  31. 2024Discovering the Gems in Early Layers: Accelerating Long-Context LLMs with 1000x Input Token Reductioncited by 39
  32. 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
  33. 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
  34. 2024LazyDiT: Lazy Learning for the Acceleration of Diffusion Transformerscited by 37
  35. 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 35
  36. 2023In-Context Learning for Attention Scheme: from Single Softmax Regression to Multiple Softmax Regression via a Tensor Trickcited by 32
  37. 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
  38. 2024Linear-Time Graph Neural Networks for Scalable Recommendationscited by 31

50 most cited of 84 All 84 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Understanding Transformer Reasoning Capabilities via Graph Algorithms
  2. 2024Reasoning Algorithmically in Graph Neural Networks
  3. 2026Which Algorithms Can Graph Neural Networks Learn?
  4. 2025Primal-Dual Neural Algorithmic Reasoning
  5. 2024Are Large-Language Models Graph Algorithmic Reasoners?
  6. 2026Beyond the Training Horizon: Mechanisms and Limits of Length Generalization in Looped Transformers
  7. 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracing
  8. 2026GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMs