ORCHES: Orchestrated Test-Time-Compute-based LLM Reasoning on Collaborative GPU-PIM HEterogeneous System
Recent breakthroughs in AI reasoning, enabled by test-time compute (TTC) on compact large language models (LLMs), offer great potential for edge devices to effectively execute complex reasoning tasks. However, the intricate inference pipelines associated with TTC pose new efficiency bottlenecks, limiting achievable latency and hindering widespread adoption. Through an in-depth analysis, we identify three key barriers: (1) variable parallelism, characterized by inference-dependent dynamic control flows and varying batch sizes, complicating workload scheduling; (2) branch dependencies, hindering efficient pipelining across sequential reasoning steps; and (3) branch pruning, causing memory fragmentation and irregular data access patterns. Motivated by the memory-bound nature of LLMs and Processing-in-Memory (PIM)'s capability to reduce data movement, we propose ORCHES, a novel GPU-PIM collaborative system specifically designed to address these barriers. ORCHES integrates three key innovations: (1) adaptive workload assignment, dynamically balancing workloads between GPU and PIM units to maximize parallelism despite unpredictable branching; (2) branch-aware pipelining, leveraging speculative execution to substantially reduce inter-step pipeline stalls; and (3) fragmentation-aware memory structuring, enhancing data locality and access efficiency through coordinated caching and optimized memory layout reorganization. Experimental results demonstrate that ORCHES achieves average speedups of 4.16 × and 3.10 × over state-of-the-art (SOTA) GPU implementations for text-based and vision-based reasoning tasks, respectively, without any loss in the accuracy of the original reasoning pipeline.
Authors
- Yuzhou Chen (ORCID: https://orcid.org/0009-0004-9236-0480)
- Yingyan Lin (ORCID: https://orcid.org/0000-0001-5946-203X)
- Zhifan Ye (ORCID: https://orcid.org/0000-0003-0755-8843)
- Zhongzhi Yu (ORCID: https://orcid.org/0000-0002-9981-4981)
- Sixu Li (ORCID: https://orcid.org/0000-0002-9105-9299)
- Yonggan Fu (ORCID: https://orcid.org/0000-0002-7483-2921)
- Chaojian Li (ORCID: https://orcid.org/0000-0003-4030-9777)
- Yongan Zhang (ORCID: https://orcid.org/0000-0001-7919-049X)
- Wei Zhou (ORCID: https://orcid.org/0009-0001-7259-590X)
- Zheng Wang (ORCID: https://orcid.org/0009-0008-0512-5028)
Institutions
- Georgia Institute of Technology (US)
Publication Details
- Published
- 2025-10-17
- DOI
- https://doi.org/10.1145/3725843.3756039
- Citations
- 1
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.31