<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Yaoshen Luo's Publication]]></title><description><![CDATA[Writing about AI agent benchmarks, evaluation, and real-world workflows only from work I have done, tested, failed at, or thought through seriously.]]></description><link>https://luoyaoshen.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6abb55106e7a8ac19a524d7c/77b047e6-97cc-4fd6-9988-44ca6298ae11.jpg</url><title>Yaoshen Luo&apos;s Publication</title><link>https://luoyaoshen.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 06:58:22 GMT</lastBuildDate><atom:link href="https://luoyaoshen.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Benchmarking Real Work Case 2: Why Good Agent Evaluation Wasn’t Enough for Production]]></title><description><![CDATA["They used it once and refused to touch it again."

When that feedback landed two weeks in, I could barely believe it. An agent validated against a benchmark built on real-world data had still failed ]]></description><link>https://luoyaoshen.hashnode.dev/benchmarking-real-work-case-2-why-good-agent-evaluation-wasn-t-enough-for-production</link><guid isPermaLink="true">https://luoyaoshen.hashnode.dev/benchmarking-real-work-case-2-why-good-agent-evaluation-wasn-t-enough-for-production</guid><dc:creator><![CDATA[Yaoshen Luo]]></dc:creator><pubDate>Wed, 30 Sep 2026 14:13:05 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6abb55106e7a8ac19a524d7c/c789d349-e7f6-4cdb-913b-e77f460c96af.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote>
<p>"They used it once and refused to touch it again."</p>
</blockquote>
<p>When that feedback landed two weeks in, I could barely believe it. An agent validated against a benchmark built on real-world data had still failed to solve the foundation’s workflow problem.</p>
<p>Only in hindsight did I realize: I had evaluated the agent's processing capability, but I never evaluated whether volunteers could actually use it to get their job done.</p>
<h2>1. Every House Has a Kitchen—Why Build a Community Canteen?</h2>
<p>A friend working at a non-profit foundation once shared a story with me:</p>
<blockquote>
<p>A rural village had poured resources into numerous senior welfare initiatives over the years, yet life satisfaction barely moved. What ultimately made a difference was building a communal canteen.</p>
</blockquote>
<p>When the village head first heard the project proposal, he was deeply skeptical: Every single elderly household has its own kitchen. Why on earth do we need a village canteen?</p>
<p>Field visits later validated two straightforward reasons. First, cooking had simply become too physically taxing for the seniors—especially firing up a stove in the sweltering heat, which was pure misery. Second, beyond serving hot meals, the canteen at the village entrance created a regular venue for group interaction. It gave them a place to run into people and chat, directly addressing their need for social connection.</p>
<p>This counterintuitive, genuine need was surfaced by foundation staff and volunteers through round after round of authentic home-visit conversations with local seniors.</p>
<p>Their organization runs diverse programs nationwide. These projects rely on cohorts of short-term volunteers who pay regular visits to seniors across different age groups, speaking varied regional dialects. Those conversational touchpoints hold the richest, yet most frequently overlooked, context regarding the seniors' current living conditions and real needs.</p>
<p>While my friend had the foresight to archive these interview audio recordings, data collection still leaned entirely on volunteers manually filling out questionnaires.</p>
<p>That survey workflow was time-consuming and labor-intensive, making standardization difficult. More crucially, longitudinal insights—such as tracking changes in a senior's condition over time—rarely materialized.</p>
<p>Meanwhile, a lean foundation team couldn't realistically audit hours of raw audio by hand.</p>
<p>They needed a way to truly listen to these seniors at scale.</p>
<h2>2. From an Audio File to an Auditable Interview Record</h2>
<p>I realized the foundation didn’t need raw audio files; they needed reliable, verifiable interview records. That breakdown came down to three concrete requirements.</p>
<p><strong>First: Accurate content transcription.</strong> Across these interviews, seniors speaking regional Chinese dialects was the baseline reality. This required a rigorous vendor evaluation for speech-to-text (STT).</p>
<p>I requested a small batch of authentic interview datasets. These were dialect-heavy recordings—each running over 30 minutes, spanning dozens of back-and-forth turns, with standard Mandarin and local dialects constantly interspersed. I benchmarked several speech recognition vendors that supported dialects against these files.</p>
<p>Evaluation was constrained to spot-checks by team members fluent in the respective dialects, paired with holistic context sanity checks. Through this filtering, I locked down our technical vendor and measured average transcription costs on real-world data.</p>
<p><strong>Second: Accurate speaker identification.</strong> Listening closely to the tapes revealed messy, real-world conversational dynamics, typically involving multi-party conversations.</p>
<p>Volunteers often conducted visits in small teams. Meanwhile, the senior being interviewed was frequently surrounded by family members or neighbors chiming in. For instance, if an extraction pipeline relied purely on raw transcripts to log the senior's health updates, it could easily misattribute statements made by the spouse.</p>
<p>However, STT vendors supporting broad dialect coverage rarely offered out-of-the-box speaker identification. In our processing pipeline, we therefore had to run speaker identification on the raw audio of each segmented utterance, injecting speaker identity as a critical context layer.</p>
<p><strong>Third: Grounded rationale extraction.</strong> The survey questions had to be answered strictly based on the interview dialogue, and many items had direct evidentiary clues scattered across the transcript.</p>
<p>My primary concern here was hallucination in the underlying LLM—specifically, downstream evaluative conclusions generated without factual backing.</p>
<p>I addressed this with a two-layer design: 1) Structurally, the workflow retained a human-in-the-loop review step for volunteers to verify answers. 2) Technically, in addition to outputting the structured form fields, the agent was forced to simultaneously extract the verbatim dialogue snippets serving as evidence.</p>
<p>This second design unlocked a standardized benchmark to score relevance between the model’s outputs and the source transcript, measuring precision and recall on evidence retrieval. While this doesn't offer an absolute algorithmic guarantee against hallucinations, it effectively benchmarked different model providers. It also enabled runtime quality checks on citation integrity in production, providing a reliable proxy for dialogue session health.</p>
<p>Anchored on these three core principles, I set out to hand-label the small sample of real interview data to stand up our benchmark.</p>
<p>Dialect testing was limited to spot-checking rather than turn-by-turn ground-truth matching, so the benchmark baseline assumed clean, pre-segmented utterances. I built a lightweight internal web tool to load this context, play back audio per utterance, and let me label speaker identities.</p>
<p>For the post-interview survey extraction, I created ground-truth annotations of verbatim evidence and corresponding answers across the sample cases. The evidence retrieval was cleanly testable with deterministic metrics, while answer accuracy was evaluated using an LLM-as-a-judge approach as a directional reference.</p>
<p>With this benchmark running, I vibe-coded an end-to-end web prototype and iterated through multiple testing loops. This involved refactoring the data processing pipeline, redesigning the web interface flow, and selecting key vendors—particularly balancing latency, accuracy, and operational cost.</p>
<p>Ultimately, the prototype reached a very usable level on the benchmark. The dataset was small, but I had reasonable confidence in the pipeline's output quality.</p>
<h2>3. The Benchmark Looked Great. Why Did Volunteers Refuse to Use It?</h2>
<p>The benchmark numbers gave me strong confidence in this build. I recorded a demo video for my friend, who was also impressed with the output. Within two days, he assigned a remote intern and the volunteer operations lead to pilot the tool in an upcoming regional field visit.</p>
<p>For the next few weeks, I repeatedly checked our dashboard, watching trial volunteers sign up and trigger runs. The counters showed tasks completing normally, and I convinced myself that the tool had solved the foundation's interview processing problem.</p>
<p>Two weeks later, my friend came back with the field report: the end-user experience was terrible. After testing it once, the frontline volunteers refused to touch it again.</p>
<p>I have to admit, when that feedback first came in, I found it hard to believe. With an evaluation backed by real-world audio showing strong results, the actual production experience should not have been so poor.</p>
<p>Where did it break?</p>
<p>I first synced with the intern, who insisted the product vision was completely spot-on and genuinely meaningful. We brainstormed a backlog of incremental feature optimizations. Then, pulled away by other priorities over the next few months, I let the project stall.</p>
<p>Later, my friend insisted on pushing this tool through to full deployment for ongoing volunteer operations. I joined one of their internal working sessions. That was when I realized the intern was working remotely; like me, he had limited visibility into the day-to-day work of frontline volunteers.</p>
<p>In that meeting, I finally spoke with the volunteer coordinator who had reported the poor experience. Listening to her describe the workflow, I caught the core friction point causing the backlash: for volunteers, the operational overhead had multiplied, while the perceived efficiency gain over their legacy process was negligible.</p>
<p>I asked her to walk me through their baseline workflow. They already had a standardized SOP for regional field teams: volunteers simply completed their onsite interview, uploaded the audio file, and manually filled out the survey form.</p>
<p>Volunteers executed this entire legacy flow on their phones via WeChat, simply tapping a Feishu web form link provided by headquarters.</p>
<p>My "solution," by contrast, required volunteers to open a third-party speech SaaS on desktop, register an account, pre-import questionnaire prompt templates, upload audio files turn-by-turn, and export the transcribed extraction as a CSV file.</p>
<p>It was an embarrassingly obvious failure mode. In retrospect, I struggled to understand how I missed such glaring workflow friction when the initial feedback came in.</p>
<p>It boils down to one reality: I wasn’t on the ground.</p>
<h2>4. An Agent Only Works When It Disappears into the Existing Workflow</h2>
<p>That feedback was useful because the source of the problem was clear.</p>
<p>A straightforward idea surfaced: How could I wire this benchmarked pipeline directly into the volunteers' existing workflow? Ideally, the integration would be completely invisible to them, dropping adoption friction to near zero.</p>
<p>I focused on Feishu, their existing workspace tool. Volunteers were already relying on its native file upload and survey forms for automated data collection. Digging into the platform capabilities, I found that Feishu supported custom workflows combining audio ingestion and LLM execution. I could rebuild the pipeline natively on top of their existing automation infrastructure.</p>
<p>I stood up the working prototype over a single weekend. It mirrored the exact audio submission entry point volunteers were already accustomed to, handling dialect transcription, speaker parsing, and grounded Q&amp;A extraction entirely downstream.</p>
<p>The turnaround was immediate and stark.</p>
<p>The intern quickly grasped why our earlier disconnect from the operational context had derailed us. After reviewing the prototype architecture, he took over and built out the complete internal production implementation. He also spearheaded rollout validation across pilot regions, mapping the geographic distribution of elderly dialects to define the hard operating boundaries of the system. In regions speaking dialects beyond our coverage limits, the legacy manual workflow was kept intact.</p>
<p>Only then was the project truly in production use.</p>
<p>Whenever I look back at this case, I stay paranoid about one question: What are the actual measurement boundaries of the benchmark in front of me? And what is it failing to measure?</p>
<p>This experience didn't invalidate our benchmark. What it made painfully clear was that the benchmark answered a very narrow question: Given an audio file, can the agent generate an accurate, auditable interview record? What it completely failed to answer was: Can a volunteer, as an end user, complete their end-to-end task inside their existing workflow with less operational friction?</p>
<p>I now view the workflow itself as part of the evaluation, rather than just scoring raw model outputs. How input enters the system, how outputs are reviewed and submitted, and whether human users continue using the tool all help determine whether an agent delivers sustained real-world value.</p>
]]></content:encoded></item><item><title><![CDATA[How to Evaluate AI Agent with Benchmark in Practice?]]></title><description><![CDATA[Is your agent worth evaluating? If so, how much should you invest—and how do you ensure the evaluation actually serves the business?

1. Is Your Agent's Work Worth Evaluating Yet?
Many teams miss this]]></description><link>https://luoyaoshen.hashnode.dev/how-to-evaluate-ai-agent-with-benchmark-in-practice</link><guid isPermaLink="true">https://luoyaoshen.hashnode.dev/how-to-evaluate-ai-agent-with-benchmark-in-practice</guid><category><![CDATA[ai agents]]></category><category><![CDATA[AI]]></category><category><![CDATA[Tutorial]]></category><dc:creator><![CDATA[Yaoshen Luo]]></dc:creator><pubDate>Wed, 30 Sep 2026 14:08:01 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6abb55106e7a8ac19a524d7c/8abbc246-cb68-44a3-8d21-bce8baa89100.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote>
<p>Is your agent worth evaluating? If so, how much should you invest—and how do you ensure the evaluation actually serves the business?</p>
</blockquote>
<h2>1. Is Your Agent's Work Worth Evaluating Yet?</h2>
<p>Many teams miss this fundamental question: does your agent actually need an evaluation right now?</p>
<p>When developers rush to find or build a benchmark, they often forget the first principle: <strong>evaluation is a means, not the goal.</strong> Measurement exists only to inform decisions, and decisions exist only to drive business outcomes.</p>
<p>Before building anything, ask yourself three questions:</p>
<ul>
<li><p><strong>Does the project have a well-defined objective?</strong> Without a clear definition of what success looks like, you cannot establish a meaningful evaluation framework.</p>
</li>
<li><p><strong>Will the evaluation actually change your decisions?</strong> If the results won't alter your vendor selection, agent architecture, or cost structure, running the eval is pure theater.</p>
</li>
<li><p><strong>Does the expected value of the decision outweigh the cost of running the eval?</strong> Constructing an eval requires time, curating data, tooling, and expert review. Scoping the evaluation appropriately is the key to economic viability.</p>
</li>
</ul>
<p>Only after confirming the necessity of evaluation should you consider a benchmark.</p>
<p><strong>A benchmark is simply one implementation mechanism—not the evaluation itself.</strong> You can gauge an agent's performance through A/B testing on live traffic, side-by-side human reviews, or by tracking downstream business metrics.</p>
<p>The goal of a benchmark isn't to look professional. Its true value is that it codifies the evaluation criteria, standardizes the test distribution, and allows repeatable, high-efficiency regression testing over time.</p>
<p>You only need a benchmark when:</p>
<ul>
<li><p>You are comparing multiple candidate models, versions, or pipeline architectures.</p>
</li>
<li><p>You need continuous regression testing to detect silent capability degradation.</p>
</li>
<li><p>You need to verify whether the agent's real-world performance still matches pre-deployment baselines.</p>
</li>
</ul>
<p>Prioritize evaluating capabilities that directly govern critical business decisions. You don't need to evaluate every single edge case; you only need to evaluate what impacts business value.</p>
<h2>2. How Much Should You Invest in Evaluation?</h2>
<p>Evaluation is an investment: trading bounded capital for decision confidence.</p>
<p>An evaluation result is never an absolute truth; it is simply a probabilistic judgment within a confidence interval. In practice, evaluations do not need to be perfect—they just need to be actionable. In the messy real world, ambiguous edge cases and imperfect ground truths are inevitable.</p>
<p>Even <a href="https://www.image-net.org/static_files/papers/imagenet_cvpr09.pdf"><strong>ImageNet</strong></a>—the landmark benchmark that revived deep learning (over 14 million annotated images, with 1.28 million in the ILSVRC contest set)—shattered its own illusion of perfection. While Fei-Fei Li's team reported a 99.7% precision in their 2009 random audit across 80 classes, subsequent research proved that noise is impossible to eliminate:</p>
<ul>
<li><p><strong>Mechanism Distortion:</strong> Google's <a href="https://arxiv.org/abs/2006.07159">ImageNet-ReaL</a> (Beyer et al., 2020) revealed that real-world images frequently feature multiple objects. The original single-label constraint meant models were often penalized for detecting real, unlabeled objects.</p>
</li>
<li><p><strong>Systemic Noise:</strong> NeurIPS 2021 research by <a href="https://arxiv.org/abs/2103.14749">Northcutt et al.</a> confirmed that the ImageNet validation set contains <strong>at least 5.83% hard label errors</strong> (over 2,916 mislabeled samples out of 50,000, including dogs tagged as handbags).</p>
</li>
</ul>
<p>If a foundational pillar of modern AI operates with 6% noise, you should not expect your internal business benchmarks to be flawless. You are not buying omniscience; you are buying directional clarity through the fog.</p>
<p>Evaluate your spend using a simple ROI lens:</p>
<blockquote>
<p>Expected Net Value = (Δ Confidence × Δ Agent Performance × Marginal Business Value) − Eval Cost</p>
</blockquote>
<p>An evaluation is only justifiable when the expected net return is clearly positive.</p>
<p>Keep in mind that capability improvements are rarely linear with business returns. A 10% jump in raw model performance might not move the needle on conversions at all. Conversely, in winner-take-all scenarios, a fractional bump in reliability can decide the entire product's survival.</p>
<h2>3. Start with Real Workflow Data</h2>
<p>In enterprise scenarios, a benchmark is a system design challenge, not just a dataset.</p>
<p>Raw workflow logs are the cheapest data to acquire, but the true value lies in the downstream cleaning, curation, and labeling. Every annotation represents an encoded human judgment. When we define a benchmark, we are essentially assembling an aggregate record of operational decisions.</p>
<p>How do you sustainably collect these judgments? Through domain experts, crowdsourcing, or implicit user feedback loops (much like how Google turned reCAPTCHA into a massive crowdsourced labeling engine). A robust benchmark cannot exist without the infrastructure that continuously feeds it.</p>
<p><strong>A benchmark with compounding interest becomes a core business asset.</strong></p>
<p>Building high-quality evaluation sets from real workflows drives agent performance, which improves user adoption and generates more downstream data. This self-reinforcing loop is the classic data flywheel.</p>
<p>Many teams mistakenly believe that simply hoarding data creates a flywheel. They miss the operational loop: building the evaluation system that guides model iterations, and verifying that those iterations actually drive business KPIs. Only with those two components in place does data compound.</p>
<p>However, a high benchmark score does not guarantee production adoption.</p>
<p>This was the most painful lesson from my own production rollouts: I conflated algorithmic precision with workflow success.</p>
<p>In a previous project for a non-profit, I built an agent pipeline featuring regional Chinese dialect ASR to transcribe interviews, summarize case notes, and automatically fill out reporting forms. We spent weeks carefully curating and labeling a pristine, gold-standard dataset, and the model's benchmark performance was stellar.</p>
<p>Yet, when we delivered the tool, our operations staff pushed back aggressively. In the PoC, we had required them to open a separate web portal, log in, and manually upload audio recordings. This single additional friction point severely disrupted their day.</p>
<p>After sitting down with the team, we realized their existing workflows lived entirely inside their daily work software. We pivoted: we embedded the agent silently into that same workflow, requiring zero behavior changes. Only then was the automation successfully adopted.</p>
<p>That experience taught me an indelible lesson: a massive chasm separates stellar eval metrics from seamless workflow integration.</p>
<h2>Closing</h2>
<p>Evaluation does not start by picking a benchmark off the shelf and grading your agent like a student.</p>
<p>It must begin with a genuine business decision: what is worth knowing, why do we need to know it now, and what is the cost of acquiring that certainty?</p>
<p>The real value of a benchmark is not proving how capable your agent is. It is bringing clarity, repeatability, and a shared language to your engineering and executive decisions.</p>
<p><em>More notes &amp; frameworks at</em> <a href="https://aiagentbenchmark.com/"><em>aiagentbenchmark.com</em></a></p>
]]></content:encoded></item><item><title><![CDATA[Why AI Agent Benchmark Matters]]></title><description><![CDATA[You probably are not short of demos. What you lack is judgment.

In 2026, competitive organizations have already put AI agents into real workflows. The question is no longer whether they can do it, bu]]></description><link>https://luoyaoshen.hashnode.dev/why-ai-agent-benchmark-matters</link><guid isPermaLink="true">https://luoyaoshen.hashnode.dev/why-ai-agent-benchmark-matters</guid><category><![CDATA[ai agents]]></category><category><![CDATA[AI]]></category><category><![CDATA[Benchmark]]></category><category><![CDATA[workflow]]></category><dc:creator><![CDATA[Yaoshen Luo]]></dc:creator><pubDate>Wed, 30 Sep 2026 13:52:58 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6abb55106e7a8ac19a524d7c/a6a1f2bc-34e9-4931-bb64-6c015cb5a690.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote>
<p>You probably are not short of demos. What you lack is judgment.</p>
</blockquote>
<p>In 2026, competitive organizations have already put AI agents into real workflows. The question is no longer whether they can do it, but whether they do it well, who is more worth using, and whether they still work after they change.</p>
<p>This is why AI Agent Benchmark has to exist.</p>
<h2>1. Why now?</h2>
<p>In fact, in 2026, AI agents have already taken over many work steps that used to belong to human employees. Across organizations, the evaluation of the effect of this takeover on different kinds of work has become a growing demand.</p>
<p>The complexity of evaluating work output has always existed. It does not really depend on whether the work is done by a human or by an AI employee. Now, when business owners, managers, and workers are forced by the trend of agent takeover to face and define concrete evaluation plans, they realize how long they have been avoiding this problem.</p>
<p>I designed 3 questions:</p>
<ul>
<li><p>If you are responsible for buying an agent service for your company, do you have a tool that can reflect the final result of the business after the purchase? What is the input-output ratio? What constraints are there? In the end, how do you decide which vendor to buy from?</p>
</li>
<li><p>If you are evaluating agent employees, you then realize that public benchmark tests are more like an entrance exam written test. A student with a high written score, after joining the company, is that really a good employee who produces output?</p>
</li>
<li><p>Self-iteration is the direction of agent evolution. It means today's agent is no longer yesterday's one. In actual work, it is continuous and dynamic. Can you keep sensing whether it is growing or decaying?</p>
</li>
</ul>
<p>If these 3 questions move you, then this is the time to talk about them.</p>
<h2>2. Evaluation is not a new challenge, but AI agents make it harder.</h2>
<blockquote>
<p><strong>First, as the production cost of digital work drops, the bottleneck shifts to evaluation and decision-making.</strong></p>
</blockquote>
<p>AI Agent output becomes faster and more abundant. But output that is not effectively checked is unreliable.</p>
<p>There is no free lunch. Evaluation itself has cost and tradeoffs.</p>
<p>The result of evaluation is a belief: an inference about the state of the worker behind the output, and how much confidence there is in that inference. That inference itself can be wrong and can fail. Doing evaluation is also a decision: choosing how much cost to pay for how much confidence in an estimated belief.</p>
<p>Just like human employees, state is temporary. Evaluation is only valid within a time range. As time passes, the confidence gets lower. It is not possible to measure every state, and it is not possible to test everything. Carrying out measurement is an economic problem.</p>
<p>Besides how to design evaluation and how to carry it out, making a reasonable and economic evaluation decision in actual work is also not easy.</p>
<blockquote>
<p><strong>Second, when the difference is not obvious, subjective judgment is hard.</strong></p>
</blockquote>
<p>Simply put, evaluation is comparing the difference between A and B. In the past, it was human versus human. Now, it is human versus Agent. In the future, it is Agent versus Agent.</p>
<p>When the gap between A and B is large, it is easy to make a conclusion. When the difference is not obvious, quantitative comparison is indispensable for producing the conclusion.</p>
<p>Also, as the share of AI agent work keeps rising, there are more comparison points. For example, between different AI agent vendors in the market, between different agent implementation plans, and between yesterday's agent and today's agent after self-iteration.</p>
<p>A benchmark is one way to make evaluation economical. It should be repeatable and quantitative.</p>
<blockquote>
<p><strong>Third, hidden evaluation problems come to the surface and become the main problem.</strong></p>
</blockquote>
<p>In the past, when people worked on human work, it was not that there were no evaluation problems. More often, they were handled through experience, trust, hierarchy, and inertia. From my own work experience, evaluation is often ignored in work. One sign of this neglect is that the cost of evaluation, as one part of the overall work, is treated as so low that it is almost ignored.</p>
<p>This common low ratio has many deeper problems.</p>
<p>Evaluation and the problem itself are two sides of one coin. If evaluation is clear, then to some extent the definition of the problem and the path to solve it should also have direction. If evaluation is vague, that means the problem itself has not been broken down well. I think in actual work, problems are not often defined and solved well. The vagueness of evaluation and the low input are an economic reflection of collective avoidance of complexity inside organizations.</p>
<p>Another common saying is that the result of evaluation cannot answer how much money the business made, or how much it affected the final business result, so why do evaluation. Right now, the evaluation I am talking about is more about splitting the business into chain steps and measuring the necessity of each step. But in fact we still need another important topic: an overall sufficiency evaluation tool for the business chain.</p>
<p>When agent enters the organization, these hidden problems need to be made visible by the organization.</p>
<h2>3. Why current benchmarks do not reflect actual work?</h2>
<p>I think the problem can be summarized into 3 points.</p>
<p>The difficulty of evaluation is only now starting to surface as AI agent lands in real work. People still lack understanding and tools for a problem that has always existed and been ignored. That is also why I built aiagentbenchmark.com. I want to keep publishing methods and services for AI agent evaluation here, and I firmly believe that these tools only create value when they truly land in customer practice.</p>
<p>There is another case: people know the evaluation method, but the actual way they do it is wrong. For example, some people use public benchmarks to evaluate their agents. That is already pretty good, but it is not enough. The reason is simple. It is just like when we face human hiring. A very complete standardized test, such as China's Gaokao or the US SAT, can only show some basic ability and literacy, but it does not mean the person will be a good employee after joining the company.</p>
<p>A business evaluation that can truly land must be designed according to specific business problems. It also reflects how well the organization understands those business problems themselves. If it is only a generic test from a related field, then it is only an ordinary level. The continuous building and maintenance of a unique private benchmark is a core business asset. This should not flow into the public field, because in digital work, this is usually part of the core asset. The ability to customize for the problem is missing in the market.</p>
<p>In the end, the meaning of AI Agent Benchmark is to give organizations a judgment tool with confidence under uncertainty.</p>
<p>This is not an add-on. This is infrastructure.</p>
]]></content:encoded></item><item><title><![CDATA[Benchmarking Real Work - Case 01: How I Built a Voice Agent Benchmark from Real Customer Failures]]></title><description><![CDATA[Customer complaints are not the problem definition; they are the signal.

This post captures a real-world case of agent benchmarking: how I built v1 of our benchmark from real customer failure logs—wi]]></description><link>https://luoyaoshen.hashnode.dev/benchmarking-real-work-case-01-how-i-built-a-voice-agent-benchmark-from-real-customer-failures</link><guid isPermaLink="true">https://luoyaoshen.hashnode.dev/benchmarking-real-work-case-01-how-i-built-a-voice-agent-benchmark-from-real-customer-failures</guid><category><![CDATA[AI]]></category><category><![CDATA[ai agents]]></category><category><![CDATA[Benchmark]]></category><category><![CDATA[Evaluation]]></category><category><![CDATA[production]]></category><category><![CDATA[voice ai]]></category><dc:creator><![CDATA[Yaoshen Luo]]></dc:creator><pubDate>Tue, 29 Sep 2026 12:55:03 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6abb55106e7a8ac19a524d7c/444163bb-0778-4a19-b39a-ccab1864565d.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote>
<p><strong>Customer complaints are not the problem definition; they are the signal.</strong></p>
</blockquote>
<p>This post captures <em><strong>a real-world case of agent benchmarking</strong></em>: how I built v1 of our benchmark from real customer failure logs—without prior domain expertise in voiceprint recognition—and used it to drastically improve the production experience of a Voice Agent.</p>
<h1>1. Complaints Are Real Signals, but They Aren’t Actionable</h1>
<p>I took over a product module that had strong customer demand, but consistently negative user sentiment.</p>
<p>For any voice-first agent, voiceprint recognition (speaker identification) is foundational. In multi-party conversations, whether an agent can correctly identify who is speaking significantly affects the conversation flow and determines whether conversational memory gets attributed to the right user.</p>
<p>When I stepped in, I had almost zero context.</p>
<p>All I had were escalating customer inquiries demanding optimization progress, paired with frustrated feedback. But the input was always along the lines of: "Hey, we hit another misidentification issue earlier." In practice, this kind of feedback is completely non-actionable.</p>
<p>An interaction with an agent is composed of turn-by-turn dialogue. Customers can rarely pinpoint exactly which turn was misattributed, or when the system simply failed to detect a speaker altogether.</p>
<p>Still, customer frustration is always a solid lead.</p>
<p>I asked them to run another test round and send over the failure cases they ran into. Sifting through those fragmented logs and session artifacts, the problem's shape started to emerge.</p>
<p>Root-causing speaker ID failures on a per-incident basis was painfully inefficient. Every single dialogue turn can trigger a speaker prediction, and that prediction ripples directly into the language model’s prompt context.</p>
<p>I had to translate "I hit another identification bug, go look into it" into "In this 30-turn session, turns 10 and 15 misclassified the speaker as someone else, while turn 7 dropped the detection entirely."</p>
<p>You have to convert fuzzy feedback into granular, structured issues before you can take any engineering action.</p>
<h1>2. Reproduction, Annotation, and Evaluation: Turning Conversations into Repeatable Datasets</h1>
<p>I looked around—there were no off-the-shelf internal tools for this.</p>
<p>This is a classic engineering reality: you have the application code to ship features, but zero tooling to reproduce failures. Which means you have no mechanism to handle post-launch customer escalations or iterate with confidence.</p>
<p>I treated this lack of full session context capture and replay tooling as problem zero.</p>
<p>Once we had a replay mechanism in place, the path forward became clear: I could listen to a 10-turn dialogue trace and label the ground-truth speaker identity for each utterance. With labeled ground truth, replaying the problematic session against the engine and comparing actual vs. expected outputs gives you concrete metrics.</p>
<p>Here, the metrics were clean and straightforward: per-turn accuracy and recall for speaker ID.</p>
<p>I put together a lightweight web interface for the annotation flow. It sequentially loaded the dialogue context and audio clips so I could tag speakers in real time as I listened through. Hit save, and you have a structured, annotated sample.</p>
<p>I obsessed over the ergonomics of this annotation tool. If we needed to quickly scale the dataset to cover diverse production scenarios, my teammates and I had to be able to jump in and label without friction.</p>
<p>With reproduction and labeling solved, I wired up the evaluation runner. Just like that, we closed the loop on our first repeatable evaluation pipeline: replay, annotate, execute, and score.</p>
<p>I brought in a few colleagues to simulate real-world conversations with the agent, covering single-speaker and multi-speaker turn-taking scenarios. All they had to do was talk naturally to the agent. Leveraging the internal tool, I quickly built out the dataset with hundreds of labeled conversational turns. It came together faster than expected: v1 of the benchmark was live.</p>
<p>I couldn't wait to run the baseline evaluation. And... it was predictably disappointing. Per-turn identification accuracy was abysmal across the board—nowhere near the open-source model's performance on public benchmarks.</p>
<p>What was falling apart? Here is the dirty work driven by the benchmark.</p>
<h1>3. How the Benchmark Drove Root Cause Analysis and Iterations</h1>
<p>I’m by no means an algorithm expert in voiceprint recognition; it was completely new territory for me.</p>
<p>Yet, through the benchmark runs and manual test sweeps, I noticed that speaker ID accuracy correlated heavily with audio sample duration. I sliced the benchmark across several audio chunk durations, and the differences were clear.</p>
<p>I used an agent to run an academic literature pass and confirmed that the dependency of speaker identification on sampling duration has been thoroughly documented.</p>
<p>I redesigned the module’s audio ingestion pipeline: specifically when inference triggers after receiving the audio stream, and the duration of the audio sample. The goal was to ensure speaker metadata was injected into the LLM context reliably and promptly, regardless of how long or short the user utterance was.</p>
<p>Boom! The benchmark scores jumped immediately.</p>
<p>We weren't out of the woods yet. We had addressed the core identification issue, but the actual conversational experience still had problems.</p>
<p>Whenever users switched turns in a group setting, the agent’s memory and response phrasing still degraded. The root cause: the speaker metadata was poorly integrated into the prompt layer.</p>
<p>Once we structured and normalized the voiceprint metadata into the LLM's prompt context, the problem disappeared. Both the v1 benchmark metrics and hands-on testing saw dramatic, measurable improvements.</p>
<p>The experience of dynamic multi-user turn-taking and discussions quickly won over my colleagues—especially given how painful it had been when they were recording the baseline test data.</p>
<p>When I invited customers back for another evaluation, many responded positively. They also continued to report cases that fell short of expectations.</p>
<p>Digging into those new cases pointed the finger back at the benchmark itself: while v1 had driven real performance gains, its sample distribution had systematic bias.</p>
<p>The utterance length distribution in v1 did not match production traffic. It was skewed heavily toward longer sentences, making the evaluation overly optimistic. Once we re-sampled the benchmark to mirror real-world utterance length distributions, our accuracy numbers dropped back down.</p>
<p>Only then did we adjust the recognition model.</p>
<h1>4. From a Static Benchmark to Continuous Evaluation: The Scale and Coverage Dilemma</h1>
<p>Following these iterations, some customers who had previously been disappointed with the feature confirmed that the core experience had noticeably improved.</p>
<p>Building v1 of the benchmark wasn't technically complex, nor did it take massive engineering hours. It didn't try to cover every edge case under the sun, but it gave me what mattered: the ability to reproduce customer failures, pinpoint root causes, and verify whether our patches actually worked.</p>
<p>To me, this is what defines a viable benchmark: it doesn't need to be exhaustive or complicated out of the gate, but it must change how you understand the problem and unblock your next engineering action.</p>
<p>That said, v1 is still just a static, repeatable test suite. Turning it into a continuous evaluation system means tackling harder operational questions:</p>
<ul>
<li><p>How do we identify failures in real user sessions that are worth adding to the benchmark?</p>
</li>
<li><p>How do we keep human annotation reliable and consistent while controlling costs?</p>
</li>
<li><p>How do we continuously expand coverage across hardware devices, new users, variable utterance lengths, and multi-speaker conversations?</p>
</li>
<li><p>How do we manage benchmark versions and keep them aligned with real user distributions?</p>
</li>
<li><p>How do we feed newly discovered production issues back into the next evaluation cycle?</p>
</li>
</ul>
<p>These questions draw the line between a static benchmark and a continuous evaluation system.</p>
<p>V1 helped us reproduce and fix the issues we could see. The next engineering challenge is building a pipeline that continuously uncovers the failures we haven't seen yet.</p>
<p>I'll dive into scaling trustworthy annotation, maintaining scenario coverage, and building a continuous evaluation loop in the upcoming pieces of the <a href="https://aiagentbenchmark.com/guides/benchmarking-real-work-case-01/"><em>Benchmarking Real Work</em> series</a>.</p>
]]></content:encoded></item></channel></rss>