Table of Contents
Fetching ...

Abjad AI at NADI 2025: CATT-Whisper: Multimodal Diacritic Restoration Using Text and Speech Representations

Ahmad Ghannam, Naif Alharthi, Faris Alasmary, Kholood Al Tabash, Shouq Sadah, Lahouari Ghouti

TL;DR

This paper tackles diacritic restoration for Arabic dialectal text by leveraging a multimodal approach that fuses textual representations from the CATT encoder with acoustic cues from Whisper. It compares early fusion and cross-attention fusion strategies and introduces a modality-robust training scheme to handle variable speech availability. The approach achieves substantial improvements in WER and CER on development and test sets, outperforming text-only baselines, with WERs of 0.25/0.55 and CERs of 0.09/0.13. These results demonstrate the value of integrating speech signals for disambiguating diacritics in dialectal Arabic and provide a reproducible framework with public code and models.

Abstract

In this work, we tackle the Diacritic Restoration (DR) task for Arabic dialectal sentences using a multimodal approach that combines both textual and speech information. We propose a model that represents the text modality using an encoder extracted from our own pre-trained model named CATT. The speech component is handled by the encoder module of the OpenAI Whisper base model. Our solution is designed following two integration strategies. The former consists of fusing the speech tokens with the input at an early stage, where the 1500 frames of the audio segment are averaged over 10 consecutive frames, resulting in 150 speech tokens. To ensure embedding compatibility, these averaged tokens are processed through a linear projection layer prior to merging them with the text tokens. Contextual encoding is guaranteed by the CATT encoder module. The latter strategy relies on cross-attention, where text and speech embeddings are fused. The cross-attention output is then fed to the CATT classification head for token-level diacritic prediction. To further improve model robustness, we randomly deactivate the speech input during training, allowing the model to perform well with or without speech. Our experiments show that the proposed approach achieves a word error rate (WER) of 0.25 and a character error rate (CER) of 0.9 on the development set. On the test set, our model achieved WER and CER scores of 0.55 and 0.13, respectively.

Abjad AI at NADI 2025: CATT-Whisper: Multimodal Diacritic Restoration Using Text and Speech Representations

TL;DR

This paper tackles diacritic restoration for Arabic dialectal text by leveraging a multimodal approach that fuses textual representations from the CATT encoder with acoustic cues from Whisper. It compares early fusion and cross-attention fusion strategies and introduces a modality-robust training scheme to handle variable speech availability. The approach achieves substantial improvements in WER and CER on development and test sets, outperforming text-only baselines, with WERs of 0.25/0.55 and CERs of 0.09/0.13. These results demonstrate the value of integrating speech signals for disambiguating diacritics in dialectal Arabic and provide a reproducible framework with public code and models.

Abstract

In this work, we tackle the Diacritic Restoration (DR) task for Arabic dialectal sentences using a multimodal approach that combines both textual and speech information. We propose a model that represents the text modality using an encoder extracted from our own pre-trained model named CATT. The speech component is handled by the encoder module of the OpenAI Whisper base model. Our solution is designed following two integration strategies. The former consists of fusing the speech tokens with the input at an early stage, where the 1500 frames of the audio segment are averaged over 10 consecutive frames, resulting in 150 speech tokens. To ensure embedding compatibility, these averaged tokens are processed through a linear projection layer prior to merging them with the text tokens. Contextual encoding is guaranteed by the CATT encoder module. The latter strategy relies on cross-attention, where text and speech embeddings are fused. The cross-attention output is then fed to the CATT classification head for token-level diacritic prediction. To further improve model robustness, we randomly deactivate the speech input during training, allowing the model to perform well with or without speech. Our experiments show that the proposed approach achieves a word error rate (WER) of 0.25 and a character error rate (CER) of 0.9 on the development set. On the test set, our model achieved WER and CER scores of 0.55 and 0.13, respectively.

Paper Structure

This paper contains 18 sections, 2 figures, 5 tables.

Figures (2)

  • Figure 1: Proposed CATT-Whisper Architectures for Multimodal. (a) Early Fusion Configuration. (b) Cross-Attention Fusion Configuration.
  • Figure 2: Early Fusion architecture of the proposed CATT-Whisper model. Speech features are downsampled and projected to match text embeddings before being concatenated with text tokens and processed by the CATT encoder.