[Paper Review] Intrinsic Decomposition of Document Images In-the-Wild
This paper proposes a self-supervised, physics-constrained deep learning framework for intrinsic decomposition of document images under complex, non-uniform illumination in-the-wild. It introduces a two-stage architecture—WBNet for white balancing and SMTNet for shading and reflectance separation—using a novel multi-illuminant dataset (Doc3DShade), achieving a 26% improvement in character error rate for OCR, demonstrating strong generalization on real-world document images with challenging lighting and paper shapes.
Automatic document content processing is affected by artifacts caused by the shape of the paper, non-uniform and diverse color of lighting conditions. Fully-supervised methods on real data are impossible due to the large amount of data needed. Hence, the current state of the art deep learning models are trained on fully or partially synthetic images. However, document shadow or shading removal results still suffer because: (a) prior methods rely on uniformity of local color statistics, which limit their application on real-scenarios with complex document shapes and textures and; (b) synthetic or hybrid datasets with non-realistic, simulated lighting conditions are used to train the models. In this paper we tackle these problems with our two main contributions. First, a physically constrained learning-based method that directly estimates document reflectance based on intrinsic image formation which generalizes to challenging illumination conditions. Second, a new dataset that clearly improves previous synthetic ones, by adding a large range of realistic shading and diverse multi-illuminant conditions, uniquely customized to deal with documents in-the-wild. The proposed architecture works in a self-supervised manner where only the synthetic texture is used as a weak training signal (obviating the need for very costly ground truth with disentangled versions of shading and reflectance). The proposed approach leads to a significant generalization of document reflectance estimation in real scenes with challenging illumination. We extensively evaluate on the real benchmark datasets available for intrinsic image decomposition and document shadow removal tasks. Our reflectance estimation scheme, when used as a pre-processing step of an OCR pipeline, shows a 26% improvement of character error rate (CER), thus, proving the practical applicability.
Motivation & Objective
- Address the challenge of non-uniform and multi-illuminant lighting in real-world document images, which degrades OCR and content processing.
- Overcome limitations of prior methods that rely on uniform color statistics and assume flat, uniformly lit paper surfaces.
- Develop a self-supervised learning approach that avoids costly ground-truth annotations for reflectance and shading by leveraging physical constraints of image formation.
- Create a large-scale, realistic synthetic dataset (Doc3DShade) with diverse lighting conditions and complex document shapes to improve model generalization.
- Demonstrate practical utility by showing significant improvement in OCR performance when the reflectance estimation is used as a pre-processing step.
Proposed method
- Propose a two-stage network: WBNet for white balancing the input image using a physically constrained learning approach to neutralize illumination color.
- Use SMTNet to perform self-supervised shading and reflectance separation by leveraging synthetic texture as a weak supervision signal, without requiring ground-truth disentangled images.
- Train the model using a new dataset, Doc3DShade, which extends the public Doc3D dataset with realistic, multi-illuminant conditions and complex 3D document shapes.
- Incorporate physical constraints of image formation (e.g., reflectance and shading as multiplicative components) into the loss function to ensure physically plausible outputs.
- Apply the method in a weakly-supervised manner, where only the synthetic texture is used as supervision, reducing dependency on expensive real-world annotations.
- Integrate the reflectance estimation as a pre-processing step in an OCR pipeline to evaluate real-world applicability.
Experimental results
Research questions
- RQ1Can a self-supervised deep learning model achieve robust intrinsic image decomposition for document images under complex, non-uniform illumination without requiring fully annotated ground-truth?
- RQ2How does a physics-constrained learning approach improve generalization compared to methods relying on local color statistics or flat surface assumptions?
- RQ3To what extent does a large-scale, realistic synthetic dataset with multi-illuminant conditions enhance performance on real-world document image decomposition tasks?
- RQ4Can the proposed method generalize to non-document objects with similar material properties (e.g., paper-like surfaces) without fine-tuning?
- RQ5How effective is the reflectance estimation as a pre-processing step for improving OCR accuracy in real-world scenarios?
Key findings
- The proposed method achieves a 26% relative improvement in character error rate (CER) when used as a pre-processing step in an OCR pipeline, demonstrating strong practical impact.
- The method shows a 21% performance increase in OCR error reduction on the DewarpNet benchmark dataset, as reported in Table 1.
- Qualitative comparisons show that the method outperforms state-of-the-art shadow removal methods (e.g., Kligler et al.) on soft shadows and complex, warped document shapes.
- The method generalizes well to non-document paper-like objects (e.g., teabags) from MIT-Intrinsics without fine-tuning, indicating broader applicability.
- The model fails on hard shadows, particularly in cases with sharp, distinct shadow boundaries, indicating a limitation in modeling such cases.
- The use of a multi-illuminant dataset (Doc3DShade) enables the model to handle diverse lighting conditions, including colored and non-uniform illumination, with high fidelity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.