Skip to content
Applications for the 2026/2027 academic year are now open. Visit the UENR admissions portal for details.
Back to Project Works
Undergraduate

NATURAL LANGUAGE PROCESSING FOR ADVERSARIAL ATTACK DETECTION IN AI TRAINING DATASET

NKANSAH KWADWO EDWARD THOMPSON JUNIOR WILLIAMS AKWASI NYAMEKYE KUSI ASAFO ADJEI EMMANUEL OWUSU RICHARD2023/2024

Project Abstract

NLP has nowadays become one of the main technologies in the digital world. It helps enhance communication and is mainly applied for system automatization. But together with big advantages, the NLP models suffer increasingly from adversarial attacks-such are smart manipulations that influence model predictions and raise serious questions about the reliability and effectiveness of these systems. The presented work aims at certain of these risks by building a framework for improved security of NLP models in detail. Advanced defense algorithms are proposed to reduce the impact of such adversarial attacks by up to 50%. This will also make the applications of NLP more strong in different domains. We will combine some approaches, such as ensemble learning, with the anomaly detection techniques, including Local Outlier Factor and Isolation Forest, all set up within a Python-based environment. Early testing showed that around 12% of the data was flagged as adversarial, strengthening the security of NLP models. In the end, the work presented here provides a necessary foundation for future research to be done on protecting AI from malicious attacks so that these systems remain reliable and trustworthy, especially when used in critical applications. Keywords: NLP, Adversarial Attack, Anomaly Detection, Ensemble Methods, Security in AI, Defense Machine Learning, Python, Isolation Forest, Local Outlier Factor.

Main Objective

The general objective of this project is to enhance the security and robustness of natural language processing (NLP) models against adversarial attacks through the development of effective detection algorithms and defense mechanisms.