Book
Open access
Nov 2026
TrojanShot: Reinforced Demonstrations Yield Sample-Efficient Jailbreaks and Guardrails for LLMs
This work proposes TrojanShot, a unified framework that post-trains a demonstration generator via reinforcement learning to produce potent in-context examples for both attack (Trojan shots) and defense (Guardian shots), operating entirely at the prompt layer of the target LLM.
Abhishek Divekar, Vijit Malik
· Proceedings of the 35th ACM... · 0 citations