Metraipolis › archive › dc_4b179ef6481c

Prompted to Discriminate: Generalizing Malicious-Input Probes in the Wild — arXiv:2610.02413

Source
arXiv
Original
https://arxiv.org/abs/2610.02413
License (as archived)
CC0-1.0
Archived
2026-10-05T23:09:03.451Z
SHA-256 of the archived text
95bf9a8e593caeeea801509cd40f837da32be3bac2a856e1b331f28295813704
Stable URL of this page
https://metraipolis.com/documento/dc_4b179ef6481c

How to cite

Prompted to Discriminate: Generalizing Malicious-Input Probes in the Wild — arXiv:2610.02413 — arXiv, https://arxiv.org/abs/2610.02413 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4b179ef6481c (Metraipolis archive dc_4b179ef6481c, sha256 95bf9a8e593caeeea801509cd40f837da32be3bac2a856e1b331f28295813704)
BibTeX
@misc{dc4b179ef6481c,
  title = {Prompted to Discriminate: Generalizing Malicious-Input Probes in the Wild — arXiv:2610.02413},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.02413},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4b179ef6481c; sha256 95bf9a8e593caeeea801509cd40f837da32be3bac2a856e1b331f28295813704},
  year = {2026}
}

Archived text

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

LLM agents increasingly rely on activation probes as runtime monitors for prompt injection, jailbreaks, and unsafe requests, reading the model's own hidden state to catch a harmful input before the agent acts on it. A cheap, increasingly common move, borrowed from LLM-as-judge prompting, is to append a short classification instruction after the user's turn and read the probe at that point, to sharpen it: the instruction asks the model to represent the incoming request as a class, concentrating the signal the probe must separate, at negligible serving cost. But does the wording of that suffix matter, and does its benefit hold in the wild, on attack types the probe never saw in training, the regime a deployed monitor faces? We test this with a controlled ladder of post-user suffixes under strict leave-one-dataset-out (LODO) evaluation across 13 safety benchmarks (jailbreak, injection, and benign chat) and three open-weight model families (Llama-3.1-8B, Qwen3.5-9B, Gemma-4-12B). On a single-position probe, a classification suffix consistently improves out-of-distribution detection over no suffix (up to ~4 AUC points); yet which suffix matters: prompting the model to classify the input, even into content-free labels, reliably wins; an off-topic or merely-attentive suffix helps little. The gain comes from the classification format, not the named criterion: a content-free suffix matches the real malicious/benign one, with the criterion adding precision only at strict thresholds. This is not an artifact of the single-position read: the benefit carries to the multi-position pooling probes used in production (attention, multi-max, MLP), though the best-performing suffix there is readout-dependent. Served through a KV-cache fork, it is a cheap drop-in for any activation-probe monitor, though not an automatic win: which suffix helps, and by how much, depends on the model and the readout.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.02413 — 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-05T23:01:38.577Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).