P-GELU: A Novel Activation Function to Optimize Whisper for Darija Speech Translation
Activation functions play a critical role in optimizing deep learning models, directly influencing gradient flow, convergence stability, and overall translation accuracy. In this work, we investigate their impact within the Whisper-Turbo model, a speech-to-text Transformer trained from scratch on the Darija-C dataset for Moroccan Darija speech translation. Our study begins by evaluating baseline activation functions—GELU, Swish, and Mish—demonstrating that while GELU is widely used in Transformer-based architectures, it may not be optimal for dialectal speech translation, particularly in low-resource settings. To address this limitation, we introduce Parameterized GELU (P-GELU), a novel activation function that extends GELU by incorporating trainable parameters (±, ²), allowing the model to dynamically adjust its non-linearity across layers and training phases. Through extensive experiments, we demonstrate that P-GELU outperforms standard GELU, with superior convergence speed and generalization. Furthermore, P-GELU reduces training loss, improves feature retention, and enhances linguistic adaptability, making it a more effective alternative for speech translation tasks involving phonetic variability, code-switching, and limited training data. The proposed P-GELU offers a promising balance between computational efficiency and performance gains, presenting a viable solution for enhancing Transformer-based speech models in low-resource language scenarios.
Authors
- Maria Labied (ORCID: https://orcid.org/0000-0002-1795-4965)
- Mouad Banane (ORCID: https://orcid.org/0000-0001-5301-6311)
- Abdessamad Belangour (ORCID: https://orcid.org/0000-0002-9580-8760)
Institutions
- University of Hassan II Casablanca (MA)
Publication Details
- Journal
- IEEE Access
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/access.2025.3574398
- Citations
- 1
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.48