Tokenize Image Patches: Global Context Fusion for Effective Haze Removal in Large Images

Jiuchen Chen, Xinyu Yan, Qizhi Xu, Kaiqi Li
2/10/2026

No official code found. Best implementation: CastleChen339/DehazeXL (78 stars, last commit 2025-12-18). 1 more below.

Abstract

Global contextual information and local detail features are essential for haze removal tasks. Deep learning models perform well on small, low-resolution images, but they encounter difficulties with large, high-resolution ones due to GPU memory limitations. As a compromise, they often resort to image slicing or downsampling. The former diminishes global information, while the latter discards high-frequency details. To address these challenges, we propose DehazeXL, a haze removal method that effectively balances global context and local feature extraction, enabling end-to-end modeling of large images on mainstream GPU hardware. Additionally, to evaluate the efficiency of global context utilization in haze removal performance, we design a visual attribution method tailored to the characteristics of haze removal tasks. Finally, recognizing the lack of benchmark datasets for haze removal in large images, we have developed an ultra-high-resolution haze removal dataset (8KDehaze) to support model training and testing. It includes 10000 pairs of clear and hazy remote sensing images, each sized at 8192 × 8192 pixels. Extensive experiments demonstrate that DehazeXL can infer images up to 10240 × 10240 pixels with only 21 GB of memory, achieving state-of-the-art results among all evaluated methods. The source code and experimental dataset are available at https://github.com/CastleChen339/DehazeXL.

View on arXivView PDF

Code Implementations(2)

[CVPR 2025] Tokenize Image Patches: Global Context Fusion for Effective Haze Removal in Large Images

782PythonMar 11, 202510 months ago
MIT

[CVPR 2025] 🏆Tokenize Image Patches: Global Context Fusion for Effective Haze Removal in Large Images

121PythonFeb 27, 20256 months agoMIT

Similar Papers

Cite this paper

@article{chen2026tokenize,
  title  = {Tokenize Image Patches: Global Context Fusion for Effective Haze Removal in Large Images},
  author = {Jiuchen Chen and Xinyu Yan and Qizhi Xu and Kaiqi Li},
  year   = {2026},
  eprint = {2504.09621},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2504.09621},
  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/2504.09621.svg)](https://codeofpaper.com/paper/2504.09621)

Discussion