Hogwild! Inference: Parallel LLM Generation via Concurrent Attention
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
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
38 more
- 2024GPT-4o System Cardcited by 4,467
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Let's Verify Step by Stepcited by 3,598
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2025s1: Simple test-time scalingcited by 1,311
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 564
- 2025LIMO: Less is More for Reasoningcited by 488
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
- 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 420
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
- 2023Multi-Agent Collaboration: Harnessing the Power of Intelligent LLM Agentscited by 329
- 2023ReConcile: Round-Table Conference Improves Reasoning via Consensus among Diverse LLMscited by 297
- 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 239
- 2023Better Zero-Shot Reasoning with Role-Play Promptingcited by 220
- 2024More Agents Is All You Needcited by 174
- 2023An LLM Compiler for Parallel Function Callingcited by 170
- 2023LM vs LM: Detecting Factual Errors via Cross Examinationcited by 155
- 2024Rethinking the Bounds of LLM Reasoning: Are Multi-Agent Discussions the Key?cited by 153
- 2024LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMscited by 142
- 2024Self-Discover: Large Language Models Self-Compose Reasoning Structurescited by 108
- 2023Skeleton-of-Thought: Prompting LLMs for Efficient Parallel Generationcited by 103
- 2025Dynamic Parallel Tree Search for Efficient LLM Reasoningcited by 42
- 2024Meta Reasoning for Large Language Modelscited by 29
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2025: 17; 2026: 15.
32 papers.
Sort:
By area:
- 2026CaP-X: A Framework for Benchmarking and Improving Coding Agents for Robot Manipulationcited by 72
- 2025Parallel-R1: Towards Parallel Thinking via Reinforcement Learningcited by 59
- 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
- 2025ParaThinker: Native Parallel Thinking as a New Paradigm to Scale LLM Test-time Computecited by 36
- 2025Multiverse: Your Language Models Secretly Decide How to Parallelize and Merge Generationcited by 30
- 2025Group Think: Multiple Concurrent Reasoning Agents Collaborating at Token Level Granularitycited by 22
- 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 22
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discoverycited by 17
- 2025Self-Steering Language Modelscited by 13
- 2026Parallel-Probe: Towards Efficient Parallel Thinking via 2D Probingcited by 13
- 2025ASPD: Unlocking Adaptive Serial-Parallel Decoding by Exploring Intrinsic Parallelism in LLMscited by 11
- 2025A Survey on Parallel Reasoningcited by 11
20 more
- 2025SPRINT: Enabling Interleaved Planning and Parallelized Execution in Reasoning Modelscited by 10
- 2025Diversity-Enhanced Reasoning for Subjective Questionscited by 9
- 2025Planned Diffusioncited by 8
- 2025Generalized Parallel Scaling with Interdependent Generationscited by 6
- 2025Asynchronous Reasoning: Training-Free Interactive Thinking LLMscited by 6
- 2026Accelerating Structured Chain-of-Thought in Autonomous Vehiclescited by 6
- 2025The Era of Agentic Organization: Learning to Organize with Language Modelscited by 5
- 2025The Road Less Traveled: Enhancing Exploration in LLMs via Sequential Samplingcited by 2
- 2026RAL2M: Retrieval Augmented Learning-To-Match Against Hallucination in Compliance-Guaranteed Service Systemscited by 2
- 2026Parallel Test-Time Scaling with Multi-Sequence Verifierscited by 2
- 2026Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputscited by 2
- 2026On the Overscaling Curse of Parallel Thinking: System Efficacy Contradicts Sample Efficiencycited by 1
- 2026LaneRoPE: Positional Encoding for Collaborative Parallel Reasoning and Generationcited by 1
- 2026PaDoc: Layout-Grounded Parallel Decoding for Document Parsingcited by 1
- 2025Parallel Decoder Transformer: Planner-Conditioned Latent Coordination for Model-Intrinsic Parallel Generationcited by 0
- 2026Efficient Reasoning on the Edgecited by 0
- 2026LACE: Lattice Attention for Cross-thread Explorationcited by 0
- 2026Regulating Branch Parallelism in LLM Servingcited by 0
- 2026Second Thought: Reasoning in Parallel as LLM Agents Act and Observecited by 0
- 2026LLMs are General Asynchronous Agentscited by 0
- 2026LLMs are General Asynchronous Agents28 Sep 2026
- 2026Second Thought: Reasoning in Parallel as LLM Agents Act and Observe13 Aug 2026
- 2026PaDoc: Layout-Grounded Parallel Decoding for Document Parsing6 Aug 2026
- 2026LaneRoPE: Positional Encoding for Collaborative Parallel Reasoning and Generation26 May 2026
- 2026Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputs12 May 2026
- 2026Regulating Branch Parallelism in LLM Serving7 May 2026
- 2026LACE: Lattice Attention for Cross-thread Exploration16 Apr 2026
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discovery7 Apr 2026
- 2026CaP-X: A Framework for Benchmarking and Improving Coding Agents for Robot Manipulation23 Mar 2026
- 2026Efficient Reasoning on the Edge17 Mar 2026
- 2026Parallel Test-Time Scaling with Multi-Sequence Verifiers3 Mar 2026
- 2026Parallel-Probe: Towards Efficient Parallel Thinking via 2D Probing3 Feb 2026
20 more
- 2026Accelerating Structured Chain-of-Thought in Autonomous Vehicles2 Feb 2026
- 2026On the Overscaling Curse of Parallel Thinking: System Efficacy Contradicts Sample Efficiency29 Jan 2026
- 2026RAL2M: Retrieval Augmented Learning-To-Match Against Hallucination in Compliance-Guaranteed Service Systems6 Jan 2026
- 2025Asynchronous Reasoning: Training-Free Interactive Thinking LLMs11 Dec 2025
- 2025Parallel Decoder Transformer: Planner-Conditioned Latent Coordination for Model-Intrinsic Parallel Generation10 Dec 2025
- 2025The Era of Agentic Organization: Learning to Organize with Language Models30 Oct 2025
- 2025Planned Diffusion20 Oct 2025
- 2025The Road Less Traveled: Enhancing Exploration in LLMs via Sequential Sampling17 Oct 2025
- 2025A Survey on Parallel Reasoning14 Oct 2025
- 2025Generalized Parallel Scaling with Interdependent Generations1 Oct 2025
- 2025Parallel-R1: Towards Parallel Thinking via Reinforcement Learning9 Sep 2025
- 2025ParaThinker: Native Parallel Thinking as a New Paradigm to Scale LLM Test-time Compute30 Aug 2025
- 2025ASPD: Unlocking Adaptive Serial-Parallel Decoding by Exploring Intrinsic Parallelism in LLMs12 Aug 2025
- 2025Diversity-Enhanced Reasoning for Subjective Questions27 Jul 2025
- 2025Multiverse: Your Language Models Secretly Decide How to Parallelize and Merge Generation11 Jun 2025
- 2025SPRINT: Enabling Interleaved Planning and Parallelized Execution in Reasoning Models6 Jun 2025
- 2025Get Experience from Practice: LLM Agents with Record & Replay23 May 2025
- 2025Group Think: Multiple Concurrent Reasoning Agents Collaborating at Token Level Granularity16 May 2025
- 2025Learning Adaptive Parallel Reasoning with Language Models21 Apr 2025
- 2025Self-Steering Language Models9 Apr 2025
- 2025Parallel-R1: Towards Parallel Thinking via Reinforcement Learningcited by 59
- 2025Learning Adaptive Parallel Reasoning with Language Modelscited by 58
- 2025ParaThinker: Native Parallel Thinking as a New Paradigm to Scale LLM Test-time Computecited by 36
- 2025Group Think: Multiple Concurrent Reasoning Agents Collaborating at Token Level Granularitycited by 22
- 2025Self-Steering Language Modelscited by 13
- 2025A Survey on Parallel Reasoningcited by 11
- 2025SPRINT: Enabling Interleaved Planning and Parallelized Execution in Reasoning Modelscited by 10
- 2025Diversity-Enhanced Reasoning for Subjective Questionscited by 9
- 2025Asynchronous Reasoning: Training-Free Interactive Thinking LLMscited by 6
- 2026Accelerating Structured Chain-of-Thought in Autonomous Vehiclescited by 6
- 2025The Road Less Traveled: Enhancing Exploration in LLMs via Sequential Samplingcited by 2
- 2026Parallel Test-Time Scaling with Multi-Sequence Verifierscited by 2
12 most cited of 17 All 17 (JSON)
- 2026Second Thought: Reasoning in Parallel as LLM Agents Act and Observe13 Aug 2026
- 2026LaneRoPE: Positional Encoding for Collaborative Parallel Reasoning and Generation26 May 2026
- 2026Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputs12 May 2026
- 2026Efficient Reasoning on the Edge17 Mar 2026
- 2026Parallel Test-Time Scaling with Multi-Sequence Verifiers3 Mar 2026
- 2026Accelerating Structured Chain-of-Thought in Autonomous Vehicles2 Feb 2026
- 2026On the Overscaling Curse of Parallel Thinking: System Efficacy Contradicts Sample Efficiency29 Jan 2026
- 2025Asynchronous Reasoning: Training-Free Interactive Thinking LLMs11 Dec 2025
- 2025The Road Less Traveled: Enhancing Exploration in LLMs via Sequential Sampling17 Oct 2025
- 2025A Survey on Parallel Reasoning14 Oct 2025
- 2025Parallel-R1: Towards Parallel Thinking via Reinforcement Learning9 Sep 2025
- 2025ParaThinker: Native Parallel Thinking as a New Paradigm to Scale LLM Test-time Compute30 Aug 2025
12 newest of 17 All 17 (JSON)
- 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 22
- 2025The Era of Agentic Organization: Learning to Organize with Language Modelscited by 5
- 2026LLMs are General Asynchronous Agentscited by 0
- 2026LLMs are General Asynchronous Agents28 Sep 2026
- 2025The Era of Agentic Organization: Learning to Organize with Language Models30 Oct 2025
- 2025Get Experience from Practice: LLM Agents with Record & Replay23 May 2025
- 2025Planned Diffusioncited by 8
- 2025Planned Diffusion20 Oct 2025
- 2025Multiverse: Your Language Models Secretly Decide How to Parallelize and Merge Generationcited by 30
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discoverycited by 17
- 2026Parallel-Probe: Towards Efficient Parallel Thinking via 2D Probingcited by 13
- 2025Generalized Parallel Scaling with Interdependent Generationscited by 6
- 2025Parallel Decoder Transformer: Planner-Conditioned Latent Coordination for Model-Intrinsic Parallel Generationcited by 0
- 2026LACE: Lattice Attention for Cross-thread Explorationcited by 0
- 2026LACE: Lattice Attention for Cross-thread Exploration16 Apr 2026
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discovery7 Apr 2026
- 2026Parallel-Probe: Towards Efficient Parallel Thinking via 2D Probing3 Feb 2026
- 2025Parallel Decoder Transformer: Planner-Conditioned Latent Coordination for Model-Intrinsic Parallel Generation10 Dec 2025
- 2025Generalized Parallel Scaling with Interdependent Generations1 Oct 2025
- 2025Multiverse: Your Language Models Secretly Decide How to Parallelize and Merge Generation11 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2025Efficient LLM Collaboration via Planning
- 2026Parason: Revealing Subtask and Trial Parallelism in LLM Reasoning
- 2025Optimizing Sequential Multi-Step Tasks with Parallel LLM Agents
- 2026Characterizing Parallelism Strategies in LLM Inference: Fundamental Compute-Communication Trade-offs
- 2026Message Passing Enables Efficient Reasoning
- 2023Response Length Perception and Sequence Scheduling: An LLM-Empowered LLM Inference Pipeline
- 2024Beyond KV Caching: Shared Attention for Efficient LLMs
- 2025Reasoning on a Budget: A Survey of Adaptive and Controllable Test-Time Compute in LLMs