Abstract
The rapid growth of large language models (LLMs) has intensified concerns over adversarial prompts, which can manipulate model outputs, bypass safety constraints, or cause unintended behaviors. Traditional prompt filtering systems rely on keyword-based detection or basic semantic similarity checks, which often fail to identify obfuscated, rephrased, or structurally disguised malicious inputs. Furthermore, many existing solutions store prompts in plain text for analysis, creating a significant security vulnerability. To address these challenges, a secure and adaptive adversarial prompt detection framework is introduced, integrating post-quantum cryptography, advanced semantic-behavioral analysis, and metaheuristic optimization. In this approach, incoming prompts are immediately encrypted using a Quantum-Resistant Cryptography algorithm before any storage, ensuring confidentiality even under future quantum attacks. A normalization-based preprocessing stage removes obfuscations, malicious syntax, and hidden tokens, followed by a Hierarchical Attention Transformer for combined semantic and behavioral analysis, capturing both local syntactic cues and global semantic dependencies. The extracted features are processed through a self-attention-based Spectral-Spatial Wave Network(Self-SSWN), whose parameters are optimized using the Migrating Walrus Algorithm to enhance detection accuracy. The optimized deep learning classifier assigns confidence-based threat levels - benign, potentially adversarial, or confirmed adversarial - while a continuous feedback loop updates the model with newly detected attack patterns.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 6th International Conference on Smart Electronics and Communication, ICOSEC 2025 |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Pages | 1951-1957 |
| Number of pages | 7 |
| ISBN (Electronic) | 9798331598594 |
| DOIs | |
| State | Published - 2025 |
| Externally published | Yes |
| Event | 6th International Conference on Smart Electronics and Communication, ICOSEC 2025 - Trichy, India Duration: 24 Sep 2025 → 26 Sep 2025 |
Publication series
| Name | Proceedings of the 6th International Conference on Smart Electronics and Communication, ICOSEC 2025 |
|---|
Conference
| Conference | 6th International Conference on Smart Electronics and Communication, ICOSEC 2025 |
|---|---|
| Country/Territory | India |
| City | Trichy |
| Period | 24/09/25 → 26/09/25 |
Bibliographical note
Publisher Copyright:© 2025 IEEE.
Keywords
- Hierarchical Attention Transformer
- Large language models
- Migrating Walrus Algorithm
- Self-attention
- Spectral-Spatial Wave Network
ASJC Scopus subject areas
- Artificial Intelligence
- Computer Networks and Communications
- Computer Science Applications
- Hardware and Architecture
- Information Systems and Management
- Safety, Risk, Reliability and Quality
Fingerprint
Dive into the research topics of 'Adaptive Adversarial Prompt Detection in Large Language Models via Quantum-Resistant Cryptography and Spectral-Spatial Wave Networks'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver