arXiv:2504.13617cs.CV2025-04被引 16

用强化学习提升大模型生成场景图的准确率。

Compile Scene Graphs with Reinforcement Learning

  • 先监督微调再用基于图结构的奖励信号强化学习
  • 在VG150和PSG上召回率显著优于传统模型
  • 适合需要端到端视觉结构化理解的研究者

大语言模型通常通过预测下一个词进行训练,强化学习可进一步提升其推理能力。尽管语言、图像、视频等模态均可通过大模型建模,但将大模型用于端到端提取结构化视觉表示(如场景图)仍研究不足,因需精准生成物体与关系三元组,而非逐词生成文本。为此,我们提出R1-SGG,一种多模态大模型,先在场景图数据集上通过监督微调训练,再利用强化学习优化端到端生成能力。监督微调采用常规提示-响应范式,而强化学习则设计了基于图的奖励机制,包括三种召回类奖励:硬召回、硬召回+松弛、软召回,分别从语义与空间对齐角度评估预测与真实结果的一致性;另设格式一致性奖励以确保输出符合预期结构。在VG150和PSG基准上的大量实验表明,R1-SGG显著降低失败率,在召回率和平均召回率上均超越传统场景图生成模型及现有多模态语言模型。代码已公开于https://github.com/gpt4vision/R1-SGG。

原文摘要 · Abstract (English)

Next-token prediction is the fundamental principle for training large language models (LLMs), and reinforcement learning (RL) further enhances their reasoning performance. As an effective way to model language, image, video, and other modalities, the use of LLMs for end-to-end extraction of structured visual representations, such as scene graphs, remains underexplored. It requires the model to accurately produce a set of objects and relationship triplets, rather than generating text token by token. To achieve this, we introduce R1-SGG, a multimodal LLM (M-LLM) initially trained via supervised fine-tuning (SFT) on the scene graph dataset and subsequently refined using reinforcement learning to enhance its ability to generate scene graphs in an end-to-end manner. The SFT follows a conventional prompt-response paradigm, while RL requires the design of effective reward signals. We design a set of graph-centric rewards, including three recall-based variants -- Hard Recall, Hard Recall+Relax, and Soft Recall -- which evaluate semantic and spatial alignment between predictions and ground truth at the object and relation levels. A format consistency reward further ensures that outputs follow the expected structural schema. Extensive experiments on the VG150 and PSG benchmarks show that R1-SGG substantially reduces failure rates and achieves strong performance in Recall and mean Recall, surpassing traditional SGG models and existing multimodal language models. Our code is available at https://github.com/gpt4vision/R1-SGG

场景图强化学习多模态结构化生成

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