TL;DR
Researchers from the University of Siena have bridged the "data gap" in scene text segmentation by transforming simple bounding-box annotations into precise pixel-level masks. By creating the COCO_TS dataset, they demonstrate that a relatively small set of real-world images with weakly supervised labels can significantly outperform massive synthetic datasets, improving segmentation performance (F1 score) by up to 31%.
What Problem Does This Paper Address?
Scene text segmentation—the task of identifying exactly which pixels in an image belong to text—is a vital precursor to robust OCR (Optical Character Recognition). However, training deep learning models for this task requires "pixel-perfect" labels, which are incredibly expensive and time-consuming for humans to produce.
To bypass this, researchers often use synthetic data (computer-generated text overlaid on images). While scalable, synthetic data suffers from domain shift: it doesn't perfectly capture the lighting, blur, and complex backgrounds of the real world. On the other hand, many real-world datasets (like COCO-Text) exist but only provide weak supervision in the form of bounding boxes, which are too coarse for high-quality segmentation. This paper asks: Can we use these "lazy" bounding boxes to automatically generate high-quality pixel labels?
Methods
The authors propose a three-step pipeline to generate the COCO_TS dataset and train a final segmentation model:
- The Background-Foreground (BF) Network: They first train a specialized network (based on the PSPNet architecture) on synthetic data. Crucially, this network is trained only on small "crops" of text. Its sole job is to distinguish text pixels from background pixels within a confined area.
- Weak-to-Pixel Supervision: They take real images from the COCO-Text dataset and feed the areas inside the existing bounding boxes into the BF network. Because the network only looks at the box, the task is simplified (the text scale is known, and background noise is limited). They use two probability thresholds ($th_1$ and $th_2$) to categorize pixels as background, foreground, or "uncertain."
- Final Segmentation Training: The resulting pixel-level masks (the COCO_TS dataset) are then used to train a standard scene text segmentation network. By training on these "real-but-automatically-labeled" images, the model learns to handle real-world image artifacts better than it would with purely synthetic data.
Datasets
- Synthetic Dataset: Approximately 800,000 images (yielding 1 million crops) used to train the initial BF network.
- COCO-Text: The source of real-world images and bounding boxes.
- COCO_TS (New): The authors' newly created dataset featuring 14,690 real images with generated pixel-level supervisions.
- ICDAR-2013 & Total-Text: Standard benchmarks used to evaluate the final model's performance on horizontal and multi-oriented text, respectively.
Key Insights and Ideas
- Sample Efficiency: The COCO_TS dataset contains fewer than 15,000 samples—less than 1/50th the size of the synthetic dataset used—yet it produced far superior results. This highlights that "realness" often trumps "quantity" in computer vision.
- Simplifying the Task: The "aha moment" here is that segmenting an entire image is hard, but segmenting text inside a known box is much easier. By constraining the problem, the BF network can produce high-quality labels even if it was only trained on synthetic data.
- Handling Uncertainty: By labeling pixels with mid-range probability as "uncertain" (and ignoring them during training), the authors prevent the model from learning from noisy or ambiguous labels at the edges of characters.
Key Results
The researchers compared models trained on synthetic data versus those trained on their new COCO_TS dataset:
- ICDAR-2013: Using COCO_TS improved the F1 score by 10.17% over the synthetic-only baseline.
- Total-Text: The improvement was even more dramatic on this more difficult dataset, with a 31.40% increase in F1 score.
- Fine-tuning: When the COCO_TS-trained model was further fine-tuned on the small amount of available hand-labeled data, it achieved state-of-the-art style results (e.g., 80.40% F1 on ICDAR-2013).
Limitations and Future Work
While highly effective, the current approach has a few constraints:
- Language and Legibility: The current COCO_TS subset focuses on legible, machine-printed English text. The authors noted that non-English or illegible text was often relegated to the "uncertainty" region.
- Initial Bias: The quality of the generated labels is still tethered to the performance of the BF network trained on synthetic data. If the synthetic data is too far removed from reality, the generated labels will suffer.
- Future Directions: The authors suggest applying this method to multilingual datasets (like MLT) to expand the diversity of available pixel-level annotations for the global research community.
Summary updated