Mondrian: Prompt Abstraction Attack against Large Language Models for Lower API PricingMondrian: Prompt Abstraction Attack Against Large Language Models for Cheaper API Pricing
AI summary
The researchers propose Mondrian, a prompt abstraction attack against large language model APIs: the attacker proxies a high-priced target API with a lower-priced fake API, abstracts user queries, and forwards them. The attack shortens query tokens by 13%–23% and instruction prompt tokens by at least 11% on tasks such as text classification, generation, and question answering, without noticeably affecting the output quality of models such as ChatGPT. The attacker can profit without bearing the cost of API development and deployment.