How can we assess human-agent interactions? Case studies in software agent design
This paper introduces PULSE, a human-centric evaluation framework that combines user feedback with machine learning predictions to assess LLM agent designs in real-world software engineering, demonstrating that such collaborative assessments yield more robust insights and reveal significant discrepancies compared to traditional benchmark-driven evaluations.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are building a robot assistant to help people write computer code. For a long time, the only way to see if your robot was "good" was to give it a standardized test, like a multiple-choice exam. If the robot got a high score, developers assumed it was a star employee.
But the authors of this paper argue that this is like judging a chef only by how well they can follow a recipe book, without ever seeing them cook for a real, hungry customer. In the real world, humans and AI agents work together as a team. Sometimes the human has to step in, correct the robot, or change the plan. A robot that gets a perfect test score might still be frustrating to work with, while a robot that gets a slightly lower score might be a joy to collaborate with.
This paper introduces a new way to measure how well these human-robot teams actually get along. They call their new system PULSE.
The Problem: The "Exam" vs. The "Real Job"
Think of current AI benchmarks as a driving test on an empty track. The car (the AI) has to stay in its lane and stop at red lights perfectly. If it does, it passes.
But real life is more like driving in rush hour traffic with a passenger. The passenger (the human) might say, "Hey, take a different route," or "Wait, I need to stop at the grocery store first." The car has to listen, adapt, and keep the passenger happy. The old "empty track" tests don't measure if the car is annoying to the passenger or if the passenger feels safe.
The Solution: PULSE (The "Feedback Loop")
The researchers built a framework called PULSE to measure this real-world teamwork. They tested it using a software agent (a robot coder) called OpenHands that 15,000 real people used to write code.
Here is how PULSE works, using a simple three-step recipe:
1. The "Ride-Share" Rating (Data Collection)
Instead of waiting until the very end of a project to ask, "How was the robot?", they asked for feedback after every small task, just like you rate a Uber driver after a single ride.
- How it worked: When the robot finished a small chunk of work (like fixing a bug), a pop-up appeared asking the user to give it 1 to 5 stars.
- The Catch: Most people are lazy and don't want to stop and rate the robot every time. So, they only got ratings for about 5% of the tasks. The other 95% were "silent" interactions where the user just kept working without saying a word.
2. The "Mind Reader" (Prediction Model)
Since they only had ratings for 5% of the tasks, they needed a way to guess how the user felt about the other 95%.
- They trained a "Mind Reader" machine learning model. This model looked at clues from the conversation, such as:
- User Mood: Was the user angry or happy in their messages?
- Robot Mistakes: Did the robot misunderstand the instructions?
- Progress: Did the user actually save the code they wrote?
- Using these clues, the model predicted what the user would have rated the silent tasks.
3. The "Super-Statistician" (Efficient Results)
This is the magic trick. By combining the few real ratings with the many predicted ratings, they could calculate the results much faster and with more certainty.
- The Analogy: Imagine you want to know if a new flavor of ice cream is better than the old one.
- Old Way (Standard A/B Test): You ask 100 people to taste both and rate them. It takes a long time and the results might be fuzzy.
- PULSE Way: You ask 100 people to taste it, but you also have a "taste predictor" that looks at how they licked the spoon, how fast they ate, and their facial expressions to guess the rating of 1,000 other people who didn't even taste it.
- Result: PULSE gave them the same level of certainty as a standard test but with 40% less noise (uncertainty). It's like getting a sharper photo with a shorter exposure time.
What They Found (The Surprises)
When they used PULSE to test different robot designs, they found some things that the old "exam scores" missed:
- The Brain Matters Most: The biggest factor in whether a human liked the robot was which "brain" (the underlying AI model) the robot used. Switching to a smarter brain made a huge difference in user happiness.
- The "Body" Matters Less: Changing how the robot organized its thoughts (like showing a to-do list or remembering things better) had a much smaller effect on user happiness.
- The Exam Lies: This was the biggest shock. They compared their real-world human ratings against standard AI benchmarks.
- The Result: The benchmarks said Robot A was better than Robot B. But the humans actually preferred Robot B!
- The Lesson: A robot can ace the written test but be a terrible partner in a real conversation.
The Takeaway
The paper concludes that if we want to build AI that actually helps humans, we can't just look at test scores. We have to watch how humans and robots interact in the wild. PULSE is a tool that helps developers do this efficiently, using a mix of real feedback and smart predictions to build robots that people actually enjoy working with.
They also noted that while they focused on coding, this same "PULSE" method could be used for any robot that works with humans, like a travel planner or a shopping assistant, by simply changing the "clues" the Mind Reader looks for.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.