📖
LLM Trojans that Increase Response Lengths and Cost
Zhengxing Li, Guangmingmei Yang, Nader Alfares, David J. Miller, George Kesidis

LLM Trojans that Increase Response Lengths and Cost

Published 2026 Verification Pending

Overview & Synopsis

Management of the token-based costs of using LLMs has emerged as a significant problem. Some frontier-model providers charge five times per response token than per prompt token, while others offer prefilling discounts for prompt tokens. In this paper, we devise a defense against a new data-poisoning attack that plants a Trojan which increases the length of the response (and hence the cost to the user) when its trigger is present in the prompt. In particular, we demonstrate how a subtle Trojan may trigger on semantically similar instructions of an instruction fine-tuned LLM.

Indexed from repository: arXiv (arxiv.org)
Loading document from verified source...
Keyboard Shortcuts: ← / → for pages • + / - for zoom • 0 to fit width Powered by Mozilla PDF.js v3.11

Document Information

Document Title LLM Trojans that Increase Response Lengths and Cost
Author / Organization Zhengxing Li, Guangmingmei Yang, Nader Alfares, David J. Miller, George Kesidis
Subject & Discipline cs.CR
Publication Year 2026
License / Rights arXiv Open Access / Creative Commons
Resource Verification Listed PDF (Verification Pending)
Original Host Website arXiv (arxiv.org)
File Format application/pdf (Portable Document Format)
Language EN
Catalog ID DOC-276736
Original Source Link Visit Source Page on arxiv.org »