Md Anas Biswas · Preprints.org 2026 · 2026
DOI: 10.20944/preprints202611.2399.v1
Counts differ because each database indexes a different set of publications. We treat OpenAlex as the canonical count; Google Scholar is not shown (no API, and crawling it violates its ToS).
Many people now let an AI assistant read for them: a web page, an e-mail, a document. If that text contains an instruction, the assistant may follow it as though the user had given it, so anyone who can put text in front of the assistant can give it orders. This is indirect prompt injection. Filters that try to catch the hidden instruction are fooled by rewording. Retraining works better, but it mostly teaches the assistant to ignore anything that sounds like an instruction, so it ignores its user too and drops sentences it should copy or translate. Twin distillation teaches the assistant to judge an instruction by where it came from, not by how it sounds. Training examples come in pairs: in one, an instruction is hidden inside the document and the assistant learns to answer as if it were not there; in its twin, the same words come from the user and the assistant learns to follow them. Later training teaches it to copy, count, edit and translate documents without dropping such sentences, and to hold up against the disguises attackers use. We trained Qwen2.5-3B, Qwen2.5-7B and Llama-3.1-8B this way. Against attackers that reword, adapt to the model’s replies or use tricks the models never saw, on fresh documents and on an agent’s tool outputs, they hold up as well as or better than the published defences on the same models, and they are the only ones that stay secure while still following the user and keeping the document’s text. An attacker with full access to the model’s weights still succeeds on the Qwen models, as it does against the published defences. Code and adapters are released.
arXiv (Cornell University) 2026 · 2026 · 0 citations95% match
arXiv (Cornell University) 2014 · 2014 · 8145 citations90% match
2016 · 5389 citations90% match
arXiv (Cornell University) 2017 · 2017 · 4803 citations90% match
OASIcs : OpenAccess Series in Informatics 2025 · 2025 · 4742 citations90% match
2016 · 3971 citations90% match
2017 · 3530 citations90% match
No comments yet — start the discussion below.
2018 · 3031 citations90% match
arXiv (Cornell University) 2016 · 2016 · 3010 citations90% match
IEEE Transactions on Pattern Analysis and Machine Intelligence 2018 · 2018 · 2870 citations90% match