Skip to content

ALKALI: Guarding LLM safety via GRACE geometry-aware representation contrastive enhancement, and introducing the Adversarial Vulnerability Quality Index (AVQI)AdversariaL attacK sAfety aLIgnment(ALKALI): Safeguarding LLMs through GRACE: Geometric Representation-Aware Contrastive Enhancement- Introducing Adversarial Vulnerability Quality Index (AVQI)

arXiv· arXiv:2506.08885· Danush Khanna, Gurucharan Marthi Krishna Kumar, Basab Ghosh, Yaswanth Narsupalli, Vinija Jain, Vasu Sharma, Aman Chadha, Amitava Das·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

The researchers propose the ALKALI adversarial benchmark containing 9000 prompts, covering 3 major categories, 6 subtypes and 15 attack families; evaluation of 21 mainstream large language models shows that attack success rates (ASR) are generally high for both open-source and closed-source models. The paper calls this structural blind spot latent camouflage, whereby adversarial completions mimic the geometric structure of safe completions in latent space, thereby evading surface-level defenses such as DPO. To address this, it proposes the GRACE alignment framework, which applies both latent-space separation of safe and adversarial completions and aggregation constraints on unsafe and jailbreak behavior on layer-wise pooled embeddings, reducing attack success rates by up to 39% without modifying the base model. The paper also proposes the geometry-aware metric AVQI, which quantifies latent-space alignment failure through cluster separation and compactness; the code is publicly available at https://anonymous.4open.science/r/alkali-B416/README.md.

Read originalarxiv.org