TRAP: Targeted Random Adversarial Prompt Honeypot for Black-Box Identification
- Martin Gubri,
- Dennis Thomas Ulmer,
- Hwaran Lee,
- Sangdoo Yun,
- Seong Joon Oh
- Parameter Lab,
- ,
- Naver AI Lab,
- Eberhard Karls University of Tübingen,
- Tübingen AI Center
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-reviewOpen access
Publication Information
Output type
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-reviewOriginal language
EnglishPages from-to (Number of pages)
Pages 11496–11517Publication milestones
- Published - 08/2024
Publication status
Published - 08/2024
Place of publication
BangkokVolume
Findings of the Association for Computational Linguistics ACL 2024Publisher
Association for Computational Linguistics, United StatesHost publication title
Findings of the Association for Computational Linguistics ACL 2024Host publication editors
- Lun-Wei Ku
- Andre Martins
- Vivek Srikumar
Abstract
Large Language Model (LLM) services and models often come with legal rules on *who* can use them and *how* they must use them. Assessing the compliance of the released LLMs is crucial, as these rules protect the interests of the LLM contributor and prevent misuse. In this context, we describe the novel fingerprinting problem of Black-box Identity Verification (BBIV). The goal is to determine whether a third-party application uses a certain LLM through its chat function. We propose a method called Targeted Random Adversarial Prompt (TRAP) that identifies the specific LLM in use. We repurpose adversarial suffixes, originally proposed for jailbreaking, to get a pre-defined answer from the target LLM, while other models give random answers. TRAP detects the target LLMs with over 95% true positive rate at under 0.2% false positive rate even after a single interaction. TRAP remains effective even if the LLM has minor changes that do not significantly alter the original function.
Access to documents
Related Event
Title
Conference on Association for Computational Linguistics
Event type
ConferenceDegree of recognition
International eventDate
11/08/2024 - 16/08/2024Location
BangkokThailand
