Bandit Framework Optimizes LLM Essay Scoring, Cuts Costs

Olga Manakina, Igor Bogdanov· August 26, 2026 View original

Key takeaways

  • A multi-armed bandit framework can adaptively select optimal LLM prompts for essay scoring, reducing costs.
  • The framework achieved comparable accuracy to exhaustive search with a 78.4% reduction in LLM calls.
  • Multi-step prompting with calibration examples generally yields the highest scoring accuracy.
  • Tracking cost and reliability metrics provides actionable insights for balancing operational expenses and assessment validity.

Who benefits

EdTechEducationHR/L&DAssessment Services

Summary

A new cost-aware framework uses a multi-armed bandit (MAB) controller to adaptively select optimal prompting strategies for LLM-based essay scoring. This approach achieves comparable accuracy to exhaustive search while significantly reducing LLM calls and operational costs.

This research introduces a novel method for optimizing automated essay scoring (AES) using Large Language Models (LLMs), specifically addressing the high operational costs associated with frequent LLM calls. Traditional AES systems often rely on fixed prompting strategies, which can be inefficient and fail to adapt to evolving optimal configurations. The proposed framework redefines prompt selection as a multi-armed bandit (MAB) problem. Each prompt type is treated as an "arm," allowing the system to adaptively learn and select the most effective and cost-efficient prompting strategy during inference. This online learning approach contrasts with conventional offline hyperparameter optimization. Experiments conducted on IELTS Writing Task 2 essays demonstrated that this MAB framework achieved scoring accuracy comparable to an exhaustive grid search, but with a remarkable 78.4% reduction in LLM calls. The study also explored different grading recipes, finding that a multi-step approach with calibration examples yielded the highest accuracy. By tracking token usage and latency, the research provides valuable cost-reliability curves, offering practical insights for educational technology platforms balancing assessment validity with operational expenses.

Why it matters

This innovation offers a way to significantly reduce the operational costs of deploying LLMs for tasks like essay grading, making AI-powered assessment more economically viable and scalable for educational and professional development platforms.

How to implement this in your domain

  1. 1Integrate a multi-armed bandit (MAB) controller into LLM-based assessment pipelines to dynamically select optimal prompts.
  2. 2Define and test various prompting strategies (e.g., single-step, multi-step, with/without examples) as "arms" for the MAB system.
  3. 3Monitor token usage, latency, and accuracy metrics to generate cost-reliability curves for different LLM applications.
  4. 4Prioritize multi-step prompting with calibration examples for tasks requiring high accuracy in LLM-based evaluations.

Original post by Olga Manakina, Igor Bogdanov

"arXiv:2608.23814v1 Announce Type: new Abstract: Large Language Models (LLMs) demonstrate strong capabilities in automated essay scoring (AES), but contemporary approaches typically employ fixed prompt selection, failing to address operational cost concerns and evolving optimal co…"

View on X

Originally posted by Olga Manakina, Igor Bogdanov on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses