Introduction
Oracle bone characters are the oldest known Chinese hieroglyphs, representing a vital link to ancient history. However, developing automated recognition systems is challenging due to the scarcity of labeled real-world scanned data. While synthetic "handprinted" datasets are easy to generate, models trained on them often fail to generalize to the noisy, textured environment of actual archaeological scans—a challenge known as domain discrepancy.
This paper identifies two primary failures in existing Unsupervised Domain Adaptation (UDA) methods for this task: Flip-Inconsistency, where models focus on different features when a pictographic character is mirrored, and Low Discriminability, where similar-looking characters cause the model to focus on generic, overlapping regions. To solve these, the authors propose the Unsupervised Attention Regularization Network (UARN).
Proposed Method: UARN
UARN builds upon standard adversarial learning and pseudo-labeling techniques by introducing two novel regularization terms that use Class Activation Mapping (CAM) as a direct training signal.
Attention Consistency ($L_{ac}$)
Oracle characters are often pictographic and can appear in mirrored forms in real-world artifacts. UARN enforces spatial robustness by requiring that the attention map of a flipped image be a flipped version of the original image's attention map. This ensures the model consistently identifies the same structural features regardless of orientation.
Attention Separability ($L_{as}$)
To reduce confusion between visually similar characters, UARN identifies the "most confusing" class (the second-highest prediction) and forces the attention maps for the top-1 and top-2 predictions to overlap as little as possible. This pushes the model to discover unique, discriminative strokes that distinguish one character from another.
Entropy-Aware Weighting
To prevent the model from learning from incorrect pseudo-labels in the target domain, the authors implement an entropy-based weighting scheme. This prioritizes high-confidence samples during the adaptation process, ensuring more stable training.
Experimental Results
The researchers evaluated UARN on the Oracle-241 dataset, which contains 80,000 images across 241 categories. UARN achieved a state-of-the-art accuracy of 55.6% on scanned data, significantly outperforming the previous best method (STSN at 47.1%).
Ablation studies demonstrated the efficacy of the individual components:
- Removing Attention Consistency dropped performance by 3.7%.
- Removing Attention Separability dropped performance by 0.9%.
UARN also showed strong generalizability on standard benchmarks, achieving an average of 95.2% on digit datasets (MNIST-USPS-SVHN) and 87.7% on the Office-31 object recognition benchmark.
Conclusion
UARN demonstrates that interpretability tools like attention maps can be effectively repurposed as supervision signals to enforce human-like visual logic in deep learning models. By leveraging domain-specific priors like flip-invariance and fine-grained discriminability, the model sets a new benchmark for ancient script recognition. Future work will focus on incorporating the internal radical structures of characters to further improve performance on rare glyphs.
Summary updated