Optimizing Experiment Configurations for LLM Applications Through Exploratory Analysis
The integration of Large Language Models (LLMs) into software applications necessitates informed design choices across various configurations, including LLM selection, prompting techniques, and their parameters, and prompt templates. Many of these choices are arbitrary, and developers often lack guidance on optimizing configurations. In this work, we define the Experiment Configuration Optimization Problem and illustrate it with a real-world Text-to-SQL application we developed. Our results show that most configurations are sub-optimal, with only a few offering a favorable trade-off between accuracy and cost. Highlighting the critical need for systematic exploration, we show that extensive experimentation is expensive, underscoring the importance for cost-effective methods to navigate the configuration space. Our findings motivate further research into methodologies that effectively optimize LLM application configurations.
Authors
- Nimrod Busany
- Daniel Amyot (ORCID: https://orcid.org/0000-0003-2414-1791)
- Okhaide Akhigbe (ORCID: https://orcid.org/0000-0003-1255-8135)
- Hananel Hadad
- Zofia Maszlanka
- Rohit Shashank Shelke
- Gregory Price
Institutions
- University of Ottawa (CA)
Publication Details
- Published
- 2025-04-27
- DOI
- https://doi.org/10.1109/icse-nier66352.2025.00015
- Citations
- 2
- Primary Topic
- Advancements in Photolithography Techniques
- Type
- article
- Field-Weighted Citation Impact
- 1.46
Funders
- Accenture
- University of Ottawa
- Mitacs