Summary
This paper proposes multi-bin batching, a method to enhance the throughput of LLM inference systems. It provides an analysis to quantify the throughput gains achieved by this approach and develops strategies to balance these gains with the additional latency introduced. Experimental results show that multi-bin batching improves LLM inference system throughput by up to 70% compared to standard inference.
Strengths
1. This paper conducts a theoretical analysis, demonstrating the proposed batching method's correctness, effectiveness, and limitations.
2. It provides insights into achieving responsive and efficient LLM inference serving by incorporating answer length estimation.
Weaknesses
1. The experiments in this paper are limited and do not fully support the claims of "various settings" (L87) or "comprehensive experiments" (L103). The experiments are confined to a single model, a single device, and a fixed batch size, which limits the ability to demonstrate the robustness and generalization of the approach across diverse scenarios.
The baseline for comparison is restricted to standard batching inference, without evaluating the proposed approach against existing methods that improve LLM inference throughput by batching, such as those mentioned in the related works (e.g., [1]). Additionally, the details of experiment 6.2 are ambiguous, lacking clear information about the requests' sources, attributes (e.g., prompt length, output length), or how inference times are estimated.
2. The experiment in Section 6.2 is limited to a simulated environment rather than a real-world LLM inference system and is performed under the strong assumption that all requests arrive at once. This assumption has not been validated through providing sufficient evidence to demonstrate most real-world scenarios satisfy this requirement. As a result, the exploration of how latency from waiting for requests impacts response times is constrained to theoretical analysis.
3. The novelty of the proposed approach is limited by insufficient differentiation from prior work. The paper does not clearly explain the differences or relationships between this method and existing approaches that leverage batching, weakening its contribution. For instance, the paper claims that continuous batching is unsuitable for distributed or cloud-based environments (L45) while the proposed method works in these scenarios, yet no experiments are conducted in such environments to substantiate this claim, nor is the proposed method compared against approaches using continuous batching.
[1] Ke Cheng, Wen Hu, Zhi Wang, Hongen Peng, Jianguo Li, and Sheng Zhang. Slice-level scheduling for high throughput and load balanced llm serving. arXiv preprint arXiv:2406.13511, 2024b
Questions
Some assumptions in the paper need further validation and discussion.
1. Are there any real-world examples or empirical analyses supporting the assumption in Section 3.2 (L172) that service times of different requests are uniformly distributed?
2. Are the proposed methods able to remain effective when the estimated answer lengths are inaccurate?