BiShield-TEE: On the (In-)Security of Unilateral Weight Obfuscation in On-Device TEE-Shielded LLM Partition
Wang Zhiyuan, Yuezhi Zhou, Ziqi Zhang, Zhu Zhang, Zhixing Tan, Yongheng Deng
NeurIPS page · Open on the map
Category: AI Safety, Security & Alignment › Multimodal Safety Steering · Type: new method · Keywords: TEE security, weight obfuscation, model protection, on-device LLM, bilateral obfuscation, ambiguous solutions
Areas: Safety & Security › Language Model Security › Prompt Injection and Resource Attacks; Privacy & Federated Learning › Privacy Defenses and Attacks › Data Extraction Attacks
Summary
BiShield-TEE introduces a bilateral weight obfuscation framework that jointly obscures input and output dimensions to hide the true key among ambiguous solutions, restoring security against TEE attacks.
Explained to a 5-year-old
People want to use big robot brains (LLMs) on phones without sharing them. They try to hide the brain’s secret recipe inside a special safe place called a TEE. The current safe only hides part of the recipe, so clever thieves can figure out the secret. The new idea makes the safe hide both the beginning and the end of the recipe at the same time. This makes it much harder for thieves to steal the brain, keeping it safe on the phone.
Explained to a 5-year-old, longer
Big computer brains called large language models are used on phones and other devices. These brains contain secret knowledge that owners don't want others to copy. To protect them, the brain is placed inside a special secure area called a Trusted Execution Environment (TEE). Most TEEs only hide the part of the brain that produces answers, leaving the secret key visible. Because of this, attackers can work out the secret key and break the protection. The paper shows that this weakness can be exploited, making the brain easy to steal. To fix this, the researchers created a new way to hide the brain that works on both sides. This new method hides the secret key in many possible places, so it is hard to find the right one. By doing this, the brain stays safe even if someone tries to look inside. The new method also runs faster than the old ones on real devices. It works on many different kinds of language models and data. This makes it possible to use powerful AI on phones without worrying about stealing.
For a technical reader
Current TEE-based obfuscation protects only the output side of model weights, making the secret key uniquely recoverable. The paper demonstrates that this Solution Determinacy Property leads to severe attacks against existing methods like GroupCover and ArrowCloak. The proposed bilateral framework obscures both input and output dimensions, creating many equally valid candidate keys that hide the true key. Experiments show the new approach matches the security of a full black-box shield while delivering higher inference throughput on real hardware. This design can be integrated into on-device LLM deployments to strengthen protection without sacrificing performance.
Problem
On-device deployment of large language models using Trusted Execution Environments (TEEs) is vulnerable because current obfuscation only protects the output side, making the secret key uniquely determinable and enabling attackers to recover model functionality.
Method
The approach jointly obfuscates both input and output dimensions of the model parameters, creating multiple equally valid candidate keys that hide the true key, and uses a bilateral transformation to achieve ambiguous solutions.
Results
The approach limits attack success to the baseline level and demonstrates higher inference efficiency compared to earlier methods on actual hardware.
Contributions
It identifies the Solution Determinacy Property vulnerability in unilateral TEE obfuscation and proposes a bilateral framework that creates ambiguous solutions, thereby restoring security while improving efficiency.
Practical relevance
Enables secure on-device LLM deployment with stronger protection against model theft while maintaining efficient inference on consumer hardware.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction