Program Scalability Analysis for LLM Endpoints: Ahmdal's Law Analysis of Parallelizability Benefits of LLM Completions Endpoints*

This paper presents an analysis of program scalability when using LLM endpoints for parallel chunked completions. By applying Amdahl's Law, we benchmark the performance and scalability of different parallel execution strategies. Additionally, we show that program instrumentation helps Gustafson's scaled speedup formulation to quantify the elusive quality in Amdahl's Law. Furthermore, we report that without combining multiple completions into an ensemble, the results are not trustworthy. We demonstrate a methodology that can help achieve more stable completions by repeated execution with ensemble and identify the optimal degree of parallelism. The study aims to provide insights into optimizing the use of LLM endpoints for applications with large input limits.

Authors

Institutions

Publication Details

Published
2024-11-04
DOI
https://doi.org/10.1109/iceccme62383.2024.10796792
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Program Scalability Analysis for LLM Endpoints: Ahmdal's Law Analysis of Parallelizability Benefits of LLM Completions Endpoints*

Ayalvadi Ganesh
Distributed and Parallel Computing Systems
article

Program Scalability Analysis for LLM Endpoints: Ahmdal's Law Analysis of Parallelizability Benefits of LLM Completions Endpoints*

Ayalvadi Ganesh
article en

Abstract

This paper presents an analysis of program scalability when using LLM endpoints for parallel chunked completions. By applying Amdahl's Law, we benchmark the performance and scalability of different parallel execution strategies. Additionally, we show that program instrumentation helps Gustafson's scaled speedup formulation to quantify the elusive quality in Amdahl's Law. Furthermore, we report that without combining multiple completions into an ensemble, the results are not trustworthy. We demonstrate a methodology that can help achieve more stable completions by repeated execution with ensemble and identify the optimal degree of parallelism. The study aims to provide insights into optimizing the use of LLM endpoints for applications with large input limits.

Microsoft (United States) (US)
Peace, Justice and strong institutions
Openalex Percentile: Top 73%
Distributed and Parallel Computing Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.