HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Deep Diacritization: Efficient Hierarchical Recurrence for Improved Arabic Diacritization

Badr AlKhamissi; Muhammad N. ElNokrashy; Mohamed Gabr

Deep Diacritization: Efficient Hierarchical Recurrence for Improved Arabic Diacritization

Abstract

We propose a novel architecture for labelling character sequences that achieves state-of-the-art results on the Tashkeela Arabic diacritization benchmark. The core is a two-level recurrence hierarchy that operates on the word and character levels separately---enabling faster training and inference than comparable traditional models. A cross-level attention module further connects the two, and opens the door for network interpretability. The task module is a softmax classifier that enumerates valid combinations of diacritics. This architecture can be extended with a recurrent decoder that optionally accepts priors from partially diacritized text, which improves results. We employ extra tricks such as sentence dropout and majority voting to further boost the final result. Our best model achieves a WER of 5.34%, outperforming the previous state-of-the-art with a 30.56% relative error reduction.

Code Repositories

BKHMSI/deep-diacritization
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
arabic-text-diacritization-on-catt-datasetDeep Diacritization (D2)
DER(%): 13.310
WER (%): 49.417
arabic-text-diacritization-on-catt-datasetDeep Diacritization (D3)
DER(%): 58.313
WER (%): 98.710
arabic-text-diacritization-on-tashkeela-1D3 (D2 + decoder)
Diacritic Error Rate: 0.0183
Word Error Rate (WER): 0.0534
arabic-text-diacritization-on-tashkeela-1D2
Diacritic Error Rate: 0.0185
Word Error Rate (WER): 0.0553

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Deep Diacritization: Efficient Hierarchical Recurrence for Improved Arabic Diacritization | Papers | HyperAI