[Paper Review] Learn to Augment: Joint Data Augmentation and Network Optimization for Text Recognition
This paper proposes a learnable, agent-driven data augmentation method for text recognition that jointly optimizes augmentation and recognition networks. By learning to manipulate fiducial points to generate hard, diverse training samples, the method significantly improves recognition accuracy—especially on small datasets—outperforming state-of-the-art baselines by up to 5.08% in word error rate reduction on IAM handwritten text.
Handwritten text and scene text suffer from various shapes and distorted patterns. Thus training a robust recognition model requires a large amount of data to cover diversity as much as possible. In contrast to data collection and annotation, data augmentation is a low cost way. In this paper, we propose a new method for text image augmentation. Different from traditional augmentation methods such as rotation, scaling and perspective transformation, our proposed augmentation method is designed to learn proper and efficient data augmentation which is more effective and specific for training a robust recognizer. By using a set of custom fiducial points, the proposed augmentation method is flexible and controllable. Furthermore, we bridge the gap between the isolated processes of data augmentation and network optimization by joint learning. An agent network learns from the output of the recognition network and controls the fiducial points to generate more proper training samples for the recognition network. Extensive experiments on various benchmarks, including regular scene text, irregular scene text and handwritten text, show that the proposed augmentation and the joint learning methods significantly boost the performance of the recognition networks. A general toolkit for geometric augmentation is available.
Motivation & Objective
- To address the challenge of limited and non-diverse training data in text recognition, especially for irregular scene text and handwritten text with high style variability.
- To overcome the inefficiency of traditional geometric augmentation (e.g., rotation, scaling) that treats entire text strings as single entities and fails to model character-level diversity.
- To bridge the gap between isolated data augmentation and network training by enabling end-to-end joint optimization of augmentation and recognition.
- To develop a meta-framework that automatically adapts to different text recognition tasks without manual reconfiguration.
Proposed method
- A set of learnable fiducial points is initialized on each text image to enable fine-grained, character-level spatial transformation.
- An agent network predicts movement states for the fiducial points based on feedback from the recognition network’s performance, measured via edit distance.
- Image generation uses similarity transformation via moving least squares to warp the image according to the fiducial point movements.
- The augmentation process combines both learned (agent-driven) and random perturbations to maintain diversity and exploration.
- The entire system is end-to-end trainable, with the agent learning to generate increasingly challenging samples that improve recognition robustness.
- The method is integrated into a CTC-based recognition network and jointly optimized with the recognition loss.
Experimental results
Research questions
- RQ1Can a learnable augmentation strategy that adapts to recognition difficulty improve text recognition performance beyond static or random augmentation?
- RQ2How effective is agent-driven fiducial point manipulation in generating diverse, hard training samples for sequence-like character recognition?
- RQ3Can joint optimization of augmentation and recognition lead to better generalization, especially on small or imbalanced datasets?
- RQ4Does the proposed method generalize across different text recognition tasks, including irregular scene text and handwritten text?
- RQ5How does the method compare to prior smart augmentation techniques like AFDM in terms of performance and adaptability?
Key findings
- On the IAM handwritten text benchmark, the method reduced word error rate by 5.08% (from 19.12% to 14.04%) under unconstrained settings, outperforming the baseline and state-of-the-art methods.
- On the RIMES dataset, the method achieved a 4.42% reduction in word error rate (from 13.83% to 9.23%) under unconstrained settings, demonstrating strong robustness on noisy and low-quality images.
- The joint learning framework achieved a 4.5% accuracy gain on the CT80 scene text benchmark, showing effectiveness on regular and irregular scene text.
- When combined with the AFDM module, the method achieved a 13.35% word error rate on IAM (unconstrained), surpassing all prior methods and setting a new state-of-the-art.
- The method is a meta-framework: it can be seamlessly integrated with other augmentation modules like AFDM, further boosting performance when used together.
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.