AEAlaa A. El-Demerdash

Alaa A. El-Demerdash

*This is an algorithmically generated author record based on publicly available information.

Alaa A. El-Demerdash has a total of 2 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    METAHEURISTIC-DRIVEN HYPERPARAMETER OPTIMIZATION FOR BERT IN SENTIMENT ANALYSIS

    by Alaa A. El-Demerdash, Nahla B. Abdel- Hamid

    Sentiment analysis has come out as an important activity in natural language processing (NLP) applications whose data analysis is in high demand at present in the modern world. The BERT (Bidirectional Encoder Representations from Transformers) algorithm has proved to be extremely efficient when it comes to sentiment analysis tasks, and its potential is far exceeding that of conventional algorithms, unlocking their potential however would require fine tuning of their hyperparameters. It is quite a feat to optimise the BERT’s various hyperparameters due to the complicated interaction between them (e.g. the learning rate, batch size, dropout rate, attention heads). In this paper, the Salp Swarm Algorithm (SSA) is used as a bio-inspired metaheuristic optimization technique to optimize the fine-tuning process. Through SSA’s exceptionally efficient search capabilities in modelling multidimensional search space, BERT hyperparameters are optimized systematically to the sentiment classification tasks. A benchmark dataset for sentiment analysis (Sentiment140) is used to evaluate the proposed model. The novelty of the presented model is the fact that it dynamically adjusts its search behaviour in response to performance signals, thus it identifies better-performing parameter sets than conventional methods, leading to successful exploitation of the BERT algorithm that has produced high performing configurations. Extensive evaluations against 3 state-of-the-art search algorithms, namely manual tuning, grid search, and random search are conducted on the Sentiment140 benchmark dataset, demonstrating the superiority of the proposed SSA BERT optimization technique over state-of-the-art methods. The SSA-BERT model achieved a maximum accuracy of 96.4 percent, which is far better than manual tuning, grid search, and random search (65.0 percent, 69.5 percent and 72.0 percent respectively). It also performed better than other existing BERT models used in related literature, which showed accuracy levels between 46.4 and 75.7 percent in accordance with different benchmarks Sentiment analysis has come out as an important activity in natural language processing (NLP) applications whose data analysis is in high demand at present in the modern world. The BERT (Bidirectional Encoder Representations from Transformers) algorithm has proved to be extremely efficient when it comes to sentiment analysis tasks, and its potential is far exceeding that of conventional algorithms, unlocking their potential however would require fine tuning of their hyperparameters. It is quite a feat to optimise the BERT’s various hyperparameters due to the complicated interaction between them (e.g. the learning rate, batch size, dropout rate, attention heads). In this paper, the Salp Swarm Algorithm (SSA) is used as a bio-inspired metaheuristic optimization technique to optimize the fine-tuning process. Through SSA’s exceptionally efficient search capabilities in modelling multidimensional search space, BERT hyperparameters are optimized systematically to the sentiment classification tasks. A benchmark dataset for sentiment analysis (Sentiment140) is used to evaluate the proposed model. The novelty of the presented model is the fact that it dynamically adjusts its search behaviour in response to performance signals, thus it identifies better-performing parameter sets than conventional methods, leading to successful exploitation of the BERT algorithm that has produced high performing configurations. Extensive evaluations against 3 state-of-the-art search algorithms, namely manual tuning, grid search, and random search are conducted on the Sentiment140 benchmark dataset, demonstrating the superiority of the proposed SSA BERT optimization technique over state-of-the-art methods. The SSA-BERT model achieved a maximum accuracy of 96.4 percent, which is far better than manual tuning, grid search, and random search (65.0 percent, 69.5 percent and 72.0 percent respectively). It also performed better than other existing BERT models used in related literature, which showed accuracy levels between 46.4 and 75.7 percent in accordance with different benchmarks.


  • Open Access

    Hyperparameter metaheuristic optimization technique (using salp swarm algorithm) For (Bert transformer) In sentiment analysis. (IMDb dataset)

    by Alaa A. El-Demerdash, Nahla B. Abdel- Hamid, Amira Y. Haikal

    Sentiment recognition is a complex task in natural language processing (NLP), and needs training models to handle bulk volumes of data such as IMDb dataset (English movie reviews) with hesitating linguistic trends, posing some considerable computational difficulties.The proposed framework incorporates Bidirectional Encoder Representations Transformers (BERT) and Salp Swarm Algorithm (SSA) to optimize hyperparameters in sentiment analysis using IMDb dataset.Salp swarm intelligence of (SSA) is conducted to optimize the learning rate, batch size, dropout rate, and number of attention heads.Comparative analysis has been conducted against 4 state-of-the-art algorithms (Grid Search, Particle Swarm Optimization, Improved SSA, WOA-AdaBoost) indicating the effectiveness of the proposed SSA-BERT model.The model shows an accuracy of )99.5% (on IMDb dataset performing better than Grid Search (95.5%), Particle Swarm Optimization (PSO) (96%), and Improved SSA (ISSA) (98.5%) as well as the WOA-AdaBoost (99%). Statistical analysis has been conducted using a T-test to prove the model’s superiority.The proposed model achieved a )99.0% (accuracy on the fifth epoch, and an overall accuracy of (99.5%).