An image signal processor does more than reconstruct an image. It also has to decide how strongly to denoise, how to balance color, and which tone curve maps the scene onto the display, and these settings depend on the scene itself, the curve that suits a backlit sky is not the one that suits an indoor portrait. Most neural ISPs learn a single fixed transformation and apply it to every scene. We instead make the adaptation an explicit part of the network. Our model, LG FiLM, keeps one shared encoder decoder and places a small mixture of affine experts at its bottleneck; the experts scales, shifts, and mixing weights are predicted from local neighborhood evidence together with a global scene descriptor. Reconstruction stays in a single shared pathway and only the processing mode is switched. We evaluate LG FiLM on three datasets, Fujifilm UltraISP, Zurich RAW to RGB, and a COCO derived benchmark built with an inverse ISP. The model reaches the best reconstruction fidelity of the compared entries on the primary benchmark and transfers to the other two.
Figures & tables
Figure 1: Architecture of LG-FiLM. (a) Sparse three-channel RAW preserves sensor-grid alignment through a shared encoder–decoder with three additive skips. Stage labels give channels and height; width scales identically. The deepest decoder stage preserves resolution. (b) Local and global context jointly condition softmax attention over eight affine experts and their transformations. Soft fusion mixes scale and shift parameters to modulate the shared feature before projection. Expert output heads are zero-initialized.
Method
PSNR ↑
SSIM ↑
MiAlgo
24.19
0.8587
AVC2
24.18
0.8582
UAIC_ISP
24.00
0.8625
MFI
23.76
0.8564
NAF
23.69
0.8540
amonal
22.89
0.8295
Table 1: Fujifilm UltraISP results (PSNR in dB). The six challenge entries are taken from the MAI 2026 challenge [ 36 ] , scored on its hidden test set; † denotes our reimplementation of RMFA-Net.
Method
PSNR (dB)
SSIM (Y)
MS-SSIM (Y)
PyNET (published) [ 5 ]
21.19
n/r
0.8620
LG-FiLM
21.249
0.7601
0.8669
Table 2: Reconstruction results on the ZRR test set.
Figure 2: ZRR reconstructions at identical locations in both rows. Top: LG-FiLM outputs; bottom: Canon reference. Patches 1148, 893, 1126 and 879 (left to right) score 32.729/0.9897, 30.738/0.9665, 30.162/0.9573 and 30.840/0.9658 in per-patch RGB PSNR and luminance SSIM.
Figure 3: Full-resolution ( 3968×2976 ) ZRR reconstruction. (a) Canon reference; (b) LG-FiLM; (c) modulation bypassed; (d) fixed prior. Broad scene coverage and a wide tonal range.
Figure 5: Full-resolution ( 3968×2976 ) ZRR reconstruction. (a) Canon reference; (b) LG-FiLM; (c) modulation bypassed; (d) fixed prior. A street scene with vegetation and fine structural detail.
Figure 6: Full-resolution ( 3968×2976 ) ZRR reconstruction. (a) Canon reference; (b) LG-FiLM; (c) modulation bypassed; (d) fixed prior. A further test scene.
Quantity
Value
PSNR (RGB)
35.802
SSIM (Y)
0.9815
MS-SSIM (Y)
0.9976
SSIM (RGB)
0.9624
Table 3: Reconstruction results on the InvISP-derived COCO test set.
Figure 7: Reconstruction examples on the InvISP-derived COCO test set. Top row: LG-FiLM outputs; bottom row: the COCO references.
Model / configuration
Params (M)
Val PSNR
Val SSIM
Test PSNR
Test SSIM
Image-level linear
2.956
25.313
0.88407
24.652
0.88050
Image-level cosine
2.960
24.927
0.88617
24.912
0.88456
Image-level soft
–
24.626
0.87852
24.507
0.87717
NAF-style ISP (local)
–
25.441
0.89067
24.681
0.88618
Additive tokens
2.491
25.685
0.88776
24.737
0.88206
No conditioning
1.402
23.846
0.87760
23.366
0.87430
Table 4: Architectural comparisons on the Val and Test sets. “No conditioning” is the same encoder–decoder with the bottleneck module removed; bold marks the best value per column.
Figure 8: Local quality on the Val and Test sets. Linear/Cosine denote image-level routers, Additive denotes local–global additive experts, and Expanded denotes the conditioned 16-expert variant. Expanded improves Val but falls below LG-FiLM on Test.
Change from LG-FiLM
Params (M)
PSNR
Δ
None
1.670
25.758
–
Additive experts
2.491
25.685
−0.073
Remove skips
1.670
25.237
−0.521
Rep. training blocks
3.027
25.754
−0.004
Decoder conditioning
1.745
25.748
−0.010
Conditioning + E=16
2.018
25.864
+0.106
Table 5: RGB PSNR on the Val set for architectural changes. Δ subtracts the displayed score; reparameterized parameters are counted before fusion, and the expanded variant jointly adds RAW token conditioning and raises the expert count to E=16 .
Configuration
RGB PSNR
SSIM
RAW token conditioning + 16 experts
25.864
0.88820
LG-FiLM (local–global affine mixture)
25.758
0.88761
Reparameterized training blocks
25.754
–
Additional decoder conditioning
25.748
–
Local–global additive experts
25.685
0.88776
VSS-inspired spatial blocks
25.506
0.88394
Table 6: Additional model comparisons on Val, sorted by PSNR. Dashes indicate unreported values.
Reference
LG-FiLM − ref. (dB)
Fewer params
Image-level linear
+0.445
43.5%
Image-level cosine
+0.831
43.6%
Additive tokens
+0.073
33.0%
Expanded variant
−0.106
17.2%
Table 7: Derived trade-offs on the Val set. Positive PSNR differences favor LG-FiLM; positive parameter reductions indicate a smaller model.
Model
Soft
Token-hard
Oracle
Oracle − soft
LG-FiLM
25.758
25.014
26.184
+0.427
No skips
25.237
23.076
24.313
−0.924
Reparameterized
25.754
24.599
26.331
+0.578
Decoder cond.
25.748
25.783
27.185
+1.436
Expanded ( E=16 )
25.864
25.673
27.441
+1.577
Table 8: Routing analysis on the Val set; RGB PSNR in dB.
E
Params (M)
Val PSNR
Test PSNR
Test SSIM
MS-SSIM
1
1.4365
25.452
24.856
0.8829
0.9589
2
1.4698
25.652
24.805
0.8833
0.9590
4
1.5365
25.628
24.780
0.8830
0.9590
8
1.6699
25.758
24.998
0.8837
0.9592
16
1.9366
25.760
24.816
0.8813
0.9586
Table 9: Expert-count comparison. E=8 is the main model.
Variant
Params (M)
Test PSNR
Δ
Test SSIM
LG-FiLM (main model)
1.670
24.998
–
0.88366
Eight experts, retrained
1.670
24.817
−0.181
0.88235
Single FiLM, local+global
1.436
24.912
−0.086
0.88304
Wide single FiLM, local+global
1.670
24.840
−0.158
0.88257
Global only, single FiLM
1.427
24.857
−0.141
0.88336
Local only
1.428
23.387
−1.611
0.87599
Table 10: Ablations of LG-FiLM on the test set. Δ is the PSNR difference from the main model; SSIM is measured on the Y channel.
Configuration
Params (M)
PSNR
Δ
LG-FiLM
1.670
24.998
–
No conditioning
1.402
23.366
−1.632
Additive experts
2.491
24.737
−0.261
Remove skips
1.670
24.654
−0.344
Rep. training blocks
3.027
24.830
−0.168
Decoder conditioning
1.745
24.652
−0.346
Table 11: Architectural ablations (RGB PSNR, dB). No conditioning removes the modulation module. Reparameterized counts are before fusion.
E
Params
Val
Test PSNR
Test SSIM
(M)
PSNR
1
1.437
25.452
24.856
0.88290
2
1.470
25.652
24.805
0.88326
4
1.536
25.628
24.780
0.88303
8
1.670
25.758
24.998
0.88366
16
1.937
25.760
24.816
0.88134
Table 12: Expert-count comparison. Val PSNR is measured on the development split; test scores use the test set.
Figure 9: Qualitative comparison across varied scenes. Top: LG-FiLM outputs; bottom: the corresponding references.
Figure 10: Effect of expert modulation and adaptive routing. Three test-set scenes compare GT, bypassed modulation, a fixed routing prior, and the learned mixture. The prior fixes mean weights across inputs and locations but retains input-conditioned expert transformations. RGB panels share a display range; absolute luminance errors share [0,0.15] , with larger values saturating.
Inference intervention
RGB PSNR
Y-MAE
Modulation bypassed
20.073
0.07365
Uniform weights
21.588
0.08544
Permuted expert weights
20.574
0.09667
Fixed routing prior
24.463
0.05434
Token-hard argmax
24.367
0.05177
Image-mean weights
24.972
0.04919
Table 13: Modulation and routing interventions on the test set. The permuted row averages seven nonidentity cyclic permutations of the expert-weight assignments.
Figure 11: Router weights and conditional expert effects for the frozen eight-expert checkpoint on the test set. (a) Eight 32×32 weight maps with a common [0,1] scale. (b,c) E1/E5 removal holds all other contributions fixed; required and induced changes are YGT−Y−k and Yfull−Y−k (blue: darker; red: brighter), and error reduction is ∣Y−k−YGT∣−∣Yfull−YGT∣ (green: better; rose: worse). Output-resolution signed maps use [−0.12,0.12] ; larger magnitudes saturate.
Table 15: Soft fusion, hard selection, and single-expert oracle (RGB PSNR, dB). The last row uses decoder conditioning and sixteen experts. Oracle selections use ground truth.
Configuration
Resolution
Latency (ms)
FPS
Full, E=8
256×256
3.15
318
Full, E=8
1920×1080
17.23
58.0
Full, E=8
3968×2976
131.11
7.6
Modulation bypassed
256×256
1.88
532
Table 16: Measured forward latency. At 256×256 the full model has median 2.96 ms and p95 4.08 ms. Peak allocated memory: 35.7 MB, 626.5 MB, and 4,190.9 MB at the three resolutions.
Module
E=8
E=16
2562
3968×2976
2562
Encoder
2.624 (45.5%)
472.7 (45.5%)
2.624
Cond. bottleneck
1.215 (21.1%)
218.8 (21.1%)
1.756
Decoder
1.812 (31.4%)
326.5 (31.4%)
1.812
Head
0.113 (2.0%)
20.4 (2.0%)
0.113
Total
5.763
1038.5
6.304
Table 17: Measured multiply–accumulates (GFLOPs) by module. Counts cover convolutions and matrix products only; elementwise operations, activations, softmax, and the affine fusion are excluded, so the module’s true cost is under-stated. Percentages refer to the E=8 columns.
Image reconstruction recovers images, volumes, or scenes from incomplete, noisy, indirect, or compressed measurements using physical models and learned priors.
Image reconstruction from corrupted images is crucial across many domains. Most reconstruction networks are trained on post-ISP sRGB images, even though the image-signal-processing pipeline irreversibly mixes colors, clips dynamic range, and blurs fine detail. This paper uses the rain degradation problem as a use case to show that these losses are avoidable, and demonstrates that learning directly on raw Bayer mosaics yields superior reconstructions. To substantiate the claim, we (i) evaluate post-ISP and Bayer reconstruction pipelines, (ii) curate Raw-Rain, the first public benchmark of real rainy scenes captured in both 12-bit Bayer and bit-depth-matched sRGB, and (iii) introduce Information Conservation Score (ICS), a color-invariant metric that aligns more closely with human opinion than PSNR or SSIM. On the test split, our raw-domain model improves sRGB results by up to +0.99 dB PSNR and +1.2% ICS, while running faster with half of the GFLOPs. The results advocate an ISP-last paradigm for low-level vision and open the door to end-to-end learnable camera pipelines.
Nate Rothschild, Moshe Kimhi, Avi Mendelson +1
Department of ECE, Technion, Israel · Department of CS, Technion, Israel · School of ECE, Ben-Gurion University
High-quality paired RAW-to-sRGB datasets are essential for data-driven ISP, yet existing datasets often rely on cross-device collection, causing misalignment and failing to faithfully reflect real capture conditions. We therefore introduce LC-ISP, a large-scale benchmark built from the intrinsic gap between a camera's live preview and offline capture streams. LC-ISP contains 53.9k spatially aligned groups, each comprising live RAW/live sRGB and multi-frame fused RGB/capture sRGB, and covers day, night, indoor, outdoor, and HDR scenes. It also provides capture-stream intermediates for modular supervision. We further develop a compact two-stage baseline that uses these intermediates as auxiliary targets. Under a 2.5-GFLOP budget for 448×448 RAW inputs, it outperforms the strongest single-frame baseline by over 2 dB PSNR while improving texture, denoising, and color reproduction. LC-ISP supports realistic benchmarking, the design of supervision strategies, and the development of lightweight ISP models.
Kai Chen, Junyu Lou, Jinhua Zhang +2
University of Electronic Science and Technology of China
RAW-to-sRGB image signal processing (ISP) must recover perceptually faithful colors and fine details from sensor measurements, often under imperfect spatial alignment and missing camera metadata. This paper presents, to the best of our knowledge, the first application of visual autoregressive (VAR) next-scale prediction over a discrete image codebook to the RAW-to-sRGB ISP task. We adapt a frozen 1.10,B-parameter VAR backbone for RAW-conditioned ISP with only 32.93,M trainable parameters (2.99%), and propose a frequency-decomposed color loss that separately supervises low-frequency tone via wavelet LL cosine similarity and chromatic edges via detail-band ℓ1. On the Zurich RAW-to-sRGB benchmark, the method improves PSNR-Y from 21.31 to 21.89,dB and reduces LPIPS from 0.276 to 0.218 on the full 1,204-image test set. Diagnostic experiments show that the VAR prior preserves structure well, but continuous color transfer remains the dominant bottleneck: oracle affine correction recovers 3.8,dB, while learned color heads yield marginal gains.
Tailai Chen, Xiaotong Luo, Yuan Gao +2
OmniVision-IDT Joint Laboratory for Intelligent Image Sensing, Ningbo Key Laboratory of Spatial Intelligence and Digital Derivative, Ningbo Institute of Digital Twin, Eastern Institute of Technology, Ningbo; Zhejiang Key Laboratory of Industrial Intelligence and Digital Twin · The Hong Kong Polytechnic University