mlsanityData to 7 Oct 2026

Hogwild! Inference: Parallel LLM Generation via Concurrent Attention

arXiv 2504.06261 ↗First posted 8 Apr 2025cs.LG cs.CLcited by 32

On the map: Efficient LLM inference and serving → Serving systems and request scheduling

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated the ability to tackle increasingly complex tasks through advanced reasoning, long-form content generation, and tool use. Solving these tasks often involves long inference-time computations. In human problem solving, a common strategy to expedite work is collaboration: by dividing the problem into sub-tasks, exploring different strategies concurrently, etc. Recent research has shown that LLMs can also operate in parallel by implementing explicit cooperation frameworks, such as voting mechanisms or the explicit creation of independent sub-tasks that can be executed in parallel. However, each of these frameworks may not be suitable for all types of tasks, which can hinder their applicability. In this work, we propose a different design approach: we run LLM "workers" in parallel , allowing them to synchronize via a concurrently-updated attention cache and prompt these workers to decide how best to collaborate. Our approach allows the LLM instances to come up with their own collaboration strategy for the problem at hand, all the while "seeing" each other's memory in the concurrent KV cache. We implement this approach via Hogwild! Inference: a parallel LLM inference engine where multiple instances of the same LLM run in parallel with the same attention cache, with "instant" access to each other's memory. Hogwild! Inference takes advantage of Rotary Position Embeddings (RoPE) to avoid recomputation while improving parallel hardware utilization. We find that modern reasoning-capable LLMs can perform inference with shared Key-Value cache out of the box, without additional fine-tuning.

Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Placed in Serving systems and request scheduling, one of 12 directions in Efficient LLM inference and serving. Builds on 55 of its 80 references that are in the map. First posted on arXiv 8 Apr 2025.

Builds on

55 of 80 references.

References · 55

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  6. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  7. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  8. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  9. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  10. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  11. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  12. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
38 more
  1. 2024GPT-4o System Cardcited by 4,467
  2. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  3. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  4. 2023Let's Verify Step by Stepcited by 3,598
  5. 2020Longformer: The Long-Document Transformercited by 3,362
  6. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  7. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  8. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
  9. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  10. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  11. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  12. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  13. 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
  14. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  15. 2025s1: Simple test-time scalingcited by 1,311
  16. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  17. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  18. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
  19. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
  20. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
  21. 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 564
  22. 2025LIMO: Less is More for Reasoningcited by 488
  23. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  24. 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 420
  25. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
  26. 2023Multi-Agent Collaboration: Harnessing the Power of Intelligent LLM Agentscited by 329
  27. 2023ReConcile: Round-Table Conference Improves Reasoning via Consensus among Diverse LLMscited by 297
  28. 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 239
  29. 2023Better Zero-Shot Reasoning with Role-Play Promptingcited by 220
  30. 2024More Agents Is All You Needcited by 174
  31. 2023An LLM Compiler for Parallel Function Callingcited by 170
  32. 2023LM vs LM: Detecting Factual Errors via Cross Examinationcited by 155
  33. 2024Rethinking the Bounds of LLM Reasoning: Are Multi-Agent Discussions the Key?cited by 153
  34. 2024LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMscited by 142
  35. 2024Self-Discover: Large Language Models Self-Compose Reasoning Structurescited by 108
  36. 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 103
  37. 2025Dynamic Parallel Tree Search for Efficient LLM Reasoningcited by 42
  38. 2024Meta Reasoning for Large Language Modelscited by 29

50 most cited of 55 All 55 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 17; 2026: 15.

32 papers.

Sort:

By area:

  1. 2026CaP-X: A Framework for Benchmarking and Improving Coding Agents for Robot Manipulationcited by 72
  2. 2025Parallel-R1: Towards Parallel Thinking via Reinforcement Learningcited by 59
  3. 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
  4. 2025ParaThinker: Native Parallel Thinking as a New Paradigm to Scale LLM Test-time Computecited by 36
  5. 2025Multiverse: Your Language Models Secretly Decide How to Parallelize and Merge Generationcited by 30
  6. 2025Group Think: Multiple Concurrent Reasoning Agents Collaborating at Token Level Granularitycited by 22
  7. 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 22
  8. 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discoverycited by 17
  9. 2025Self-Steering Language Modelscited by 13
  10. 2026Parallel-Probe: Towards Efficient Parallel Thinking via 2D Probingcited by 13
  11. 2025ASPD: Unlocking Adaptive Serial-Parallel Decoding by Exploring Intrinsic Parallelism in LLMscited by 11
  12. 2025A Survey on Parallel Reasoningcited by 11
20 more
  1. 2025SPRINT: Enabling Interleaved Planning and Parallelized Execution in Reasoning Modelscited by 10
  2. 2025Diversity-Enhanced Reasoning for Subjective Questionscited by 9
  3. 2025Planned Diffusioncited by 8
  4. 2025Generalized Parallel Scaling with Interdependent Generationscited by 6
  5. 2025Asynchronous Reasoning: Training-Free Interactive Thinking LLMscited by 6
  6. 2026Accelerating Structured Chain-of-Thought in Autonomous Vehiclescited by 6
  7. 2025The Era of Agentic Organization: Learning to Organize with Language Modelscited by 5
  8. 2025The Road Less Traveled: Enhancing Exploration in LLMs via Sequential Samplingcited by 2
  9. 2026RAL2M: Retrieval Augmented Learning-To-Match Against Hallucination in Compliance-Guaranteed Service Systemscited by 2
  10. 2026Parallel Test-Time Scaling with Multi-Sequence Verifierscited by 2
  11. 2026Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputscited by 2
  12. 2026On the Overscaling Curse of Parallel Thinking: System Efficacy Contradicts Sample Efficiencycited by 1
  13. 2026LaneRoPE: Positional Encoding for Collaborative Parallel Reasoning and Generationcited by 1
  14. 2026PaDoc: Layout-Grounded Parallel Decoding for Document Parsingcited by 1
  15. 2025Parallel Decoder Transformer: Planner-Conditioned Latent Coordination for Model-Intrinsic Parallel Generationcited by 0
  16. 2026Efficient Reasoning on the Edgecited by 0
  17. 2026LACE: Lattice Attention for Cross-thread Explorationcited by 0
  18. 2026Regulating Branch Parallelism in LLM Servingcited by 0
  19. 2026Second Thought: Reasoning in Parallel as LLM Agents Act and Observecited by 0
  20. 2026LLMs are General Asynchronous Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Efficient LLM Collaboration via Planning
  2. 2026Parason: Revealing Subtask and Trial Parallelism in LLM Reasoning
  3. 2025Optimizing Sequential Multi-Step Tasks with Parallel LLM Agents
  4. 2026Characterizing Parallelism Strategies in LLM Inference: Fundamental Compute-Communication Trade-offs
  5. 2026Message Passing Enables Efficient Reasoning
  6. 2023Response Length Perception and Sequence Scheduling: An LLM-Empowered LLM Inference Pipeline
  7. 2024Beyond KV Caching: Shared Attention for Efficient LLMs
  8. 2025Reasoning on a Budget: A Survey of Adaptive and Controllable Test-Time Compute in LLMs