paper-with-me

Papers

Understanding and Optimizing Multi-Stage AI Inference Pipelines

2025-04-14 · Abhimanyu Rajeshkumar Bambhaniya, Hanjiang Wu, Suvinay Subramanian, Sudarshan Srinivasan, Souvik Kundu, Amir Yazdanbakhsh, Midhilesh Elavazhagan, Madhu Kumar, Tushar Krishna

The rapid evolution of Large Language Models (LLMs) has driven the need for increasingly sophisticated inference pipelines and hardware platforms. Modern LLM serving extends beyond traditional prefill-decode workflows, incorporating multi-stage processes such as Retrieval Augmented Generation (RAG), key-value (KV) cache retrieval, dynamic model routing, and multi step reasoning. These stages exhibit diverse computational demands, requiring distributed systems that integrate GPUs, ASICs, CPUs, and memory-centric architectures. However, existing simulators lack the fidelity to model these heterogeneous, multi-engine workflows, limiting their ability to inform architectural decisions. To address this gap, we introduce HERMES, a Heterogeneous Multi-stage LLM inference Execution Simulator. HERMES models diverse request stages; including RAG, KV retrieval, reasoning, prefill, and decode across complex hardware hierarchies. HERMES supports heterogeneous clients executing multiple models concurrently unlike prior frameworks while incorporating advanced batching strategies and multi-level memory hierarchies. By integrating real hardware traces with analytical modeling, HERMES captures critical trade-offs such as memory bandwidth contention, inter-cluster communication latency, and batching efficiency in hybrid CPU-accelerator deployments. Through case studies, we explore the impact of reasoning stages on end-to-end latency, optimal batching strategies for hybrid pipelines, and the architectural implications of remote KV cache retrieval. HERMES empowers system designers to navigate the evolving landscape of LLM inference, providing actionable insights into optimizing hardware-software co-design for next-generation AI workloads.

📄 PDF Abstract BibTeX arXiv:2504.09775

Code (0)

등록된 구현이 없습니다.

Tasks

CPUNavigateRAGRetrievalRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Adam 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

Strategies for Optimizing End-to-End Artificial Intelligence Pipelines on Intel Xeon Processors

2022-11-01 · Meena Arunachalam, Vrushabh Sanghavi, Yi A Yao, Yi A Zhou 외

End-to-end (E2E) artificial intelligence (AI) pipelines are composed of several stages including data preprocessing, data ingestion, defining and training the model, hyperparameter optimization, deployment, inference, po…

Hyperparameter OptimizationRecommendation Systems

Optimizing video analytics inference pipelines: a case study

2025-12-07 · Saeid Ghafouri, Yuming Ding, Katerine Diaz Chito, Jesús Martinez del Rincón 외 arxiv

Cost-effective and scalable video analytics are essential for precision livestock monitoring, where high-resolution footage and near-real-time monitoring needs from commercial farms generates substantial computational wo…

Infinity Parser: Layout Aware Reinforcement Learning for Scanned Document Parsing

2025-06-01 · Baode Wang, Biao Wu, Weizhen Li, Meng Fang 외

Automated parsing of scanned documents into richly structured, machine-readable formats remains a critical bottleneck in Document AI, as traditional multi-stage pipelines suffer from error propagation and limited adaptab…

Document AIdocument understandingLanguage ModelingLanguage Modelling+4

EPD-Serve: A Flexible Multimodal EPD Disaggregation Inference Serving System On Ascend

2026-01-05 · Fan Bai, Pai Peng, Zhengzhi Tang, Zhe Wang 외 arxiv

With the widespread adoption of large multimodal models, efficient inference across text, image, audio, and video modalities has become critical. However, existing multimodal inference systems typically employ monolithic…

M-DEW: Extending Dynamic Ensemble Weighting to Handle Missing Values

2024-04-30 · Adam Catto, Nan Jia, Ansaf Salleb-Aouissi, Anita Raja

Missing value imputation is a crucial preprocessing step for many machine learning problems. However, it is often considered as a separate subtask from downstream applications such as classification, regression, or clust…

AutoMLImputationMissing Values