Podcast: Simulation Can Tell You What Your Agents are Actually Doing: A Conversation with Zhou Yu Static, reference-based benchmarks cannot evaluate AI agents because LLM behavior is non-deterministic and depends on prior responses, Columbia University computer science professor and Arklex.ai co-founder Zhou Yu said on the Architects Podcast, arguing that dynamic simulations incorporating personas, goals and corner cases are required instead. Zhou Yu said rule-based task verifiers in those simulations can measure whether a task was completed alongside threshold metrics for cost, efficiency, safety and compliance, and that simulations apply across the software lifecycle, from product-manager prototyping and CI/CD regression tests to production monitoring for model drift and regional legal compliance. Detailed logging of agent statements and tool calls also provides an audit trail for regulatory compliance and failure analysis, she said. In this podcast, Michael Stiefel spoke to Zhou Yu about using dynamic simulations to evaluate AI agents. One particular focus was conversational agents where actions depend on prior responses, and the non-deterministic nation of LLMs means you cannot rely on static, reference-based benchmarks.You need to test them using dynamic simulations that incorporate different personas, goals, and corner cases. You can simulate how conversations shift based on moods, preferences, accents, or environmental conditions such as factory background noise. Rather than relying on simply binary pass or fail, the rule based task verifiers can measure whether the task was completed as well as threshold metrics for cost, efficiency, safety, and compliance. Simulations can be used during the entire software lifecycle. Product managers can use them for prototyping and design. Engineers can use them for testing in CI/CD pipelines. They can also be used to test production for model drift or failure of third party tools. They can also be used to test compliance with the laws in different regions. Simulations can also be used with synthetic data to fine-tune models. Key Takeaways - To evaluate AI agents you cannot rely on static, reference-based benchmarks because the systems are not deterministic, and often the results depend on prior responses. Testing requires using dynamic simulations that can incorporate personas, goals, and corner cases. - Using simulations for testing applies to the entire software lifecycle. Product managers can use it for designing. Engineers can use it for unit and regression tests. Before deployment you can do stress testing. You can use it to test production for model drift or failure of third party tools. - Reliability Engineering for AI systems requires the combination of skills from machine learning, systems reliability, and traditional software engineering. Human subject matter experts refine simulation scenarios based on production data, design documents, or even social media. - Simulation of conversational agents can evaluate multiple parts of the human - software interaction. For example, it can consider the varying interaction possibilities stemming from prior responses, and the way they might change based on human moods, as well as varying goals and preferences. Another example is simulation of corner cases. It can also take into consideration environmental considerations such as factory noise. It can verify whether a task was completed alongside metrics for cost, efficiency, safety, and compliance. Legal compliance in different regions can also be verified. - Detailed logging of agent statements and tool calls also provides an audit trail for regulatory compliance and failure analysis. Subscribe on: Transcript Michael Stiefel : Welcome to the Architects Podcast where we discuss what it means to be an architect and how architects actually do their job. Today's guest is Zhou Yu, who is a computer science professor at Columbia University and co-founder of Arklex.ai. She obtained her PhD from Carnegie Mellon University. Dr. Yu was named one of the Forbes 30 Under 30 and has extensive research and product experience in conversational agents, computer user agents and LLM model training. Her company enables automated quality assurance testing for AI agents. It's great to have you here on the podcast. And I'd like to start out by asking you, how did you get interested in conversational agents and simulation? I mean, it's not something you decided one morning when you woke up and decided to do it. Zhou Yu : I have been working on AI for quite a long time. So I started my PhD in 2011 at Carnegie Mellon. So back then I was in the language technology institute. There are many professors working on natural language processing, speech-related questions. So I was always very interested about interaction. It's not just speech recognition or processing text, but how people interact with machines. To me, that was the ultimate AI, the moment a human can talk to a system or entity the same way that this person is talking to another human being in order to collaborate on various tasks or even negotiate, persuade each other. So to me, that was the ultimate goal of artificial intelligence. So I was really interested in working on this interactive AI. So my PhD is focused on that. We worked a lot on multimodal conversational agents. How can we do better time taking? How can we, in real time, have agents to think and speak at the same time and various things like that? The Importance of Simulation 02:33