Maximize Your Productivity with LLMs: Task Utility Explained

Julia Kiseleva, MultiOn28:24 · Dec 2024 · 267 viewsHosted by Demetrios Brinkmann
Thumbnail for Maximize Your Productivity with LLMs: Task Utility Explained Watch on YouTube
TL;DR
  1. 1

    Agentic applications need metrics that describe how useful they are to users, especially when task success has no single correct answer.

  2. 2

    AgentEval uses critic, quantifier, and verifier agents to propose, score, and filter task-utility criteria from application examples and logs.

  3. 3

    Developers can use these criteria to compare agent versions and optimize for user needs beyond latency and binary task success.

Summary

Julia Kiseleva presents AgentEval, a framework for assessing the utility of LLM-powered applications. She starts with a problem in user-facing machine learning: many tasks, such as drafting an email, do not have a single ground-truth answer, so binary success metrics are insufficient. AgentEval uses a critic agent to propose criteria from a task description plus successful and unsuccessful examples. A quantifier agent scores unseen solutions against those criteria, while a verifier agent filters criteria that are unstable or difficult to assess. Kiseleva demonstrates the approach with mathematical problem solving and compares baselines including React, vanilla GPT-4, and AutoGen. The framework can expose criteria such as clarity, completeness, efficiency, and verbosity. She is clear that the method still needs research, especially around criteria completeness and unreliable assessments such as error analysis. The practical aim is to give developers a fast way to inspect agent logs, compare versions, and align applications with what users actually value.

Key ideas
00:55

User-facing agents need utility measures beyond ground-truth accuracy

Kiseleva says developers building LLM-powered applications need to know which metrics to optimize for users. Object recognition has labels and ground truth, but an email-writing assistant has no simple answer to whether the result succeeded. A user may copy the email and edit it, so the application's contribution is harder to measure. Some tasks, such as solving a mathematics problem, have a known correct answer. Other tasks have several possible solutions, and the developer must decide which qualities matter. AgentEval targets this broader problem of understanding the utility an application may bring to users.

08:43

AgentEval proposes task criteria automatically from examples

The framework asks a critic agent to explain a task and use one successful and one unsuccessful example from the application. It then proposes criteria with descriptions and accepted values. In the mathematics example, the output contains four criteria, although Kiseleva says many tasks produce up to 25. She describes using the approach in robotics, where a domain expert later verified a fairly complete set of criteria. This reduces the amount of user research developers need before they can begin assessing a new application.

13:27

Quantifier agents score unseen solutions against the proposed criteria

After criteria are defined, a quantifier agent assesses new solutions that were not used to create the criteria. Developers can introduce a new baseline or change the underlying agent and then compare how the solution performs across the dimensions of utility. Kiseleva says the criteria should be kept stable during this comparison, including the accepted values suggested by the critic. The application's logs provide material for identifying which criteria matter, while the quantifier produces scores that support comparisons between solutions.

14:38

Verifier agents remove criteria that cannot be assessed reliably

The verifier agent checks whether proposed criteria are stable, assessable, and suitable for adversarial examples. Kiseleva gives error analysis as a criterion that did not work well with the quantifier in the presented experiment. It may still be a useful property for an application, but the current method could not assess it properly. The verifier therefore helps distinguish a criterion worth caring about from one that the quantifier can measure reliably. This separates the desired utility of an application from the current limits of the evaluation method.

19:13

Successful and unsuccessful examples change which criteria appear

Kiseleva distinguishes task-based criteria from solution-based criteria. A task description alone might suggest general properties for solving a mathematics problem, while successful and unsuccessful examples can reveal additional properties of the actual solutions. Code efficiency did not appear when the task was described generally, but it emerged when examples showed agents using code to solve the problems. A new solution can also introduce a new criterion, so developers need to review the criteria again when they change their agent.

22:26

The framework tests whether scores rank degraded solutions lower

To test whether the quantifier reacts to quality differences, the researchers add noise to existing solutions. Their hypothesis is that disturbed samples should receive lower scores than the same examples without noise. Kiseleva says this happened in the experiment across several criteria. That result supports using the quantifier to rank solutions by relative quality, although it does not remove the need to examine whether each criterion is stable or meaningful.

23:30

AgentEval gives developers an early utility assessment without requiring ground truth

Kiseleva describes AgentEval as a way to get an initial view of an agentic application's potential utility from its logs. Developers can use it when ground truth is unavailable and set up an initial assessment quickly. In the mathematics example, verbosity emerged as a possible criterion. A teaching application might prefer verbal solutions, while another application might not. Once criteria are in place, developers can optimize for them, or ask users which forms of utility they prefer.

26:25

Utility should include how users receive an application

Kiseleva closes by arguing that developers should inspect more than latency and whether a task technically succeeds. AgentEval is intended to expose strengths and weaknesses from real interactions and show how those properties change as new solutions are introduced. The framework remains an early direction with open work around the completeness and reliability of its criteria. Its practical value is giving developers a structured way to connect agent behavior with user-facing properties.

"You don't have to get the ground truths for this, so if you have that's great, but if you don't then just want to explore it, there's something that you can in couple of minutes set up and get the first idea."Julia Kiseleva16:09
Who should watch
  • You are building an LLM-powered application and do not know which user-facing properties to measure.
  • Your task has several acceptable answers, so binary success or a single ground-truth label does not describe quality well.
  • You want to compare agent versions from logs before investing in extensive user research.