Finding the Sweet Spot: Trading Quality, Cost, and Speed During Inference-Time LLM Reflection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Butler, Jack, Kozodoi, Nikita, Afolabi, Zainab, Tyacke, Brian, Baimuratov, Gaiar
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917037399343104
author Butler, Jack
Kozodoi, Nikita
Afolabi, Zainab
Tyacke, Brian
Baimuratov, Gaiar
author_facet Butler, Jack
Kozodoi, Nikita
Afolabi, Zainab
Tyacke, Brian
Baimuratov, Gaiar
contents As Large Language Models (LLMs) continue to evolve, practitioners face increasing options for enhancing inference-time performance without model retraining, including budget tuning and multi-step techniques like self-reflection. While these methods improve output quality, they create complex trade-offs among accuracy, cost, and latency that remain poorly understood across different domains. This paper systematically compares self-reflection and budget tuning across mathematical reasoning and translation tasks. We evaluate prominent LLMs, including Anthropic Claude, Amazon Nova, and Mistral families, along with other models under varying reflection depths and compute budgets to derive Pareto optimal performance frontiers. Our analysis reveals substantial domain dependent variation in self-reflection effectiveness, with performance gains up to 220\% in mathematical reasoning. We further investigate how reflection round depth and feedback mechanism quality influence performance across model families. To validate our findings in a real-world setting, we deploy a self-reflection enhanced marketing content localisation system at Lounge by Zalando, where it shows market-dependent effectiveness, reinforcing the importance of domain specific evaluation when deploying these techniques. Our results provide actionable guidance for selecting optimal inference strategies given specific domains and resource constraints. We open source our self-reflection implementation for reproducibility at https://github.com/aws-samples/sample-genai-reflection-for-bedrock.
format Preprint
id arxiv_https___arxiv_org_abs_2510_20653
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Finding the Sweet Spot: Trading Quality, Cost, and Speed During Inference-Time LLM Reflection
Butler, Jack
Kozodoi, Nikita
Afolabi, Zainab
Tyacke, Brian
Baimuratov, Gaiar
Machine Learning
Artificial Intelligence
As Large Language Models (LLMs) continue to evolve, practitioners face increasing options for enhancing inference-time performance without model retraining, including budget tuning and multi-step techniques like self-reflection. While these methods improve output quality, they create complex trade-offs among accuracy, cost, and latency that remain poorly understood across different domains. This paper systematically compares self-reflection and budget tuning across mathematical reasoning and translation tasks. We evaluate prominent LLMs, including Anthropic Claude, Amazon Nova, and Mistral families, along with other models under varying reflection depths and compute budgets to derive Pareto optimal performance frontiers. Our analysis reveals substantial domain dependent variation in self-reflection effectiveness, with performance gains up to 220\% in mathematical reasoning. We further investigate how reflection round depth and feedback mechanism quality influence performance across model families. To validate our findings in a real-world setting, we deploy a self-reflection enhanced marketing content localisation system at Lounge by Zalando, where it shows market-dependent effectiveness, reinforcing the importance of domain specific evaluation when deploying these techniques. Our results provide actionable guidance for selecting optimal inference strategies given specific domains and resource constraints. We open source our self-reflection implementation for reproducibility at https://github.com/aws-samples/sample-genai-reflection-for-bedrock.
title Finding the Sweet Spot: Trading Quality, Cost, and Speed During Inference-Time LLM Reflection
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2510.20653