HAMSA: Hijacking Aligned Compact Models via Stealthy Automation

Abstract Large Language Models (LLMs), especially their compact efficiency-oriented variants, remain susceptible to jailbreak attacks that can elicit harmful outputs despite extensive alignment efforts. Existing adversarial prompt generation techniques often rely on manual engineering or rudimentary obfuscation, producing low-quality or incoherent text that is easily flagged by perplexity-based filters. We present an automated red-teaming framework that evolves semantically meaningful and stealthy jailbreak prompts for aligned compact LLMs. The approach employs a multi-stage evolutionary search, where candidate prompts are iteratively refined using a population-based strategy augmented with temperature-controlled variability to balance exploration and coherence preservation. This enables the systematic discovery of prompts capable of bypassing alignment safeguards while maintaining natural language fluency. We evaluate our method on benchmarks in English (In-The-Wild Jailbreak Prompts on LLMs), and a newly curated Arabic one derived from In-The-Wild Jailbreak Prompts on LLMs and annotated by native Arabic linguists, enabling multilingual assessment.

Authors

Institutions

Publication Details

Journal
Doklady Mathematics
Published
2025-10-01
DOI
https://doi.org/10.1134/s1064562425700425
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

HAMSA: Hijacking Aligned Compact Models via Stealthy Automation

Maryam Douiba, Azidine Guezzaz, V. N. Kokh, S. D. Erokhin et al.
Doklady Mathematics
Adversarial Robustness in Machine Learning
article

HAMSA: Hijacking Aligned Compact Models via Stealthy Automation

Maryam Douiba, Azidine Guezzaz, V. N. Kokh, S. D. Erokhin, O. Y. Rogov, D. S. Korzh, I. I. Vagizov, A. S. Krylov, E. V. Tutubalina
article en

Abstract

Abstract Large Language Models (LLMs), especially their compact efficiency-oriented variants, remain susceptible to jailbreak attacks that can elicit harmful outputs despite extensive alignment efforts. Existing adversarial prompt generation techniques often rely on manual engineering or rudimentary obfuscation, producing low-quality or incoherent text that is easily flagged by perplexity-based filters. We present an automated red-teaming framework that evolves semantically meaningful and stealthy jailbreak prompts for aligned compact LLMs. The approach employs a multi-stage evolutionary search, where candidate prompts are iteratively refined using a population-based strategy augmented with temperature-controlled variability to balance exploration and coherence preservation. This enables the systematic discovery of prompts capable of bypassing alignment safeguards while maintaining natural language fluency. We evaluate our method on benchmarks in English (In-The-Wild Jailbreak Prompts on LLMs), and a newly curated Arabic one derived from In-The-Wild Jailbreak Prompts on LLMs and annotated by native Arabic linguists, enabling multilingual assessment.

Doklady MathematicsVol. 112(2)
Cadi Ayyad University (MA), Moscow Institute of Physics and Technology (RU), Kazan Federal University (RU), Institute of Physics and Technology (RU), Moscow Technical University of Communication and Informatics (RU), Siberian Academy of Finance and Banking (RU)
Quality Education
Openalex Percentile: Top 12%
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

HAMSA: Hijacking Aligned Compact Models via Stealthy Automation — Maryam Douiba, Azidine Guezzaz, et al. · Doklady Mathematics (2025) | TGRS Research Map | TGRS