View publication

Pairwise preferences over model responses are widely collected to evaluate and provide feedback to large language models (LLMs). Given two alternative model responses to the same input, a human or AI annotator selects the “better” response. Such data can provide a feedback signal in domains where traditional hard-coded metrics are difficult to obtain (e.g. quality of a chat interactions), thereby helping measure model progress or model fine-tuning (e.g., via reinforcement learning from human feedback, RLHF). However, for some domains it can be tricky to obtain such pairwise comparisons in high quality - from humans or AI. For example, long-form responses with many (possibly false) factual statements or complex (possibly incorrect) code represent significant challenges for both AI and human annotators. In this work, we explore augmenting standard AI annotator systems with additional tools to improve performance on three challenging domains: long-form factual, math and code tasks. We propose a tool-using agentic system to augment existing annotators to provide higher quality feedback on these domains. Our system uses web-search and code execution to ground its annotations based on external validation, independent of the LLMs internal biases. We provide extensive experimental results evaluating our method across the three task domains as well as out-of-domain tasks based on RewardBench subsets, where we aim to avoid performance reductions. We share all code to replicate the experiments as an open-source package.

Related readings and updates.

Evaluating AI agents that use external tools requires realistic test scenarios that capture how practitioners compose tools and iterate across conversation turns. Constructing such scenarios by hand demands deep domain expertise, does not scale across tool ecosystems, and produces static benchmarks that cannot track evolving APIs. We observe that tool specifications—function names, natural-language descriptions, and typed parameter…

Read more

Annotated data is an essential ingredient to train, evaluate, compare and productionalize machine learning models. It is therefore imperative that annotations are of high quality. For their creation, good quality management and thereby reliable quality estimates are needed. Then, if quality is insufficient during the annotation process, rectifying measures can be taken to improve it. For instance, project managers can use quality estimates to…

Read more