[论文解读] From Pixels to Policies: Reinforcing Spatial Reasoning in Language Models for Content-Aware Layout Design
LaySPA 将布局设计重新框定为对结构化文本画布上由 LLM 进行策略学习的过程,通过多目标空间批评进行优化,以提升几何有效性、关系一致性与美观性,而无需像素级监督。
We introduce LaySPA, a reinforcement learning framework that equips large language models (LLMs) with explicit and interpretable spatial reasoning for content-aware graphic layout design. LaySPA addresses two key challenges: LLMs' limited spatial reasoning and the lack of opacity in design decision making. Instead of operating at the pixel level, we reformulate layout design as a policy learning problem over a structured textual spatial environment that explicitly encodes canvas geometry, element attributes, and inter-element relationships. LaySPA produces dual-level outputs comprising interpretable reasoning traces and structured layout specifications, enabling transparent and controllable design decision making. Layout design policy is optimized via a multi-objective spatial critique that decomposes layout quality into geometric validity, relational coherence, and aesthetic consistency, and is trained using relative group optimization to stabilize learning in open-ended design spaces. Experiments demonstrate that LaySPA improves structural validity and visual quality, outperforming larger proprietary LLMs and achieving performance comparable to specialized SOTA layout generators while requiring fewer annotated samples and reduced latency.
研究动机与目标
- Motivate the need for explicit spatial reasoning in LLMs for content-aware layout design.
- Propose LaySPA as a policy-learning framework that uses a structured textual spatial environment.
- Provide dual outputs (design reasoning traces and layout specifications) for transparency and control.
- Introduce a multi-objective spatial critique to guide learning toward geometric validity, coherence, and aesthetics.
提出的方法
- Reformulate layout design as a policy-learning problem over a structured textual canvas with encoded geometry and relations.
- Use LaySPA to produce dual outputs: a design reasoning trace and a precise JSON layout specification.
- Ground the canvas in a spatially grounded environment with elements and saliency regions.
- Apply a multi-objective critique (format, quality, IoU) to reward geometric validity, relational coherence, and aesthetics.
- Train with Group Relative Policy Optimization (GRPO) using relative advantages within candidate layout groups.
- Optionally anchor learning with an IoU-based supervision signal from human-designed references.
实验结果
研究问题
- RQ1Can explicit reward-driven policy optimization enable LaySPA to learn spatial reasoning beyond prompt-based LLM baselines?
- RQ2How does LaySPA compare with autoregressive and multimodal layout generators in structural validity and visual quality?
- RQ3What is the performance gap between text-based policy-optimized layout design and specialized layout generators?
主要发现
- LaySPA 提高对齐度 (+63%) 和间距一致性 (+73%),格式正确性 (+14%),分布一致性 (+26%),并将碰撞减少 36%,效果显著。
- LaySPA 在与最先进布局方法的竞争中表现具有竞争力,在数据集每个数据集仅需 3000 个训练布局的情况下,超越若干基线。
- LaySPA 在质量上接近专门的多模态生成器,同时需要的标注样本显著更少,且无需像素级监督。
- Qwen-7B + LaySPA 相较于基础模型在结构性指标上有显著提升,凸显了 reward-driven 空间推理的价值。
- 基于 IoU 的监督在空间推理方面相对脆弱,见消融分析。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。