CORTEXA
← Browse
crossrefMachine Learning and Knowledge Extraction2025-08-06Cited by 2

Evaluating Prompt Injection Attacks with LSTM-Based Generative Adversarial Networks: A Lightweight Alternative to Large Language Models

Sharaf Rashid, Edson Bollis, Lucas Pellicer, Darian Rabbani, Rafael Palacios, Aneesh Gupta, Amar Gupta

Generative Adversarial Networks (GANs) using Long Short-Term Memory (LSTM) provide a computationally cheaper approach for text generation compared to large language models (LLMs). The low hardware barrier of training GANs poses a threat because it means more bad actors may use them to mass-produce prompt attack messages against LLM systems. Thus, to better understand the threat of GANs being used for prompt attack generation, we train two well-known GAN architectures, SeqGAN and RelGAN, on prompt attack messages. For each architecture, we evaluate generated prompt attack messages, comparing results with each other, with generated attacks from another computationally cheap approach, a 1-billion-parameter Llama 3.2 small language model (SLM), and with messages from the original dataset. This evaluation suggests that GAN architectures like SeqGAN and RelGAN have the potential to be used in conjunction with SLMs to readily generate malicious prompts that impose new threats against LLM-based systems such as chatbots. Analyzing the effectiveness of state-of-the-art defenses against prompt attacks, we also find that GAN-generated attacks can deceive most of these defenses with varying levels of success with the exception of Meta’s PromptGuard. Further, we suggest an improvement of prompt attack defenses based on the analysis of the language quality of the prompts, which we found to be the weakest point of GAN-generated messages.

View free PDFSource page

Related papers

crossrefMachine Learning and Knowledge Extraction2023-11-07Cited by 19

Reconstruction-Based Adversarial Attack Detection in Vision-Based Autonomous Driving Systems

Manzoor Hussain, Jang-Eui Hong

The perception system is a safety-critical component that directly impacts the overall safety of autonomous driving systems (ADSs). It is imperative to ensure the robustness of the deep-learning model used in the perception system. However, studies have shown that these models ar…

View free PDFSource page
crossrefMachine Learning and Knowledge Extraction2024-07-07Cited by 19

Evaluation Metrics for Generative Models: An Empirical Study

Eyal Betzalel, Coby Penso, Ethan Fetaya

Generative models such as generative adversarial networks, diffusion models, and variational auto-encoders have become prevalent in recent years. While it is true that these models have shown remarkable results, evaluating their performance is challenging. This issue is of vital…

View free PDFSource page
crossrefMachine Learning and Knowledge Extraction2025-07-07Cited by 3

A Novel Approach to Company Bankruptcy Prediction Using Convolutional Neural Networks and Generative Adversarial Networks

Alessia D’Ercole, Gianluigi Me

Predicting company bankruptcy is a critical task in financial risk assessment. This study introduces a novel approach using Convolutional Neural Networks (CNNs) and Generative Adversarial Networks (GANs) to enhance bankruptcy prediction accuracy. By transforming financial stateme…

View free PDFSource page
crossrefMachine Learning and Knowledge Extraction2025-05-23Cited by 2

Artificial Intelligence Meets Bioequivalence: Using Generative Adversarial Networks for Smarter, Smaller Trials

Anastasios Nikolopoulos, Vangelis D. Karalis

This study introduces artificial intelligence as a powerful tool to transform bioequivalence (BE) trials. We apply advanced generative models, specifically Wasserstein Generative Adversarial Networks (WGANs), to create virtual subjects and reduce the need for real human participa…

View free PDFSource page
crossrefMachine Learning and Knowledge Extraction2022-08-05

VLA-SMILES: Variable-Length-Array SMILES Descriptors in Neural Network-Based QSAR Modeling

Antonina L. Nazarova, Aiichiro Nakano

Machine learning represents a milestone in data-driven research, including material informatics, robotics, and computer-aided drug discovery. With the continuously growing virtual and synthetically available chemical space, efficient and robust quantitative structure–activity rel…

View free PDFSource page
crossrefMachine Learning and Knowledge Extraction2026-02-21

Plug-and-Play LLM Knowledge Extraction for Robot Navigation: A Fine-Tuning-Free Edge Framework

Sebastian Rojas-Ordoñez, Mikel Segura, Irune Yarza, Veronica Mendoza, Ekaitz Zulueta

Large Language Models are increasingly used for high-level robotic reasoning, yet their latency and stochasticity complicate their direct use in low-level control. Moreover, extracting actionable navigation cues from multimodal context incurs inference costs that are challenging…

View free PDFSource page