Remote timing attacks on efficient language model inferenceRemote Timing Attacks on Efficient Language Model Inference
The researchers demonstrate a remote timing attack on language model inference that infers message content by monitoring the response speed of encrypted network traffic between the user and the model. On open-source systems, the method determines the conversation topic with over 90% precision, for example distinguishing medical advice from coding assistance; the authors state that on production systems such as OpenAI's ChatGPT and Anthropic's Claude, it can distinguish specific messages or infer the user's language. The authors also show that an active attacker can use a boosting attack to recover PII such as phone numbers and credit card numbers from messages on open-source systems, and present potential defenses and future directions at the end of the paper.