Related Experiment Video
Updated: Jan 13, 2026

Author Spotlight: Impact of Intergenic Interactions on Disease-Identifying Dark Biomarkers
Published on: March 1, 2024
Optimal architecture for a sentiment analysis transformer with multihead attention and genetic crossover
Wiam Saidi1, Boutaina Satouri2, Abdellatif El Abderrahmani2
1Laboratory, Computer Science, Innovation and Artificial Intelligence (L3IA), Faculty of Sciences, Sidi Mohamed Ben Abdellah University (USMBA), 30000, Fez, Morocco. wiam.saidi@usmba.ac.ma.
Abstract:
Sentiment analysis, a key component of natural language processing, is of paramount importance in various fields such as strategic surveillance, online image management, and customer satisfaction assessment. However, despite recent advances, improving the accuracy and adaptability of models remains a crucial challenge. This paper presents a cutting-edge method that combines the Transformer with evolutionary optimization techniques to improve sentiment analysis results. We rely on the use of pre-trained models to obtain embeddings and language features, thus guaranteeing a rich and relevant textual representation. Our method, called OAST-MAGC (Optimal Architecture for a Sentiment Analysis Transformer with Multihead Attention and Genetic Crossover), is distinguished by incorporating a multihead attention mechanism optimized using a genetic crossover technique. The originality of our approach lies in the integration of dynamic pruning, which selects the most relevant attention heads before starting genetic optimization. This step reduces the search space, improves convergence speed, and produces a lighter and more efficient final model. Additionally, the weights of the final layers are combined through genetic crossover, which promotes more efficient generalization and reduces the risk of overfitting. This architecture, which merges the effectiveness of pre-trained models with a dynamic optimization approach, offers a significant improvement in the accuracy and efficiency of sentiment analysis tasks. Experiments have proven that our method outperforms current techniques in terms of performance and robustness, achieving an accuracy of 95.96% and an F1-score of 96%, opening the way to new possibilities in processing complex textual data.
Related Concept Videos
Crossover Experiments
Crossover designs are performed even with smaller sample sizes since the samples can act as their controls. These are better than simple randomized trials since patients are exposed to all the treatments.
Transformers
The iron core has a substantial relative permeability. Therefore, the magnetic field lines generated due to the current in one winding are almost entirely confined within the core, such that the same magnetic flux permeates each turn of both...
Improving Translational Accuracy
Improving Translational Accuracy
Multi-input and Multi-variable systems
In the absence of...
Transformers in Distribution System
Distribution substation transformers come in various ratings and typically use mineral oil for insulation and cooling. To prevent moisture and air from entering the oil, some transformers use an inert gas like nitrogen to fill the...
