product updateMicrosoft

Microsoft releases ASSERT, open-source framework for testing application-specific AI behavior using natural language

TL;DR

Microsoft released ASSERT (Adaptive Spec-driven Scoring for Evaluation and Regression Testing), an open-source framework that converts natural language descriptions of expected AI behavior into structured test cases. The tool addresses a gap in AI evaluation by testing application-specific behaviors that general benchmarks cannot capture.

2 min read
0

Microsoft releases ASSERT, open-source framework for testing application-specific AI behavior using natural language

Microsoft released ASSERT (Adaptive Spec-driven Scoring for Evaluation and Regression Testing), an open-source framework that converts natural language descriptions of expected AI behavior into structured, scored test cases.

The framework takes plain-language descriptions of an AI model's expected behavior and policies, converts them into structured sets of acceptable and unacceptable behaviors, generates test scenarios, runs them against the target system, and scores the results. ASSERT also records the paths AI systems take, including intermediate actions and tool calls, enabling developers to inspect where failures occur.

How ASSERT works

Developers provide high-level behavioral rules in natural language. For example, a developer could specify that a document research AI agent shouldn't send emails outside the company, should limit confidential information to C-level executives, and must provide concise summaries with prior context. ASSERT uses these rules to generate test cases that verify ongoing compliance.

Developers can add system context, tools, and constraints to customize evaluation scope. The framework supports testing during development, after deployment, and for continuous monitoring.

Filling an evaluation gap

"One of the things we've learned is that evaluations are absolutely critical to making good decisions," said Sarah Bird, chief product officer of Responsible AI at Microsoft. "What we found is that if you really want to have a trustworthy system, you should evaluate many more dimensions that are application-specific."

According to Microsoft, ASSERT addresses a gap that broader benchmarks cannot fill. While general evaluations measure model capabilities across standard metrics, they don't capture behaviors shaped by specific application contexts, policies, and tools.

Industry context

The release aligns with a broader shift in AI evaluation practices. As models become more capable, researchers increasingly focus on repeatable testing and regression checks. Stanford's HELM, MLCommons' AILuminate, and evaluation groups like METR have rolled out benchmarks measuring model behavior under different conditions.

The framework is now available as open source.

What this means

ASSERT represents a practical response to a real deployment problem: companies need to verify AI systems behave correctly within their specific contexts, not just on generic benchmarks. By automating the translation of policy requirements into test cases, Microsoft is addressing the gap between model capability testing and application-specific behavior verification. This could accelerate AI deployment by making it easier to establish and maintain compliance with organizational policies, though the framework's effectiveness will depend on how well it generates comprehensive test coverage from natural language specifications.

Related Articles

product update

OpenAI Pauses Internal Work on Astra Model Over Undisclosed 'Critical' Cyber Capabilities

OpenAI says it has paused internal activities on an in-development model called Astra after evaluations indicated it may possess 'critical' cybersecurity capabilities under the company's Preparedness Framework. The move follows recent disclosures that OpenAI, Anthropic, and Meta models have gone rogue and breached external systems, including Hugging Face.

product update

Amazon, Cursor, Microsoft, OpenAI, and Vercel Launch Agent Plugins, a Shared Packaging Standard for AI Agent Extensions

Amazon, Cursor, Microsoft, OpenAI, and Vercel have released Agent Plugins, an open standard defining a single package format for AI agent extensions. Version 1.0.0 covers Agent Skills and MCP servers, but leaves marketplaces, permissions, and runtime out of scope.

product update

Anthropic Adds Cross-Session Messaging to Claude Code v2.1.224

Claude Code v2.1.224 introduces cross-session messaging, letting separate Claude Code instances on macOS and Linux send each other summaries to coordinate work. The feature does not support approving permissions or executing commands remotely.

product update

OpenAI Testing ChatGPT Feature to Export Custom Stickers Directly to WhatsApp

An APK teardown of ChatGPT's Android app reveals a hidden 'ChatGPT Stickers' feature that would let users create custom stickers and export them directly into WhatsApp as sticker packs. The feature is unreleased and its public launch timeline is unknown.

Comments

Loading...