When Do We Need LLMs? A Diagnostic for Language-Driven Bandits

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Berdica, Uljad, Acero, Fernando, Ipsen, Anton, Zehtabi, Parisa, Cashmore, Michael, Veloso, Manuela
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917388348293120
author Berdica, Uljad
Acero, Fernando
Ipsen, Anton
Zehtabi, Parisa
Cashmore, Michael
Veloso, Manuela
author_facet Berdica, Uljad
Acero, Fernando
Ipsen, Anton
Zehtabi, Parisa
Cashmore, Michael
Veloso, Manuela
contents We study Contextual Multi-Armed Bandits (CMABs) for non-episodic sequential decision making problems where the context includes both textual and numerical information (e.g., recommendation systems, dynamic portfolio adjustments, offer selection; all frequent problems in finance). While Large Language Models (LLMs) are increasingly applied to these settings, utilizing LLMs for reasoning at every decision step is computationally expensive and uncertainty estimates are difficult to obtain. To address this, we introduce LLMP-UCB, a bandit algorithm that derives uncertainty estimates from LLMs via repeated inference. However, our experiments demonstrate that lightweight numerical bandits operating on text embeddings (dense or Matryoshka) match or exceed the accuracy of LLM-based solutions at a fraction of their cost. We further show that embedding dimensionality is a practical lever on the exploration-exploitation balance, enabling cost--performance tradeoffs without prompt complexity. Finally, to guide practitioners, we propose a geometric diagnostic based on the arms' embedding to decide when to use LLM-driven reasoning versus a lightweight numerical bandit. Our results provide a principled deployment framework for cost-effective, uncertainty-aware decision systems with broad applicability across AI use cases in financial services.
format Preprint
id arxiv_https___arxiv_org_abs_2604_05859
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle When Do We Need LLMs? A Diagnostic for Language-Driven Bandits
Berdica, Uljad
Acero, Fernando
Ipsen, Anton
Zehtabi, Parisa
Cashmore, Michael
Veloso, Manuela
Artificial Intelligence
We study Contextual Multi-Armed Bandits (CMABs) for non-episodic sequential decision making problems where the context includes both textual and numerical information (e.g., recommendation systems, dynamic portfolio adjustments, offer selection; all frequent problems in finance). While Large Language Models (LLMs) are increasingly applied to these settings, utilizing LLMs for reasoning at every decision step is computationally expensive and uncertainty estimates are difficult to obtain. To address this, we introduce LLMP-UCB, a bandit algorithm that derives uncertainty estimates from LLMs via repeated inference. However, our experiments demonstrate that lightweight numerical bandits operating on text embeddings (dense or Matryoshka) match or exceed the accuracy of LLM-based solutions at a fraction of their cost. We further show that embedding dimensionality is a practical lever on the exploration-exploitation balance, enabling cost--performance tradeoffs without prompt complexity. Finally, to guide practitioners, we propose a geometric diagnostic based on the arms' embedding to decide when to use LLM-driven reasoning versus a lightweight numerical bandit. Our results provide a principled deployment framework for cost-effective, uncertainty-aware decision systems with broad applicability across AI use cases in financial services.
title When Do We Need LLMs? A Diagnostic for Language-Driven Bandits
topic Artificial Intelligence
url https://arxiv.org/abs/2604.05859