arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.13172cs.CV
收藏

基于几何令牌编码的文本到图像生成中的连续角度控制

Continuous Angular Control in Text-to-Image Generation via Geometric Token Encoding

Bilkent University(比尔肯特大学);CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心);University of Freiburg(弗赖堡大学)

Furkan Güzelant, Basavaraj Sunagad, Aysegul Dundar, Adam Kortylewski

AI总结:

该研究针对文本到图像扩散模型无法控制圆形物体角度的问题,提出几何令牌编码框架结合SLR与时针交换偏好目标,大幅提升了时钟时间控制和圆形比例生成的准确率。

摘要:

文本到图像扩散模型能够生成逼真的模拟时钟,但无法控制其显示的时间。在四个预训练模型中,生成的时钟中仅有不到1%的时钟的时针和分针处于请求时间的6度范围内;这些模型反而会坍缩到视觉上占主导的配置,比如标准的10:10姿态。当请求圆形物体的特定比例时,也会出现同样的失败情况,模型会返回完整的或常规切割的物体。我们发现这两种失败具有共同的几何结构:两个目标量都可以用角度变量来参数化。我们提出了一种几何令牌编码框架,该框架直接基于这些角度条件化生成。每个角度分量被编码为周期性正弦-余弦特征,并投影为特定角色的令牌嵌入,在冻结文本编码器之前注入提示中。为了在推理时不需要定位输入就能对这些令牌进行空间定位,我们引入了随机定位松弛(SLR),它在训练时将注意力监督从组件级别随机松弛到物体级别,以实现无约束定位。对于时钟,我们还引入了时针-分针交换偏好目标,以防止将正确的角度分配给错误的指针角色。在模拟时钟任务上,我们的方法在不同评估方法下达到了63%-78%的Acc@6度,而基线模型的Acc则低于1%。在圆形比例生成任务上,我们的方法达到了89.5%的Acc@0.10,同时在未见过的物体类别上保持88.8%的准确率,在未见过的目标值上保持84.9%的准确率,而预训练基线模型的准确率约为20%。

英文摘要:

Text-to-image diffusion models can render a photorealistic analog clock but cannot control the time it displays. Across four pretrained models, fewer than 1% of generated clocks place both hands within 6 degrees of the requested time; the models instead collapse onto visually dominant configurations such as the canonical 10:10 pose. The same failure appears when a specific fraction of a circular object is requested, where models return complete or conventionally sliced objects. We observe that these two failures share a geometric structure: both target quantities can be parameterized by angular variables. We introduce a geometric token encoding framework that conditions generation directly on these angles. Each angular component is encoded as a periodic sine-cosine feature and projected into a role-specific token embedding that is injected into the prompt before a frozen text encoder. To spatially ground these tokens without requiring localization input at inference, we introduce Stochastic Localization Relaxation (SLR), which stochastically relaxes attention supervision from component-level to object-level to unconstrained localization during training. For clocks, we additionally introduce a hand-swap preference objective that discourages assigning the correct angles to the wrong hand roles. On analog clocks our method reaches 63-78% Acc@6 degrees across evaluation methods, compared with below 1% for the baselines. On circular-fraction generation, it achieves 89.5% Acc@0.10, while maintaining 88.8% on unseen object categories and 84.9% on unseen target values, compared with roughly 20% for pretrained baselines.

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

↑