IMPACT OF QUANTIZATION ON THE ROBUSTNESS OF SMALL LANGUAGE MODELS AGAINST ALIGNMENT EVASION ATTACKS: A CASE STUDY OF LLAMA 3.2 3B

Authors

  • Pedro Cézar Silva Ferreira

DOI:

https://doi.org/10.56238/IXSevenInternationalMultidisciplinaryCongress-067

Keywords:

Quantization, Language Models, AI Security, Jailbreak, Garak

Abstract

Quantization is a widely adopted technique for reducing memory requirements and accelerating the inference of large language models, enabling their deployment on consumer-grade hardware. Although the effects of quantization on performance metrics are well documented in the literature, its impact on the security properties of language models remains less explored. This study aims to evaluate how different quantization levels affect the robustness of the Llama 3.2 3B Instruct model against alignment evasion attacks (jailbreaks). Three quantization levels (Q8_0, Q6_K, and Q5_K_M, in GGUF format) were evaluated using the open-source Garak framework. Seventeen variants of the DAN attack module were applied, totaling 2,430 attack attempts for each quantization level, with attack success measured by the mitigation bypass detector. The results indicate that there is no monotonic relationship between the degree of quantization and attack success rates, whose aggregated values ranged from 65.6% to 70.0% across the evaluated configurations. It is concluded that, under the conditions examined, reducing the numerical precision of model weights within the tested quantization levels does not result in a proportional increase in the model's vulnerability.

Published

2026-08-18

Most read articles by the same author(s)

Similar Articles

1-10 of 50

You may also start an advanced similarity search for this article.