MILO: A Lightweight Perceptual Quality Metric for Image and Latent-Space Optimization

Ugur Çogalan, Mojtaba Bemana, Karol Myszkowski, Hans-Peter Seidel, Colin Groth

Abstract

Traditional perceptual quality metrics often rely on heavy deep learning backbones, making them computationally expensive and unsuitable for real-time optimization. We present MILO (Metric for Image- and Latent-space Optimization), a lightweight, multiscale perceptual metric designed for high-speed image quality assessment and optimization. By leveraging pseudo-label supervision and operating directly in the latent space of generative models, MILO achieves state-of-the-art accuracy at a fraction of the cost of existing metrics like LPIPS. Our results demonstrate that MILO effectively guides image restoration tasks, producing sharper, more perceptually pleasing results.

Introduction

Evaluating image quality as perceived by humans is a complex challenge. While simple metrics like PSNR and SSIM are fast, they often fail to align with human visual perception. Modern alternatives like LPIPS and DISTS offer better alignment but are slow and memory-intensive due to their reliance on large pre-trained networks (e.g., VGG). Furthermore, the rise of latent-based generative models necessitates metrics that can operate directly on compressed representations to avoid the overhead of decoding. MILO addresses these issues by providing a fast, accurate, and latent-compatible perceptual loss.

Methodology

MILO introduces several key innovations to optimize both speed and accuracy:

  1. Pseudo-MOS Supervision: To overcome the scarcity of human-labeled data, MILO is trained on a massive synthetic dataset labeled by an ensemble of high-performing metrics. This "Pseudo-MOS" approach allows the model to generalize beyond the limitations of individual training metrics.
  2. Multiscale Architecture: The model utilizes a shared convolutional neural network that processes inputs at multiple scales. It predicts residual visibility masks that pinpoint perceptually salient distortions.
  3. Latent-Space Compatibility: MILO is uniquely designed to work with both RGB pixels and VAE-encoded latents, enabling its use as a perceptual loss function within diffusion model pipelines without requiring full image reconstruction.
MILO Pipeline: The model takes reference and distorted inputs (images or latents) to predict a visibility mask and a Mean Absolute Opinion Score (MOS).

Experiments and Results

MILO was evaluated on standard benchmarks including CSIQ, TID2013, and PIPAL. It demonstrated competitive or superior correlation with human judgments compared to LPIPS and DISTS, particularly on the challenging PIPAL dataset which features GAN-based distortions.

Performance and Speed

MILO is significantly more efficient than its predecessors. It achieves inference speeds of approximately 3.9ms per image in pixel space and 2.16ms in latent space—roughly 5x faster than LPIPS and 25x faster than the ensemble method used for its supervision.

Qualitative Improvements

When integrated as a loss function for tasks like face restoration, denoising, and super-resolution, MILO produces results with finer textures and fewer artifacts compared to standard L1 or SSIM losses. The model's ability to generate spatial visibility maps allows it to ignore "hidden" errors and focus optimization on what humans actually see.

Qualitative comparison of MILO-guided restoration (Ours) against DiffBIR across face restoration, latent denoising, and super-resolution tasks.

Discussion and Conclusion

MILO represents a significant step toward efficient perceptual optimization. Its ability to operate in latent space and its high inference speed make it a practical tool for modern generative AI workflows. While currently dependent on pseudo-labels from existing metrics, future work will focus on refining calibration to absolute JND thresholds and extending the framework to no-reference quality assessment.

Summary updated

BibTeX
@article{cogalan2025milo,
  author = {Ugur Çogalan and Mojtaba Bemana and Karol Myszkowski and Hans-Peter Seidel and Colin Groth},
  title = {{MILO: A Lightweight Perceptual Quality Metric for Image and Latent-Space Optimization}},
  journal = {ACM Trans. Graphics},
  year = {2025},
  doi = {10.1145/3763340},
}
Figure