← Lab /Security & privacy

Trusted model environments run generative models in TEEs with low overhead and controlled leakage

TME provides private semantic computation that is effective, confidential, utility-preserving, verifiable, efficient, and scalable

Security & privacy arXiv 24 Sep 2026 Method Prototype evidence

Published as “Trusted Model Environment for Private Semantic Computations”

Why it matters

TME makes it feasible to run privacy-preserving semantic queries with strong confidentiality guarantees and modest performance overhead for small-to-medium scale deployments.

Summary

Trusted Model Environments (TME) reduce sensitive-input leakage to near-zero (≈0%) while keeping effectiveness close to the original large language models, with only a small utility drop of up to 5.3 percentage points. The approach combines latent adversarial training (LAT) and an information-flow-control (IFC) module inside a TEE, and adds remote attestation and batching to keep overhead modest (clean inference 10.5-11.8 s, per-party cost drops with 1/N batching). However, LAT can hurt effectiveness and sometimes increase indirect leakage, and the oblivious carousel that hides access patterns scales linearly with database size, limiting practicality for very large datasets.

What they found 4

  1. Utility (accuracy) drops by at most 5.3 percentage points compared to the base model.

    “Ministral-8B with a 5.3 percentage-point drop (62.5% →57.2%);”

  2. Clean inference incurs 10.5-11.8 s per query, while paraphrasing adds about 40-41 s.

    “clean answers incur 10.5-11.8s per inference, while paraphrasing takes about 40-41s.”

  3. Batching across parties reduces per-party overhead roughly proportionally to 1/N.

    “Thus, batching the IFC module’s checks across parties reduces per-party overhead toward 1/N.”

  4. The oblivious carousel reduces access-pattern leakage from 0.63 to 0.05.

    “the carousel cuts access-pattern recovery from 0.63 (top-k baseline) to 0.05 (a constant full scan).”

Caveats 5

  • LAT can occasionally increase indirect leakage, illustrating an unintended interaction between adversarial robustness and indirect leakage [68].
  • Utility drops of up to 5.3 percentage points show a trade-off between privacy and performance.
  • We do not claim unqualified scalability: our evaluation covers a limited range, and the carousel’s linear cost in Ndb makes > 10^5 records prohibitive.
  • Side-Channel Attacks: Several side-channel attacks have been proposed against TEEs [72]. Mitigating them is outside the scope of this work.
  • Reported ASR is a lower bound on the true leakage, and measures protection of sensitive inputs identified by the detector, not those it misses.

What’s new here 4

  • Integrates generative LLMs with TEEs to enable private semantic computation over structured and unstructured data.
  • Introduces latent adversarial training (LAT) and an IFC module to suppress both verbatim and semantic leakage of sensitive inputs.
  • Provides remote attestation of model execution and batching across multiple parties to amortize overhead.
  • Implements an oblivious carousel to hide database access patterns while supporting semantic queries.