DeshadowMamba: Deshadowing as 1D Sequential Similarity

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Zhaotong, Chen, Yi, Li, Yanying, He, Shengfeng, Xu, Yangyang, Dong, Junyu, Yang, Jian, Du, Yong
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912673932771328
author Yang, Zhaotong
Chen, Yi
Li, Yanying
He, Shengfeng
Xu, Yangyang
Dong, Junyu
Yang, Jian
Du, Yong
author_facet Yang, Zhaotong
Chen, Yi
Li, Yanying
He, Shengfeng
Xu, Yangyang
Dong, Junyu
Yang, Jian
Du, Yong
contents Recent deep models for image shadow removal often rely on attention-based architectures to capture long-range dependencies. However, their fixed attention patterns tend to mix illumination cues from irrelevant regions, leading to distorted structures and inconsistent colors. In this work, we revisit shadow removal from a sequence modeling perspective and explore the use of Mamba, a selective state space model that propagates global context through directional state transitions. These transitions yield an efficient global receptive field while preserving positional continuity. Despite its potential, directly applying Mamba to image data is suboptimal, since it lacks awareness of shadow-non-shadow semantics and remains susceptible to color interference from nearby regions. To address these limitations, we propose CrossGate, a directional modulation mechanism that injects shadow-aware similarity into Mamba's input gate, allowing selective integration of relevant context along transition axes. To further ensure appearance fidelity, we introduce ColorShift regularization, a contrastive learning objective driven by global color statistics. By synthesizing structured informative negatives, it guides the model to suppress color contamination and achieve robust color restoration. Together, these components adapt sequence modeling to the structural integrity and chromatic consistency required for shadow removal. Extensive experiments on public benchmarks demonstrate that DeshadowMamba achieves state-of-the-art visual quality and strong quantitative performance.
format Preprint
id arxiv_https___arxiv_org_abs_2510_24260
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DeshadowMamba: Deshadowing as 1D Sequential Similarity
Yang, Zhaotong
Chen, Yi
Li, Yanying
He, Shengfeng
Xu, Yangyang
Dong, Junyu
Yang, Jian
Du, Yong
Computer Vision and Pattern Recognition
Recent deep models for image shadow removal often rely on attention-based architectures to capture long-range dependencies. However, their fixed attention patterns tend to mix illumination cues from irrelevant regions, leading to distorted structures and inconsistent colors. In this work, we revisit shadow removal from a sequence modeling perspective and explore the use of Mamba, a selective state space model that propagates global context through directional state transitions. These transitions yield an efficient global receptive field while preserving positional continuity. Despite its potential, directly applying Mamba to image data is suboptimal, since it lacks awareness of shadow-non-shadow semantics and remains susceptible to color interference from nearby regions. To address these limitations, we propose CrossGate, a directional modulation mechanism that injects shadow-aware similarity into Mamba's input gate, allowing selective integration of relevant context along transition axes. To further ensure appearance fidelity, we introduce ColorShift regularization, a contrastive learning objective driven by global color statistics. By synthesizing structured informative negatives, it guides the model to suppress color contamination and achieve robust color restoration. Together, these components adapt sequence modeling to the structural integrity and chromatic consistency required for shadow removal. Extensive experiments on public benchmarks demonstrate that DeshadowMamba achieves state-of-the-art visual quality and strong quantitative performance.
title DeshadowMamba: Deshadowing as 1D Sequential Similarity
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2510.24260