← Lab /AI/ML

Prompt reconstruction cost reduced up to 12.48× using RL in multi-tenant LLM caches

OptiLeak lowers the average number of requests per token by up to 12.48× compared to prior attacks

AI/ML arXiv 24 Feb 2026 Attack Simulation evidence Threat model

Published as “OptiLeak: Efficient Prompt Reconstruction via Reinforcement Learning in Multi-tenant LLM Services”

Why it matters

The results highlight the need for stronger cache isolation in multi-tenant LLM services and provide a practical tool for assessing side-channel leakage risk.

Summary

OPTILEAK reduces the average number of requests needed to recover each token by up to 12.48× compared to prior baseline attacks, demonstrating far higher efficiency. The claim is backed by experiments on three real-world domain datasets (medical and finance) across multiple model sizes (3B-14B), where ARPT consistently drops and attack success rates improve. Evidence is strong but the paper notes that DPO alone offers limited gains and larger models do not always help.

What they found 3

  1. Up to 12.48× reduction in average requests per token versus baseline.

    “OPTILEAK achieves up to 12.48× reduction in average requests per token compared to baseline approaches”

  2. Reduces ARPT from 41.99 to 30.27 (27.9% reduction) on MedQA under a related-but-distinct distribution.

    “Compared to the backbone baseline, our method reduces the ARPT from 41.99 to 30.27, achieving a 27.9% reduction.”

  3. DPO alone yields limited ARPT improvement despite >50% win/loss rate.

    “With only DPO applied, the adversary’s attack performance remains limited; while it can achieve an effective win/loss rate over 50.0%, there is no significant improvement in the ARPT.”

Caveats 2

  • DPO alone does not significantly improve ARPT, limiting the headline claim of universal efficiency gains.
  • Larger models do not consistently outperform smaller ones; e.g., Qwen-2.5-3B often achieves lower ARPT than 7B/14B variants.

What’s new here 4

  • Automates annotation of domain-specific “hard tokens” for preference learning, removing manual labeling.
  • Combines supervised fine-tuning with Direct Preference Optimization in a two-stage RL-enhanced pipeline.
  • Achieves order-of-magnitude reductions in request cost for cache-based prompt leakage across model scales.
  • Demonstrates robustness to distribution shifts and provides a framework usable as a proactive risk-assessment tool.

Threat model stated by the source

Adversaryordinary LLM client with black-box access to the LLM server
Capabilitycan send queries, measure TTFT, and access publicly available tokenizers
Assumesadversary knows the general domain of victim queries; victim and attacker share the same KV-cache pool