Paper 2026/1544

SoK: Confidential Transformer Inference and Retrieval-Augmented Generation

Timofey Yaluhin, ChainSafe Systems
Abstract

Running Transformer inference and retrieval-augmented generation (RAG) over confidential data forces a choice: either expose prompts and documents to a cloud operator, or keep the data on-premises, which confines the deployment to weaker self-hosted models. Existing defenses span five mechanism families: secure computation (MPC and FHE), trusted execution environments (TEEs), static obfuscation, differential privacy, and hybrid TEE-and-obfuscation splits. No prior systematization compares them on a common footing of mechanism, threat model, and deployment cost, and none covers the RAG retrieval layer. We organize the field by deployment readiness: the likelihood a scheme is adopted in practice, scored on performance, utility, and threat-model fit. The scoring spans inference and RAG retrieval, both dense and graph. We find that no family dominates: each attains at most two of the three criteria, and which one it sacrifices is fixed by its security basis, so the deployable choice is set by the constraint an application can least afford to relax. Even trusted hardware is no exception, since every surveyed scheme ignores the side channels to which it is most exposed. We further surface hidden deployment costs, such as client reliance and a custom serving path, identify private graph-RAG as the least-served setting, and find that no design yet keeps a pipeline confidential from query to answer.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
Keywords
systematization of knowledgeprivacy-preserving machine learningconfidential inferenceprivate information retrieval
Contact author(s)
timofey @ chainsafe io
History
2026-08-03: approved
2026-07-28: received
See all versions
Short URL
https://ia.cr/2026/1544
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/1544,
      author = {Timofey Yaluhin},
      title = {{SoK}: Confidential Transformer Inference and Retrieval-Augmented Generation},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1544},
      year = {2026},
      url = {https://eprint.iacr.org/2026/1544}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.