arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.03017cs.CV
收藏

像素级和语义级可调超分辨率:一种双LoRA方法

Pixel-level and Semantic-level Adjustable Super-resolution: A Dual-LoRA Approach

The Hong Kong Polytechnic University(香港理工大学);OPPO Research Institute(OPPO研究院)

Lingchen Sun, Rongyuan Wu, Zhiyuan Ma, Shuaizheng Liu, Qiaosi Yi, Lei Zhang

AI总结:

提出PiSA-SR方法,在预训练SD模型上学习双LoRA模块以解耦像素级与语义级SR目标,通过可调引导尺度在单步扩散中实现兼顾质量与效率的灵活超分辨率。

摘要:

基于扩散先验的方法在真实世界图像超分辨率(SR)中展示了令人印象深刻的结果。然而,现有大多数方法在训练过程中将像素级和语义级SR目标耦合在一起,难以平衡像素保真度和感知质量。同时,用户对SR结果有不同的偏好,因此需要开发一种可调的SR模型,能够在推理期间根据不同的保真度-感知偏好进行定制,而无需重新训练。我们提出了像素级和语义级可调SR(PiSA-SR),在预训练的stable-diffusion(SD)模型上学习两个LoRA模块,以实现改进且可调的SR结果。我们首先将基于SD的SR问题表述为学习低质量输入和高质量输出之间的残差,然后表明学习目标可以解耦为两个不同的LoRA权重空间:一个由$\ell_2$-loss表征,用于像素级回归;另一个由LPIPS和分类器分数蒸馏损失表征,用于从预训练的分类和SD模型中提取语义信息。在其默认设置中,PiSA-SR可以在单步扩散中执行,在质量和效率上都取得了领先的真实世界SR结果。通过在两个LoRA模块上引入两个可调的引导尺度,以在推理期间控制像素保真度和语义级细节的强度,PiSA-SR可以根据用户偏好提供灵活的SR结果,而无需重新训练。代码和模型可在https://github.com/csslc/PiSA-SR找到。

英文摘要:

Diffusion prior-based methods have shown impressive results in real-world image super-resolution (SR). However, most existing methods entangle pixel-level and semantic-level SR objectives in the training process, struggling to balance pixel-wise fidelity and perceptual quality. Meanwhile, users have varying preferences on SR results, thus it is demanded to develop an adjustable SR model that can be tailored to different fidelity-perception preferences during inference without re-training. We present Pixel-level and Semantic-level Adjustable SR (PiSA-SR), which learns two LoRA modules upon the pre-trained stable-diffusion (SD) model to achieve improved and adjustable SR results. We first formulate the SD-based SR problem as learning the residual between the low-quality input and the high-quality output, then show that the learning objective can be decoupled into two distinct LoRA weight spaces: one is characterized by the $\ell_2$-loss for pixel-level regression, and another is characterized by the LPIPS and classifier score distillation losses to extract semantic information from pre-trained classification and SD models. In its default setting, PiSA-SR can be performed in a single diffusion step, achieving leading real-world SR results in both quality and efficiency. By introducing two adjustable guidance scales on the two LoRA modules to control the strengths of pixel-wise fidelity and semantic-level details during inference, PiSASR can offer flexible SR results according to user preference without re-training. Codes and models can be found at https://github.com/csslc/PiSA-SR.

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

↑