Metraipolis › archive › dc_532076b06a9b

Safeguarding LLMs via Model-Agnostic Latent Safety Signals from Dark Knowledge — arXiv:2610.07532

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.07532
License (as archived)
CC0-1.0
Archived
2026-10-07T11:20:46.415Z
SHA-256 of the archived text
db537c3e76fdb5f41f855c39c549e08be1e5587d78a1dbd51c4978e37de5db5c
Stable URL of this page
https://metraipolis.com/documento/dc_532076b06a9b

How to cite

Safeguarding LLMs via Model-Agnostic Latent Safety Signals from Dark Knowledge — arXiv:2610.07532 — arXiv (en), https://arxiv.org/abs/2610.07532 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_532076b06a9b (Metraipolis archive dc_532076b06a9b, sha256 db537c3e76fdb5f41f855c39c549e08be1e5587d78a1dbd51c4978e37de5db5c)
BibTeX
@misc{dc532076b06a9b,
  title = {Safeguarding LLMs via Model-Agnostic Latent Safety Signals from Dark Knowledge — arXiv:2610.07532},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.07532},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_532076b06a9b; sha256 db537c3e76fdb5f41f855c39c549e08be1e5587d78a1dbd51c4978e37de5db5c},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.07532. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

LLMs have advanced rapidly, raising growing concerns about their safety. Recent work has proposed approaches to detect and defend against attacks including defenses at decoding stage that leverage models' hidden states. However, existing decoding-stage defenses suffer from two limitations. First, they introduce a trade-off between safety and over-refusal, where strengthening safety degrades the model's helpfulness on benign queries. Second, many of these methods rely on internal hidden states and are thus restricted to specific architectures, incurring substantial overhead and limited generalization across models. To address these limitations, we introduce LADE (Latent Safety Signals for Defense), which leverages latent safety signals extracted by contrasting harmful and benign queries from dark knowledge (i.e., information carried by the output probability distribution beyond its argmax) in the first-token output probability distribution. Our key insight is that, beyond surface-level refusal tokens, the dark knowledge in the first-token distribution contains latent safety signals, defined as tokens whose probabilities differ sharply between harmful and benign queries. We show that these signals consistently align across LLMs, forming a model-agnostic direction that emerges from safety alignment. LADE consists of three components: (1) Extracting Latent Safety Signals from Dark Knowledge, which selects top-k safety-discriminative tokens from the first-token probability distribution; (2) Tokenizer Mapping, which maps these tokens across different tokenizers to enable model-agnostic application; and (3) kNN-based Discrimination, which classifies queries via a k-Nearest Neighbors search over the mapped tokens. Across diverse LLMs and benchmarks, LADE is robust against a wide range of jailbreak attacks and lowers attack success rates while maintaining a competitive safety-utility trade-off.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI); Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2610.07532 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T11:15:24.725Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).