RAW-Flow: Advancing RGB-to-RAW Image Reconstruction with Deterministic Latent Flow Matching

Zhen Liu, Diedong Feng, Hai Jiang, Liaoyuan Zeng, Hao Wang +4 more
1/28/2026
cs.CV

No official code found. Best implementation: liuzhen03/RAW-Flow (15 stars, last commit 2025-11-17).

Abstract

RGB-to-RAW reconstruction, or the reverse modeling of a camera Image Signal Processing (ISP) pipeline, aims to recover high-fidelity RAW data from RGB images. Despite notable progress, existing learning-based methods typically treat this task as a direct regression objective and struggle with detail inconsistency and color deviation, due to the ill-posed nature of inverse ISP and the inherent information loss in quantized RGB images. To address these limitations, we pioneer a generative perspective by reformulating RGB-to-RAW reconstruction as a deterministic latent transport problem and introduce a novel framework named RAW-Flow, which leverages flow matching to learn a deterministic vector field in latent space, to effectively bridge the gap between RGB and RAW representations and enable accurate reconstruction of structural details and color information. To further enhance latent transport, we introduce a cross-scale context guidance module that injects hierarchical RGB features into the flow estimation process. Moreover, we design a dual-domain latent autoencoder with a feature alignment constraint to support the proposed latent transport framework, which jointly encodes RGB and RAW inputs while promoting stable training and high-fidelity reconstruction. Extensive experiments demonstrate that RAW-Flow outperforms state-of-the-art approaches both quantitatively and visually.

View on arXivView PDF

Code Implementations(1)

liuzhen03/RAW-FlowCommunity69%

[AAAI 2026 Oral] RAW-Flow: Advancing RGB-to-RAW Image Reconstruction with Deterministic Latent Flow Matching

150Nov 17, 202511 months ago

Similar Papers

Cite this paper

@article{liu2026rawflow,
  title  = {RAW-Flow: Advancing RGB-to-RAW Image Reconstruction with Deterministic Latent Flow Matching},
  author = {Zhen Liu and Diedong Feng and Hai Jiang and Liaoyuan Zeng and Hao Wang and Chaoyu Feng and Lei Lei and Bing Zeng and Shuaicheng Liu},
  year   = {2026},
  eprint = {2601.20364},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.20364v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.20364.svg)](https://codeofpaper.com/paper/2601.20364)

Discussion