TL;DR
ExpandNet is a specialized multiscale convolutional neural network designed to "upconvert" standard low dynamic range (LDR) images into high dynamic range (HDR) content. By using a unique three-branch architecture that avoids traditional upsampling layers, it reconstructs missing information lost to clipping and quantization while avoiding common deep-learning artifacts like checkerboard patterns or color bleeding.
What Problem Does This Paper Address?
While HDR displays and pipelines are becoming standard, the vast majority of existing visual content—from legacy films to mobile photos—is stored in LDR. Converting LDR to HDR is an "ill-posed" problem: when an image is captured in LDR, information is permanently lost due to sensor clipping (blown-out highlights), quantization (banding), and tone mapping.
Traditional "Inverse Tone Mapping Operators" (iTMOs) rely on hand-crafted heuristics that often struggle with badly exposed photos. Recent deep learning attempts often use "U-Net" architectures which, while powerful, frequently introduce "checkerboard" artifacts or "halo" effects due to the way they resize data internally. ExpandNet aims to provide a fully automatic, data-driven solution that produces clean, artifact-free HDR reconstructions.
Methods
The core innovation is the ExpandNet architecture, which processes the input image through three parallel branches, each specializing in a different spatial scale:
- Local Branch: Focuses on high-frequency details and pixel-level features using a small receptive field (5x5).
- Dilation Branch: Uses dilated convolutions to capture medium-range features (17x17 receptive field) without losing spatial resolution. This helps the model understand the neighborhood around a pixel to better "hallucinate" missing data.
- Global Branch: Resizes the entire image to a small 256x256 block and compresses it down to a 1x1 vector to capture the overall "context" and lighting of the scene.
Key Technical Choices: * No Upsampling: Unlike most image-to-image networks, the local and dilation branches never downsample the image. This intentionally avoids the need for upsampling layers (like deconvolution), which the authors identify as the primary cause of structural artifacts in HDR expansion. * Hybrid Loss Function: The model is optimized using a combination of $L_1$ loss (for structural accuracy) and Cosine Similarity. The latter is crucial for HDR, as it ensures the RGB color vectors point in the right direction even when the brightness (magnitude) is very low, preventing nasty color shifts in shadows. * SELU Activations: The network uses Scaled Exponential Linear Units to maintain self-normalizing properties, leading to more stable training.
Datasets
The authors curated a dataset of 1,013 HDR images for training and 50 test images (primarily from the Fairchild database).
- On-the-fly Augmentation: To make the model robust, they didn't just train on "perfect" LDR images. During training, they used five different Tone Mapping Operators (TMOs) and random exposure settings to create a wide variety of LDR/HDR pairs from a single source image.
- Culling: They specifically tested a "culling" scenario where the top and bottom 10% of luminance are intentionally clipped to simulate extremely poor exposure.
Key Insights and Ideas
- Scale Specialization: By separating the network into local, medium (dilation), and global branches, the model can simultaneously worry about sharp edges, local gradients, and the overall "vibe" of the lighting.
- The "Anti-Upsampling" Stance: The authors argue that for HDR expansion, maintaining the original resolution throughout the primary branches is better than the "bottleneck" approach used in autoencoders. This prevents "information bleeding" where color from a bright area leaks into a dark area.
- Synthetic Variety: Training on multiple different TMOs allows the network to learn the inverse of many different camera response curves, making it a "universal" expander rather than one tuned to a specific camera brand.
Key Results
ExpandNet was compared against seven traditional iTMOs and three other state-of-the-art CNN architectures (including U-Nets).
- Quantitative: ExpandNet achieved the highest scores in PSNR and HDR-VDP-2.2 (a metric that simulates human perception of HDR quality), particularly in the difficult "culling" (badly exposed) tests.
- Qualitative: Visually, ExpandNet produced much smoother results in overexposed regions. While U-Net-based models often showed "blocking" or "banding" in the sky or on smooth surfaces, ExpandNet’s output remained clean.
- Efficiency: The model is parameter-free at inference time (no manual tuning needed) and performs well even on images that were not seen during training.
Limitations and Future Work
- Temporal Coherence: The current model processes images frame-by-frame. For video, this can lead to "flicker" because the global branch might calculate slightly different lighting contexts for consecutive frames.
- Extreme Hallucination: While it handles clipping well, it cannot perfectly reconstruct complex textures (like a face or a sign) that are 100% "white out" clipped; it can only estimate the likely luminance and smooth color.
- Memory Usage: Because the local and dilation branches maintain full resolution, the memory footprint can be higher than architectures that compress the image early on.
Summary updated