更短不意味着成本更低:用于大语言模型生成解释的声明式动画规范与自由形式代码的受控比较

arXiv cs.CL 论文

摘要

研究通过预注册的受控实验比较了声明式动画规格与自由HTML/JavaScript代码两种LLM生成解释的方案,发现规格虽更短,但由于推理开销增加并未更便宜、更快或更可靠,小模型的规格可靠性甚至显著更低。

arXiv:2610.32129v1 Announce Type: new Abstract: Chat assistants increasingly answer conceptual questions with interactive, animated explanations, generated either as free-form HTML/JavaScript or as declarative specifications that a fixed runtime plays. The declarative route is widely expected to be cheaper, faster and more reliable, because its outputs are shorter and constrained. We test this expectation in controlled comparisons whose hypotheses and analysis plans were frozen before the runs. We designed ExplainSpec, a time-indexed declarative animation format, and an observation contract that makes every generated explanation programmatically inspectable; validated, pacing-agnostic checkers score 20 explanation requests from five domains. Three Claude models (360 jobs) and, in a follow-up, the open-weight Qwen3-14B with thinking enabled and disabled (240 jobs) answered every request in both formats. For every model the specifications were 25-48% shorter in answer tokens (output excluding reasoning), yet with reasoning enabled total output fell significantly only for the largest Claude model and no model generated significantly faster. The reasons differed. The Claude models reasoned far more before writing specifications (exploratory; for the two larger models, from 15-20% to 85-88% of generations). Qwen3-14B reasoned about as much in both formats (a pre-registered test of this shift was not supported), and its shorter answers saved little against a reasoning trace more than twice as long. Nor were specifications more reliable: free-form pages were valid after one repair round in 95-100% of jobs for every model, whereas Qwen3-14B produced valid specifications in only 33% of jobs and passed all semantic tests in 17% (HTML/JavaScript: 62%). For reasoning models, a shorter format alone therefore does not make generation cheaper, faster or more reliable, and a format learned in context can cost reliability.
查看原文

相似文章

评估 AI 智能体的最佳模式有哪些?

Reddit r/AI_Agents

一位从业者分享了其用于问答/编程智能体的确定性评估框架——固定语料库、注入的缺陷、隐藏测试,以及 pass^k/token 指标——并询问社区:其他人如何平衡冒烟测试与完整基准测试,使用大语言模型作为评判者是否能带来价值,以及 Promptfoo 或 DeepEval 等工具能否减轻维护负担。

现代国际象棋引擎在1996年的Pentium上能否击败Kasparov?

Hacker News Top

Nicholas Carlini 证明,将现代 Stockfish 移植到1996年时代的200 MHz Pentium Pro 上运行,可达到约3300 Elo,远超 Kasparov 的约2800 Elo。这表明自1996年以来1335 Elo 的涨幅中,大部分来自更好的编程(+720),而非更快的硬件——也就是说,Deep Blue 的定制超级计算机从来都不是必需的。

开源5G RAN平台:性能与能力的双重视角

Hacker News Top

该论文对开源 5G RAN 平台 OpenAirInterface (OAI) 和 srsRAN 进行了对比评估,涵盖特性、部署灵活性以及基于视频点播、直播和云游戏等真实应用负载的性能分析。