Segment Any-Quality Images with Generative Latent Space Enhancement

Guangqian Guo, Yoong Guo, Xuehui Yu, Wenbo Li, Yaoxing Wang +1 more
2/10/2026

No official code found. Best implementation: guangqian-guo/GleSAM (44 stars, MIT, last commit 2025-09-27).

Abstract

Despite their success, Segment Anything Models (SAMs) experience significant performance drops on severely degraded, low-quality images, limiting their effectiveness in real-world scenarios. To address this, we propose Gle-SAM, which utilizes Generative Latent space Enhancement to boost robustness on low-quality images, thus enabling generalization across various image qualities. Specifically, we adapt the concept of latent diffusion to SAM-based segmentation frameworks and perform the generative diffusion process in the latent space of SAM to reconstruct high-quality representation, thereby improving segmentation. Additionally, we introduce two techniques to improve compatibility between the pre-trained diffusion model and the segmentation framework. Our method can be applied to pre-trained SAM and SAM2 with only minimal additional learnable parameters, allowing for efficient optimization. We also construct the LQSeg dataset with a greater diversity of degradation types and levels for training and evaluating the model. Extensive experiments demonstrate that GleSAM significantly improves segmentation robustness on complex degradations while maintaining generalization to clear images. Furthermore, GleSAM also performs well on unseen degradations, underscoring the versatility of our approach and dataset.

View on arXivView PDF

Code Implementations(1)

MIT

The official code of our CVPR2025 paper: "Segment Any-Quality Images with Generative Latent Space Enhancement".

444Shell, PythonMar 12, 20251 years agoMIT

Similar Papers

Cite this paper

@article{guo2026segment,
  title  = {Segment Any-Quality Images with Generative Latent Space Enhancement},
  author = {Guangqian Guo and Yoong Guo and Xuehui Yu and Wenbo Li and Yaoxing Wang and Shan Gao},
  year   = {2026},
  eprint = {2503.12507},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.12507},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.12507.svg)](https://codeofpaper.com/paper/2503.12507)

Discussion