arXiv:2501.09887cs.CV2025-01被引 2

用形式化语言让大模型零样本精准理解描述并定位物体

FLORA: Formal Language Model Enables Robust Training-free Zero-shot Object Referring Analysis

  • 用形式化语言约束大模型输出,实现无需训练的逻辑推理
  • 在多个数据集上提升现有模型45%的零样本定位性能
  • 适合需要快速部署、避免标注成本的视觉理解场景

物体指称分析(ORA)要求根据自然语言描述识别并定位图像中的特定物体。与通用目标检测不同,ORA需同时具备精确的语言理解与视觉定位能力,因此更具挑战性。尽管预训练的大规模视觉定位检测器已取得显著进展,但其仍依赖大量标注数据和耗时训练。为此,我们提出一种全新的无训练零样本ORA框架——FLORA(形式化语言用于物体指称与分析)。FLORA利用大语言模型(LLM)的内在推理能力,并引入形式化语言模型(FLM)——一种基于规则的结构化描述框架,以实现无需训练的逻辑驱动描述解析。基于受FLM约束的LLM输出,我们进一步设计了贝叶斯推理框架,并结合现成的解释模型完成最终推理,有效抑制了LLM幻觉,实现了无训练下的强鲁棒性与优异性能。实验表明,FLORA可使现有预训练定位检测器的零样本性能提升约45%。在多个具有挑战性的数据集上的综合评估显示,FLORA在零样本目标检测与分割任务中均持续超越当前最先进方法。我们认为,对LLM输出的概率解析与推理显著提升了零样本ORA的可靠性与可解释性。代码将在发表后公开。

原文摘要 · Abstract (English)

Object Referring Analysis (ORA), commonly known as referring expression comprehension, requires the identification and localization of specific objects in an image based on natural descriptions. Unlike generic object detection, ORA requires both accurate language understanding and precise visual localization, making it inherently more complex. Although recent pre-trained large visual grounding detectors have achieved significant progress, they heavily rely on extensively labeled data and time-consuming learning. To address these, we introduce a novel, training-free framework for zero-shot ORA, termed FLORA (Formal Language for Object Referring and Analysis). FLORA harnesses the inherent reasoning capabilities of large language models (LLMs) and integrates a formal language model - a logical framework that regulates language within structured, rule-based descriptions - to provide effective zero-shot ORA. More specifically, our formal language model (FLM) enables an effective, logic-driven interpretation of object descriptions without necessitating any training processes. Built upon FLM-regulated LLM outputs, we further devise a Bayesian inference framework and employ appropriate off-the-shelf interpretive models to finalize the reasoning, delivering favorable robustness against LLM hallucinations and compelling ORA performance in a training-free manner. In practice, our FLORA boosts the zero-shot performance of existing pretrained grounding detectors by up to around 45%. Our comprehensive evaluation across different challenging datasets also confirms that FLORA consistently surpasses current state-of-the-art zero-shot methods in both detection and segmentation tasks associated with zero-shot ORA. We believe our probabilistic parsing and reasoning of the LLM outputs elevate the reliability and interpretability of zero-shot ORA. We shall release codes upon publication.

零样本学习视觉定位大模型推理形式化语言

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