CLEAR: Context-Aware Learning with End-to-End Mask-Free Inference for Adaptive Video Subtitle Removal
Organizations: University of Electronic Science and Technology of China · University of Chinese Academy of Sciences · Technical University of Munich · Shanghai Jiao Tong University ·
Abstract
Video subtitle removal aims to distinguish text overlays from background content while preserving temporal coherence. Existing diffusion-based methods necessitate explicit mask sequences during both training and inference phases, which restricts their practical deployment. In this paper, we present CLEAR (Context-aware Learning for End-to-end Adaptive Video Subtitle Removal), a mask-free framework that achieves truly end-to-end inference through context-aware adaptive learning. Our two-stage design decouples prior extraction from generative refinement: Stage I learns disentangled subtitle representations via self-supervised orthogonality constraints on dual encoders, while Stage II employs LoRA-based adaptation with generation feedback for dynamic context adjustment. Notably, our method only requires 0.77% of the parameters of the base diffusion model for training. On Chinese subtitle benchmarks, CLEAR outperforms mask-dependent baselines by + 6.77dB PSNR and -74.7% VFID, while demonstrating superior zero-shot generalization across six languages (English, Korean, French, Japanese, Russian, German), a performance enabled by our generation-driven feedback mechanism that ensures robust subtitle removal without ground-truth masks during inference.
Figures & tables
| Method | Reconstruction | Perceptual | Temporal | Flow | Time | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| PSNR↑ | SSIM↑ | LPIPS↓ | DISTS↓ | VFID↓ | TWE↓ | TC↓ | Mean↓ | Var↓ | s/frame↓ | |
| ProPainter ( Zhou et al., 2023 ) | 17.24 | 0.658 | 0.3291 | 0.245 | 98.46 | 1.286 | 1.160 | 0.952 | 0.885 | 2.36 |
| Minimax-Remover ( Zi et al., 2025 ) | 20.03 | 0.773 | 0.166 | 0.119 | 95.39 | 4.222 | 3.016 | 0.841 | 0.415 | 4.90 |
| DiffuEraser ( Li et al., 2025 ) | 17.85 | 0.672 | 0.458 | 0.228 | 72.51 | 1.523 | 1.174 | 0.840 | 0.630 | 3.47 |
| CLEAR (Ours) | 26.80 | 0.894 | 0.101 | 0.075 | 20.37 | 1.227 | 1.049 | 0.209 | 0.029 | 4.86 |
| Configuration | Reconstruction | Perceptual | Temporal | Flow | |||||
|---|---|---|---|---|---|---|---|---|---|
| PSNR↑ | SSIM↑ | LPIPS↓ | DISTS↓ | VFID↓ | TWE↓ | TC↓ | Mean↓ | Var↓ | |
| Baseline (LoRA-only) | 21.62 | 0.855 | 0.131 | 0.088 | 34.74 | 1.320 | 1.137 | 0.217 | 0.032 |
| + M1: Stage I Prior with Focal Weighting | 23.11 | 0.868 | 0.130 | 0.091 | 38.21 | 1.303 | 1.123 | 0.216 | 0.031 |
| + M2: Context Distillation | 24.72 | 0.890 | 0.110 | 0.083 | 31.73 | 1.279 | 1.102 | 0.212 | 0.030 |
| + M3: Context-Aware Adaptation | 25.09 | 0.891 | 0.109 | 0.083 | 31.56 | 1.257 | 1.082 | 0.211 | 0.029 |
| + M4: Context Consistency (CLEAR) | 26.80 | 0.894 | 0.101 | 0.075 | 20.37 | 1.227 | 1.049 | 0.209 | 0.029 |
| Configuration | Reconstruction | Perceptual | Temporal | Flow | Time | |||||
| PSNR↑ | SSIM↑ | LPIPS↓ | DISTS↓ | VFID↓ | TWE↓ | TC↓ | Mean↓ | Var↓ | s/frame↓ | |
| Denoising Steps (lora_scale=1.0, cfg=1.0) | ||||||||||
| steps=5 | 26.80 | 0.894 | 0.101 | 0.075 | 20.37 | 1.227 | 1.049 | 0.209 | 0.029 | 4.86 |
| steps=10 | 29.43 | 0.884 | 0.101 | 0.081 | 35.70 | 1.358 | 1.243 | 0.215 | 0.030 | 9.92 |
| CFG Scale (lora_scale=1.0, steps=5) | ||||||||||
| cfg=0.8 | 25.24 | 0.899 | 0.109 | 0.083 | 30.05 | 1.257 | 1.078 | 0.210 | 0.028 | 4.86 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Video Editing
Video editing uses AI to alter, compose, relight, or reorganize moving footage while controlling how changes persist across frames.
See all 178 papers