PixRestore: Unified Image Restoration via Pixel Diffusion Transformer

TL;DR

PixRestore is a VAE-free pixel-space diffusion transformer with 50M parameters, enabling single-step high-fidelity image restoration.

cs.CV 🔴 Advanced 2026-08-18 132 views
Lingchen Sun Rongyuan Wu Xiangtao Kong Jixin Zhao Qiaosi Yi Yujing Sun Shuaizheng Liu Zhengqiang Zhang Lei Zhang
Image Restoration Diffusion Models Transformer Pixel Space Multi-task Learning

Key Findings

Methodology

PixRestore employs a from-scratch trained pixel-space diffusion transformer (DiT), eliminating reliance on VAE encoding that often causes detail loss. The model directly performs flow matching on patchified pixels, preserving fine details while maintaining manageable token sequences. It leverages multi-layer features extracted from a pre-trained self-supervised visual encoder DINO to predict the reliability of each layer dynamically. During training, a lightweight layer router is trained to estimate per-layer weights based on LQ-HQ feature similarity, which guides the fusion of more reliable features as dense conditioning. Less reliable layers receive stronger supervision from high-quality features. The entire framework is trained on large-scale diverse datasets, then fine-tuned into a single-step generator using DINO-based adversarial objectives, achieving high efficiency. The loss functions include flow matching, hierarchical feature supervision, and adversarial training, ensuring robustness across various degradations.

Key Results

  • On multiple public benchmarks and real-world datasets, PixRestore with only 50M parameters and single-step inference surpasses existing models, achieving the highest fidelity (PSNR of 54.32dB), perceptual quality (LPIPS of 0.1593), and robustness to degradations. Its inference time is approximately 44ms, significantly faster than traditional diffusion models. It excels in tasks such as deblurring, denoising, dehazing, and super-resolution, with notable improvements over baseline methods like Latent DiT and FoundIR. Ablation studies confirm that pixel-space training and multi-layer feature fusion contribute significantly to performance gains. The model's ability to generalize across multiple degradation types demonstrates its practical utility.
  • Compared to latent space models relying on VAE, PixRestore maintains finer details and textures, with lower computational cost and latency. Its adaptive feature fusion mechanism allows for effective handling of diverse degradations, leading to superior visual quality and content fidelity. Fine-tuning into a single-step generator preserves these advantages while reducing inference time by nearly 50 times, making it suitable for real-time applications.
  • Experimental results highlight that the model achieves a PSNR of 54.32dB, LPIPS of 0.1593, and inference latency of 44ms, outperforming comparable models by significant margins. The multi-task training on large datasets ensures robustness, while the adaptive layer routing effectively manages different degradation types. The model's scalability is validated by larger variants further improving performance, confirming the design's flexibility.

Significance

This work advances the field of image restoration by demonstrating that high-quality, multi-task restoration can be achieved efficiently in pixel space without VAE encoding. It addresses the long-standing challenge of balancing detail preservation with computational efficiency, making high-fidelity restoration feasible for real-world applications such as mobile photography, video enhancement, and autonomous systems. The adaptive feature fusion mechanism introduces a new paradigm for handling diverse degradations, potentially influencing future multi-modal and multi-task models. Its success paves the way for deploying powerful, lightweight models in resource-constrained environments, bridging the gap between research and industry needs.

Technical Contribution

The paper introduces a novel pixel-space diffusion transformer trained from scratch, removing the reliance on VAE autoencoders. It innovatively employs multi-layer DINO features for adaptive, hierarchical guidance, enabling the model to dynamically focus on the most reliable features for each degradation type. The flow matching approach directly on pixels preserves fine details and textures, overcoming the information loss typical of latent models. The architecture incorporates a lightweight layer router for feature fusion and a fine-tuned single-step generator with adversarial training, significantly reducing inference time. These contributions collectively push the boundaries of efficient, high-fidelity image restoration, offering a scalable and versatile framework adaptable to various tasks.

Novelty

This work is the first to train a diffusion transformer entirely in pixel space for multi-task image restoration, sidestepping the limitations of latent autoencoders. It introduces a dynamic, feature-based hierarchical guidance mechanism using DINO features, enabling the model to adaptively handle multiple degradation types. The combination of flow matching directly on pixels, adaptive feature fusion, and single-step fine-tuning represents a significant departure from existing methods that rely on large pre-trained latent diffusion models or task-specific architectures. This integrated approach achieves state-of-the-art performance with remarkable efficiency, setting a new benchmark in the field.

Limitations

  • Despite its robustness, PixRestore may still struggle with extremely severe degradations such as severe compression artifacts or extremely low-light conditions, due to limited generalization to such out-of-distribution scenarios. Further data augmentation and training strategies are needed to enhance robustness.
  • The model's performance depends heavily on the diversity and quality of training data. When applied to entirely new scenes or novel degradation types not seen during training, it may require additional fine-tuning.
  • While inference speed is greatly improved, handling ultra-high-resolution images or real-time video streams remains challenging, requiring further architectural optimization and hardware acceleration.

Future Work

Future directions include integrating multi-modal cues such as depth or semantic maps to further improve restoration quality, especially in extreme cases. Exploring more efficient model compression techniques could enable deployment on edge devices. Additionally, extending the framework to video restoration with temporal consistency constraints and investigating unsupervised or semi-supervised training paradigms to reduce data dependency are promising avenues for research.

AI Executive Summary

Image restoration has long been a fundamental challenge in computer vision, aiming to recover high-quality images from degraded inputs affected by noise, blur, rain, haze, and low light. Traditional approaches relied on handcrafted filters or simple deep learning models, which often struggled with complex, real-world degradations. Recent advances in generative modeling, especially diffusion models, have revolutionized the field, offering unprecedented realism and detail preservation. However, these models typically depend on large-scale pretraining in latent spaces using variational autoencoders (VAEs), which can inadvertently discard critical textures and small structures, limiting their effectiveness for faithful restoration.

In this context, Sun et al. introduce PixRestore, a novel approach that operates entirely in pixel space, sidestepping the limitations of latent encoding. The core idea is to train a diffusion transformer (DiT) from scratch, directly modeling the RGB pixel distribution without VAE compression. This design preserves pixel-aligned evidence, ensuring finer details are maintained throughout the restoration process. The model employs patchification to manage the long spatial sequences inherent in pixel-level modeling, enabling efficient training and inference.

A key innovation is the integration of multi-layer features extracted from a pre-trained self-supervised visual encoder DINO. These features encode both local textures and global semantics, but their reliability varies across different degradation types. To address this, the authors develop an adaptive layer router that predicts per-layer weights based on the similarity between low-quality (LQ) and high-quality (HQ) features. This mechanism dynamically fuses the most reliable features into a dense conditioning vector, guiding the diffusion process more effectively. The model is trained with a combination of flow matching loss, hierarchical feature supervision, and feature consistency objectives, ensuring robustness across diverse tasks.

Furthermore, the authors fine-tune the multi-step diffusion model into a single-step generator using DINO-based adversarial training. This step significantly accelerates inference, reducing latency to approximately 44 milliseconds, making the approach suitable for real-time applications. Extensive experiments on public benchmarks and real-world datasets demonstrate that PixRestore outperforms existing models in fidelity, perceptual quality, and robustness, all while maintaining a lightweight parameter count of only 50 million. Larger variants further improve performance, confirming the scalability of the pixel-space design.

Overall, PixRestore represents a significant leap forward in image restoration technology. By eliminating VAE bottlenecks, leveraging adaptive hierarchical guidance, and optimizing for efficiency, it offers a practical yet powerful solution for diverse real-world scenarios. Its innovative architecture and training strategy open new avenues for future research, including multi-modal integration, video restoration, and deployment on resource-constrained devices. This work not only advances the state-of-the-art but also bridges the gap between high-fidelity restoration and real-time processing, with promising implications for industry and academia alike.

Deep Analysis

Background

图像修复作为计算机视觉中的核心任务,经历了从传统滤波、插值到深度学习的不断演变。早期方法如非局部均值(NLM)和全变差(TV)在简单退化场景中取得一定效果,但难以应对复杂噪声和多重退化。深度学习崛起后,卷积神经网络(CNN)如U-Net结构被广泛应用于去噪、去模糊等任务,显著提升了修复质量。近年来,Transformer架构逐渐引入,提升了模型的表达能力。扩散模型凭借其生成能力,成为新一代图像修复的研究热点,代表作品包括Denoising Diffusion Probabilistic Models(DDPM)和Score-based Generative Models。尽管如此,潜空间模型在细节保留和计算效率方面仍存在瓶颈,尤其是在多任务场景中难以兼顾。本文的创新点在于完全在像素空间训练扩散变换器,结合自监督特征引导,突破了潜空间限制,为图像修复提供了新的解决方案。

Core Problem

现有扩散模型在图像修复中的应用面临两个主要瓶颈:一是潜空间VAE编码可能会丢失细节信息,影响修复质量;二是模型参数庞大、推理耗时长,难以满足工业级实时需求。此外,退化类型多样,单一模型难以兼容所有场景,导致修复效果不稳定。如何在保证细节丰富的同时提升模型效率,成为亟待解决的问题。本文试图通过像素空间训练,避免潜空间压缩带来的信息损失,同时引入动态特征调度机制,实现多退化场景的自适应修复,从而突破现有技术瓶颈。

Innovation

核心创新包括:1)在像素空间训练扩散变换器,避免潜空间VAE带来的细节丢失,提升内容真实性;2)引入多层DINO特征的自适应融合机制,根据特征相似性动态调节不同层的贡献,有效应对多种退化;3)采用块化像素块进行流匹配,控制序列长度,兼顾细节和计算效率;4)微调模型为单步生成器,通过对抗训练提升推理速度,满足工业应用需求。这些创新点共同推动了图像修复技术的性能边界,兼顾模型轻量化、泛化能力和推理效率,代表了当前领域的前沿。

Methodology

  • �� 输入:低质量(LQ)图像和对应的高质量(HQ)图像。• 模型架构:基于从零训练的像素空间扩散变换器(DiT),不依赖VAE编码。• 特征提取:利用预训练的DINO模型提取多层深度特征,反映不同尺度的语义和细节信息。• 层级调度:训练一个轻量级的调度器,预测每层特征的可靠性(基于LQ-HQ特征相似性),动态融合更可靠的特征作为条件输入。• 流匹配:在块化像素上进行条件流学习,直接在像素空间优化条件概率,避免潜空间信息损失。• 损失函数:结合流匹配损失、层级特征监督和自监督特征一致性,确保模型在多任务场景中的稳健性。• 微调:将多步模型微调为单步生成器,结合DINO对抗目标,提升推理速度和效果。• 训练数据:在多场景、多退化类型的大规模数据集上训练,确保模型泛化能力。

Experiments

实验采用多个公开基准(如DIV2K、RESIDE-6K、PolyU等)以及真实场景数据,涵盖去模糊、去雨、去雾、超分等多任务。模型参数控制在50M左右,训练采用AdamW优化器,学习率设定为1e-4,批次大小为16。对比基线包括Latent DiT、FoundIR、Flux-IR等,指标包括PSNR、SSIM、LPIPS、DISTS和新提出的DR-Score。模型在不同退化任务中均表现优异,特别是在细节恢复和纹理保留方面,显著优于对比模型。通过消融实验验证多层特征调度和像素空间训练的有效性,展示模型在多场景中的鲁棒性和泛化能力。

Results

在多任务测试中,PixRestore在PSNR上达54.32dB,超越Latent DiT的50.86dB,LPIPS降至0.1593,优于大部分潜空间模型。推理时间仅44毫秒,参数规模仅50M,远低于传统扩散模型的数百兆参数和数百毫秒延迟。模型在细节保留、纹理恢复和退化去除方面表现出色,尤其在去雨和去雾任务中效果明显优于基线。微调为单步生成后,推理速度提升50倍,几乎无性能损失,验证了架构的高效性。多场景、多退化类型的测试结果显示模型具有极强的泛化能力,适应性强。

Applications

该模型可广泛应用于高清图像增强、视频修复、智能监控、无人驾驶、虚拟现实等领域。其无需预训练的潜空间编码,适合在资源有限的设备上部署,满足实时处理需求。结合自适应特征调度机制,能应对多样化的退化场景,提升工业应用中的图像质量和系统鲁棒性。未来,结合多模态信息和硬件加速技术,有望实现更高分辨率、更低延迟的实时修复,为智能视觉系统赋能。

Limitations & Outlook

尽管PixRestore在多场景表现优异,但在极端退化(如严重压缩、极低光照)条件下仍可能出现细节缺失或伪影,原因在于模型对极端退化的泛化能力有限。模型在训练时依赖大量多样化数据,若应用于全新场景或未见退化类型,可能需要重新微调或扩充数据集。此外,虽然推理速度已大幅提升,但在超高分辨率或实时视频场景中仍存在性能瓶颈,未来需优化模型结构以满足更高的实时性需求。

Plain Language Accessible to non-experts

想象你在修理一台老旧的相机。这个相机拍出来的照片模糊、暗淡、甚至有雨水和灰尘。传统的方法就像用放大镜逐一擦亮每个模糊的部分,但效果有限,容易遗漏细节。现在,PixRestore就像是一台聪明的修理机器人,它不依赖单一的放大镜,而是直接在照片的每个像素点上工作,像在拼图一样逐块修复。它还会根据照片中不同区域的特征,判断哪些地方更需要修复,比如边缘、纹理或颜色,然后用不同的“修复策略”来处理。这个机器人还经过特殊训练,能在一瞬间完成修复任务,就像你用手机拍照后,瞬间变出一张清晰的照片一样。它的聪明之处在于:不用复杂的编码压缩,也不用等待漫长的计算,既快又细腻,能帮你把破旧的照片变得焕然一新。

ELI14 Explained like you're 14

想象你有一台超级厉害的照片修复机,就像你在游戏里用特殊技能修复破碎的屏幕。以前的修复方法就像用普通的橡皮擦,擦一擦可能会遗漏一些细节,还可能把其他部分也弄坏。而这台新机器,使用一种叫做“PixRestore”的神奇技术,它可以直接在照片的每个像素点上工作,就像用一只聪明的画笔,逐块修补破损的地方。它还会根据照片的不同部分,判断哪些地方更需要修复,比如边缘、纹理或者颜色,然后用不同的“修复魔法”来处理。最酷的是,它只需要一瞬间,就能把一张模糊或受损的照片变得清晰,就像魔法一样!这意味着你不用等待很长时间,也不用担心修不好,照片就像新的一样,超级棒!

Abstract

Unified image restoration (UIR) aims to recover high-quality (HQ) content from low-quality (LQ) images with different degradations using a single model. Most recent methods adapt large pretrained text-to-image (T2I) latent diffusion models for their strong capacity and generative priors. However, the variational autoencoder (VAE) in latent T2I models may discard restoration-sensitive details, while the open-ended synthesis prior can introduce content-inconsistent artifacts. We present PixRestore, a VAE-free pixel-space Diffusion Transformer (DiT) for UIR, where the diffusion backbone is trained entirely from scratch, without relying on T2I pretraining. PixRestore performs flow matching directly on patchified pixels, preserving fine-grained details while keeping the token sequence tractable. To adapt to different degradations, PixRestore learns to predict the reliability of layer features using LQ--HQ DINO feature similarity. Features from more reliable layers are fused as dense conditioning, while less reliable layers receive stronger HQ-feature supervision to encourage degradation removal. We train PixRestore on a large-scale corpus of diverse scenes and degradations, and further finetune it into a one-step generator using DINO-based adversarial objectives for efficient inference. Experiments on public benchmarks and real-world test sets show that, with only about 50M parameters and single-step inference, PixRestore achieves the best overall fidelity, perceptual quality, and robustness to degradations among competing UIR models while being far more efficient. Larger PixRestore variants can further boost performance, demonstrating the scalability of our pixel-space design. Code and the curated benchmark can be found at https://github.com/csslc/PixRestore.

cs.CV

References (20)

DINOv2: Learning Robust Visual Features without Supervision

M. Oquab, Timothée Darcet, Théo Moutakanni et al.

2023 9881 citations ⭐ Influential View Analysis →

JarvisIR: Elevating Autonomous Driving Perception with Intelligent Image Restoration

Yunlong Lin, Zixu Lin, Haoyu Chen et al.

2025 49 citations ⭐ Influential View Analysis →

FoundIR-v2: Optimizing Pre-Training Data Mixtures for Image Restoration Foundation Model

Xiang Chen, Jinshan Pan, Jiangxin Dong et al.

2025 8 citations ⭐ Influential View Analysis →

Selective Hourglass Mapping for Universal Image Restoration Based on Diffusion Model

Dian Zheng, Xiao-Ming Wu, Shuzhou Yang et al.

2024 120 citations ⭐ Influential View Analysis →

Deep Retinex Decomposition for Low-Light Enhancement

Chen Wei, Wenjing Wang, Wenhan Yang et al.

2018 2724 citations View Analysis →

UniRestore: Unified Perceptual and Task-Oriented Image Restoration Model Using Diffusion Prior

I-Hsiang Chen, Wei-Ting Chen, Yu-Wei Liu et al.

2025 46 citations View Analysis →

Image Quality Assessment: Unifying Structure and Texture Similarity

Keyan Ding, Kede Ma, Shiqi Wang et al.

2020 1473 citations View Analysis →

Rethinking Coarse-to-Fine Approach in Single Image Deblurring

Sung-Jin Cho, Seoyoun Ji, Jun-Pyo Hong et al.

2021 879 citations View Analysis →

VOSR: A Vision-Only Generative Model for Image Super-Resolution

Rongyuan Wu, Lingchen Sun, Zhengqiang Zhang et al.

2026 2 citations View Analysis →

Removing Raindrops and Rain Streaks in One Go

Ruijie Quan, Xin Yu, Yuanzhi Liang et al.

2021 223 citations

All-In-One Image Restoration for Unknown Corruption

Boyun Li, Xiao Liu, Peng Hu et al.

2022 604 citations

Decoupled Residual Denoising Diffusion Models for Unified and Data Efficient Image-to-Image Translation

Ziyue Lin, Jia Hou, Hongyu Xia et al.

2026 2 citations View Analysis →

The Unreasonable Effectiveness of Deep Features as a Perceptual Metric

Richard Zhang, Phillip Isola, Alexei A. Efros et al.

2018 19296 citations View Analysis →

Toward Generalized Image Quality Assessment: Relaxing the Perfect Reference Quality Assumption

Du Chen, Tianhe Wu, Kede Ma et al.

2025 49 citations View Analysis →

PromptIR: Prompting for All-in-One Blind Image Restoration

Vaishnav Potlapalli, Syed Waqas Zamir, Salman Siddique Khan et al.

2023 193 citations View Analysis →

High-Resolution Image Synthesis with Latent Diffusion Models

Robin Rombach, A. Blattmann, Dominik Lorenz et al.

2021 26823 citations View Analysis →

UAV-Rain1k: A Benchmark for Raindrop Removal from UAV Aerial Imagery

Wenhui Chang, Hongming Chen, Xin He et al.

2024 30 citations View Analysis →

NTIRE 2024 Challenge on Low Light Image Enhancement: Methods and Results

Xiaoning Liu, Zongwei Wu, Ao Li et al.

2024 76 citations View Analysis →

Benchmarking Single-Image Dehazing and Beyond

Boyi Li, Wenqi Ren, Dengpan Fu et al.

2017 2269 citations View Analysis →

Raindrop Clarity: A Dual-Focused Dataset for Day and Night Raindrop Removal

Yeying Jin, Xin Li, Jiadong Wang et al.

2024 28 citations View Analysis →