Lune

ICML2026顶会

SLIM: Secure and Efficient Inference for Large Language Models on Untrusted Devices via TEEs

Wei Wang, Zihao Guan, Xing Zhou, Yan Ding, Yusong Tan, Jie Yu, Bao Li

问 Lune

摘要

Deploying large language models (LLMs) on untrusted hardware entails a risk of weight extraction, which can lead to unauthorized replication and misuse of the model. A practical approach is to leverage Trusted Execution Environments (TEEs) and protect model security by obfuscating model weights. However, existing obfuscation schemes struggle to simultaneously provide strong security guarantees and high performance: schemes with security guarantees incur substantial overhead due to frequent TEE interactions, whereas schemes that achieve efficient inference are insecure. We propose SLIM, a secure inference framework that exploits the iterative structure of LLMs to let transformed representations cascade through consecutive obfuscated layers, thereby minimizing interactions with the TEE. SLIM introduces a T-Way Mixing algorithm that performs consecutive inter-vector covering using carefully constructed block-diagonal Householder matrices and combines it with successive random permutations, providing thorough weight obfuscation while keeping TEE-side computation lightweight. Evaluations demonstrate that SLIM provides robust security guarantees and significantly outperforms prior state-of-the-art obfuscation schemes in terms of performance, delivering up to a 13.80×13.80\times speedup while preserving fidelity.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML 引用了 Mind Your Weight(s): A Large-scale Study on Insufficient Machine Learning Model Protection in Mobile Apps
  • No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML 引用了 DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper13

  1. Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-FreeZihan Qiu, Zekun Wang, Bo Zheng, Zeyu Huang 等NeurIPS 2025 · 336 次引用
  2. DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in MemoriesAdnan Siraj Rakin, Md Hafizul Islam Chowdhuryy, Fan Yao, Deliang FanS&P 2022 · 163 次引用
  3. Mind Your Weight(s): A Large-scale Study on Insufficient Machine Learning Model Protection in Mobile AppsZhichuang Sun, Ruimin Sun, Long Lu, Alan MisloveUSENIX Security 2021 · 101 次引用
  4. No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLZiqi Zhang, Chen Gong, Yifeng Cai, Yuanyuan Yuan 等S&P 2024 · 53 次引用
  5. Query-Key Normalization for TransformersAlex Henry, Prudhvi Raj Dachapally, Shubham Shantaram Pawar, Yuxuan ChenEMNLP Findings 2020 · 45 次引用

相关 Paper

  1. LoRO: Real-Time on-Device Secure Inference for LLMs via TEE-Based Low Rank ObfuscationGaojian Xiong, Yu Sun, Jianhua Liu, Jian Cui 等NeurIPS 2025 · 6 次引用
  2. CoTrust: Privacy-Preserving Collaboration Between Large and Small Language Models in Trusted Execution EnvironmentsZhenya Ma, Tingyi Wang, Yongheng Deng, Ziqing Qiao 等ACL Findings 2026
  3. Game of Arrows: On the (In-)Security of Weight Obfuscation for On-Device TEE-Shielded LLM Partition AlgorithmsPengli Wang, Bingyou Dong, Yifeng Cai, Zheng Zhang 等USENIX Security 2025
  4. Understanding the Security Boundary of Obfuscation-based On-Device LLM ProtectionHanyi Zhou, Chenyang Li, Yuanzhe Pang, Ke Xu 等CCS 2026
  5. TWIST: Private Tenant-Dedicated LLM Serving via Joint Model-Token TransformationQizhi Zhang, Yufei Chen, Yu Lin, Wenqiang Ruan 等CCS 2026
黄昏的海面,两侧是细线勾勒的悬崖