arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.24980cs.LG
收藏

使用小型语言模型的闭环图算法执行:步骤准确性与推出可靠性

Closed-Loop Graph Algorithm Execution with Small Language Models: Step Accuracy and Rollout Reliability

NASK National Research Institute(NASK国家研究所)

Michal Podstawski

AI总结:

研究小型语言模型在闭环中执行图算法的能力,发现结构算法可适应可靠,但加权算法对误差累积敏感,强预测不保证可靠执行。

摘要:

小型语言模型为大规模系统提供了一种高效替代方案,但它们在多个依赖决策上执行结构化算法的能力仍知之甚少。我们将图算法执行作为一个闭环预测问题进行研究,其中模型从当前图和算法状态中重复选择下一个动作。我们的评估框架涵盖了几种经典图过程、多个合成图族以及不相交的训练、验证和测试分区。它使用步骤准确性、精确推出准确性、约束有效性、部分解质量、前缀生存和基于干预的诊断来评估局部决策质量和全局执行行为。结果表明,适应可以为遍历和着色等结构过程产生可靠的策略,而加权算法仍然对误差累积更为敏感。更广泛地说,研究结果表明,强下一步预测并不一定转化为可靠的自主执行,并激励通过完整的闭环推出而不是孤立决策来评估算法语言模型。

英文摘要:

Small language models offer an efficient alternative to large-scale systems, but their ability to execute structured algorithms over multiple dependent decisions remains poorly understood. We study graph algorithm execution as a closed-loop prediction problem in which a model repeatedly selects the next action from the current graph and algorithmic state. Our evaluation framework covers several classical graph procedures, multiple synthetic graph families, and disjoint training, validation, and test partitions. It assesses both local decision quality and global execution behaviour using step accuracy, exact rollout accuracy, constraint validity, partial solution quality, prefix survival, and intervention-based diagnostics. The results show that adaptation can produce reliable policies for structural procedures such as traversal and coloring, while weighted algorithms remain substantially more sensitive to error accumulation. More broadly, the findings demonstrate that strong next-step prediction does not necessarily translate into reliable autonomous execution and motivate evaluating algorithmic language models through complete closed-loop rollouts rather than isolated decisions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑