Conceptio › Archive › arXiv CS
arXiv CSopen access

Bridging the Training-Deployment Gap: Gated Encoding and Multi-Scale Refinement for Efficient Quantization-Aware Image Enhancement

2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
knowledge-representationreasoning
artificial intelligence, reasoning, knowledge representation

Bridging the Training-Deployment Gap: Gated Encoding and Multi-Scale Refinement for Efficient Quantization-Aware Image Enhancement Dat To-Thanh1,5

Nghia Nguyen-Trong2,5

Hoang Vo1,5

Hieu Bui-Minh3

Tinh-Anh Nguyen-Nhu4,5†

1

University of Science, VNU-HCM, Vietnam University of Information Technology, VNU-HCM, Vietnam 3 Da Nang University of Economics, Vietnam 4 Ho Chi Minh University of Technology, VNU-HCM, Vietnam 5 Vietnam National University, Ho Chi Minh City, Vietnam † Corresponding author

arXiv:2604.21743v1 [cs.AI] 23 Apr 2026

2

Abstract Image enhancement models for mobile devices often struggle to balance high output quality with the fast processing speeds required by mobile hardware. While recent deep learning models can enhance low-quality mobile photos into high-quality images, their performance is often degraded when converted to lower-precision formats for actual use on mobile phones. To address this trainingdeployment mismatch, we propose an efficient image enhancement model designed specifically for mobile deployment. Our approach uses a hierarchical network architecture with gated encoder blocks and multiscale refinement to preserve fine-grained visual features. Moreover, we incorporate Quantization-Aware Training (QAT) to simulate the effects of low-precision representation during the training process. This allows the network to adapt and prevents the typical drop in quality seen with standard post-training quantization (PTQ). Experimental results demonstrate that the proposed method produces high-fidelity visual output while maintaining the low computational overhead needed for practical use on standard mobile devices. The code will be available at https://github.com/GenAI4E/QATIE.git.

1. Introduction Recent advances in deep learning and computer vision have led to remarkable performance across a wide range of tasks [24, 33], including image retrieval [26, 27], visual question answering [25, 28]. Besides, smartphone photography has become the dominant imaging modality for billions of users, yet a substantial perceptual gap remains between images captured by low-end mobile devices and those pro-

duced by Digital Single-Lens Reflex (DSLR) cameras. This gap is rooted in hardware limitations, including small sensors and compact optics, which collectively degrade signalto-noise ratio, dynamic range, color fidelity, and sharpness. To address these limitations, recent advances in deep learning have introduced Deep Image Signal Processing (Deep ISP) models that learn end-to-end mappings from lowquality mobile images to high-quality DSLR outputs, effectively replacing or augmenting traditional ISP pipelines through data-driven optimization [11, 30]. In this work, we consider the image enhancement setting, where paired images are synchronously captured using an iPhone 3GS and a Canon 70D DSLR, enabling supervised learning of a direct smartphone-to-DSLR transformation [11]. This task requires the joint correction of noise, blur, color distortions, and tone inconsistencies in a single forward pass. Prior works [4, 11, 18, 30] have demonstrated that combining pixel-wise, perceptual, and adversarial losses is critical for achieving visually plausible results in this setting. However, these approaches are typically developed and evaluated under full-precision assumptions, and existing quantization techniques do not adequately account for the distributional characteristics of Deep ISP features under real-world mobile deployment [17, 19]. Some challenge reports [14, 16] explicitly emphasize the strict runtime constraints on mobile hardware. In particular, models are required to process FullHD images ondevice using mobile inference frameworks such as TensorFlow Lite [17], while maintaining high perceptual quality and avoiding visible artifacts. This introduces a fundamental training–deployment mismatch: models are optimized in continuous full/half-precision domains (FP32/FP16), but executed under 8-bit quantized settings (i.e., INT8), where numerical precision and dynamic range are severely con-

strained. As a result, models that perform well during training often degrade significantly after deployment, especially when evaluated under realistic latency constraints. This mismatch is particularly critical for high-fidelity pixel-level tasks such as image enhancement and superresolution [20]. Unlike classification tasks, where feature representations are relatively robust to quantization noise, Deep ISP models exhibit highly sensitive activation distributions that are long-tailed, asymmetric, and strongly inputdependent [22, 32]. Moreover, activation outliers are often closely tied to color and luminance information, such that improper quantization can lead to perceptually severe artifacts, including color shifts, banding, and texture distortions. These properties suggest that existing quantization pipelines, when applied after full-precision training, are insufficient to maintain perceptual fidelity in Deep ISP. Moreover, existing QAT approaches are primarily designed for high-level vision tasks and do not explicitly model the color-sensitive and heavy-tailed activation distributions that are critical for pixel-level image reconstruction. To address this challenge, we advocate a deploymentconsistent optimization paradigm: optimize the model that will be deployed. Specifically, we introduce QuantizationAware Training (QAT) into the training framework, as shown in Figure 2, allowing the model to learn representations that are inherently robust to quantization effects. Although QAT has been widely studied in high-level vision tasks, its application to Deep ISP has been largely unexplored in previous work [10, 11, 30]. By simulating quantization during training via fake quantization operators and gradient approximations [1, 17, 19], QAT aligns the training objective with the deployment environment, mitigating the degradation introduced by 8-bit inference. Our contributions are summarized as follows:

• We identify the specific challenges of model quantization in pixel-level image enhancement, highlighting the causes of performance degradation during mobile deployment. • We introduce a training framework that incorporates Quantization-Aware Training (QAT) specifically designed to minimize this degradation and ensure deployment-consistent optimization. • We demonstrate the high scalability of our proposed models, showing that they maintain an effective balance between computational efficiency and perceptual output quality. • We validate that our model exhibits low computational overhead and efficient resource management, ensuring feasibility for deployment on standard commercial mobile devices.

2. Related Works 2.1. Deep ISP and Photo Enhancement Recent advances in deep learning have enabled Deep Image Signal Processing (Deep ISP), where end-to-end models directly learn mappings from raw or degraded inputs to high-quality sRGB outputs, effectively replacing traditional hand-crafted ISP pipelines [3, 8, 11, 29]. The DPED benchmark is a seminal work in this direction, introducing paired smartphone–DSLR data and demonstrating the importance of perceptual loss formulations for realistic enhancement [11]. Subsequent work, such as DeepISP, further explores end-to-end ISP learning from RAW inputs [30], while Learning to See in the Dark highlights the effectiveness of deep models under extreme low-light conditions [4]. In parallel, image enhancement methods have explored diverse formulations to improve perceptual quality and robustness. Zero-DCE formulates enhancement as pixelwise curve estimation without paired supervision [7], while MIRNet leverages multi-scale feature fusion to capture complex spatial dependencies for restoration [36]. Weakly supervised approaches such as WESPE relax alignment requirements but often introduce trade-offs in pixel-level fidelity and color consistency [12]. However, these methods are predominantly developed and evaluated under full-precision settings, and do not explicitly consider deployment constraints or robustness under quantized inference, limiting their applicability in realworld mobile scenarios.

2.2. Efficient Mobile Vision and Quantization Quantization has emerged as a key technique for efficient inference on edge devices [5, 6, 17, 19, 23]. Integeronly inference frameworks demonstrate that lower-bit representations can significantly improve latency and energy efficiency when co-designed with hardware [17]. Quantization-Aware Training (QAT) further improves accuracy by incorporating quantization effects during training, with representative methods such as LSQ learning quantization step sizes [6] and PACT optimizing activation clipping [5]. Despite these advances, existing quantization methods are primarily designed for high-level vision tasks such as classification, where global semantic representations are relatively robust to quantization noise [19]. They do not explicitly account for the sensitivity of pixel-level reconstruction tasks, where small perturbations can lead to noticeable visual degradation [23].

2.3. Quantization for Image Restoration Quantizing image restoration models is highly challenging because their activation distributions are non-Gaussian, long-tailed, asymmetric, and strongly input-dependent [21,

32]. To address this in super-resolution, recent post-training quantization (PTQ) approaches rely on targeted calibration, such as using density-based dual clipping with pixel-aware calibration [32] or dual-stage bound initialization refined by knowledge distillation [9, 21]. While effective for superresolution, these joint optimization strategies remain largely underexplored for Deep ISP and high-fidelity photo enhancement. Because extreme activations in these models are closely tied to color representation, standard quantization can introduce severe visual artifacts, introducing a critical need for new techniques that explicitly combine Deep ISP architectures with quantization-aware optimization.

3. Proposed Method In this section, we detail the proposed hybrid architecture for RGB image enhancement, the choice of loss functions and the Quantization-Aware Training (QAT) strategies used to achieve high-fidelity enhancement. An overview of the proposed framework is illustrated in Figure 1.

3.1. Network Architecture The proposed model adopts a three-scale hierarchical structure to effectively balance global context aggregation and fine-grained texture preservation. 3.1.1. Gated Encoder Block The encoder block, inspired by the Downblock architecture provided by the DaHua-IIG team [16], is designed to progressively reduce spatial resolution while capturing rich semantic hierarchies. Each down-sampling stage is implemented via a Gated Down-sampling Block, which employs a dual-branch architecture to perform simultaneous feature extraction and non-linear gating. In our specific architecture, these blocks are sequentially applied to compress the original spatial resolution S down to intermediate S/2 and S/4 scales. Specifically, given an input tensor X ∈ RCin ×H×W , the block utilizes two parallel convolutional branches, Fa and Fb . The intermediate feature maps, xa and xb , are obtained by applying a hyperbolic tangent activation function:

\mathbf {x}_a = \tanh (\mathcal {F}_a(\mathbf {X})), \quad \mathbf {x}_b = \tanh (\mathcal {F}_b(\mathbf {X}))

(1)

To effectively modulate the information flow, we introduce an element-wise gating mechanism. The primary gated feature stream, xg , is calculated as the Hadamard product of the two branches: \mathbf {x}_g = \mathbf {x}_a \odot \mathbf {x}_b

(2)

This gating operation serves as a lightweight spatialchannel attention mechanism, where xb can be interpreted

as a soft mask that filters the activations of xa (and vice versa). Unlike standard architectures that only propagate the final output of a block, our Gated Encoder preserves the triplet (xa , xg , xb ) at each stage. This entire triplet is forwarded to the corresponding decoder layer via a multichannel skip connection. While xg continues through the main encoding path to form deeper high-level representations, the inclusion of xa and xb in the skip connection ensures that the decoder retains access to both filtered semantic information and raw directional features. This multi-stream redundancy facilitates a more precise reconstruction of finegrained spatial details that might otherwise be suppressed by the gating operation. 3.1.2. Multi-Scale Refinement To improve feature quality across different spatial resolutions, we leverage a Multi-Scale Refinement strategy [31] that is consistently applied throughout both the encoder and decoder pathways. This design enables the network to jointly preserve the global illumination structure and local texture details, which is particularly important for image enhancement. Formally, after each gated down-sampling stage, the main propagated feature xg is refined as \tilde {\mathbf {F}} = \mathcal {R}(\mathbf {x}_g),

(3)

where R(·) denotes the refinement operator implemented by a UNet-style residual convolutional block. In the proposed model, this refinement is applied at scale S/2 and S/4 in the encoder, as well as at the bottleneck representation at scale S/8. As a result, the network progressively enhances feature discriminability while preserving structurally meaningful information across scales. Each refinement block is composed of a sequence of convolutional transformations with residual learning. Given an input feature F, the block first applies a 3 × 3 convolution followed by instance normalization and LeakyReLU activation to generate an intermediate representation. In parallel, a lightweight 1 × 1 convolution is applied to the original feature to preserve low-level information. The two streams are concatenated and further processed by stacked convolutions, while an additional 1 × 1 projection is used to form a residual shortcut. The final refined feature is obtained by adding the transformed feature and the shortcut output. This design improves representation capacity without significantly increasing computational cost. In the decoder, multi-scale refinement is performed after feature fusion at each reconstruction stage. Specifically, the upsampled decoder feature, the refined encoder feature at the corresponding scale, and the preserved skip feature are concatenated and first compressed by a 1 × 1 convolution.

Figure 1. The proposed hybrid architecture for RGB image enhancement. The model features a three-scale hierarchical structure comprising Gated Encoder Blocks with multichannel skip connections, Multi-Scale Refinement modules applied at scales S/2, S/4, and S/8, and a Multi-branch Feature Fusion strategy in the decoder to aggregate multi-level semantic features for high-fidelity restoration.

The reduced feature is then passed through another refinement block: \hat {\mathbf {F}} = \mathcal {R}\big (\phi ([\mathbf {F}_{up}, \mathbf {F}_{enc}, \mathbf {F}_{skip}])\big ),

(4)

where [·] denotes channel-wise concatenation and ϕ(·) is the channel reduction operator. This refinement after fusion helps to reconcile coming information from different semantic levels, leading to a more stable reconstruction and better preservation of image details. By inserting refinement modules at multiple resolutions namely S/2, S/4, and the bottleneck scale S/8 - the model can simultaneously capture coarse illumination patterns and fine-grained local structures. This hierarchical refinement mechanism is crucial for enhancing images, where both global brightness adjustment and local detail recovery must be handled in a unified manner. 3.1.3. Decoder and Feature Fusion The decoder path [16] is designed to restore spatial resolution and reconstruct the enhanced image by aggregating features from multiple semantic levels. This recovery process is facilitated through successive up-sampling stages combined with a specialized Multibranch Feature Fusion strategy. At each decoding scale, the network ensures a comprehensive and feature-rich reconstruction by concatenating three distinct information streams along the channel

dimension. Specifically, the fusion integrates high-level semantic context propagated as upsampled features from the deeper decoder layers, refined encoder features that have been processed through a UNet-style convolutional block to maintain semantic consistency, and raw skip features consisting of the concatenated directional cues (xa , xb ) from the encoder’s gated branches. This triple-stream concatenation allows the model to recover fine-grained spatial details while maintaining global structural integrity. Because this concatenation significantly expands the channel capacity, a 1 × 1 convolutional layer is immediately applied. This pointwise convolution acts as a channelwise dimensionality reduction, compressing the channels back to a manageable size while allowing the network to learn optimal linear combinations of the three distinct feature streams. Following this reduction, the fused tensor is passed through a Refinement Block. This dense convolutional stage harmonizes the aggregated features, smoothing out inconsistencies and ensuring structural integrity before the next up-sampling step.

3.2. Loss Function To supervise the network across multiple dimensions, including pixel fidelity, structural consistency, and robustness, we employ Peak Signal-to-Noise Ratio (PSNR) loss, the

Cosine Similarity loss, and the Outlier-Aware loss [35]. Given a ground truth image I H×W and an output image from the model IˆH×W , the normalized PSNR loss is formulated by first determining the Root Mean Squared Error (RMSE):

\text {RMSE} = \sqrt {\frac {1}{HW} \sum _{i=1}^{H} \sum _{j=1}^{W} (\hat {I}_{i,j} - I_{i,j})^2}

(5)

Using the RMSE, the Peak Signal-to-Noise Ratio (PSNR) is calculated as follows: \label {eq:psnr} \text {PSNR} = 20 \cdot \log _{10} \left ( \frac {MAX_I}{\text {RMSE}} \right )

(6)

where M AXI represents the maximum possible pixel value (e.g., 1.0 or 255). Finally, to maximize the PSNR, the final loss function LP SN R is formulated by normalizing the value to a [0, 1] range (assuming a baseline of 50.0):

computational graph. Mechanically, as shown in the top pipeline of Figure 2, FakeQuant temporarily maps weights and activations to discrete levels during the forward pass while maintaining overall FP32 computation. Because discrete rounding is non-differentiable, the backward pass utilizes a Straight-Through Estimator (STE) [2] to route gradients past these nodes, enabling continuous updates to the underlying FP32 weights. By simulating these hardware quantization effects during training, the network proactively learns to compensate for precision loss and rounding errors. This optimization phase refines the entire architecture using a reduced learning rate of 0.00001. Following QAT, the model is seamlessly converted into a INT8 representation (bottom of Figure 2), drastically reducing the memory footprint for mobile inference while preserving high-fidelity enhancement results.

4. Experiments 4.1. Experimental Settings

\mathcal {L}_{PSNR} = \frac {50.0 - \text {PSNR}}{100.0}

(7)

The Cosine Similarity loss enforces structural integrity by aligning the direction of outputs and ground truth images: \mathcal {L}_{cos} = 1 - \frac {\mathbf {I} \cdot \mathbf {\hat {I}}}{\|\mathbf {I}\| \|\mathbf {\hat {I}}\|} = 1 - \frac {\sum _{i=1}^{n} I_i \hat {I}_i}{\sqrt {\sum _{i=1}^{n} I_i^2} \sqrt {\sum _{i=1}^{n} \hat {I}_i^2}}. (8) The total loss function Ltotal is then formulated as: \label {eq:totalloss} \mathcal {L}_{total} = \alpha \cdot \mathcal {L}_{PSNR} + \beta \cdot \mathcal {L}_{cos} + \gamma \cdot \mathcal {L}_{out},

(9)

where LP SN R , Lcos , and Lout represent the PSNR loss, the Cosine Similarity loss, and the Outlier-Aware loss, respectively. This joint objective ensures that the model recovers both global illumination and fine-grained textures while remaining robust against localized artifacts during the training phase. Specifically, the PSNR loss focuses on high-quality pixel reconstruction, the Cosine Similarity loss enforces directional alignment of feature vectors for structural integrity, and the Outlier-Aware loss is employed to stabilize the learning process by dynamically weighting pixels based on the error distribution, preventing the gradients from being dominated by extreme values.

3.3. Quantization-Aware Training Optimization (QAT) To ensure the proposed model is hardware-friendly and efficient for mobile deployment, we incorporate QuantizationAware Training (QAT) as a final optimization stage, as illustrated in Figure 2. The core of this process is Fake Quantization (FakeQuant), which introduces simulated lowerprecision operations, e.g. clamping and rounding, into the

Implementation Details. We implement our model in PyTorch and use the Pytorch Lightning library to train. We use the Adam optimizer with a cosine annealing learning rate schedule with warmup, starting at 0.00001. A 5-epoch warm-up phase is applied with learning rate gradually increases to 0.0001. The model is trained for more than 62k iterations (50 epochs) with an effective batch size is 128 and gradient accumulation of 2 steps. Furthermore, the model is trained with bfloat16 precision to reduce the training time and trained with gradient clipping to the [-1.0, 1.0] range for better training stability. We choose α = 2.0, β = 1.0, γ = 1.0 for weights of total loss Equation (9). All training are done on a single NVIDIA RTX A6000 GPU. Inference latency is evaluated by exporting models to the TFLite format and benchmarking them on a Snapdragon 8 Gen 2 smartphone with Full HD (1920 × 1080) input images. All latencies are recorded using the AI Benchmark application [13, 15]. Dataset and Metrics. The model is trained primarily on more than 160k pairs of 100x100 patches taken from iPhone and Canon DSLR images from DPED [11] dataset. The evaluation is performed on a validation set consisting of 9310 pairs of 100x100 test patches taken from iPhone, Sony, Blackberry from the same dataset. We adopt two objective evaluation metrics: Peak Signal-to-Noise Ratio (PSNR) (using Equation (6)) and Structural SIMilarity (SSIM) [34].

4.2. Results 4.2.1. Quantitative Results As detailed in Table 1, our model achieved second place overall in the Mobile AI 2026 RGB Image Enhancement Challenge. With a PSNR of 21.82 dB and an SSIM of

Figure 2. Quantization-Aware Training (QAT) and inference pipelines. (Top) QAT simulates low-precision effects via FakeQuant nodes during the forward pass while maintaining FP32 compute. To bypass non-differentiable quantization steps, the backward pass uses the Straight-Through Estimator (STE) to route gradients and update FP32 weights, minimizing the loss (Ltotal ) against the ground truth (GT). (Bottom) Post-training, the model is converted to a purely INT8 representation for efficient integer-only inference.

0.7653, the model ensures high structural fidelity, while a MOS of 3.2 contributes to a competitive Final Score of 3.8. Consequently, our entry ranked second in the competition for both reconstruction precision and total score. 4.2.2. Qualitative Results Figure 3 presents a qualitative comparison between the input image, the baseline [11], PPCN [10], and our model evaluated on the DPED dataset. As observed in the zoomedin crops, our full-precision (FP32) model effectively reconstructs sharp details and textures, such as the text on the license plate. This strong reconstruction capability allows it to achieve a visual quality highly comparable to the established baseline and PPCN methods. Furthermore, the comparison demonstrates the significant degradation that occurs when converting to 8-bit precision using a direct PostTraining Quantization (PTQ) model. This PTQ approach suffers from severe color shifts, such as the pink sky, alongside noticeable noise artifacts shown in the cropped part. In contrast, our 8-bit model trained with Quantization-Aware Training (QAT) successfully mitigates these issues, restoring overall color fidelity and fine structural details to recover a visual quality that closely matches the FP32 model.

4.3. Ablation Studies We conducted several ablation studies to validate the architectural components and quantization strategies of our model. All variants are trained with a fixed channel width of c = 32, utilizing the composite loss Ltotal and identical hyperparameter configurations.

4.3.1. Block ablation The full model utilizes the complete multi-scale refinement strategy. This includes Resolution Refiner blocks R(·) on the encoding path (S/2, S/4) and Fuse Refiner blocks R(·) post-fusion in the decoder. The final output is formed through a global residual connection: y = clip(x + δ). Resolution Refinement. This variant evaluates the contribution of encoder-side multi-scale refinement. We replace the deep refinement operators R(xg ) at the S/2 and S/4 scales with a lightweight stack consisting of a single 3 × 3 convolution followed by LeakyReLU. Fusion Refinement. To isolate the impact of decoderside refinement, we target the blocks immediately following Multi-branch Feature Fusion. While preserving the threestream fusion layout and the compression operator ϕ(·), the post-fusion refinement blocks R(·) at S/4 and S/2 are replaced by a lightweight 3 × 3 convolution and LeakyReLU stack. Residual Formulation. This variant modifies the global image formation without altering the internal architecture. The global skip connection is removed, forcing the network to predict the final enhanced image directly: y = clip(δ). Consequently, the model must explain the full pixel intensities rather than a residual correction to the input observation. Results. As detailed in Table 2, the full model represents our computational upper bound with a latency of 469 ms. Our analysis identifies the refinement stages as the primary latency drivers: removing the Resolution Refiner yields the most significant throughput gain, reducing the inference time by 49.47% (to 237 ms), while removing the Fusion Refiner reduces the latency to 396 ms. However,

Table 1. Results of our proposed model and other methods on Mobile AI 2026 sRGB image enhancement challenge. The runtime values were obtained on 1024×1024 images. Team

PSNR↑ SSIM↑ MOS↑ Adreno GPU, ms↓ Arm GPU, ms↓ Final Score

DaHua-IIG Capybara (Our) DH-XHDL-Team

22.20 21.82 20.55

0.7881 0.7653 0.7601

4.1 3.2 1.2

23.8 291.0 30.8

60.4 266.0 52.4

163.0 3.8 0.28

both variants are disqualified as their PSNR falls below the mandatory 22 dB threshold. Conversely, the global residual skip connection is computationally inexpensive, incurring a negligible 5 ms overhead, yet its removal significantly degrades PSNR by 0.165 dB. These results confirm that while the refinement stages are essential for meeting challenge fidelity requirements, the residual path provides critical quality gains with minimal impact on throughput. Table 2. Ablation study of architectural components. PSNR and SSIM are reported on the DPED validation set. Latency of models are evaluated on Full HD images, using FP16 inference mode and TFLite GPU Delegate. Bold numbers indicate the best performing metric in their respective columns (highest for PSNR and SSIM, lowest for latency). Variant

PSNR↑

SSIM↑

Latency (ms)

Full w/o Residual w/o Fusion Refiner w/o Res Refiner

22.194 22.029 21.940 20.398

0.796 0.793 0.793 0.789

469 (± 0.99) 464 (± 1.34) 396 (± 1.55) 237 (± 1.24)

4.3.2. Channel Ablation To evaluate model scalability, we vary the base channel width c ∈ {16, 24, 32, 64}, which proportionally scales layers within the hybrid U-Net. Increasing c enhances representational capacity and receptive field richness but raises memory usage and latency, while smaller widths target compute-constrained edge deployment. Each configuration is trained using a consistent setting, with performance reported on the DPED validation set alongside inference time for 1920 × 1080 inputs. Results. Table 3 illustrates the trade-offs between channel width, restoration quality, and latency. While c = 16 is the fastest (180 ms), it is excluded as its 21.875 dB PSNR fails the 22 dB challenge threshold. Among qualifying variants, c = 24 achieves the highest Final Score (0.2773) due to its 249 ms speed. However, we identify c = 32 as the optimal configuration; its 220 ms overhead over c = 24 is justified by significant improvements in PSNR of +0.159 dB and SSIM of +0.011. Compared to c = 64, c = 32 reduces latency by 67.24%, saving 963 ms, and parameters by 74.9% (from 3.651 M to 0.915 M) with minimal accuracy loss. Thus, c = 32 bypasses the diminishing returns of

Figure 3. Qualitative results on image 01 of the full-size test subset of iPhone in the DPED dataset. The comparison includes the input image, baseline [11], PPCN [10], and our models (direct 8bit PTQ, 8-bit QAT, and FP32). Table 3. Channel-width ablation on DPED validation. Latency are evaluated on Full HD images, using FP16 inference mode and TFLite GPU Delegate.. Bold numbers indicate the best performing metric in their respective columns (highest for PSNR and SSIM, lowest for Latency). c

PSNR↑

SSIM↑

Params (M)

Latency (ms)

16 24 32 64

21.875 22.035 22.194 22.359

0.781 0.785 0.796 0.806

0.23 0.516 0.915 3.651

180 (± 13.8) 249 (± 1.12) 469 (± 0.99) 1432 (± 15.7)

higher capacities, offering a superior balance of fidelity and throughput for real-time applications. 4.3.3. Loss functions ablation We evaluate two loss objectives to determine their impact on training efficiency and model performance. Our loss, inspired by [35], prioritizes luminance fidelity and global alignment through PSNR loss, cosine similarity, and outlier-aware loss. We consider another loss combination, namely Loss variant 1, which modifies this approach by replacing the cosine similarity component with Multi Scale Structural SIMilarity (MSSSIM) (λ = 100) while maintaining the same PSNR and outlier weights. Results. The ablation results presented in Table 4 demonstrate that our proposed loss achieves an optimal balance between pixel-wise accuracy and training efficiency. It reaches a higher PSNR of 22.194 dB with a significantly

Table 4. Loss ablation under identical architecture and training protocol. Bold number are the highest in the column. Loss Our loss Loss variant 1

Train (hours)

PSNR↑

SSIM↑

1.67 8.58

22.194 19.79

0.796 0.8763

shorter training time of 1.67 hours. While Loss variant 1 yields an improvement in structural similarity (achieving an SSIM of 0.8763 compared to our 0.796), it comes at a substantial computational cost of using MSSSIM, requiring 8.58 hours of training, and results in a lower overall PSNR of 19.79 dB. These findings indicate that while Loss variant 1 can enhance structural integrity, our loss formulation provides a much more practical objective for frameworks that prioritize rapid training convergence and overall luminance fidelity. 4.3.4. Quantization-Aware Training To support deployment on integer-based and edge accelerators, we evaluate INT8 quantization alongside FP16 precision using both Post-Training Quantization (PTQ) and Quantization-Aware Training (QAT). For the INT8 setup, we use symmetric INT8 weights and UINT8 activations with moving-average observers, employing fakequantization nodes to emulate rounding noise during the forward pass. We compare four configurations: FP16 PTQ, FP16 QAT, INT8 PTQ, and INT8 QAT. Performance is measured by reconstruction accuracy (PSNR and SSIM) as well as inference latency across two acceleration types on the AI Benchmark application [13, 15], namely TFLite GPU delegate and Qualcomm Neural Network Hexagon Tensor Processor (QNN HTP). This allows us to quantify the trade-offs between hardware-friendly optimization, model fidelity, and real-world execution speed. Results. As detailed in Table 5, our QAT model significantly outperforms the INT8 PTQ counterpart, mitigating the severe quantization noise inherent in pixel-level restoration. By integrating quantization into the training loop, we achieve a PSNR of 21.050 dB (a +0.474 dB gain) and an SSIM of 0.725 (a +0.111 improvement). This substantial recovery in both pixel-wise accuracy and structural integrity validates our framework’s ability to maintain high-fidelity enhancement under 8-bit constraints. Moreover, the transition to INT8 unlocks significant latency reductions on dedicated edge hardware. Although shifting the TFLite GPU delegate from FP16 to INT8 precision reduces latency from 469 ms to 319 ms, the most significant performance improvements are achieved using the QNN HTP. Utilizing the QNN HTP with our INT8 QAT model reduces inference latency by approximately 72% compared to the FP16 baseline, dropping from 151 ms to 41.8 ms. These results demonstrate a nearly 3.6x speedup

Table 5. Quantization ablation and latency analysis. Performance is evaluated across FP32 and INT8 precisions. Inference latency of models are measured on two different optimizations: TFLite GPU delegate and Qualcomm Neural Network Hexagon Tensor Processor (QNN HTP). Bold numbers indicate the best performing metric in their respective columns (highest for PSNR and SSIM, lowest for INT8 latency). Model Type

PSNR↑

SSIM↑

TFLite GPU Delegate (ms)↓

QNN HTP (ms)↓

FP32 PTQ model QAT model (Our)

22.358 22.194

0.794 0.796

469 (± 0.73) 469 (± 0.99)

151 (± 1.58) 151 (± 0.94)

INT8 PTQ model QAT model (Our)

20.576 21.050

0.6139 0.725

319 (±1.53) 319 (±2.21)

41.4 (±0.76) 41.8 (±0.89)

on specialized accelerators, validating the necessity of INT8 QAT for efficient mobile deployment.

5. Conclusion In this paper, we address the training–deployment mismatch in mobile image enhancement by proposing an efficient hybrid architecture coupled with a deployment-consistent Quantization-Aware Training (QAT) framework. To balance global context aggregation with fine-grained texture preservation, we introduce a three-scale hierarchy featuring a Gated Encoder Block with multi-channel skip connections, Multi-Scale Refinement strategy, and a Multibranch Feature Fusion strategy. To translate these architectural advancements into practical mobile performance, we integrate QAT directly into the learning process, effectively mitigating the severe quantization degradation caused by sensitive activation distributions. Experiments on the DPED benchmark demonstrate that our models achieve near full-precision perceptual quality under INT8 inference with minimal computational overhead. By bridging the gap between theoretical architectural design and practical 8-bit quantization, this work establishes a robust, scalable paradigm for high-fidelity, edge-based vision applications.

References [1] Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013. 2 [2] Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation, 2013. 5 [3] Tim Brooks, Ben Mildenhall, Tianfan Xue, Jiawen Chen, Dillon Sharlet, and Jonathan T Barron. Unprocessing images for learned raw denoising. In CVPR, 2019. 2 [4] Chen Chen, Qifeng Chen, Jia Xu, and Vladlen Koltun. Learning to see in the dark. In CVPR, 2018. 1, 2 [5] Jungwook Choi, Zhuo Wang, Swagath Venkataramani, Pierce I-Jen Chuang, Vijayalakshmi Srinivasan, and K.

Gopalakrishnan. Pact: Parameterized clipping activation for quantized neural networks. In ICLR, 2018. 2 [6] Steven Esser, Jeffrey Mckinstry, Deepika Bablani, Rathinakumar Appuswamy, and Dharmendra Modha. Learned step size quantization. ICLR, 2020. 2 [7] Chunle Guo, Chongyi Li, Jichang Guo, Chen Change Loy, Junhui Hou, Sam Kwong, and Runmin Cong. Zero-reference deep curve estimation for low-light image enhancement. In CVPR, pages 1777–1786, 2020. 2 [8] Felix Heide, Markus Steinberger, Yun-Ta Tsai, Mushfiqur Rouf, Dawid Pajak, Dikpal Reddy, Orazio Gallo, Jing Liu, Wolfgang Heidrich, Karen Egiazarian, Jan Kautz, and Kari Pulli. Flexisp: A flexible camera image processing framework. ACM Transactions on Graphics, 33(6):231:1–231:13, 2014. 2 [9] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. 2015. 3 [10] Zheng Hui, Xiumei Wang, Lirui Deng, and Xinbo Gao. Perception-preserving convolutional networks for image enhancement on smartphones. In Proceedings of the European Conference on Computer Vision (ECCV) Workshops, 2018. 2, 6, 7 [11] Andrey Ignatov, Nikolay Kobyshev, Radu Timofte, Kenneth Vanhoey, and Luc Van Gool. Dslr-quality photos on mobile devices with deep convolutional networks. In ICCV, pages 3277–3285, 2017. 1, 2, 5, 6, 7 [12] Andrey Ignatov, Nikolay Kobyshev, Radu Timofte, Kenneth Vanhoey, and Luc Van Gool. Wespe: Weakly supervised photo enhancer for digital cameras. In CVPRW, pages 691– 700, 2018. 2 [13] Andrey Ignatov, Radu Timofte, William Chou, Ke Wang, Max Wu, Tim Hartley, and Luc Van Gool. Ai benchmark: Running deep neural networks on android smartphones. In Proceedings of the European Conference on Computer Vision (ECCV) Workshops, 2018. 5, 8 [14] Andrey Ignatov, Radu Timofte, Thang Van Vu, Tung Minh Luu, Trung X Pham, Cao Van Nguyen, Yongwoo Kim, Jae-Seok Choi, Munchurl Kim, Jie Huang, et al. Pirm challenge on perceptual image enhancement on smartphones: Report. In Proceedings of the European Conference on Computer Vision (ECCV) Workshops, pages 0–0, 2018. 1 [15] Andrey Ignatov, Radu Timofte, Andrei Kulik, Seungsoo Yang, Ke Wang, Felix Baum, Max Wu, Lirong Xu, and Luc Van Gool. Ai benchmark: All about deep learning on smartphones in 2019. In 2019 IEEE/CVF International Conference on Computer Vision Workshop (ICCVW), pages 3617– 3635, 2019. 5, 8 [16] Andrey Ignatov, Georgy Perevozchikov, Radu Timofte, Wu Pan, Song Wang, Dong Zhang, Zhao Ran, Xiaochen Li, Shichang Ju, Diankai Zhang, Biao Wu, Shaoli Liu, Si Gao, Chengjian Zheng, Ning Wang, Yi Feng, Cailu Wan, Xiangji Wu, Hailong Yan, Ao Li, Xiangtao Zhang, Zhe Liu, Ce Zhu, Le Zhang, Jinjie Zhou, Yang Lu, Feng Duo, Runhua Deng, Xuanyu Chen, Shuhui Xie, Guojie Xiao, Zhifeng Wang, Long Peng, and Aiwen Jiang. Rgb photo enhancement on mobile gpus, mobile ai 2025 challenge: Report. In CVPRW, pages 1913–1924, 2025. 1, 3, 4

[17] Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In CVPR, pages 2704–2713, 2018. 1, 2 [18] Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In ECCV, 2016. 1 [19] Raghuraman Krishnamoorthi. Quantizing deep convolutional networks for efficient inference: A whitepaper. arXiv:1806.08342, 2018. 1, 2 [20] Bee Lim, Sanghyun Son, Heewon Kim, Seungjun Nah, and Kyoung Mu Lee. Enhanced deep residual networks for single image super-resolution. In CVPRW, 2017. 2 [21] Kai Liu, Haotong Qin, Yong Guo, Xin Yuan, Linghe Kong, Guihai Chen, and Yulun Zhang. 2dquant: Low-bit posttraining quantization for image super-resolution. Advances in Neural Information Processing Systems, 37:71068–71084, 2024. 2, 3 [22] Markus Nagel, Mart van Baalen, Tijmen Blankevoort, and Max Welling. Data-free quantization through weight equalization and bias correction. In ICCV, pages 1325–1334, 2019. 2 [23] Seungjun Nah, Tae Hyun Kim, and Kyoung Mu Lee. Deep multi-scale convolutional neural network for dynamic scene deblurring. In CVPR, 2017. 2 [24] Le Thien Phuc Nguyen, Zhuoran Yu, Samuel Low Yu Hang, Subin An, Jeongik Lee, Yohan Ban, SeungEun Chung, Thanh-Huy Nguyen, JuWan Maeng, Soochahn Lee, and Yong Jae Lee. See, hear, and understand: Benchmarking audiovisual human speech understanding in multimodal large language models, 2025. 1 [25] Tien-Huy Nguyen, Quang-Khai Tran, and Anh-Tuan QuangHoang. Improving generalization in visual reasoning via self-ensemble, 2024. 1 [26] Tien-Huy Nguyen, Huu-Loc Tran, Huu-Phong PhanNguyen, and Quang-Vinh Dinh. Hybrid, unified and iterative: A novel framework for text-based person anomaly retrieval, 2025. 1 [27] Tien-Huy Nguyen, Huu-Loc Tran, and Thanh Duc Ngo. Itself: Attention guided fine-grained alignment for visionlanguage retrieval, 2026. 1 [28] Tinh-Anh Nguyen-Nhu, Triet Dao Hoang Minh, Dat ToThanh, Phuc Le-Gia, Tuan Vo-Lan, and Tien-Huy Nguyen. Ster-vlm: Spatio-temporal with enhanced reference visionlanguage models, 2025. 1 [29] Huu-Phong Phan-Nguyen, Anh Dao, Tien-Huy Nguyen, Tuan Quang, Huu-Loc Tran, Tinh-Anh Nguyen-Nhu, HuyThach Pham, Quan Nguyen, Hoang M. Le, and Quang-Vinh Dinh. Cycle training with semi-supervised domain adaptation: Bridging accuracy and efficiency for real-time mobile scene detection, 2025. 2 [30] Eli Schwartz, Raja Giryes, and Alexander M. Bronstein. Deepisp: Toward learning an end-to-end image processing pipeline. IEEE Transactions on Image Processing, 28(2): 912–923, 2019. 1, 2

[31] Pengfei Shi, Xiwang Xu, Xinnan Fan, Xudong Yang, and Yuanxue Xin. Ll-unet++:unet++ based nested skip connections network for low-light image enhancement. IEEE Transactions on Computational Imaging, pages 510–521, 2024. 3 [32] Zhijun Tu, Jie Hu, Hanting Chen, and Yunhe Wang. Toward accurate post-training quantization for image superresolution. In CVPR, pages 5856–5865, 2023. 2, 3 [33] Yen-Linh Vu, Dinh-Thang Duong, Truong-Binh Duong, Anh-Khoi Nguyen, Thanh-Huy Nguyen, Le Thien Phuc Nguyen, Jianhua Xing, Xingjian Li, Tianyang Wang, Ulas Bagci, and Min Xu. Describe anything model for visual question answering on text-rich images, 2025. 1 [34] Zhou Wang, A.C. Bovik, H.R. Sheikh, and E.P. Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE Transactions on Image Processing, 2004. 5 [35] Hailong Yan, Ao Li, Xiangtao Zhang, Zhe Liu, Zenglin Shi, Ce Zhu, and Le Zhang. Mobileie: An extremely lightweight and effective convnet for real-time image enhancement on mobile devices. In ICCV, pages 21949–21960, 2025. 5, 7 [36] Syed Waqas Zamir, Aditya Arora, Salman Khan, Munawar Hayat, Fahad Shahbaz Khan, Ming-Hsuan Yang, and Ling Shao. Learning enriched features for real image restoration and enhancement. In ECCV, 2020. 2

Record · ID 126564 · SHA-256 0001efd1569c941d
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.