跳到主内容
@wquguru
精选88Microsoft Foundry 博客(RSS)产品发布/更新多源精选 ×2

微软发布决策模型Microsoft-Decision-1.1

Introducing Microsoft-Decision-1.1: Build faster, more efficient AI applications with decision model

原文
发到 X
推荐理由

Agent 开发者的新利器,用专用小模型替代大模型做路由和分类,能显著降低延迟和成本,建议评估你的工作流是否适用。

As AI applications evolve from simple chat experiences into complex, agentic systems, developers are rethinking how they use models. Rather than relying on a single large language model for every task, they're increasingly building applications that combine specialized models, each optimized for a specific purpose. Some generate content, others reason through complex problems, and a growing category focuses on something equally important: making decisions.

随着 AI 应用从简单的聊天体验演变为复杂的智能体系统,开发者正在重新思考他们使用模型的方式。他们不再依赖单一的大型语言模型来处理所有任务,而是越来越多地构建结合专用模型的应用程序,每个模型都针对特定目的进行了优化。有些模型用于生成内容,有些用于推理复杂问题,而一个日益增长的类别则专注于同样重要的方面:做出决策。

Consider an AI agent that needs to determine which tool to call, whether a customer request requires escalation, or what action to take next. These decisions happen repeatedly throughout an application, but they don't always require the generative capabilities of a large language model. Using one for every decision can introduce unnecessary latency and cost, particularly at scale.

考虑一个需要确定调用哪个工具、客户请求是否需要升级或下一步采取什么行动的 AI 智能体。这些决策在应用程序中反复发生,但并不总是需要大型语言模型的生成能力。为每次决策都使用大型语言模型可能会引入不必要的延迟和成本,尤其是在大规模部署时。

Decision models address this challenge by helping applications select the right outcome from a defined set of choices, quickly and efficiently. As developers build more sophisticated multi-model systems, specialized decision intelligence is becoming an increasingly valuable part of the architecture.

决策模型通过帮助应用程序从一组预定义的选项中快速且高效地选择正确的结果来解决这一挑战。随着开发者构建更复杂的多模型系统,专用的决策智能正成为架构中越来越有价值的组成部分。

Today, we're introducing Microsoft-Decision-1.1, now generally available in Microsoft Foundry, bringing improved decision quality, faster inference, and multimodal capabilities to developers building intelligent applications.

今天,我们宣布 Microsoft-Decision-1.1 在 Microsoft Foundry 中全面可用,为构建智能应用的开发者带来改进的决策质量、更快的推理速度以及多模态能力。

What's new in Microsoft-Decision-1.1?

Microsoft-Decision-1.1 有哪些新特性?

Microsoft-Decision-1.1 builds on the original model with improvements to accuracy, calibration, and latency. In Microsoft's evaluation across 102 benchmarks containing more than 385,000 questions held out from training, Microsoft-Decision-1.1 achieved an average accuracy of 78.8%, leading in seven of nine capability categories.

Microsoft-Decision-1.1 建立在原始模型的基础上,提升了准确性、校准度和延迟表现。在微软对 102 个基准测试(包含超过 38.5 万道未参与训练的问题)的评估中,Microsoft-Decision-1.1 取得了 78.8% 的平均准确率,在九项能力类别中的七项位居第一。

Microsoft-Decision-1.1 is based on Gemma 4 26B A4, with specialized training for decision-making and a custom inference engine. Microsoft-Decision-1.1 is more than twice as fast as Microsoft-Decision-1. Improved calibration also helps developers use confidence signals to set application-specific thresholds thresholds for when to act automatically and when to request additional review.

Microsoft-Decision-1.1 基于 Gemma 4 26B A4 模型,经过针对决策任务的专门训练,并采用自定义推理引擎。其推理速度比 Microsoft-Decision-1 快两倍以上。改进的校准度还帮助开发者利用置信度信号来设置应用特定的阈值,以决定何时自动执行操作,何时请求额外审查。

The release also introduces multimodal capabilities, allowing developers to incorporate images into decision instructions. This opens new possibilities for applications that need to classify visual content, route requests based on screenshots, or make decisions using both text and image inputs.

此次发布还引入了多模态能力,允许开发者将图像纳入决策指令。这为需要分类视觉内容、根据截图路由请求或使用文本和图像输入进行决策的应用程序开辟了新的可能性。

With general availability in Microsoft Foundry, developers can integrate Microsoft-Decision-1.1 into production workflows. The model is also available through OpenRouter and Vercel, expanding access across development environments.

随着 Microsoft Foundry 的正式推出,开发者可以将 Microsoft-Decision-1.1 集成到生产工作流中。该模型也可通过 OpenRouter 和 Vercel 获取,从而在各类开发环境中扩大访问范围。

Why use a decision model?

为什么要使用决策模型?

The value of a decision model becomes clear when you consider how often applications need to choose an action rather than generate an answer.

当你考虑到应用程序需要选择操作而非生成答案的频率时,决策模型的价值便显而易见。

Imagine a customer support agent receiving the request, "I was charged twice for my subscription." Before generating a response, the application needs to determine whether to route the request to billing, technical support, or account management. Microsoft-Decision-1.1 can evaluate the request and select the appropriate category, allowing the application to move directly to the next step.

想象一下,客户支持代理收到请求:“我的订阅被扣了两次费。”在生成回复之前,应用程序需要确定是将请求路由至计费部门、技术支持还是账户管理。Microsoft-Decision-1.1 可以评估该请求并选择合适的类别,使应用程序能够直接进入下一步。

The same approach applies to tool selection in AI agents, incident prioritization, document classification, and workflow verification. For example, an agent could use a decision model to determine whether it has enough information to proceed, needs to retrieve additional context, or should escalate to a human.

同样的方法也适用于 AI 智能体的工具选择、事件优先级排序、文档分类和工作流验证。例如,一个智能体可以使用决策模型来判断它是否有足够的信息继续执行、是否需要检索更多上下文,或者是否应该升级给人工处理。

These decisions may seem small, but an agentic workflow can make hundreds of them. Using a specialized model for these operations helps developers reduce unnecessary generation, improve responsiveness, and control inference costs.

这些决策看似微小,但一个智能体工作流可能会做出数百次这样的决策。使用专用模型来处理这些操作有助于开发者减少不必要的生成、提高响应速度并控制推理成本。

This approach also creates opportunities to separate decision-making from generation. A decision model determines what should happen next, while a generative model handles tasks that require reasoning, explanation, or content creation.

这种方法还为将决策与生成分离创造了机会。决策模型决定接下来应该发生什么,而生成模型则处理需要推理、解释或内容创建的任务。

Microsoft-Decision-1.1 is also available as a judge in Foundry Evaluations to assess performance, quality, and safety. This gives developers another way to apply decision models within Foundry, alongside using them for classification, routing, and workflow control in their own applications.

Microsoft-Decision-1.1 还可作为 Foundry Evaluations 中的评判者,用于评估性能、质量和安全性。这为开发者提供了另一种在 Foundry 中应用决策模型的方式,除了在他们自己的应用中用于分类、路由和工作流控制之外。

Pricing designed for high-volume decision workloads

专为高容量决策工作负载设计的定价

Decision-making is often a high-frequency operation. As applications scale, even small differences in inference cost can have a significant impact.

决策通常是一种高频操作。随着应用程序规模的扩大,即使推理成本的微小差异也会产生重大影响。

Microsoft-Decision-1.1 offers consumption-based pricing, with output tokens included at no additional charge.

Microsoft-Decision-1.1 提供基于用量的定价,输出令牌不收取额外费用。

Deployment typeInput price per 1M tokens
Global Standard$0.042
US Data Zone$0.046
EU Data Zone$0.050
APAC Data Zone$0.050
部署类型每百万输入令牌价格
Global Standard$0.042
US Data Zone$0.046
EU Data Zone$0.050
APAC Data Zone$0.050

Get started with Microsoft-Decision-1.1

开始使用 Microsoft-Decision-1.1

Start with a decision your application needs to make. The following quickstarts show how to ask questions about images, select exactly one outcome, and identify every applicable option.

从你的应用程序需要做出的决策开始。以下快速入门展示了如何针对图像提问、选择唯一结果,并识别所有适用选项。

Connect to your Foundry deployment

连接到你的 Foundry 部署

Deploy Microsoft-Decision-1.1 from the Foundry model catalog. You need Python 3.10 or later, the Azure CLI, and an identity with inference access to the resource, for example through the Cognitive Services User role. Requests incur applicable usage charges.

从 Foundry 模型目录部署 Microsoft-Decision-1.1。你需要 Python 3.10 或更高版本、Azure CLI,以及具有该资源推理访问权限的身份标识,例如通过 Cognitive Services User 角色。请求会产生相应的使用费用。

python -m pip install azure-identity az login export AZURE_ENDPOINT="https://<your-resource>.services.ai.azure.com" export DEPLOYMENT_NAME="decision-1.1"

AZURE_ENDPOINT is your Foundry resource root, without a project path or API suffix. DEPLOYMENT_NAME must match your deployment name, not necessarily the underlying model name; replace decision-1.1 if yours differs.

AZURE_ENDPOINT 是你的 Foundry 资源根地址,不包含项目路径或 API 后缀。DEPLOYMENT_NAME 必须与你的部署名称匹配,而不一定是底层模型名称;如果你的名称不同,请替换 decision-1.1。

Save this connection code as md1_client.py. Both quickstarts below import its keyword-only ask helper.

将此连接代码保存为 md1_client.py。下面的两个快速入门都将导入其仅关键字参数的 ask 辅助函数。

import json import os import urllib.error import urllib.request from azure.identity import DefaultAzureCredential AZURE_ENDPOINT = os.environ["AZURE_ENDPOINT"].rstrip("/") DEPLOYMENT_NAME = os.environ["DEPLOYMENT_NAME"] TOKEN_SCOPE = "https://cognitiveservices.azure.com/.default" credential = DefaultAzureCredential() def ask(*, state, questions, assets=None): payload = { "model": DEPLOYMENT_NAME, "state": state, "questions": questions, } if assets is not None: payload["assets"] = assets access_token = credential.get_token(TOKEN_SCOPE).token request = urllib.request.Request( f"{AZURE_ENDPOINT}/providers/microsoft/v1/systemone", data=json.dumps(payload).encode("utf-8"), headers={ "Authorization": f"Bearer {access_token}", "Content-Type": "application/json", "Accept": "application/json", }, method="POST", ) try: with urllib.request.urlopen(request, timeout=120) as response: result = json.load(response) except urllib.error.HTTPError as error: raise RuntimeError(f"Foundry returned HTTP {error.code}") from error answers = result["answers"] if not isinstance(answers, dict) or set(answers) != set(questions): raise ValueError("Foundry returned missing or unexpected answers") return answers

DefaultAzureCredential obtains and refreshes Entra tokens; locally it can use your Azure CLI login. No API key is required. Keep credentials server-side and out of source code and logs. If a call returns HTTP 401 or 403, check your credential, tenant, and resource permissions. Transport and authentication failures raise errors rather than becoming negative decisions. See the Foundry deployment and API guide for access details.

DefaultAzureCredential 获取并刷新 Entra 令牌;在本地环境中,它可以使用你的 Azure CLI 登录信息。无需 API 密钥。请将凭据保留在服务器端,避免出现在源代码和日志中。如果调用返回 HTTP 401 或 403 错误,请检查你的凭据、租户和资源权限。传输和身份验证失败会引发错误,而不是转化为负面决策。有关访问详情,请参阅 Foundry 部署和 API 指南。

Turn an image into a structured decision

将图像转化为结构化决策

Assume two images are provided beside your script, each 448 by 448 pixels:

假设脚本旁边提供了两张图片,每张均为 448 x 448 像素:

FileContents
red-circle.pngA red circle on a white background
blue-square.pngA blue square on a white background
文件内容
red-circle.png白色背景上的红色圆形
blue-square.png白色背景上的蓝色方形

Save the following as image_demo.py. Declare an image in assets, then reference its exact key in state, question instructions, or answer-option descriptions. Brackets in names such as [photo] are a convention, not a requirement.

将以下内容保存为 image_demo.py。在 assets 中声明一个图像,然后在 state、问题指令或答案选项描述中引用其确切的键名。名称中的方括号(如 [photo])是一种约定,而非强制要求。

Ask three questions about one shared image

针对同一张共享图片提出三个问题

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

关联讨论

同一事件的更多信源

相似阅读

关联信息,但可能不是同一事件