[논문 리뷰] BOute: Cost-Efficient LLM Serving with Heterogeneous LLMs and GPUs via Multi-Objective Bayesian Optimization
BOoute는 이종 LLM에 대한 질의 라우팅과 이종 GPU에 대한 배치를 다중목표 베이지안 최적화 프레임워크를 사용하여 공동으로 최적화하여, 품질 목표를 충족하는 동시에 비용과 대기시간을 크게 개선합니다.
The rapid growth of large language model (LLM) deployments has made cost-efficient serving systems essential. Recent efforts to enhance system cost-efficiency adopt two main perspectives: (i) An algorithmic perspective that exploits heterogeneous model capabilities to route simpler queries to lower-cost models and complex queries to higher-cost models (i.e., heterogeneous query routing); and (ii) a systems perspective that utilizes heterogeneous GPU resources as cost-effective alternatives to homogeneous high-end GPUs (i.e., heterogeneous model deployment). However, algorithm-system co-design for cost-efficient LLM serving necessitates sophisticated management: (i) Determining optimal query routing strategies under latency and quality requirements, (ii) configuring model deployment across heterogeneous GPUs with appropriate resource allocation and parallelism strategies, and (iii) co-optimizing routing and deployment decisions to maximize overall system performance. To address these challenges, we present BOute, a quality-aware scheduling system that jointly exploits heterogeneous model and GPU capabilities for cost-efficient LLM serving. BOute employs a multi-objective Bayesian optimization (MOBO) framework to co-optimize the routing strategy and model deployment, thereby maximizing the cost-efficiency of the serving system while guaranteeing response quality. Evaluation results demonstrate that BOute outperforms state-of-the-art LLM serving systems by up to 157% and 59% on average under identical cost budgets and quality requirements, or reducing serving costs by 15%-61% (38% on average) while maintaining the same performance targets, validating its effectiveness in achieving cost-efficient LLM serving.
연구 동기 및 목표
- 모델과 GPU의 이질성을 통해 비용 효율적인 LLM 제공을 촉진한다.
- 지연(대기 시간) 및 품질 제약하에 공동 라우팅 및 배치 최적화 문제를 형식화한다.
- 파레토 최적 해를 찾기 위한 다목적 베이지안 최적화 프레임워크를 개발한다.
- 최신 기준선과 비교하여 지연, 처리량 및 비용에서 현저한 개선을 입증한다.
제안 방법
- 라우팅을 조정 가능한 tau 임계값으로 임계 기반 결정으로 형식화한다.
- 배치를 모델에 대한 GPU의 할당 행렬 A와 병렬성 P로 정의한다.
- 예산 및 GPU 제약 하에서 지연 및 품질의 다목적 최적화로 공동 문제를 모델링한다.
- 오프라인: 단일 및 다중 복제 배치를 프로파일링하는 추론 작업 시뮬레이터를 통해 성능 데이터베이스를 구축한다.
- 온라인 MOBO: 부하 분수 재매개변화(load-fraction reparameterization)와 제약 인식된 제약된 qNEHVI 획득 함수로 합성 커널 GP 대리자를 사용한다.
- 모델-GPU 선호도 및 로그 변환과 같은 구조적 바이어스를 도입하여 최적화를 안정화한다.
실험 결과
연구 질문
- RQ1라우팅 결정과 배치 구성을 어우러지게 최적화하여 지연 시간을 최소화하고 출력 품질을 보존하거나 향상시킬 수 있는가?
- RQ2이종 GPU를 배치하는 것이 이종 LLM의 서비스 비용 효율성과 지연 시간에 어떤 영향을 미치는가?
- RQ3MOBO가 예산 및 GPU 가용성 제약 하에서 파레토 최적 구성을 식별할 수 있는가?
- RQ4구조적 인코딩(부하 분수, GPU 선호도)이 MOBO의 효율성과 해의 품질에 어떤 영향을 미치는가?
주요 결과
- BOoute는 동일 예산 및 품질 목표 하에서 시스템 지연을 최대 2.6배 감소시키고 평균 1.6배 개선을 달성한다.
- 동일한 제약 하에서 시스템 처리량을 최대 1.9배(평균 1.6배)까지 향상시킬 수 있다.
- 이종 모델 라우팅과 이종 GPU 배치는 서로를 보완하여, 개선된 대기 시간으로 비용 효율적인 서비스 제공을 가능하게 한다.
- 다른 모델은 서로 다른 GPU에서 서로 다른 성능을 나타내므로 이종 배치를 필수적으로 만든다.
- MOBO 프레임워크는 지연과 품질의 균형을 이루는 파레토 최적의 라우팅 및 배치 구성으로 수렴한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.