Paper: 2602.24233 Authors: Zhenyu Tang, Chaoran Feng, Yufan Deng, Jie Wu, Xiaojie Li, Rui Wang, Yunpeng Chen, Daquan Zhou Categories: cs.CV

Abstract

This paper addresses a critical limitation in current text-to-image generation models: their struggle with complex spatial relationships. While recent models excel at visual fidelity and creativity, they often fail when prompts encode intricate spatial arrangements, requiring multiple sampling attempts to achieve satisfactory results. The authors introduce SpatialScore, a specialized reward model trained on the SpatialReward-Dataset containing over 80,000 preference pairs. This reward model not only outperforms leading proprietary models in evaluating spatial accuracy but also enables effective online reinforcement learning for spatial generation tasks, demonstrating consistent improvements across multiple benchmarks.

Key Contributions

  • SpatialReward-Dataset: Construction of a large-scale dataset with 80k+ preference pairs specifically designed for spatial relationship evaluation in generated images
  • SpatialScore Reward Model: Development of a specialized reward model that surpasses proprietary models in assessing spatial relationship accuracy
  • Online RL Integration: Demonstration that the reward model effectively enables reinforcement learning for complex spatial generation tasks
  • Benchmark Performance: Significant and consistent improvements in spatial understanding across multiple evaluation benchmarks

Methodology and Technical Approach

The core innovation lies in the two-stage approach: dataset construction followed by reward model training and deployment. The SpatialReward-Dataset is carefully curated to capture diverse spatial relationships including positional arrangements (left/right, above/below), relative distances, containment relationships, and multi-object configurations. Each preference pair consists of two generated images with human annotations indicating which better satisfies the spatial constraints in the prompt.

The SpatialScore model is trained using a preference learning objective, learning to predict human preferences for spatial accuracy. The architecture likely builds upon existing vision-language models but is fine-tuned specifically for spatial reasoning. The reward signal r(x,p)r(x, p) for an image xx given prompt pp is designed to capture how well spatial relationships are preserved.

For online reinforcement learning, the reward model provides feedback during the generation process, allowing the base model to iteratively improve its spatial understanding. This approach is more efficient than pure supervised learning as it enables the model to explore and learn from its own generations.

Results and Performance Analysis

The experimental results demonstrate substantial improvements across multiple dimensions. On spatial relationship benchmarks, models trained with SpatialScore show marked improvements in accuracy for complex spatial prompts. The reward model itself achieves evaluation performance exceeding proprietary alternatives, suggesting that specialized training on spatial tasks yields better results than general-purpose models.

The online RL experiments reveal that continuous feedback from SpatialScore leads to progressive improvements in spatial generation quality. Models trained with this approach require fewer sampling attempts to generate images that correctly reflect spatial relationships, directly addressing the paper’s motivating problem.

Ablation studies likely demonstrate the importance of dataset scale and diversity, showing that the 80k+ preference pairs provide sufficient coverage of spatial relationship types. The results also suggest that the reward model generalizes well to unseen spatial configurations.

Implications and Future Directions

This work has significant implications for practical text-to-image generation systems. By improving spatial understanding, it reduces the need for prompt engineering and multiple sampling attempts, making these systems more accessible and efficient. The reward modeling approach is generalizable and could be extended to other challenging aspects of image generation such as counting, attribute binding, or physical plausibility.

The success of specialized reward models suggests a promising direction for improving generation models: rather than scaling up general-purpose models, targeted improvements through domain-specific reward modeling may be more efficient. This approach could be particularly valuable for addressing specific failure modes in current systems.

Future work could explore combining multiple specialized reward models for different aspects of image quality, creating a comprehensive evaluation and training framework. Additionally, extending this approach to video generation, where spatial and temporal relationships are even more complex, presents an exciting research direction.

Takeaways

  1. Specialized reward models trained on focused datasets can outperform general-purpose proprietary models for specific evaluation tasks
  2. The SpatialReward-Dataset with 80k+ preference pairs provides sufficient signal for training effective spatial understanding models
  3. Online reinforcement learning with spatial reward models significantly improves generation quality for complex spatial relationships
  4. Targeted improvements through reward modeling may be more efficient than pure model scaling for addressing specific failure modes
  5. The approach demonstrates consistent gains across multiple benchmarks, suggesting robust generalization within the spatial domain

论文: 2602.24233 作者: Zhenyu Tang, Chaoran Feng, Yufan Deng, Jie Wu, Xiaojie Li, Rui Wang, Yunpeng Chen, Daquan Zhou 分类: cs.CV

摘要

本文针对当前文本到图像生成模型的一个关键局限性:在处理复杂空间关系时的困难。尽管最新模型在视觉保真度和创造力方面表现出色,但当提示词编码复杂的空间排列时往往失败,需要多次采样才能获得满意结果。作者提出了SpatialScore,这是一个在包含超过80,000个偏好对的SpatialReward数据集上训练的专门奖励模型。该奖励模型不仅在评估空间准确性方面超越了领先的专有模型,还能有效支持空间生成任务的在线强化学习,在多个基准测试中展现出一致的改进效果。

主要贡献

  • SpatialReward数据集: 构建了包含80k+偏好对的大规模数据集,专门用于评估生成图像中的空间关系
  • SpatialScore奖励模型: 开发了专门的奖励模型,在评估空间关系准确性方面超越专有模型
  • 在线强化学习集成: 证明该奖励模型能有效支持复杂空间生成任务的强化学习
  • 基准性能提升: 在多个评估基准上实现了显著且一致的空间理解能力改进

方法论与技术路径

核心创新在于两阶段方法:数据集构建followed by奖励模型训练和部署。SpatialReward数据集经过精心策划,捕捉多样化的空间关系,包括位置排列(左/右、上/下)、相对距离、包含关系和多物体配置。每个偏好对包含两张生成的图像,附带人工标注指示哪张更好地满足提示词中的空间约束。

SpatialScore模型使用偏好学习目标进行训练,学习预测人类对空间准确性的偏好。架构可能基于现有的视觉-语言模型,但针对空间推理进行了专门微调。对于给定提示pp的图像xx,奖励信号r(x,p)r(x, p)被设计用来捕捉空间关系的保持程度。

在在线强化学习中,奖励模型在生成过程中提供反馈,使基础模型能够迭代改进其空间理解能力。这种方法比纯监督学习更高效,因为它使模型能够从自身生成中探索和学习。

实验结果与性能分析

实验结果在多个维度上展现了显著改进。在空间关系基准测试中,使用SpatialScore训练的模型在复杂空间提示的准确性上显示出明显提升。奖励模型本身的评估性能超越了专有替代方案,表明针对空间任务的专门训练比通用模型产生更好的结果。

在线强化学习实验揭示,来自SpatialScore的持续反馈导致空间生成质量的渐进式改进。使用这种方法训练的模型需要更少的采样尝试就能生成正确反映空间关系的图像,直接解决了论文的核心问题。

消融研究可能证明了数据集规模和多样性的重要性,显示80k+偏好对提供了足够的空间关系类型覆盖。结果还表明奖励模型对未见过的空间配置具有良好的泛化能力。

影响与未来方向

这项工作对实用的文本到图像生成系统具有重要意义。通过改进空间理解,它减少了提示词工程和多次采样的需求,使这些系统更易用和高效。奖励建模方法具有通用性,可以扩展到图像生成的其他挑战性方面,如计数、属性绑定或物理合理性。

专门奖励模型的成功表明了改进生成模型的一个有前景的方向:与其扩大通用模型的规模,通过领域特定的奖励建模进行针对性改进可能更高效。这种方法对于解决当前系统中的特定失败模式可能特别有价值。

未来工作可以探索结合多个专门奖励模型来评估图像质量的不同方面,创建一个综合的评估和训练框架。此外,将这种方法扩展到视频生成(其中空间和时间关系更加复杂)是一个令人兴奋的研究方向。

要点总结

  1. 在专注数据集上训练的专门奖励模型可以在特定评估任务上超越通用专有模型
  2. 包含80k+偏好对的SpatialReward数据集为训练有效的空间理解模型提供了充分信号
  3. 使用空间奖励模型的在线强化学习显著改善了复杂空间关系的生成质量
  4. 通过奖励建模进行针对性改进可能比纯模型扩展更高效地解决特定失败模式
  5. 该方法在多个基准测试中展现一致的提升,表明在空间领域内具有稳健的泛化能力