Hogwild! Inference: Parallel LLM generation via concurrent attention
Rodionov G, Garipov R, Shutova A, Yakushev G, Schultheis E, Egiazarian V, Sinitsin A, Kuznedelev D, Alistarh D-A. 2025. Hogwild! Inference: Parallel LLM generation via concurrent attention. 39th Conference on Neural Information Processing Systems. NeurIPS: Neural Information Processing Systems, Advances in Neural Information Processing Systems, vol. 38, 52014–52055.
Download (ext.)
Conference Paper
| Published
| English
Scopus indexed
Author
Rodionov, Gleb;
Garipov, Roman;
Shutova, Alina;
Yakushev, George;
Schultheis, ErikISTA;
Egiazarian, VageISTA;
Sinitsin, Anton;
Kuznedelev, Denis;
Alistarh, Dan-AdrianISTA 
Department
Series Title
Advances in Neural Information Processing Systems
Abstract
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.1 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.
Publishing Year
Date Published
2025-12-02
Proceedings Title
39th Conference on Neural Information Processing Systems
Publisher
Neural Information Processing Systems Foundation
Acknowledgement
We thank Vladimir Malinovskii for his help with brainstorming, helpful
feedback and suggesting future work directions. We also thank Philip Zmushko for proofreading.
Volume
38
Page
52014-52055
Conference
NeurIPS: Neural Information Processing Systems
Conference Location
San Diego, CA, United States
Conference Date
2025-12-02 – 2025-12-07
ISBN
ISSN
IST-REx-ID
Cite this
Rodionov G, Garipov R, Shutova A, et al. Hogwild! Inference: Parallel LLM generation via concurrent attention. In: 39th Conference on Neural Information Processing Systems. Vol 38. Neural Information Processing Systems Foundation; 2025:52014-52055. doi:10.52202/085713-1551
Rodionov, G., Garipov, R., Shutova, A., Yakushev, G., Schultheis, E., Egiazarian, V., … Alistarh, D.-A. (2025). Hogwild! Inference: Parallel LLM generation via concurrent attention. In 39th Conference on Neural Information Processing Systems (Vol. 38, pp. 52014–52055). San Diego, CA, United States: Neural Information Processing Systems Foundation. https://doi.org/10.52202/085713-1551
Rodionov, Gleb, Roman Garipov, Alina Shutova, George Yakushev, Erik Schultheis, Vage Egiazarian, Anton Sinitsin, Denis Kuznedelev, and Dan-Adrian Alistarh. “Hogwild! Inference: Parallel LLM Generation via Concurrent Attention.” In 39th Conference on Neural Information Processing Systems, 38:52014–55. Neural Information Processing Systems Foundation, 2025. https://doi.org/10.52202/085713-1551.
G. Rodionov et al., “Hogwild! Inference: Parallel LLM generation via concurrent attention,” in 39th Conference on Neural Information Processing Systems, San Diego, CA, United States, 2025, vol. 38, pp. 52014–52055.
Rodionov G, Garipov R, Shutova A, Yakushev G, Schultheis E, Egiazarian V, Sinitsin A, Kuznedelev D, Alistarh D-A. 2025. Hogwild! Inference: Parallel LLM generation via concurrent attention. 39th Conference on Neural Information Processing Systems. NeurIPS: Neural Information Processing Systems, Advances in Neural Information Processing Systems, vol. 38, 52014–52055.
Rodionov, Gleb, et al. “Hogwild! Inference: Parallel LLM Generation via Concurrent Attention.” 39th Conference on Neural Information Processing Systems, vol. 38, Neural Information Processing Systems Foundation, 2025, pp. 52014–55, doi:10.52202/085713-1551.
All files available under the following license(s):
Copyright Statement:
This Item is protected by copyright and/or related rights. [...]
Link(s) to Main File(s)
Access Level
Open Access
