Pith. sign in

REVIEW 4 cited by

Remote Timing Attacks on Efficient Language Model Inference

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2410.17175 v1 pith:JIHZ7MMS submitted 2024-10-22 cs.CR cs.LG

classification cs.CRcs.LG
keywords languagetimingmessagesmodelmodelssystemsuserattack
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Scaling up language models has significantly increased their capabilities. But larger models are slower models, and so there is now an extensive body of work (e.g., speculative sampling or parallel decoding) that improves the (average case) efficiency of language model generation. But these techniques introduce data-dependent timing characteristics. We show it is possible to exploit these timing differences to mount a timing attack. By monitoring the (encrypted) network traffic between a victim user and a remote language model, we can learn information about the content of messages by noting when responses are faster or slower. With complete black-box access, on open source systems we show how it is possible to learn the topic of a user's conversation (e.g., medical advice vs. coding assistance) with 90%+ precision, and on production systems like OpenAI's ChatGPT and Anthropic's Claude we can distinguish between specific messages or infer the user's language. We further show that an active adversary can leverage a boosting attack to recover PII placed in messages (e.g., phone numbers or credit card numbers) for open source systems. We conclude with potential defenses and directions for future work.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Leaky Language Models: Stealing Architecture and Inference Optimizations via Per-Token Timing

    cs.CR 2026-07 conditional novelty 7.0 of 10

    Per-token generation timing leaks speculative decoding and draft-model context length from Gemini, and recovers layer count and hidden size of Llama-family models with top-5 accuracy up to 65% when both are unknown.

  2. Auditing Prompt Caching in Language Model APIs

    cs.CL 2025-02 accept novelty 7.0 of 10

    Timing audits of 17 LLM APIs show prompt caching in eight providers, global cross-user cache sharing in seven, and evidence that OpenAI's embedding model is decoder-only.

  3. On the Promise for Assurance of Differentiable Neurosymbolic Reasoning Paradigms

    cs.AI 2025-02 conditional novelty 6.0 of 10

    A systematic comparison finds that differentiable neurosymbolic systems offer better assurance mainly in arithmetic-like reasoning tasks, not across the board, and interpretable shortcuts can increase adversarial risk.

  4. Towards Anonymous Neural Network Inference

    cs.CR 2025-05 reject novelty 5.0 of 10

    funion applies Echomix's Pigeonhole storage and BACAP capabilities to run neural network inference through a store-compute-store pipeline, claiming sender-receiver unlinkability inherited from the mixnet.

Pith tools