arXiv:2509.08150cs.CL2025-09中稿 · NeurIPS

用可验证的算法框架提升大模型推理可靠性

Verbalized Algorithms: Classical Algorithms are All You Need (Mostly)

  • 让大模型扮演基础运算角色,结合经典算法实现可靠推理
  • 在排序、聚类等任务中达成更高准确率与更优运行效率
  • 适合关注模型可解释性与推理可信度的研究者

推理本质上是算法任务。当前基于大语言模型的推理方法依赖自由生成,其正确性、完备性、复杂度和最优性等理论保障仍不明确。本文提出‘口语化算法’(Verbalized Algorithms, VAs)范式,将大模型与具备理论保证的经典算法结合。不依赖大模型直接求解,而是将其限制为字符串层面的简单操作(如二元比较),嵌入并行或近似算法中。例如,利用大模型作为二元比较器实现列表排序。在数值推理、主题聚类、Wi-Fi接入点优化及多跳问答RAG任务中,该方法在准确率-运行时间权衡曲线上取得显著提升,表明通过标准算法分析改进大模型推理是可行且更扎实的研究方向。

原文摘要 · Abstract (English)

Reasoning is a fundamentally algorithmic task. Yet current work on LLM-based reasoning relies on free-form generation whose theoretical guarantees (soundness, completeness, complexity, optimality) remain poorly understood. We argue that we should not treat them as general-purpose reasoners, and as an alternative, we propose a paradigm we call \emph{verbalized algorithms} (VAs), which combines LLMs and various algorithms with established guarantees. Instead of betting on LLM's ability to solve a reasoning task, VAs limit their scope by decomposing the task down to simple elementary operations on strings that they can answer reliably. For example, sorting a list of natural language strings could be done by using an LLM as a binary comparison oracle in a parallel or approximate sorting algorithm. We push the accuracy-runtime Pareto front with \emph{verbalized maximum}, \emph{sorting}, \emph{clustering}, and \emph{submodular maximization}, for numerical reasoning, topic clustering, Wi-Fi access point optimization, and multi-hop Q\&A RAG task. These results suggest improving LLM-based reasoning through standard algorithmic analysis is a feasible and better grounded research direction.

大模型推理算法融合可验证性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。