newsfilter
← Interviews
AI Engineer39 min

An Agent That Fixes Its Own Mistakes - Saloni Gandhi & Ziwei Guo, LinkedIn

Saloni Gandhi, Ziwei Guo

Conference Presentation, Tutorial
  • The RSI scope is planned to extend from current prompt optimization to include complex optimizations such as workflow design, harness code, and optimizer code, while focusing first on harness optimization rather than base model tuning.
  • The team intends to standardize the RSI loop for enterprise-wide reuse, providing shared infrastructure that allows other agent teams to adopt capabilities without building separate pipelines, aiming to democratize access via reusable components and self-service.
  • A seven-step iterative workflow is established for production updates, involving sample generation, evaluation by the Arm Judge, agent reflection, edit proposal generation via JPA in mini-batches, validation, prompt evolution, and holdout evaluation to set a new baseline.
  • Human effort in production updates is currently maintained via a human-in-the-loop process but is projected to be gradually reduced once system quality is deemed sufficient to achieve a higher state of automation.
  • Evaluation quality improvements target alignment increases from 57% to 64% and mean error reductions from 0.96 to 0.74, addressing identified weaknesses where the L1 judge struggled with distinguishing weaker outputs (55% alignment for score 1 vs. 80% for score 3).
  • Specific rubric recalibrations are planned to fix issues such as penalizing harmless formatting differences, clarifying definitions for titles and domain expertise, separating low scores from partial correctness, and addressing inconsistent assumptions regarding inferred employment data.
  • Root cause analysis via the L2 reflection judge faces reliability challenges, particularly with rubric-related issues (lower agreement) compared to model failures, prompting plans to update the taxonomy to explicitly allow for element judge errors and to validate L1 rationale independently.
  • Future cadence for the RSI loop is expected to range from weekly to monthly, utilizing automated feedback loops to continuously collect execution traces, detect recurring failures, and perform root cause analysis to drive repeatable improvements.
  • The organization aims to scale capabilities by establishing robust holdout evaluations and regression testing to ensure trust in automated feedback, with the ultimate goal of producing measurable agent quality improvements rather than maximizing the volume of automated edits.
  • Variance from non-deterministic LLM judgments is to be mitigated through strategies including extensive human annotations to improve L1, L2, and L3 judge quality, majority voting, and held-out evaluations.