# 最优提问：为AI智能体上下文获取定义目标函数

- 来源：elvis (@omarsar0)
- 发布时间：2026-08-23 00:25
- AIHOT 分数：35
- AIHOT 链接：https://aihot.virxact.com/items/cmt4m41rs1ot9ro6tasul3oej
- 原文链接：https://x.com/omarsar0/status/2091199978014458081

## AI 摘要

一篇关于AI智能体的论文指出，LLM的错误假设导致幻觉、成本低效和不可靠工具调用等问题。该研究将上下文获取定义为对潜在任务状态的主动推理，提出“最优提问”（Optimal Question Asking）方法，用动态规划基准测试前沿模型在25至300个候选任务上的表现，可衡量智能体与理论最优的差距。

## 正文

What a fascinating paper on AI agents.

A lot of the issues we see with AI agents today revolve around wrong assumptions the LLMs make.

This leads to problems like hallucination, cost inefficiencies, unreliable tool calls and much more.

I think if we can solve this problem, even current LLMs would significantly improve in terms of performance and efficiency.

The problem is that context acquisition is treated as afterthought, but it shouldn't be that way.

Users tend to leave out constraints when prompting. So the agent agent needs to guess the default, or spend tokens on a clarifying question, a retrieval call, a tool call, or a prompt trial.

This new work gives this problem an objective function. Context acquisition becomes active inference over a latent task state. An inner step updates beliefs, and an outer step picks the next context action, task action, or stop action to minimize expected free energy under cost.

In deterministic settings the epistemic term reduces to expected information gain, optionally normalized by token cost. That is directly implementable today as a scoring rule.

They coin it as Optimal Question Asking, with exact posteriors and a dynamic programming oracle, then benchmark frontier models on binary and multiway tasks from 25 to 300 candidates. So you can measure the gap between your agent and the true optimum.

Paper: https://arxiv.org/abs/2608.19202

Track more trending AI papers in our academy: https://academy.dair.ai/
