Uni-ISP: Unifying the Learning of ISPs from Multiple Cameras

Lingen Li, Mingde Yao, Xingyu Meng, Muquan Yu, Tianfan Xue, Jinwei Gu · DOI

Abstract

Modern smartphone photography relies on complex Image Signal Processors (ISPs) to transform raw sensor data into visually appealing sRGB images. However, traditional learned ISP models are device-specific, failing to scale across the vast landscape of mobile hardware. We present Uni-ISP, a unified neural framework capable of learning the ISP behaviors of multiple cameras simultaneously. By employing device-aware embeddings and a novel training scheme, Uni-ISP not only improves reconstruction performance through synergistic learning but also enables cross-camera tasks such as photographic style transfer, style interpolation, and zero-shot image forensics.

Introduction

Every smartphone camera possesses a distinct aesthetic signature—from the high-contrast rendering of an iPhone to the vibrant, deep tones characteristic of Leica-tuned Xiaomi devices. These signatures are the product of the Image Signal Processor (ISP). While neural networks have successfully modeled individual ISPs, the current paradigm requires training a separate model for every new device. This approach is computationally expensive and fails to leverage the commonalities between different camera systems. Furthermore, single-camera models are inherently limited to their source domain, precluding applications like cross-camera style transfer.

Methodology

Uni-ISP addresses these limitations through a dual-module architecture consisting of an Inverse ISP (converting sRGB back to RAW/XYZ) and a Forward ISP (rendering RAW/XYZ to sRGB).

The Uni-ISP architecture featuring Inverse and Forward ISP modules with device-aware embeddings.

The framework incorporates several key technical innovations:

  • Device-Aware Embeddings: Small, optimizable vectors represent each camera's unique characteristics, allowing a shared backbone to learn general image processing features.
  • Device-aware Embedding Interaction Module (DEIM): Located at the network bottleneck, this module uses cross-attention to integrate camera-specific embeddings into the image feature maps.
  • Global Feature Manipulation Block (GFMB): This component processes EXIF metadata (e.g., exposure, ISO) to ensure the model accounts for varying capture conditions.
  • Frequency Bias Correction (FBC) Loss: To mitigate blur introduced by optical flow alignment during multi-camera training, the FBC loss supervises the model in the frequency domain, preserving fine details.

Experimental Setup

To facilitate unified learning, the authors introduced FiveCam, a high-quality 4K dataset containing over 2,400 synchronized sRGB-RAW image pairs from five flagship devices: iPhone 14 Pro Max, Pixel 6 Pro, Huawei P40, Samsung S20, and Xiaomi Mi 12. The model was further evaluated on the S7 ISP and RealBlur datasets to test generalization and deblurring capabilities.

Results and Discussion

Uni-ISP demonstrates significant performance gains over single-camera baselines. By training on multiple cameras simultaneously, the model achieves a +2.4dB PSNR improvement in forward ISP tasks, suggesting a "synergy" where the shared backbone learns a more robust representation of general photography.

Overview of Uni-ISP applications, including style transfer, interpolation, and zero-shot forensics.

Beyond reconstruction, the unified embedding space enables several novel applications:

  • Photographic Style Transfer & Interpolation: By manipulating the device embeddings, users can transfer the "look" of one camera to another or even create hybrid aesthetics (e.g., a 50/50 blend of Samsung and Xiaomi styles).
  • Zero-Shot Image Forensics: The model's learned "self-consistency" allows it to identify source cameras with 81.7% accuracy and detect image splicing without explicit forensic training.
  • Few-Shot Adaptation: Uni-ISP can adapt to an entirely new camera (e.g., iPhone 15 Pro) using as few as 10 image pairs by simply optimizing a new embedding vector, significantly outperforming competitors that require full retraining.

Conclusion

Uni-ISP represents a shift toward scalable, multi-device camera modeling. While the inverse ISP task remains challenging due to information loss in highlights and shadows, the framework's ability to share knowledge across devices opens new doors for computational photography. Future work may involve integrating generative priors, such as diffusion models, to better reconstruct missing details and further incorporating traditional ISP domain knowledge into the neural architecture.

Summary updated

BibTeX
@article{li2025uni,
  author = {Lingen Li and Mingde Yao and Xingyu Meng and Muquan Yu and Tianfan Xue and Jinwei Gu},
  title = {{Uni-ISP: Unifying the Learning of ISPs from Multiple Cameras}},
  journal = {IEEE Trans. Image Process.},
  year = {2025},
  doi = {10.1109/tip.2025.3607617},
}
Figure