Saved in:
Bibliographic Details
Main Authors: Temyingyong, Natchaya, Jain, Daman, Kumarsahu, Neeraj, Kumar, Prabhat, Phondi, Rachata, Modecrua, Wachiravit, Kaewtawee, Krittanon, Pachtrachai, Krittin, Kraisingkorn, Touchapon
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.24040
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912796832169984
author Temyingyong, Natchaya
Jain, Daman
Kumarsahu, Neeraj
Kumar, Prabhat
Phondi, Rachata
Modecrua, Wachiravit
Kaewtawee, Krittanon
Pachtrachai, Krittin
Kraisingkorn, Touchapon
author_facet Temyingyong, Natchaya
Jain, Daman
Kumarsahu, Neeraj
Kumar, Prabhat
Phondi, Rachata
Modecrua, Wachiravit
Kaewtawee, Krittanon
Pachtrachai, Krittin
Kraisingkorn, Touchapon
contents Automatic Prompt Optimization (APO) has emerged as a critical technique for enhancing Large Language Model (LLM) performance, yet current state-of-the-art methods typically rely on large, labeled gold-standard development sets to compute fitness scores for evolutionary or Reinforcement Learning (RL) approaches. In real-world software engineering, however, such curated datasets are rarely available during the initial cold start of agent development, where engineers instead face messy production logs and evolving failure modes. We present ROAD (Reflective Optimization via Automated Debugging), a novel framework that bypasses the need for refined datasets by treating optimization as a dynamic debugging investigation rather than a stochastic search. Unlike traditional mutation strategies, ROAD utilizes a specialized multi-agent architecture, comprising an Analyzer for root-cause analysis, an Optimizer for pattern aggregation, and a Coach for strategy integration, to convert unstructured failure logs into robust, structured Decision Tree Protocols. We evaluated ROAD across both a standardized academic benchmark and a live production Knowledge Management engine. Experimental results demonstrate that ROAD is highly sample-efficient, achieving a 5.6 percent increase in success rate (73.6 percent to 79.2 percent) and a 3.8 percent increase in search accuracy within just three automated iterations. Furthermore, on complex reasoning tasks in the retail domain, ROAD improved agent performance by approximately 19 percent relative to the baseline. These findings suggest that mimicking the human engineering loop of failure analysis and patching offers a viable, data-efficient alternative to resource-intensive RL training for deploying reliable LLM agents.
format Preprint
id arxiv_https___arxiv_org_abs_2512_24040
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ROAD: Reflective Optimization via Automated Debugging for Zero-Shot Agent Alignment
Temyingyong, Natchaya
Jain, Daman
Kumarsahu, Neeraj
Kumar, Prabhat
Phondi, Rachata
Modecrua, Wachiravit
Kaewtawee, Krittanon
Pachtrachai, Krittin
Kraisingkorn, Touchapon
Artificial Intelligence
Automatic Prompt Optimization (APO) has emerged as a critical technique for enhancing Large Language Model (LLM) performance, yet current state-of-the-art methods typically rely on large, labeled gold-standard development sets to compute fitness scores for evolutionary or Reinforcement Learning (RL) approaches. In real-world software engineering, however, such curated datasets are rarely available during the initial cold start of agent development, where engineers instead face messy production logs and evolving failure modes. We present ROAD (Reflective Optimization via Automated Debugging), a novel framework that bypasses the need for refined datasets by treating optimization as a dynamic debugging investigation rather than a stochastic search. Unlike traditional mutation strategies, ROAD utilizes a specialized multi-agent architecture, comprising an Analyzer for root-cause analysis, an Optimizer for pattern aggregation, and a Coach for strategy integration, to convert unstructured failure logs into robust, structured Decision Tree Protocols. We evaluated ROAD across both a standardized academic benchmark and a live production Knowledge Management engine. Experimental results demonstrate that ROAD is highly sample-efficient, achieving a 5.6 percent increase in success rate (73.6 percent to 79.2 percent) and a 3.8 percent increase in search accuracy within just three automated iterations. Furthermore, on complex reasoning tasks in the retail domain, ROAD improved agent performance by approximately 19 percent relative to the baseline. These findings suggest that mimicking the human engineering loop of failure analysis and patching offers a viable, data-efficient alternative to resource-intensive RL training for deploying reliable LLM agents.
title ROAD: Reflective Optimization via Automated Debugging for Zero-Shot Agent Alignment
topic Artificial Intelligence
url https://arxiv.org/abs/2512.24040