arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.19663cs.AI
收藏

基于伪代码的结构化推理用于自动化可靠推理在视觉-语言模型中

Pseudocode-Guided Structured Reasoning for Automating Reliable Inference in Vision-Language Models

East China Normal University(东华师范大学)

Weicong Ni, Tianbao Jiang, Linlin Wang

AI总结:

本文提出了一种基于伪代码的结构化推理框架(PStar),旨在通过自适应选择结构化伪代码推理路径,提高视觉-语言模型在复杂任务中的可靠性和鲁棒性,从而减少幻觉现象并提升推理性能。

摘要:

视觉-语言模型(VLMs)正成为机器人自动化高级推理的基石,使机器人能够解析自然语言指令并感知其环境。然而,其易受幻觉影响,导致决策失败,对实际部署的安全性和可靠性构成重大风险。为解决这一问题,我们提出了基于伪代码的结构化推理框架(PStar),该框架能够自适应选择结构化伪代码推理路径,帮助VLMs进行灵活的逐步推理。我们首先设计了一组抽象推理函数,并制定了一套结构化伪代码库来表示模块化推理策略。关键的是,我们设计了一个难度特征向量(DFV),使模型能够评估问题复杂性并自适应选择适当的推理策略,从而增强鲁棒性和可解释性。大量实验表明,PStar显著降低了幻觉率,在POPE上达到87.1%的分数,在MMStar上达到68.0%的分数,优于GPT-4V。通过提供一种经过验证的机制来减少视觉-语言错误,PStar为部署更可信和确定性的VLMs用于实际自动化系统提供了关键一步,其中此类错误可能导致灾难性后果。

英文摘要:

Vision-Language Models (VLMs) are becoming the cornerstone of high-level reasoning for robotic automation, enabling robots to parse natural language commands and perceive their environments. However, their susceptibility to hallucinations introduces critical failures in decision-making, posing significant safety and reliability risks in physical deployments. This challenge is exacerbated by the open-ended nature of real-world tasks, where questions vary vastly in difficulty and modality, demanding robust and adaptable reasoning strategies. To tackle this, we propose the Pseudocode-guided Structured Reasoning framework (PStar), which adaptively selects structured pseudocode reasoning paths to help VLMs perform flexible and step-by-step reasoning. We first design a set of abstract reasoning functions and formulate a structured pseudocode library to represent modular reasoning strategies. Crucially, we design a Difficulty Feature Vector (DFV) that allows the model to assess question complexity and adaptively choose appropriate reasoning strategies-enhancing robustness and interpretability. Extensive experiments demonstrate that PStar significantly reduces hallucination rates, achieving state-of-the-art scores of 87.1% on POPE and 68.0% on MMStar, outperforming even GPT-4V. By providing a validated mechanism to reduce visual-language errors, PStar offers a critical step toward deploying more trustworthy and deterministic VLMs for real-world automated systems, where such errors can lead to catastrophic outcomes.

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

↑