HiL-Bench (Human-in-Loop Benchmark): Do Agents Know When to Ask for Help?

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Trinh, Tu, Elfeki, Mohamed, Luo, Guangze, Luu, Kelvin, Hunt, Nathan, Hernandez, Ernesto, Marwaha, Nandan, He, Yannis Yiming, Wang, Charles, Carabedo, Fernando, Castillo, Alessa, Liu, Bing
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911645600579584
author Trinh, Tu
Elfeki, Mohamed
Luo, Guangze
Luu, Kelvin
Hunt, Nathan
Hernandez, Ernesto
Marwaha, Nandan
He, Yannis Yiming
Wang, Charles
Carabedo, Fernando
Castillo, Alessa
Liu, Bing
author_facet Trinh, Tu
Elfeki, Mohamed
Luo, Guangze
Luu, Kelvin
Hunt, Nathan
Hernandez, Ernesto
Marwaha, Nandan
He, Yannis Yiming
Wang, Charles
Carabedo, Fernando
Castillo, Alessa
Liu, Bing
contents Frontier coding agents solve complex tasks when given complete context but collapse when specifications are incomplete or ambiguous. The bottleneck is not raw capability, but judgment: knowing when to act autonomously and when to ask for help. Current benchmarks are blind to this failure mode. They supply unambiguous detailed instructions and solely reward execution correctness, so an agent that makes a lucky guess for a missing requirement will score identically to one that would have asked to be certain. We present HiL-Bench (Human-in-the-Loop Benchmark) to measure this selective escalation skill. Each task contains human-validated blockers (missing information, ambiguous requests, contradictory information) that surface only through progressive exploration, not upfront inspection. Our core metric, Ask-F1, the harmonic mean of question precision and blocker recall, captures the tension between over-asking and silent guessing; its structure architecturally prevents gaming through question spam. Evaluation across SWE and text-to-SQL domains reveals a large universal judgment gap: no frontier model recovers more than a fraction of its full-information performance when deciding whether to ask. Failure analysis identifies three key help-seeking patterns: overconfident wrong beliefs with no gap detection; high uncertainty detection yet persistent errors; broad, imprecise escalation without self-correction. These consistent patterns confirm poor help-seeking is a model-level flaw, not task-specific. RL training on shaped Ask-F1 reward shows judgment is trainable: a 32B model improves both help-seeking quality and task pass rate, with gains that transfer across domains. The model does not learn domain-specific heuristics for when to ask; it learns to detect unresolvable uncertainty and act on it.
format Preprint
id arxiv_https___arxiv_org_abs_2604_09408
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle HiL-Bench (Human-in-Loop Benchmark): Do Agents Know When to Ask for Help?
Trinh, Tu
Elfeki, Mohamed
Luo, Guangze
Luu, Kelvin
Hunt, Nathan
Hernandez, Ernesto
Marwaha, Nandan
He, Yannis Yiming
Wang, Charles
Carabedo, Fernando
Castillo, Alessa
Liu, Bing
Artificial Intelligence
Frontier coding agents solve complex tasks when given complete context but collapse when specifications are incomplete or ambiguous. The bottleneck is not raw capability, but judgment: knowing when to act autonomously and when to ask for help. Current benchmarks are blind to this failure mode. They supply unambiguous detailed instructions and solely reward execution correctness, so an agent that makes a lucky guess for a missing requirement will score identically to one that would have asked to be certain. We present HiL-Bench (Human-in-the-Loop Benchmark) to measure this selective escalation skill. Each task contains human-validated blockers (missing information, ambiguous requests, contradictory information) that surface only through progressive exploration, not upfront inspection. Our core metric, Ask-F1, the harmonic mean of question precision and blocker recall, captures the tension between over-asking and silent guessing; its structure architecturally prevents gaming through question spam. Evaluation across SWE and text-to-SQL domains reveals a large universal judgment gap: no frontier model recovers more than a fraction of its full-information performance when deciding whether to ask. Failure analysis identifies three key help-seeking patterns: overconfident wrong beliefs with no gap detection; high uncertainty detection yet persistent errors; broad, imprecise escalation without self-correction. These consistent patterns confirm poor help-seeking is a model-level flaw, not task-specific. RL training on shaped Ask-F1 reward shows judgment is trainable: a 32B model improves both help-seeking quality and task pass rate, with gains that transfer across domains. The model does not learn domain-specific heuristics for when to ask; it learns to detect unresolvable uncertainty and act on it.
title HiL-Bench (Human-in-Loop Benchmark): Do Agents Know When to Ask for Help?
topic Artificial Intelligence
url https://arxiv.org/abs/2604.09408