So I'm Brooke, I'm the founder of Koval and we build evaluations for voice agents.
My background is from Waymo, so I led our evaluation infrastructure team at Waymo and my team was responsible for all of our developer tools for launching and running simulations. You might be wondering, what does that have to do with voice agents? Well, autonomous vehicles are actually very similar to autonomous voice agents. How do you make sure that something reliably gets from point A to point B, all the possible paths in between and also how do you architect lots of models working together in order to build an autonomous system that reacts in response to the world reliably? So we work with enterprises, everyone from really fast growing AI companies like Perplexity
to Fortune 500s across the board to make sure that their voice agents are working well for customer support, logistics, etc. Cool. And I'm Shiv. I lead voice AI at Upstart. For those not familiar with Upstart, we are a FinTech company and we primarily do lending. Okay.
Cool. So let me talk about voice a little bit. So Upstart in general does thousands of calls every day. I think we talked about the domain, which is lending. So what is unique about lending is obviously it's a highly regulated space. When we have voice agents doing these calls with applicants or borrowers, if things go wrong, it's not just a customer experience issue. It could be a potential regulatory issue, which is worse, right? So whenever we launch these agents, we want to make sure that we are first and foremost compliant with all the rules and regulations. So for this one, I'm going to talk about a use case that we launched.
The agent that we launched was automating verification calls. So what happens is about 90% of people who apply to Upstart are instantly decisioned. The 10% that are not, they have to call in and they have to verify some information. So the use case is fairly simple. We asked three questions. Will your income sources continue for the next three months? How do you plan to use the funds? And do you have any outstanding obligations such as alimony, wage garnishments, etc. Okay. So those three questions aside, we first need to verify that the person calling in is actually the person. So they don't ask like, can you tell me about some random application that they don't own?
Then you might think that this is a very simple use case, but this is where regulatory things come into the picture. So I'll give a couple of examples. So if someone says that I plan to use the funds for medical purposes, we can't ask the amount. We just prevent it from doing that. If we do ask it, it creates a big issue for us. On the other hand, if someone says I plan to use the funds to travel to graduation, right? Well, whose graduation is it? Your graduation, your kid's graduation, someone else's, that really determines the use of funds, right?
So depending on what the applicant or the human at the other end says, we have to do specific things. We can ask or cannot ask things. And lastly, I think it was very important from our compliance team that when we handle this use case, we just handle this use case, right? A lot of applicants are very eager to know what their status is or when they'll get the money. Because we can't just say, it'll be up to three business days. We're going to sidestep the question in a nice and polite way. So that's the use case that we launched. Cool. So that's the call. Now, obviously, when we launched this, we wanted to make sure that the agent was doing what it set out to do.
So when we started, auditing was very important. So every call had to be reviewed by a human. Now, obviously, when this started out, how do you review all these calls? So we started with the humble Google Sheet. We started maintaining it. Our operations team that were reviewing these calls started putting in data there. In a few weeks, five columns went to 10. Then 15, people started adding columns randomly, putting stuff in columns, creating things that messed up the whole process. So ultimately, what we need is data to improve both our agent as well as the things that we look at in terms of performance.
So that's where we needed to have a better and more structured process for human review. And that's where Koval came in and helped us build this human review process. But before I go there, let me talk a little bit about metrics. So when I talk about metrics here, think about LLM as a judge running once a call is complete. So one important criteria is whether the compliance requirements were met. So it's a simple yes, no question with an explanation, right? So one of the things we did is post run, we run this judge and it produces an output with an explanation. Now, we want to make sure that the judge is working.
So we put it and we get a human to review the output of the LLM judge. Yeah, so when we started off, we had metrics and we're tracking a whole bunch of things like call time, accuracy, clarity, etc. I think over time, we whittled down the list to the metrics that were the most important, right? And you can see some of the ones here like accuracy, clarity, completeness, policy alignment, whether it was escalated correctly, and ultimately CSAT score. One important thing I'd say is don't be too attached to your metrics. Start off with the ones that seem logical. If things change over time, discard those metrics and track the other ones that really impact your use case. Cool.
So we talked about LLM as a judge and metrics a little bit. So all these are run automatically once a call is complete. Now, I'll talk about one specific one here, which was adherence to compliance, or compliance violation. So basically, we score the call. It goes into a queue. So human reviews the output of the metric and then puts in their feedback, right? Why this is important is because we want to make sure that whatever the judge is outputting aligns with humans or experts in that particular area, right? And as you can see here, when we launched a while back, the compliance agreement metric was 33%.
That means a human reviewer and an LLM agent or an LLM judge agreed only 33% of the time. Now, we can't get to 100%, but we can get very close, right? So we really started looking into what is the gap there? And that's where this process of providing feedback by experts really helped, right? And ultimately, it came down to a couple of things, right? There was a lot of tribal knowledge when we launched the agent that was not coded as part of the agent. So we changed that. And over time, the metric number went up. Then we realized that amongst humans who were reviewing this call, there was disagreement as well, right?
Because there was a lot of stuff that was not written or tribal knowledge. So we tried to encode that. And then the next big bump came as we started to look at more use cases. We started to see that the judge itself needed to be improved, right? So ultimately, we went up from 33% agreement rate to now, today, it's at 92%. And we'll talk a little bit about how this process works in detail. So I'll hand it over to Brooke. Amazing. So from there, what we really implemented was this continuous loop of how you continuously improve the agents.
So I think this is something that Upstart has done really well is actually setting up a process that doesn't allow you to just launch once, but allows you to continuously improve your agent. I think this is something that enterprises get wrong is that they set up what are the release gates so that we can launch one time, but then it makes it very hard to change a model or change a prompt or anything underneath. And so we go from monitoring conversations, defining what your metrics look like, flagging calls, and then using that to constantly improve your agent.
And so we also use this human review that Shiv just talked about and really believe that human review is a super important part of the evaluation process and where you should be spending most of your time is thinking about the product. Evals are really the product definition. So where should you be spending your time is what should my product be doing? So the first step is defining your metrics. So there are different types of evaluations. I think about it in three categories: did it get to the end? Did it adhere to the steps in order to get there? And then what was the conversation quality or the experience?
And so in Koval, and I'll be showing you how this actually works in Koval, you can build out these LLM judge or metrics that align with this original criteria that human reviewers were going through and labeling. That's also a really important step though is to have these human reviewers labeling what do they care about. And then you can take that and turn it into automated evals versus the reverse is starting with, we care about word error rate, but that's not actually what we're actioning on. And then the types of metrics are LLM as judge, heuristics, audio processing. And so what we do is we then take these metrics to monitor live calls.
And so we can detect known failure patterns at scale. So being able to show exactly where, for example, we didn't verify the correct pieces for the loan, or maybe where it didn't have the word incorrect. And this is really important because no system works 100% of the time at scale. Even Google, six nines of reliability, there will be failures. And then we also detect unknown unknowns, things that we didn't know were going to happen by doing clustering analysis and anomaly detection. And then we can route each one of these failures for human review. So you can configure review queues where they're actioning on any one of these metrics that we defined,
and then having these human reviewers look through those failures. So now instead of looking at every call, they're only looking at the calls that matter most. And so from there, we route all of these different failures to the right teams. This is a really critical step because you want to set up an operational practice so that every failure that's coming in, you're doing something with that. So either you're routing it for human review to detect real failures. So let's say off script or wrong answer is 34% of the time. These are just made up numbers. Then maybe we send those to the agent team versus compliance violations.
We send that to a compliance team so that they can file a process or take some tactical action on it versus sending to an engineering team, etc. And so now once we have a set of real failures, we can then re-simulate, or then, for example, Steven, who's here, can figure out what is the right fix to the agent. And then we can re-simulate that fix to see what exactly the result is. Did it actually fix this issue? And so our simulations do voice to voice evaluation.
We will call your agent and actually run a simulation to test different background noises, different accents, the actual voice quality, interruptions, etc. And then we can verify that that improvement actually fixed things before it's impacting your users. So once you know that there's an issue, a compliance violation or maybe a poor user experience, you don't want to launch that again to production to see if it fixed it because you're now risking impact to your users. So we want to shift left, to use a DevOps term. We want to detect as many failures as we can in simulation instead of doing that in production.
So here you can see that we improved those cases in the report. And so this finally completes the loop of we define what our metrics are based on our product definition. This is honestly where you should spend the most of your time is what does my agent do and what should it not do? And then we can monitor and score every live call, detect those failures, send them for human review, find failure patterns across all of these to prioritize engineering work. And one of the most exciting things is now you can enable the self-healing loop where we can actually have agents that look at all of these evaluations and identify fixes.
But we can also use RL pipelines or fine tuned LLMs in order to make our system even better over time automatically. And then actually, go back. Yeah. And then from there, we can automate fixes and then prove that this actually is improving things in production through simulation. And all of these things obviously are gated by human review and integrating human review in the loop. And so these defined setups can both make sure our metrics are really accurate. So as Shiv talked through, every time you label a metric as it was incorrect, now you can align your metrics to human judgment or it actually is a true failure,
in which case you can use that to automatically improve your agents. So yeah, in conclusion, right, evals are important. Don't skip them. Evals help us monitor and score the calls, but also determine which calls need attention or which calls need to be reviewed by a human, because humans can't review thousands of calls a day. The human reviewer annotations are important because they help improve the LLM judge.
All this data that we collect ultimately helps improve the agent as well. Changes are always gated behind a feature flag, right? So when we say self-healing or self-improving, it doesn't mean humans are completely out of the loop. With FinTech, we need these changes to be monitored and signed on by someone, right? So judges, usually the engineers do, but if there was a compliance change, then compliance is involved in approving the behavior of the agent.
And lastly, this is served as a blueprint for us to launch agents safely, meeting regulatory requirements and also improving their performance at the same time. And I think that's why being able to set up really robust evals defines a really high quality product in all cases. But I think especially in regulated industries, you just can't deploy the applications that you want to without having really robust evals that give you confidence that you're doing it. Deploying these autonomous systems with precision and robust, reliable, great products that can actually scale.
Cool. We are almost at time. So feel free to connect with us on LinkedIn or reach out if you see us anywhere today. So that's our presentation. Thank you. And I think that's why like actually being able to set up really robust evals defines a really high quality product in all cases. But I think especially in regulated industries, you just can't deploy the applications that you want to without having really robust evals that give you confidence that you're doing it. Like deploying these autonomous systems with precision and robust, reliable, you know, great products that can actually scale.
Cool. We are almost at time. So yeah, feel free to like, you know, connect with us on LinkedIn or, you know, just reach out if you see us anywhere today. So, but that's, that's our presentation.
That's hilarious. Thank you.