Boulbaba Ben Ammar

Dr. Boulbaba Ben Ammar

orcid

Research Focus & Metrics

Academic Career Length

19Years (2008-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
16 September 2022 in International Journal on Artificial Intelligence Tools
Verified
Journal Article
Open access
ZRZainab saad Rubaidi
Zainab saad Rubaidi
BABoulbaba Ben Ammar
Boulbaba Ben Ammar
MAMohamed Ben Aouicha
Mohamed Ben Aouicha
In the context of machine learning, an imbalanced classification problem states to a dataset in which the classes are not evenly distributed. This problem commonly occurs when attempting to classify data in which the distribution of labels or classes is not uniform. Using resampling methods to accumulate samples or entries from the minority class or to drop those from the majority class can be considered the best solution to this problem. The focus of this study is to propose a framework pattern to handle any imbalance dataset for fraud detection. For this purpose, Undersampling (Random and NearMiss) and oversampling (Random, SMOTE, BorderLine SMOTE) were used as resampling techniques for the concentration of our experiments for balancing an evaluated dataset. For the first time, a large-scale unbalanced dataset collected from the Kaggle website was used to test both methods for detecting fraud in the Tunisian company for electricity and gas consumption. It was also evaluated with four machine learning classifiers: Logistic Regression (LR), Naïve Bayes (NB), Random Forest, and XGBoost. Standard evaluation metrics like precision, recall, F1-score, and accuracy have been used to assess the findings. The experimental results clearly revealed that the RF model provided the best performance and outperformed all other matched classifiers with attained a classification accuracy of 89% using NearMiss undersampling and 99% using Random oversampling.


6 October 2025 in Engineering, Technology & Applied Science Research
Verified
Journal Article
Open access
PDF file
BABoulbaba Ben Ammar
Boulbaba Ben Ammar
AAAmeni M. Alharbi
Ameni M. Alharbi
SQL injection attacks continue to pose a serious threat to web application security, with millions of systems vulnerable worldwide despite ongoing research and mitigation efforts. This study addresses the limitations of current SQLi detection techniques, particularly their inability to adapt to evolving attack patterns and their tendency to high false positive rates. A systematic review of machine learning- and deep learning-based SQL injection detection studies, published between 2017 and 2023, examined performance metrics, methods, and common shortcomings. Building on these insights, this study proposes a novel transformer-based approach utilizing a fine-tuned CodeBERT model trained on 30,919 SQL queries. This method includes extensive preprocessing and rigorous evaluation to ensure robustness and applicability. The results show that while traditional machine learning approaches reach between 73.5% and 99% accuracy, and deep learning models achieve 85% to 98%, the proposed CodeBERT-based system significantly outperforms them, attaining 99.90% accuracy, 99.96% precision, 97.75% recall, and 99.86% F1-score. These findings underscore the effectiveness of transformer models trained on code for SQL injection detection, setting new benchmarks and offering a deployable solution to enhance web application security.

12 August 2008 in Innovations in Systems and Software Engineering
Verified
Journal Article
Closed access
PDF file
BABoulbaba Ben Ammar
Boulbaba Ben Ammar
MBMohamed Tahar Bhiri
Mohamed Tahar Bhiri
JSJeanine Souquières
Jeanine Souquières


31 May 2023
Verified
Conference Paper
Closed access
ZRZainab Saad Rubaidi
Zainab Saad Rubaidi
BABoulbaba Ben Ammar
Boulbaba Ben Ammar
MAMohamed Ben Aouicha
Mohamed Ben Aouicha