Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inference
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have sparked significant interest in their generative capabilities, leading to the development of various commercial applications. The high cost of using the models drives application builders to maximize the value of generation under a limited inference budget. This paper presents a study of optimizing inference hyperparameters such as the number of responses, temperature and max tokens, which significantly affects the utility/cost of text generation. We design a framework named EcoOptiGen which leverages economical hyperparameter optimization and cost-based pruning. Experiments with the GPT-3.5/GPT-4 models on a variety of tasks verify its effectiveness. EcoOptiGen is implemented in the `autogen' package of the FLAML library: urlhttps://aka.ms/autogen.
Key facts. Cited by 40 papers in the map (data through 7 Oct 2026). Builds on 17 of its 40 references that are in the map. First posted on arXiv 8 Mar 2023.
Builds on
17 of 40 references.
References · 17
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2016Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimizationcited by 688
- 2019Green AIcited by 620
- 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
5 more
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
- 2020A Systematic Characterization of Sampling Algorithms for Open-ended Language Generationcited by 28
- 2021An Empirical Study on Hyperparameter Optimization for Fine-Tuning Pre-trained Language Modelscited by 12
- 2022Leveraging Natural Supervision for Language Representation Learning and Generationcited by 2
- 2022Don't Be So Sure! Boosting ASR Decoding via Confidence Relaxationcited by 1
Built on by
Citing papers per year: 2023: 4; 2024: 22; 2025: 9; 2026: 5.
40 papers.
Sort:
By area:
- 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimizationcited by 311
- 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 168
- 2024Non-Determinism of "Deterministic" LLM Settingscited by 84
- 2023EcoAssistant: Using LLM Assistant More Affordably and Accuratelycited by 47
- 2023AutoML in the Age of Large Language Models: Current Challenges, Future Opportunities and Riskscited by 34
- 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsingcited by 32
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancementcited by 27
- 2025ReCode: Reinforcing Code Generation with Reasoning-Process Rewardscited by 25
- 2024FunBO: Discovering Acquisition Functions for Bayesian Optimization with FunSearchcited by 22
- 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoningcited by 17
- 2024Scaling LLM Inference with Optimized Sample Compute Allocationcited by 16
28 more
- 2024CEval: A Benchmark for Evaluating Counterfactual Text Generationcited by 15
- 2024CigaR: Cost-efficient Program Repair with LLMscited by 14
- 2024AutoRAG-HP: Automatic Online Hyper-Parameter Tuning for Retrieval-Augmented Generationcited by 13
- 2024Cognitive Overload Attack:Prompt Injection for Long Contextcited by 13
- 2024Problem Solving Through Human-AI Preference-Based Cooperationcited by 11
- 2024EcoAct: Economic Agent Determines When to Register What Actioncited by 11
- 2025Faster, Cheaper, Better: Multi-Objective Hyperparameter Optimization for LLM and RAG Systemscited by 11
- 2025MS-BART: Unified Modeling of Mass Spectra and Molecules for Structure Elucidationcited by 9
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 9
- 2023How Many Validation Labels Do You Need? Exploring the Design Space of Label-Efficient Model Rankingcited by 8
- 2024The Impact of Hyperparameters on Large Language Model Inference Performance: An Evaluation of vLLM and HuggingFace Pipelinescited by 5
- 2025Scaling Textual Gradients via Sampling-Based Momentumcited by 5
- 2024LLM can Achieve Self-Regulation via Hyperparameter Aware Generationcited by 4
- 2024Guiding Large Language Models to Generate Computer-Parsable Contentcited by 4
- 2025HyperSHAP: Shapley Values and Interactions for Explaining Hyperparameter Optimizationcited by 4
- 2024Language Models as Efficient Reward Function Searchers for Custom-Environment Multi-Objective Reinforcementcited by 3
- 2026Models Under SCOPE: Scalable and Controllable Routing via Pre-hoc Reasoningcited by 3
- 2024Return of EM: Entity-driven Answer Set Expansion for QA Evaluationcited by 2
- 2024SuperCode: Sustainability PER AI-driven CO-DEsigncited by 2
- 2024Hallucinations or Attention Misdirection? The Path to Strategic Value Extraction in Business Using Large Language Modelscited by 1
- 2024From Text to Pose to Image: Improving Diffusion Model Control and Qualitycited by 1
- 2025A statistically consistent measure of semantic uncertainty using Language Modelscited by 1
- 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detectioncited by 1
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiencycited by 1
- 2024Synthesize, Partition, then Adapt: Eliciting Diverse Samples from Foundation Modelscited by 0
- 2025XAutoLM: Efficient Fine-Tuning of Language Models via Meta-Learning and AutoMLcited by 0
- 2026LLM-Guided Runtime Parameter Optimization for Energy-Efficient Model Inferencecited by 0
- 2026Persona Non Grata: LLM Persona-Driven Generations in MCQA are Unstable in Distinct Dimensionscited by 0
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces24 Aug 2026
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency14 Aug 2026
- 2026Persona Non Grata: LLM Persona-Driven Generations in MCQA are Unstable in Distinct Dimensions1 Jul 2026
- 2026LLM-Guided Runtime Parameter Optimization for Energy-Efficient Model Inference29 Apr 2026
- 2026Models Under SCOPE: Scalable and Controllable Routing via Pre-hoc Reasoning29 Jan 2026
- 2025MS-BART: Unified Modeling of Mass Spectra and Molecules for Structure Elucidation23 Oct 2025
- 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection20 Oct 2025
- 2025ReCode: Reinforcing Code Generation with Reasoning-Process Rewards7 Aug 2025
- 2025XAutoLM: Efficient Fine-Tuning of Language Models via Meta-Learning and AutoML30 Jul 2025
- 2025Scaling Textual Gradients via Sampling-Based Momentum31 May 2025
- 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoning30 May 2025
- 2025Faster, Cheaper, Better: Multi-Objective Hyperparameter Optimization for LLM and RAG Systems25 Feb 2025
28 more
- 2025HyperSHAP: Shapley Values and Interactions for Explaining Hyperparameter Optimization3 Feb 2025
- 2025A statistically consistent measure of semantic uncertainty using Language Models1 Feb 2025
- 2024SuperCode: Sustainability PER AI-driven CO-DEsign11 Dec 2024
- 2024From Text to Pose to Image: Improving Diffusion Model Control and Quality19 Nov 2024
- 2024Synthesize, Partition, then Adapt: Eliciting Diverse Samples from Foundation Models11 Nov 2024
- 2024EcoAct: Economic Agent Determines When to Register What Action3 Nov 2024
- 2024Scaling LLM Inference with Optimized Sample Compute Allocation29 Oct 2024
- 2024Cognitive Overload Attack:Prompt Injection for Long Context15 Oct 2024
- 2024Language Models as Efficient Reward Function Searchers for Custom-Environment Multi-Objective Reinforcement4 Sep 2024
- 2024Problem Solving Through Human-AI Preference-Based Cooperation14 Aug 2024
- 2024Non-Determinism of "Deterministic" LLM Settings6 Aug 2024
- 2024The Impact of Hyperparameters on Large Language Model Inference Performance: An Evaluation of vLLM and HuggingFace Pipelines2 Aug 2024
- 2024AutoRAG-HP: Automatic Online Hyper-Parameter Tuning for Retrieval-Augmented Generation27 Jun 2024
- 2024FunBO: Discovering Acquisition Functions for Bayesian Optimization with FunSearch7 Jun 2024
- 2024How Far Are We From AGI: Are LLMs All We Need?16 May 2024
- 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsing27 Apr 2024
- 2024CEval: A Benchmark for Evaluating Counterfactual Text Generation26 Apr 2024
- 2024Return of EM: Entity-driven Answer Set Expansion for QA Evaluation24 Apr 2024
- 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancement20 Apr 2024
- 2024Guiding Large Language Models to Generate Computer-Parsable Content8 Apr 2024
- 2024Hallucinations or Attention Misdirection? The Path to Strategic Value Extraction in Business Using Large Language Models21 Feb 2024
- 2024LLM can Achieve Self-Regulation via Hyperparameter Aware Generation17 Feb 2024
- 2024CigaR: Cost-efficient Program Repair with LLMs9 Feb 2024
- 2024The Effect of Sampling Temperature on Problem Solving in Large Language Models7 Feb 2024
- 2023How Many Validation Labels Do You Need? Exploring the Design Space of Label-Efficient Model Ranking4 Dec 2023
- 2023EcoAssistant: Using LLM Assistant More Affordably and Accurately3 Oct 2023
- 2023AutoML in the Age of Large Language Models: Current Challenges, Future Opportunities and Risks13 Jun 2023
- 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimization8 Jun 2023
- 2025ReCode: Reinforcing Code Generation with Reasoning-Process Rewardscited by 25
- 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoningcited by 17
- 2024Scaling LLM Inference with Optimized Sample Compute Allocationcited by 16
- 2026Models Under SCOPE: Scalable and Controllable Routing via Pre-hoc Reasoningcited by 3
- 2026Models Under SCOPE: Scalable and Controllable Routing via Pre-hoc Reasoning29 Jan 2026
- 2025ReCode: Reinforcing Code Generation with Reasoning-Process Rewards7 Aug 2025
- 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoning30 May 2025
- 2024Scaling LLM Inference with Optimized Sample Compute Allocation29 Oct 2024
- 2024AutoRAG-HP: Automatic Online Hyper-Parameter Tuning for Retrieval-Augmented Generationcited by 13
- 2025Faster, Cheaper, Better: Multi-Objective Hyperparameter Optimization for LLM and RAG Systemscited by 11
- 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detectioncited by 1
- 2025ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection20 Oct 2025
- 2025Faster, Cheaper, Better: Multi-Objective Hyperparameter Optimization for LLM and RAG Systems25 Feb 2025
- 2024AutoRAG-HP: Automatic Online Hyper-Parameter Tuning for Retrieval-Augmented Generation27 Jun 2024
- 2024Cognitive Overload Attack:Prompt Injection for Long Contextcited by 13
- 2024Cognitive Overload Attack:Prompt Injection for Long Context15 Oct 2024
- 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimizationcited by 311
- 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 168
- 2024Non-Determinism of "Deterministic" LLM Settingscited by 84
- 2023EcoAssistant: Using LLM Assistant More Affordably and Accuratelycited by 47
- 2023AutoML in the Age of Large Language Models: Current Challenges, Future Opportunities and Riskscited by 34
- 2024LLMParser: An Exploratory Study on Using Large Language Models for Log Parsingcited by 32
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024Large Language Models as Test Case Generators: Performance Evaluation and Enhancementcited by 27
- 2024FunBO: Discovering Acquisition Functions for Bayesian Optimization with FunSearchcited by 22
- 2024CEval: A Benchmark for Evaluating Counterfactual Text Generationcited by 15
- 2024CigaR: Cost-efficient Program Repair with LLMscited by 14
- 2024Problem Solving Through Human-AI Preference-Based Cooperationcited by 11
12 most cited of 28 All 28 (JSON)
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency14 Aug 2026
- 2026Persona Non Grata: LLM Persona-Driven Generations in MCQA are Unstable in Distinct Dimensions1 Jul 2026
- 2026LLM-Guided Runtime Parameter Optimization for Energy-Efficient Model Inference29 Apr 2026
- 2025MS-BART: Unified Modeling of Mass Spectra and Molecules for Structure Elucidation23 Oct 2025
- 2025XAutoLM: Efficient Fine-Tuning of Language Models via Meta-Learning and AutoML30 Jul 2025
- 2025Scaling Textual Gradients via Sampling-Based Momentum31 May 2025
- 2025HyperSHAP: Shapley Values and Interactions for Explaining Hyperparameter Optimization3 Feb 2025
- 2025A statistically consistent measure of semantic uncertainty using Language Models1 Feb 2025
- 2024SuperCode: Sustainability PER AI-driven CO-DEsign11 Dec 2024
- 2024Synthesize, Partition, then Adapt: Eliciting Diverse Samples from Foundation Models11 Nov 2024
- 2024Problem Solving Through Human-AI Preference-Based Cooperation14 Aug 2024
- 2024Non-Determinism of "Deterministic" LLM Settings6 Aug 2024
12 newest of 28 All 28 (JSON)