[论文解读] Continuous-Multiple Image Outpainting in One-Step via Positional Query and A Diffusion-based Approach
本文提出 PQDiff,一种基于位置查询机制与基于扩散模型生成的一次性、连续多倍图像外补全方法。该方法无需迭代步骤或预训练主干网络,即可实现任意且连续的扩展倍数,FID 分数达到当前最先进水平(Scenery 数据集为 21.512,Building Facades 数据集为 25.310,WikiArts 数据集为 36.212),推理时间最低仅为先前 SOTA 方法的 10.2%。
Image outpainting aims to generate the content of an input sub-image beyond its original boundaries. It is an important task in content generation yet remains an open problem for generative models. This paper pushes the technical frontier of image outpainting in two directions that have not been resolved in literature: 1) outpainting with arbitrary and continuous multiples (without restriction), and 2) outpainting in a single step (even for large expansion multiples). Moreover, we develop a method that does not depend on a pre-trained backbone network, which is in contrast commonly required by the previous SOTA outpainting methods. The arbitrary multiple outpainting is achieved by utilizing randomly cropped views from the same image during training to capture arbitrary relative positional information. Specifically, by feeding one view and positional embeddings as queries, we can reconstruct another view. At inference, we generate images with arbitrary expansion multiples by inputting an anchor image and its corresponding positional embeddings. The one-step outpainting ability here is particularly noteworthy in contrast to previous methods that need to be performed for $N$ times to obtain a final multiple which is $N$ times of its basic and fixed multiple. We evaluate the proposed approach (called PQDiff as we adopt a diffusion-based generator as our embodiment, under our proposed extbf{P}ositional extbf{Q}uery scheme) on public benchmarks, demonstrating its superior performance over state-of-the-art approaches. Specifically, PQDiff achieves state-of-the-art FID scores on the Scenery ( extbf{21.512}), Building Facades ( extbf{25.310}), and WikiArts ( extbf{36.212}) datasets. Furthermore, under the 2.25x, 5x and 11.7x outpainting settings, PQDiff only takes extbf{40.6\%}, extbf{20.3\%} and extbf{10.2\%} of the time of the benchmark state-of-the-art (SOTA) method.
研究动机与目标
- 为解决现有图像外补全方法在灵活性与效率方面的不足,这些方法需要多步处理且扩展倍数固定。
- 在单次推理中实现任意且连续的扩展倍数(N ∈ ℝ),克服离散、多步方法的局限性。
- 消除对预训练主干网络的依赖,支持从零开始训练,提升泛化能力并降低计算成本。
- 通过可学习或正弦位置嵌入,学习输入图像块与生成区域之间的相对位置关系。
提出的方法
- 模型采用位置查询机制,将参考图像块及其相对位置(作为位置嵌入)输入基于扩散的生成器,以预测扩展后的图像内容。
- 训练期间,从同一图像中随机采样图像块作为输入与查询对,以模拟任意相对位置与尺度,从而实现对未见扩展比例的泛化。
- 位置嵌入由输入图像块与目标区域之间的相对坐标 (m, n) 生成,通过多层感知机(MLP)或正弦函数映射至 D 维空间。
- 扩散模型通过在生成图像上使用像素级 L1 损失进行训练,实现高保真度生成,无需依赖 GAN 的判别器组件。
- 该方法支持单步推理:给定输入图像与期望的扩展倍数,模型可在一次前向传播中直接生成完整扩展图像。
- 该方法具有模块化特性,可适配其他架构,如成功集成至基于 GAN 的模型(PQGAN),并验证了不同位置嵌入类型的有效性。

实验结果
研究问题
- RQ1基于扩散模型的图像外补全方法是否能在单次推理中实现任意且连续的扩展倍数?
- RQ2模型是否能在不依赖预训练主干网络的情况下,学习输入图像块与生成区域之间的相对位置关系?
- RQ3与标准扩散模型或基于 GAN 的方法相比,位置查询机制在图像质量与推理效率方面表现如何?
- RQ4不同位置嵌入类型(可学习 vs. 正弦)对图像外补全性能有何影响?
- RQ5模型是否能在无需针对特定尺度进行微调的情况下,泛化至不同图像尺度与宽高比?
主要发现
- PQDiff 在 Scenery 数据集上达到 21.512 的 SOTA FID 分数,在 Building Facades 数据集上为 25.310,在 WikiArts 数据集上为 36.212,超越先前 SOTA 方法。
- 在 2.25x、5x 和 11.7x 外补全设置下,PQDiff 的推理时间分别降低至基准 SOTA 方法的 40.6%、20.3% 和 10.2%。
- 即使从零开始训练且不使用任何预训练主干网络,模型仍表现出具有竞争力的性能,证明了位置查询在提供强条件信息方面的有效性。
- 正弦位置嵌入优于可学习嵌入与无嵌入基线,当引入位置信息后,FID 分数下降超过 30 分。
- 消融实验表明,当训练期间图像块比例被固定(如 0.50)时,模型性能显著下降,表明多样化图像块比例对泛化能力至关重要。
- 将位置查询机制集成至基于 GAN 的模型(PQGAN)后,相比原始 GAN 模型,FID 与 PSNR 分数均得到提升,表明该位置查询范式具备更广泛的应用潜力。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。