TL;DR
LG-FiLM introduces a scene-adaptive "Mixture-of-Experts" (MoE) module at the bottleneck of a neural Image Signal Processor (ISP). By modulating shared features with affine transformations predicted from both local and global context, the model achieves state-of-the-art RAW-to-RGB reconstruction fidelity while maintaining a single, efficient processing pathway.
What Problem Does This Paper Address?
Traditional Image Signal Processors (ISPs) in smartphones must make complex decisions—like how much to denoise or how to map high-dynamic-range tones—that depend entirely on the scene. A backlit sunset requires a different tone curve than an indoor portrait.
Most current "neural ISPs" learn a single, fixed transformation for all images. While some use attention mechanisms, they often lack an explicit way to switch between different "processing modes" for different regions. Purely global signals can't handle local variations, and purely local signals can't determine the overall "look" a scene should have. LG-FiLM aims to bridge this gap by making adaptation an explicit, steerable part of the network architecture.
Methods
The authors propose a U-Net-style encoder-decoder backbone with a novel Local-Global Feature Modulation (LG-FiLM) module at the bottleneck.
Key components include:
- Local-Global Conditioning: At the bottleneck, the model extracts local evidence (via a 3x3 depthwise convolution) and a global scene descriptor (via global average pooling). These are concatenated to drive the adaptation.
- Mixture of Affine Experts: Instead of heavy convolutional branches, the model uses 8 "experts" that are small MLPs. These experts predict affine parameters—scales ($\gamma$) and shifts ($\beta$)—to modulate the bottleneck features.
- Soft Fusion Router: A router predicts mixing weights for these experts at every spatial location. Crucially, the model uses "soft fusion," meaning it calculates a weighted average of the experts' parameters rather than picking just one. This allows the model to interpolate smoothly between different processing modes.
- Shared Pathway: The heavy lifting of reconstruction is done by a shared encoder and decoder. The MoE module only acts as a low-dimensional "tuner" at the bottleneck, keeping the parameter count low.
Datasets
The model was evaluated on three distinct domains:
- Fujifilm UltraISP: The primary benchmark, pairing mobile sensor RAW data with high-quality Fujifilm RGB references.
- Zurich RAW to RGB (ZRR): A cross-sensor dataset mapping Huawei P20 RAW measurements to Canon 5D Mark IV photographs.
- InvISP-derived COCO: A synthetic benchmark created by applying an "inverse ISP" to standard COCO images to test how well the architecture generalizes to structurally different RAW data.
Key Insights and Ideas
- Global for Mode, Local for Strength: The authors found that global context is essential for selecting the "processing mode" (e.g., the overall tone mapping style), while local context helps determine how strongly that mode should be applied to preserve specific details.
- Interpolation is Key: The "soft" mixture outperforms "hard" selection (picking the single best expert). This suggests that the optimal ISP settings for a specific pixel often lie in the continuous space between learned expert behaviors.
- Explicit vs. Implicit Adaptation: By isolating the adaptation to the bottleneck, the authors can "bypass" or "freeze" the modulation to inspect exactly what the experts are contributing. They proved that the experts actually specialize; for example, certain experts focus on brightening shaded foregrounds while others manage bright skies.
Key Results
- State-of-the-Art Performance: On the Fujifilm UltraISP benchmark, LG-FiLM reached 24.998 dB PSNR, outperforming all entries from the MAI 2026 challenge and improving upon the RMFA-Net baseline by 0.62 dB.
- Efficiency: The MoE module adds only 0.268M parameters to a 1.4M parameter backbone (a ~19% increase) but provides a massive boost in reconstruction fidelity.
- Qualitative Fidelity: The model excels at maintaining plausible white balance and gradients in challenging areas like foliage and skies, even at full resolution.
Limitations and Future Work
- Inference Latency: While parameter-efficient, evaluating all experts at every token is computationally expensive. At 4K resolution (3968 x 2976), the model takes about 131ms on an NVIDIA L40S. The authors suggest that future work could involve "sparse" routing (only running a subset of experts) to save time.
- Lighting Diversity: The primary training set (Fujifilm UltraISP) consists mostly of daytime scenes. Testing the model's adaptive capabilities in extreme low-light or highly varied artificial lighting remains a task for future research.
- Token Reduction: The authors note that the module accounts for 44% of wall-clock time despite being only 21% of the GFLOPs, suggesting that reducing the number of tokens processed at the bottleneck could yield significant speedups.
Summary updated