通过输入自适应抑制背景干扰,提升文档图像二值化的跨域鲁棒性。
DR-Mamba: Automatic Inference-Time Domain Adaptation for Document Image Binarization via Sample-Conditioned Detail-Background Suppression
- 输入依赖的减法门控机制分离细节与背景,单次前向传播完成自适应
- 在留一年外验证下,对最严重退化数据集的准确率提升显著
- 无需标签或微调,适合实际场景中未知退化类型的文档处理
退化文档图像二值化易受纸张老化、渗透、污渍、阴影和光照不均等域偏移影响,现有学习方法在未见退化域上前景-背景分割不稳定。本文提出DR-Mamba,一种样本自适应的细节-背景抑制框架,实现文档图像二值化的自动推理时域自适应。不同于需梯度更新或辅助数据的测试时适应方法,DR-Mamba通过单次前向传播中的输入依赖门控适配每个输入文档,无需目标域标签、无需微调、无需测试时参数更新。将Mamba式选择性扫描重构为快慢路径建模:快速细节路径捕捉局部笔画结构,缓慢背景路径累积空间持续的退化响应。两条路径通过输入依赖的减法门融合,显式抑制背景干扰,而非简单拼接或相加。进一步引入全分辨率细节引导重建与细笔画感知监督,恢复下采样中丢失的精细笔画。在DIBCO风格基准上采用留一年外协议评估,每一年作为未见退化域,结果表明逐文档、逐位置的减法抑制显著提升跨域鲁棒性,尤其在最严重退化折痕上表现突出。
原文摘要 · Abstract (English)
Degraded document image binarization is sensitive to domain shifts caused by paper aging, bleed-through, stains, shadows, and uneven illumination, and the foreground-background separation of recent learning-based methods can become unstable on unseen degradation domains. We propose DR-Mamba, a sample-conditioned detail-background suppression framework that performs automatic inference-time domain adaptation for document image binarization. Unlike test-time adaptation methods that require gradient updates or auxiliary data at inference, DR-Mamba adapts to each input document through input-dependent gates within a single forward pass, requiring no target-domain labels, no fine-tuning, and no test-time parameter updates. Instead of using Mamba-style selective scanning as a single generic feature path, DR-Mamba reinterprets it as fast-slow route modeling: a fast detail route captures local stroke structures, while a slow background route accumulates spatially persistent degradation responses. The two routes are integrated through an input-dependent subtractive gate that explicitly suppresses background interference rather than fusing features by addition or concatenation. We further add full-resolution detail-guided reconstruction and thin-stroke-aware supervision to recover fine strokes lost during downsampling. Evaluated under a leave-one-year-out protocol on DIBCO-style benchmarks, where each held-out year is treated as an unseen degradation domain, DR-Mamba shows that per-document, per-location subtractive suppression improves cross-domain robustness, with particularly strong performance on the most severely degraded held-out fold.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。