BiShield-TEE: On the (In-)Security of Unilateral Weight Obfuscation in On-Device TEE-Shielded LLM Partition
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
BiShield-TEE: On the (In-)Security of Unilateral Weight Obfuscation in On-Device TEE-Shielded LLM Partition
arXiv:2610.21565v1 [cs.CR] 15 Oct 2026
Zhiyuan Wang1,2 Yuezhi Zhou1,2∗ Ziqi Zhang3 Zhu Zhang1 Zhixing Tan2∗ Yongheng Deng1 1 Department of Computer Science and Technology, Beijing National Research Center for Information Science and Technology, Tsinghua University, Beijing, China 2 Zhongguancun Laboratory, Beijing, China 3 University of Illinois Urbana-Champaign, IL, USA {wzycs24,zhuzhang24}@mails.tsinghua.edu.cn zhouyz@mail.tsinghua.edu.cn ziqi24@illinois.edu zxtan@zgclab.edu.cn dengyh1013@gmail.com
Abstract On-device deployment of large language models (LLMs) is increasingly adopted due to latency and privacy requirements, but exposes proprietary models to reverse engineering and intellectual property theft. Trusted Execution Environments (TEEs) provide hardware-enforced isolation for on-device inference, yet most TEE-based parameter obfuscation relies on unilateral matrix transformations that obfuscate only output side. We identify a vulnerability in this design, termed the Solution Determinacy Property (SDP): the obfuscation secret is uniquely determined, exposing the structure of the true key and enabling attackers to break the protection. Under our attacks, representative methods G ROUP C OVER and A RROW C LOAK are reduced to negligible protection, with attack accuracy reaching over 2.4× the full-shielding black-box baseline and recovering near-complete model functionality. To address this vulnerability, we propose B I S HIELD -TEE, a bilateral framework that induces Ambiguous Solutions through joint obfuscation of input and output dimensions, hiding the true key among many equally valid candidates. Experiments across diverse models and datasets show that B I S HIELD -TEE confines attack accuracy to the full-shielding black-box baseline, while achieving higher inference efficiency than prior methods on real hardware. Our code is available at https://github.com/laduiw/BiShield-TEE.
1
Introduction
The deployment of large language models (LLMs) is increasingly shifting from cloud servers to edge devices, particularly in latency-sensitive scenarios [1, 2, 3]. While this transition reduces response time and enhances user privacy by enabling local processing [4, 5, 6], it also exposes high-value models to untrusted and potentially adversarial environments. Unlike cloud-based services where models operate as black boxes behind APIs, on-device deployment requires storing and executing models locally, making them vulnerable to white-box attacks [7, 8, 9]. Given that high-performance models represent valuable intellectual property [10, 11, 12], protecting them in on-device settings becomes critical [13, 14]. ∗ Corresponding author.
40th Conference on Neural Information Processing Systems (NeurIPS 2026).
Trusted Execution Environments (TEEs) provide hardware-enforced isolation to protect sensitive computations even against privileged adversaries [15, 16, 17, 18]. However, limited computational resources and memory in edge TEEs [15, 19, 20] make full model execution impractical. Existing defenses thus adopt a partitioned execution paradigm [20, 21, 22, 23, 24, 25], offloading computationintensive layers to untrusted accelerators while keeping lightweight recovery logic inside the TEE. A common design is to obfuscate each linear layer’s weights W with a secret invertible transformation T sampled inside the TEE, deploying Wobf = WT on the GPU. At inference, the GPU computes Yobf = XWobf , and the TEE recovers the true output via Y = Yobf T−1 = XW. Existing schemes explore various designs of T, seeking to ensure that the obfuscated parameters leak no information about the underlying private weights. However, current approaches share a common paradigm of unilateral obfuscation, reducing to right-multiplication by a secret T. We identify a fundamental vulnerability of this paradigm, termed SDP: The secret T admits a unique, high-precision estimate T̂ that inherits its structure and enables successful reconstruction, provided the victim is fine-tuned from a public pre-trained model. Exploiting this structure leakage in practice is non-trivial. Existing attacks [22] succeed on per-vector obfuscation [21, 23, 24, 25] through vector direction similarity, where T̂ takes a simple diagonal or permutation form. But these attacks are ineffective against the more elaborate T̂ produced by G ROUP C OVER (ICML’24) [20] and A RROW C LOAK (USENIX Security’25) [22]. We design two dedicated attacks that exploit specific structural patterns in T̂: for G ROUP C OVER, T̂ exhibits a block-diagonal structure that we recover through a clustering procedure based on energy-distribution similarity; for A RROW C LOAK, T̂ admits a low-rank structure that manifests as a spectral anomaly in Wobf , which we recover via Principal Component Analysis (PCA). Both deliver the first successful attack of these schemes, recovering model functionality nearly identical to the originals. To prevent the structural leakage exploited by SDP, we propose B I S HIELD -TEE, a bilateral framework that obfuscates both sides of the weight matrix. We show that this design avoids SDP and induces Ambiguous Solutions, yielding an ill-posed system where the true keys are not uniquely recoverable. We conduct extensive evaluations across diverse models and tasks, including ViT [26], GPT-2 [27], and Llama3.2 [28]. Our results expose the fragility of existing defenses: attacks on G ROUP C OVER and A RROW C LOAK elevate attack accuracy to 2.44× the black-box baseline, effectively recovering model functionality. By contrast, B I S HIELD -TEE confines attack accuracy to the black-box level. Beyond stronger security, the bilateral design also yields favorable efficiency, running 1.70× and 1.46× faster than G ROUP C OVER and A RROW C LOAK, respectively. We summarize our contributions as follows: • We identify the SDP, a common vulnerability in unilateral obfuscation, and devise effective attacks on G ROUP C OVER and A RROW C LOAK. By exploiting the structural leakage in each scheme, our attacks recover model functionality close to the white-box baseline. • We propose B I S HIELD -TEE, a bilateral framework that obfuscates input and output sides, providing strong protection while remaining efficient for Transformer architectures. • We empirically show that unilateral defenses degrade to near-white-box security, whereas B I S HIELD -TEE achieves strong protection with improved inference latency on real devices.
2
Related Work
2.1
On-device Model Stealing
Deploying a proprietary model Mvic on edge devices exposes it to model stealing and IP leakage [5, 29]. We assume the adversary can access all information outside the TEE. With white-box access to unprotected parameters, the adversary directly extracts weights to build a high-fidelity surrogate Msur [22], whereas under full-shielding black-box access, Mvic is fully protected inside the TEE and the adversary has no information about its parameters [30]. Our defense aims to reduce adversarial capability from white-box to black-box, limiting the effectiveness of Msur . 2
Table 1: Comparative analysis of TEE-based weight obfuscation schemes. Paradigm
Method
Venue
Mechanism
Unilateral Per-vector
SOTER [21] ShadowNet [23] TLG [24] TSQP [25]
ATC’22 S&P’23 MM’24 S&P’25
Per-vector scaling Per-vector scaling + permutation Per-vector permutation Quantized per-vector scaling
✗ ✗ ✗ ✗
Unilateral mul.
G ROUP C OVER [20]
ICML’24
Group columns, mix within group
✗
Unilateral add.
A RROW C LOAK [22]
USENIX Sec’25
Add shared mask to all columns
✗
Bilateral (ours)
B I S HIELD -TEE
this work
Joint input-output obfuscation
✓
2.2
SDP-free
Trusted Execution Environment
TEE is a secure, hardware-enforced area within a processor that protects code and data integrity and confidentiality from the host OS [31]. A prominent implementation, Intel Software Guard Extensions (SGX) [15], provides a private memory region called an enclave in which contents are encrypted by the CPU and isolated by hardware from external access. Crucially, SGX supports remote attestation [32], enabling a remote party to verify the inference code’s integrity before provisioning proprietary model weights. Following prior work [9, 14, 20, 21, 22, 23], B I S HIELD -TEE adopts the TEE as the root of trust to securely store obfuscation keys and execute lightweight de-obfuscation, while offloading the bulk of computation to untrusted accelerators. 2.3
Partitioned Execution in TEE-Assisted Inference
Since executing modern LLMs entirely inside TEEs is impractical [33, 34], prior work adopts a partitioned paradigm [9, 20, 21, 22, 23] that offloads heavy matrix multiplications to untrusted GPUs while keeping key management inside the TEE. A common design obfuscates weights by right-multiplication with a secret T acting only on the output side of parameter W, with T typically given a special structure so that T−1 is cheap to apply inside the TEE. These unilateral schemes differ in how they instantiate T, and Table 1 groups them into three types. The first applies per-vector obfuscation such as random scaling or permutation, which is insecure under fine-tuning from public pre-trained checkpoints [9, 19, 22, 35]. The second uses unilateral multiplicative obfuscation (e.g., G ROUP C OVER [20]), mixing output features within groups. The third uses unilateral additive obfuscation (e.g., A RROW C LOAK [22]), adding a scaled shared mask to each column. All three remain unilateral, confining obfuscation to the output side of W. A MULET [36] also employs bilateral weight obfuscation, with its design centered on reducing TEE interactions during inference. Our work focuses on the SDP vulnerability of unilateral obfuscation and develops lightweight bilateral transformations to resist reconstruction attacks. For intermediate features, we follow prior work [37, 23] and use integrity verification and one-time pad (OTP) protection [37], with implementation details provided in Appendix H.
3
Threat Model
Scenario. Following prior TEE-based on-device inference settings [9, 20, 22, 24, 25], we consider a model owner deploying a proprietary model Mvic to user-controlled devices with TEEs, where an obfuscated model Mobf runs outside the TEE on the GPU while secrets and recovery logic remain inside TEE. The defender aims to reduce the adversary’s effective capability from white-box to black-box, ensuring any extracted surrogate Msur has substantially lower utility than Mvic . The attacker is a malicious device user with full control over Mobf , runtime traces, and the software stack outside the TEE, and knows the defense mechanism but cannot access TEE-internal secrets. Prior Knowledge. Following prior work and practical deployment settings [9, 20, 22, 25], we assume that Mvic is fine-tuned from a publicly available pre-trained model Mpre . The parameter reconstruction stage of our attack is query-free, relying solely on Wpre and the obfuscated weights Wobf . Queries to Mvic are required only for downstream task adaptation (e.g., retraining the 3
surrogate’s classification head), and the query budget is capped at less than 1% of the training data size, consistent with prior work [9, 14, 20, 22, 24].
4
Attacks on Unilateral Defenses
In this Section, we formalize SDP and instantiate concrete attacks on unilateral defenses. Notation. We denote the weight matrices of the victim, obfuscated, and pre-trained models by Wvic , Wobf , and Wpre , respectively. The i-th column is denoted by w(i) . Weight matrices are W ∈ Rd×n with input/output dimensions d and n, and features X ∈ Rl×d with sequence length l. 4.1
Solution Determinacy Property in Unilateral Obfuscation
Under partitioned TEE inference, outsourced Unilateral: Bilateral: computation is dominated by linear matrix 𝐖obf = 𝑻 𝑻 𝐖vic 𝐖obf = 𝐖vic 𝐓 multiplications [20, 21, 22, 23]. To preserve correctness, unilateral defenses apply a rightCannot † 𝑻 ′′ 𝑻 ′ 𝑻′ 𝑻 ′′ 𝐖obf = 𝐖pre 𝐓 Tell Apart side transformation T ∈ Rn×n to obtain Wobf = Wvic T (Figure 1). Since the vicAmbiguous Solutions Solution Determinacy Property Recoverable Unique 𝐓 No Unique 𝐓 tim is fine-tuned from a public checkpoint, we Real (𝑻𝒍 , 𝑻𝒓 ) Pair Hidden Structure Leaks 𝐓 can write Wvic = Wpre + ∆ with a small Secure Bilateral Obfuscation Vulnerable Unilateral Obfuscation fine-tuning increment ∆. The adversary can therefore approximately solve for T from the public Wpre and the observed Wobf via least- Figure 1: Comparison of unilateral and bilateral obfuscation. squares: † † T̂ = arg min ∥Wobf − Wpre T∥2F = Wpre Wobf ≈ (I + Wpre ∆)T, (1) 𝒓
𝒍
𝒍
𝒍
𝒓
𝒓
T
† where Wpre denotes the Moore–Penrose pseudoinverse. Since ∆ is small, T̂ stays close to T and preserves its structural properties. A dense random T would leave T̂ devoid of exploitable structure, but is impractical inside TEEs since applying T−1 during recovery becomes prohibitively expensive. Existing defenses therefore impose structural constraints on T (e.g., sparsity or low-rank structure), which are inherited by T̂ and allow the adversary to recover the true transformation from its structure. We refer to this inherent vulnerability as SDP.
SDP directly explains why the per-vector schemes [21, 23, 24, 25] in Table 1 are insecure: their permutation- or scaling-based obfuscation causes T̂ to concentrate at the true permutation or scaling locations, so the key can be read off by selecting the maximum in each row or column. Prior attacks [22] also succeed through vector direction similarity, but cannot extend to G ROUP C OVER or A RROW C LOAK, whose designs further obfuscate the column directions and eliminate the direction similarity. We close this gap by exploiting the structures of T̂ to attack G ROUP C OVER and A RROW C LOAK. Since these structures take different forms in each scheme, we design two dedicated attacks, illustrated in Figure 2, that reconstruct the protected weights. The original defense details of G ROUP C OVER and A RROW C LOAK are deferred to Appendix A. 4.2
Breaking Unilateral Multiplicative Schemes: G ROUP C OVER Case Study
G ROUP C OVER [20] partitions the output columns into n/s groups of size s, applies an independent random s × s linear mixing within each group, and permutes columns to hide group membership, yielding a block-diagonal transformation under random row and column permutations: TG ROUP C OVER = Π1 blockdiag(T1 , . . . , Tn/s ) Π2 ,
Ti ∈ Rs×s .
(2)
The least-squares estimate T̂ inherits this block-sparse structure: each column concentrates its mass on a small subset of s indices, and the group size s can be inferred from the number of dominant entries per row or column. We exploit this leakage via a two-stage attack shown in Figure 2(a). G1: Group recovery. Columns belonging to the same group share a common set of s dominant indices in T̂, while entries outside the group are close to zero. Starting from each unassigned column, 4
Recovered Sparse 𝐓
𝐖vic
Group1 Group2 Group3
Unilateral Linear Combination
1
Broken 𝐖vic 𝐖vic
𝐯est
𝐖pre 𝐖vic
0
𝐖sur
𝐀𝟐
𝐖obf
𝐀𝟑
≈
𝐖pre
𝐖obf
Broken
PCA
𝐀𝟏
≈
𝐆𝟐
𝐆𝟏
Unilateral Additive Masking
𝐖clean
𝐖sur
Projection
Group1
Group2
Group3
(a) Attacks on GroupCover
Shared-Mask Spectral Leakage
(b) Attacks on ArrowCloak
Figure 2: Attacks against unilateral model protection schemes. (a) Attack on G ROUP C OVER. Step G1 recovers the block-diagonal grouping from T̂. Step G2 reconstructs Wvic within each group. (b) Attack on A RROW C LOAK. Step A1 extracts the shared mask direction via PCA. Step A2 denoises Wobf via orthogonal projection. Step A3 restores Wvic via least-squares reconstruction. we identify the s − 1 columns with the greatest overlap in the row indices of their largest-magnitude entries and assign them to the same group. Repeating this process until all columns are assigned recovers the grouping {G1 , . . . , Gn/s }. G2: Parameter reconstruction. Given the recovered groups, the global reconstruction problem decomposes into independent low-dimensional subproblems. For each column of Wpre , we identify candidate groups in Wobf from the row indices of its largest-magnitude entries, perform local leastsquares reconstruction within each group, and select the result with the highest cosine similarity. As formally proved in Appendix B, the parameter recovery error is only an s/d fraction of that in the black-box setting; with the default s = 4 and matrix dimension d, we have s ≪ d, leading to highly accurate recovery. 4.3
Breaking Unilateral Additive Scheme: A RROW C LOAK Case Study
A RROW C LOAK [22] applies per-column scaling controlled by p and a column permutation Π, together with an additive mask shared across all columns, where the direction of the mask is determined by a secret coefficient vector k and its per-column weights are given by q: TA RROW C LOAK = diag(p) + kq⊤ Π, p, k, q ∈ Rn . (3) This transformation injects a shared vector v := Wvic k ∈ Rd into every column of Wobf , scaled by a per-column factor. The resulting low-rank structure exposes v as a dominant direction in Wobf , which we exploit via a three-step attack as shown in Figure 2(b). A1: Mask extraction. Since the shared mask dominates the variance of Wobf , we estimate its direction via PCA: vest ≈ PCA1 (Wobf ). (4) A2: Denoised alignment. The additive term distorts column-wise similarity, making direct matching unreliable. We remove this component by projecting onto the orthogonal complement of vest : ⊤ Wclean = Wobf − vest (vest Wobf ), (5) and recover the column permutation by computing cosine similarities between normalized columns of Wclean and Wpre .
A3: Parameter reconstruction. With column alignment established, each column is reconstructed by solving a least-squares problem over the obfuscated weights and the estimated mask: (i)
(i) wsur = α̂i wobf + β̂i vest . (6) Appendix C provides additional details of our attacks against G ROUP C OVER and A RROW C LOAK, including pseudocode, diagnostic visualizations and complexity analysis.
5
Design of B I S HIELD -TEE
Since the above attacks all exploit SDP, B I S HIELD -TEE breaks it by applying bilateral obfuscation over both row and column spaces. For a weight matrix Wvic ∈ Rd×n , the protected form is Wobf = Tl Wvic Tr ,
Tl ∈ Rd×d , Tr ∈ Rn×n , 5
where Tl = Hl Dl and Tr = Dr Hr . Each D is a diagonal scaling matrix that perturbs the magnitude of every dimension, and each H is a Householder matrix [38], H = I − 2vv⊤ , ∥v∥ = 1, that perturbs directional structure. Since Householder matrices are involutory (H−1 = H), the −1 −1 inverses simplify to T−1 = D−1 l l Hl and Tr = Hr Dr , which can be computed efficiently inside the TEE. We then demonstrate this framework on linear layers and self-attention. 5.1
Linear Layers
By applying the inverse transformation to the right-side of the input X ∈ Rl×d , the left-side obfuscation of W is implicitly cancelled. During inference, X is preprocessed inside the TEE as X′ = Tm X T−1 = Tm X D−1 l l Hl . where Tm = Hm Dm is sampled per forward pass inside the TEE as an independent scale-plusHouseholder transformation that protects intermediate activations. GPU execution then yields Y′ = X′ Wobf = Tm X (D−1 l Hl Hl Dl ) Wvic Tr = Tm Y Tr . ′ −1 The TEE recovers the output via Y = T−1 m Y Tr .
5.2
Self-Attention
Figure 3 illustrates the B I S HIELD -TEE for self-attention. Standard self-attention [39] computes Q = XWQ , S = QK⊤ ,
K = XWK , V = XWV , P = softmax √Sd , Y = PVWO .
′ Each projection matrix is obfuscated bilaterally as WQ = TlQ WQ TrQ . With runtime preprocessing X′ = TQ X(TlQ )−1 , we obtain Q′ = TQ QTrQ .
Similarly, the transformed projections for keys and values are K′ = TK KTrK and V′ = TV VTrV . By coupling the two right-side keys via (TrK )⊤ = (TrQ )−1 , they cancel implicitly in the dot product: ⊤ S′ = Q′ K′⊤ = TQ Q K⊤ T⊤ K = TQ S TK . ′ ⊤ −1 The TEE restores S = T−1 , applies softmax to obtain P, and re-obfuscates as P′ = Q S (TK ) −1 ′ r −1 TP P TV . With WO = (TV ) WO TO , the TrV factors cancel implicitly: ′ Y′ = P′ V′ WO = TP Y TO . ′ −1 and the TEE recovers Y = T−1 P Y TO .
TEE Inference X
Softmax
𝐒
BiShield
Recover S
𝐗′
GPU
𝐗 ′ 𝐖 ′ → 𝐐′ , 𝐊 ′ , 𝐕 ′
𝐒′
GPU
𝐐′ 𝐊 ′ → 𝐒′
(Locked) Implicit Cancel
𝑇
𝐖𝑉′ ′
𝐏
BiShield
𝐐 𝐏′
𝐏′ 𝐕 ′ 𝐖𝐎′ → 𝐘 ′
GPU
𝐊
REE Inference BiShield-TEE Design
Recover Y 𝐘
𝐖𝑂′
′𝑇
Attention map
Next operation
Offline Deployment 𝐖𝑄′ 𝐖𝐾′
𝐘′
Scale-plusHouseholder
Implicit Cancel Obf.
Input Obf.
Plaintext
Figure 3: Overview of B I S HIELD -TEE for self-attention layers.
6
Output Obf.
5.3
Efficiency and Security Analysis
TEE-side computation is limited to Householder and scale transformations, while dense matrix multiplications are offloaded to GPUs. Since applying a Householder matrix reduces to two matrixvector products, the recovery overhead remains low. The number of TEE transitions is also unchanged from unilateral schemes [20, 22], since both unilateral and bilateral schemes share the same workflow: obfuscation is applied before offloading inputs and reversed once results return to the TEE. From a security perspective, bilateral obfuscation turns key recovery into an ill-posed problem: given Wobf = Tl Wvic Tr and a pre-trained model, a continuum of scale-plus-Householder pairs remain observationally indistinguishable up to the fine-tuning slack. This set of Ambiguous Solutions conceals the genuine keys among many equally valid candidates. Whereas unilateral defenses allow the adversary to readily obtain a structurally constrained approximation of the true key, bilateral obfuscation makes such recovery substantially harder. A formal analysis is provided in Appendix D.
6
Experiments
To evaluate the effectiveness of our approach, we focus on the following key questions: • RQ1: Are representative unilateral defenses secure against our reconstruction attacks? • RQ2: Can bilateral design withstand the same or more adaptive attacks? • RQ3: How efficient is bilateral protection on real-world hardware? 6.1
Experimental Setup
Models and Datasets. We evaluate on five representative architectures spanning vision and language tasks: ViT-Base, ViT-Large, GPT2-Base, Llama3.2-1B and Llama3.2-3B. For vision tasks, ViT models are evaluated on CIFAR-10, CIFAR-100 [40], and Food-101 [41]. For NLP, GPT2-Base is evaluated on four GLUE [42] tasks, and Llama3.2-1B and Llama3.2-3B are evaluated on both GSM8K [43] and IFEval [44] to assess mathematical reasoning and instruction-following capabilities. Baselines and Settings. The white-box baseline with full plaintext access and the black-box baseline with pre-trained weight substitution represent the upper and lower bounds of attacker capability, respectively. To enable comparison across tasks with different baseline difficulties, we additionally report Rel. Black, the ratio of attack accuracy to the black-box baseline. Values close to 1× indicate that the adversary is reduced to the black-box level, while large values indicate that protection has effectively failed. For Llama3.2, surrogate models are evaluated with lm-evaluation-harness [45]. We focus on G ROUP C OVER and A RROW C LOAK as representative unilateral schemes, and additionally include TLG [24] as a per-vector obfuscation scheme in Table 1, though this category has already been broken by prior work [22]. Further details on the experimental pipeline, hyperparameters, and implementation are provided in Appendix E. 6.2
Attack Performance
Table 2 reports attack accuracy across all evaluated models and datasets. TLG exhibits security vulnerabilities, consistent with prior findings [22]. More importantly, our attack also reduces G ROUP C OVER and A RROW C LOAK, the stronger unilateral schemes, to near white-box behaviour: their average Rel. Black ratio of 2.44× closely matches the white-box bound at 2.49×. The gap to the white-box bound stays small across vision, language understanding, and reasoning tasks, indicating that the leakage we exploit is intrinsic to unilateral obfuscation. Figure 4 further confirms that attack accuracy against G ROUP C OVER and A RROW C LOAK stays high regardless of the number of protected layers, since each layer is compromised independently and additional protected layers introduce no compounding noise. Answer to RQ1: Our reconstruction attacks substantially weaken both G ROUP C OVER and A RROW C LOAK, increasing the attack accuracy by 2.44× over the black-box baseline.
7
Table 2: Attack performance against unilateral defenses. We report our attack accuracy and its ratio to the black-box baseline (Rel. Black). Higher values indicate failed protection (closer to no-shield white-box); lower values indicate effective defense (closer to full-shielding black-box). Model
TLG
Dataset
G ROUP C OVER
A RROW C LOAK
White-box
Our Attack
Rel. Black
Our Attack
Rel. Black
Our Attack
Rel. Black
Acc.
Rel. Black
Black-box
ViT-Base
CIFAR-10 CIFAR-100 FOOD-101
98.4% 90.5% 87.9%
1.55× 1.52× 1.49×
98.4% 90.6% 85.6%
1.55× 1.52× 1.45×
98.5% 90.0% 84.9%
1.55× 1.51× 1.43×
98.1% 90.9% 83.4%
1.55× 1.52× 1.41×
63.4% 59.7% 59.2%
ViT-Large
CIFAR-100 FOOD-101
91.8% 88.9%
1.33× 1.36×
91.8% 86.9%
1.33× 1.33×
91.1% 85.9%
1.32× 1.32×
91.6% 85.5%
1.33× 1.31×
68.8% 65.3%
GPT2-Base
SST2 QQP QNLI MNLI
92.1% 88.1% 87.4% 80.8%
1.46× 1.34× 1.63× 1.69×
92.1% 88.1% 87.1% 80.5%
1.46× 1.34× 1.62× 1.69×
92.6% 87.9% 87.0% 80.4%
1.47× 1.34× 1.62× 1.69×
92.4% 88.1% 86.7% 80.8%
1.47× 1.34× 1.61× 1.69×
63.0% 65.6% 53.7% 47.7%
Llama3.2-1B
GSM8K IFEVAL
34.0% 58.7%
5.08× 4.85×
31.8% 55.5%
4.75× 4.59×
30.7% 56.7%
4.58× 4.69×
35.5% 54.6%
5.30× 4.51×
6.7% 12.1%
Llama3.2-3B
GSM8K IFEVAL
64.2% 74.2%
2.32× 7.07×
61.6% 71.7%
2.22× 6.83×
61.9% 73.8%
2.23× 7.03×
64.4% 73.5%
2.32× 7.00×
27.7% 10.5%
–
2.47×
–
2.44×
–
2.44×
–
2.49×
1.00×
Average
6.3
Defense Effectiveness
Attacker Accuracy (%)
Security against adaptive attacks. Reconstruction attacks designed for unilateral defenses cannot di90 rectly compromise bilateral protection, since recovering only one side leaves the other side missing. 80 We therefore design four attack strategies tailored to the bilateral structure: parameter substitution as the 70 black-box baseline, input-only and output-only recovery, and a joint adaptive attack that alternately fits one BiShield-TEE (Ours) side’s key with the other fixed, minimizing the residBlack-box (CIFAR) ArrowCloak 60 GroupCover ual against Wpre . As shown in Table 3, unilateral CIFAR-100 Black-box (QNLI) QNLI recovery causes catastrophic performance collapse: 50 on Llama models, both Input-Only and Output-Only 0 2 4 6 8 11 attacks leave the surrogate unable to produce coherent Number of Protected Layers outputs. Even the Joint I&O attack yields negligible gains, and on most settings the strongest adversary is Figure 4: Attack accuracy vs. the number of protected layers on ViT-Base and GPT2-Base. the parameter substitution baseline itself. Security against the strongest unilateral defense. We adopt the most adversary-favorable comparison: for B I S HIELD -TEE we report the highest attack accuracy across all adaptive strategies in Table 3, while for the unilateral baseline we take the lowest attack accuracy in Table 2. Even when comparing our worst case against strongest unilateral defense’s best case, Table 4 shows that B I S HIELD -TEE reduces Rel. Black to an average of 1.00×, against 2.42× for the strongest unilateral defense. Its security compounds across layers, as layer-wise reconstruction errors accumulate and progressively diminish attacker capability as shown in Figure 4. Utility preservation. Bilateral obfuscation should also preserve service quality for authorized users. Table 5 compares the original model with its B I S HIELD -TEE obfuscated version. The matching accuracies across all datasets confirm that the TEE inverse transformations recover the original output and preserve authorized inference quality.
Answer to RQ2: B I S HIELD -TEE remains secure against all adaptive attacks, consistently reducing adversaries to black-box level performance with Rel. Black averaging 1.00×.
8
Table 3: Adaptive attack accuracy against B I S HIELD -TEE. Results cover input-only, outputonly, joint input&output recovery and parameter substitution attacks. Model
Attack Strategies on B I S HIELD -TEE
Data
Input Output Only Only
Joint I&O
Param. Subst.
ViT-Base
C10 C100 F101
10.7% 1.7% 1.0%
14.8% 6.1% 4.5%
63.6% 59.7% 59.0%
ViT-Large
C100 F101
2.5% 1.5%
6.7% 4.3%
GPT2-Base
SST2 QQP QNLI MNLI
56.2% 63.5% 51.6% 34.3%
Llama-1B
GSM8K IFEVAL
Llama-3B
GSM8K IFEVAL
Table 4: Defense effectiveness comparison. “Prior Best” is the strongest defense among the unilateral schemes in Table 2; “Ours” is the highest attack accuracy achieved by the best adaptive attack strategy in Table 3. Prior Best
Ours
Model
Dataset
Acc.
Rel.Black
Acc.
Rel.Black
63.4% 59.7% 59.2%
ViT-Base
C10 C100 F101
98.4% 90.0% 84.9%
1.55× 1.51× 1.43×
63.6% 59.7% 59.2%
1.00× 1.00× 1.00×
68.6% 65.3%
68.8% 65.3%
ViT-Large
C100 F101
91.1% 85.9%
1.32× 1.32×
68.8% 65.3%
1.00× 1.00×
52.4% 63.4% 50.5% 37.4%
63.0% 65.6% 53.7% 47.7%
63.0% 65.6% 53.7% 47.7%
GPT2-Base
SST2 QQP QNLI MNLI
92.1% 87.9% 87.0% 80.4%
1.46× 1.34× 1.62× 1.69×
63.0% 65.6% 53.7% 47.7%
1.00× 1.00× 1.00× 1.00×
0.0% 0.0%
0.0% 0.0%
7.0% 12.0%
6.7% 12.1%
Llama-1B
GSM8K 30.7% IFEVAL 55.5%
4.58× 4.59×
7.0% 12.1%
1.04× 1.00×
0.0% 0.0%
0.0% 0.0%
28.0% 9.4%
27.7% 10.5%
Llama-3B
GSM8K 61.6% IFEVAL 71.7%
2.22× 6.83×
28.0% 10.5%
1.01× 1.00×
2.42×
–
1.00×
Average
–
Table 5: Authorized utility of B I S HIELD -TEE. “Original” is the unprotected fine-tuned victim; “Obfuscated” is the same model under bilateral obfuscation. ViT-Base
Setting C10
C100
ViT-Large F101
C100
F101
GPT2-Base SST2
QQP
Llama3.2-1B
Original 98.1% 90.9% 83.4% 91.6% 85.5% 92.4% 88.1% 86.7% 80.8% Obfuscated 98.1% 90.9% 83.4% 91.6% 85.5% 92.4% 88.1% 86.7% 80.8%
6.4
Llama3.2-3B
QNLI MNLI GSM8K IFEVAL GSM8K IFEVAL 35.5% 35.5%
54.6% 54.6%
64.4% 64.4%
73.5% 73.5%
Real-Device Performance
We benchmark end-to-end inference latency, with each experiment repeated 10 times after warm-up. As shown in Table 6, B I S HIELD -TEE achieves the lowest latency on every model, delivering on average 1.70× and 1.46× speedups over G ROUP C OVER and A RROW C LOAK. This advantage stems from a structural property of bilateral protection. Unilateral schemes apply obfuscation on only one side of the weight matrix and rely on more complex transformations but remain vulnerable to our attacks. In contrast, bilateral protection derives security from joint indistinguishability, allowing each side to remain lightweight while maintaining strong protection. Our results confirm that this design achieves both higher security and lower computational overhead. Further details on the real-device evaluation and recovery-cost analysis are provided in Appendix E.3.
Table 6: End-to-end inference latency (ms) across obfuscation schemes. “Mean Ratio” is the average slowdown relative to B I S HIELD -TEE across all models. Scheme
ViT-Base
ViT-Large
GPT2-Base
Llama3.2-1B
Llama3.2-3B
Mean Ratio
1667.97 ± 14.58 1427.14 ± 2.35
4770.45 ± 30.74 4234.46 ± 21.99
1028.13 ± 2.29 853.99 ± 1.47
3995.28 ± 13.06 3386.38 ± 24.31
9848.23 ± 74.23 8441.53 ± 32.54
1.70× 1.46×
B I S HIELD -TEE 1073.74 ± 11.24 2918.47 ± 10.16 624.04 ± 11.54 2272.86 ± 21.10 5148.10 ± 7.22
1.00×
G ROUP C OVER A RROW C LOAK
Answer to RQ3: B I S HIELD -TEE achieves lower end-to-end inference latency than the two unilateral schemes across all five models.
9
7
Discussion
Availability of pre-trained models. Fine-tuning from public checkpoints has become a prevalent practice, making Wpre widely available to the adversary. To assess how strongly our attacks rely on this resource, we vary the magnitude of the fine-tuning increment and measure the resulting surrogate–victim similarity. The attacks remain highly effective at similarity levels typical of standard fine-tuning, and their effectiveness only diminishes when the increment becomes sufficiently large to noticeably degrade the victim model itself. Full results are reported in Appendix F. Ablation of Bilateral Transformation Components. We ablate diagonal scaling while retaining the bilateral Householder transformations. The Householder-only variant yields a mean Rel. Black of 1.34×, compared with 1.00× for the full design. Householder transformations introduce ambiguity in key recovery, but this alone leaves the attacker with measurable gains over the black-box baseline. Adding diagonal scaling largely removes these gains. The complete results and an analysis of both components are provided in Appendix G. GPU TEEs. Hardware-backed GPU TEEs offer confidential computing in principle, but practical deployment on edge devices remains limited [46]. Existing solutions target server-class platforms such as NVIDIA H100 or require firmware modifications [47, 48, 49], both incompatible with commodity edge GPUs. B I S HIELD -TEE sidesteps this dependence with a purely algorithmic design deployable on off-the-shelf hardware. Limitations. Our real-device evaluation is limited to Intel SGX. Other TEEs such as Arm TrustZone [16] remain to be tested. The current design does not support quantized inference because INT8/INT4 scaling, clipping and rounding may disrupt the algebraic relations used to recover outputs. Our analysis does not consider side-channel attacks against the TEE [50, 51]. Model updates in on-device fine-tuning and federated learning may introduce additional privacy risks that remain for future study.
8
Conclusions
We identified SDP as a fundamental vulnerability shared across existing TEE-based unilateral obfuscation defenses. Building on this insight, we developed the first successful attacks against G ROUP C OVER and A RROW C LOAK, boosting attack accuracy by over 2.4× relative to the black-box baseline and revealing an overlooked risk for TEE-based on-device model protection. To address the issue, we proposed B I S HIELD -TEE, a bilateral framework that induces Ambiguous Solutions through joint input-output obfuscation, confining attack accuracy to the black-box baseline while delivering practical efficiency on real hardware. Together, these contributions establish a unified offensive-defensive perspective on TEE-based model protection and provide a deployable foundation for safeguarding proprietary models in real-world edge scenarios.
Acknowledgments and Disclosure of Funding This work is supported by the National Cyber Security-National Science and Technology Major Project (Grant No. 2025ZD1503603).
References [1] Ruiyang Qin, Dancheng Liu, Chenhui Xu, Zheyu Yan, Zhaoxuan Tan, Zhenge Jia, Amir Nassereldine, Jiajie Li, Meng Jiang, Ahmed Abbasi, Jinjun Xiong, and Yiyu Shi. Empirical Guidelines for Deploying LLMs onto Resource-constrained Edge Devices. ACM Transactions on Design Automation of Electronic Systems, 30(5):1–58, September 2025. [2] Liangxuan Wu, Yanjie Zhao, Chao Wang, Tianming Liu, and Haoyu Wang. A First Look at LLM-powered Smartphones. In Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering Workshops, ASEW ’24, pages 208–217, New York, NY, USA, October 2024. Association for Computing Machinery. [3] Yuan Chen, Zi-han Ding, Ziqin Wang, Yan Wang, Lijun Zhang, and Si Liu. Asynchronous Large Language Model Enhanced Planner for Autonomous Driving. In Aleš Leonardis, Elisa 10
Ricci, Stefan Roth, Olga Russakovsky, Torsten Sattler, and Gül Varol, editors, Computer Vision – ECCV 2024, pages 22–38, Cham, 2025. Springer Nature Switzerland. [4] P. Ram Mohan Rao, S. Murali Krishna, and A. P. Siva Kumar. Privacy preservation techniques in big data analytics: a survey. Journal of Big Data, 5(1):33, September 2018. [5] Asmita Mohanty, Gezheng Kang, Lei Gao, and Murali Annavaram. DistilLock: Safeguarding LLMs from Unauthorized Knowledge Distillation on the Edge, October 2025. arXiv:2510.16716. [6] Taegyeong Lee, Zhiqi Lin, Saumay Pushp, Caihua Li, Yunxin Liu, Youngki Lee, Fengyuan Xu, Chenren Xu, Lintao Zhang, and Junehwa Song. Occlumency: Privacy-preserving Remote Deep-learning Inference Using SGX. In The 25th Annual International Conference on Mobile Computing and Networking, MobiCom ’19, pages 1–17, New York, NY, USA, October 2019. Association for Computing Machinery. [7] Ziyu Liu, Yukui Luo, Shijin Duan, Tong Zhou, and Xiaolin Xu. Mirrornet: A tee-friendly framework for secure on-device dnn inference. In 2023 IEEE/ACM International Conference on Computer Aided Design (ICCAD), pages 1–9. IEEE, 2023. [8] Jiahui Hou, Huiqi Liu, Yunxin Liu, Yu Wang, Peng-Jun Wan, and Xiang-Yang Li. Model Protection: Real-Time Privacy-Preserving Inference Service for Model Privacy at the Edge. IEEE Transactions on Dependable and Secure Computing, 19(6):4270–4284, November 2022. [9] Ziqi Zhang, Chen Gong, Yifeng Cai, Yuanyuan Yuan, Bingyan Liu, Ding Li, Yao Guo, and Xiangqun Chen. No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML . In 2024 IEEE Symposium on Security and Privacy (SP), pages 3327–3345, Los Alamitos, CA, USA, May 2024. IEEE Computer Society. [10] Yifan Yao, Jinhao Duan, Kaidi Xu, Yuanfang Cai, Zhibo Sun, and Yue Zhang. A survey on large language model (LLM) security and privacy: The Good, The Bad, and The Ugly. High-Confidence Computing, 4(2):100211, June 2024. [11] Lixin Fan, Kam Woh Ng, Chee Seng Chan, and Qiang Yang. Deepipr: Deep neural network ownership verification with passports. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(10):6122–6139, 2022. [12] Tribhuvanesh Orekondy, Bernt Schiele, and Mario Fritz. Knockoff nets: Stealing functionality of black-box models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4954–4963. IEEE Computer Society, 2019. [13] Hanbo Huang, Yihan Li, Bowen Jiang, Bo Jiang, Lin Liu, Zhuotao Liu, Ruoyu Sun, and Shiyu Liang. A Middle Path for On-Premises LLM Deployment: Preserving Privacy Without Sacrificing Model Confidentiality. In Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng, editors, Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 8332–8370, Suzhou, China, November 2025. Association for Computational Linguistics. [14] Tong Sun, Bowen Jiang, Hailong Lin, Borui Li, Yixiao Teng, Yi Gao, and Wei Dong. TensorShield: Safeguarding On-Device Inference by Shielding Critical DNN Tensors with TEE. In Proceedings of the 2025 ACM SIGSAC Conference on Computer and Communications Security, CCS ’25, pages 1008–1022, New York, NY, USA, November 2025. Association for Computing Machinery. [15] Victor Costan and Srinivas Devadas. Intel SGX Explained, 2016. Publication info: Preprint. [16] Sandro Pinto and Nuno Santos. Demystifying Arm TrustZone: A Comprehensive Survey. ACM Comput. Surv., 51(6):130:1–130:36, January 2019. [17] AMD Sev-Snp. Strengthening vm isolation with integrity protection and more. White Paper, January, 53(2020):1450–1465, 2020. 11
[18] Huan Yang, Deyu Zhang, Yudong Zhao, Yuanchun Li, and Yunxin Liu. A first look at efficient and secure on-device llm inference against kv leakage. In Proceedings of the 19th Workshop on Mobility in the Evolving Internet Architecture, MobiArch ’24, page 13–18, New York, NY, USA, 2024. Association for Computing Machinery. [19] Ziqi Zhang, Lucien K. L. Ng, Bingyan Liu, Yifeng Cai, Ding Li, Yao Guo, and Xiangqun Chen. Teeslice: slicing dnn models for secure and efficient deployment. In Proceedings of the 2nd ACM International Workshop on AI and Software Testing/Analysis, AISTA 2022, page 1–8, New York, NY, USA, 2022. Association for Computing Machinery. [20] Zheng Zhang, Na Wang, Ziqi Zhang, Yao Zhang, Tianyi Zhang, Jianwei Liu, and Ye Wu. GroupCover: A secure, efficient and scalable inference framework for on-device model protection based on TEEs. In Ruslan Salakhutdinov, Zico Kolter, Katherine Heller, Adrian Weller, Nuria Oliver, Jonathan Scarlett, and Felix Berkenkamp, editors, Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 59992–60003. PMLR, 21–27 Jul 2024. [21] Tianxiang Shen, Ji Qi, Jianyu Jiang, Xian Wang, Siyuan Wen, Xusheng Chen, Shixiong Zhao, Sen Wang, Li Chen, Xiapu Luo, Fengwei Zhang, and Heming Cui. SOTER: Guarding blackbox inference for general neural networks at the edge. In 2022 USENIX Annual Technical Conference (USENIX ATC 22), pages 723–738, Carlsbad, CA, July 2022. USENIX Association. [22] Pengli Wang, Bingyou Dong, Yifeng Cai, Zheng Zhang, Junlin Liu, Huanran Xue, Ye Wu, Yao Zhang, and Ziqi Zhang. Game of arrows: on the (in-)security of weight obfuscation for on-device tee-shielded llm partition algorithms. In Proceedings of the 34th USENIX Conference on Security Symposium, SEC ’25, USA, 2025. USENIX Association. [23] Zhichuang Sun, Ruimin Sun, Changming Liu, Amrita Roy Chowdhury, Long Lu, and Somesh Jha. Shadownet: A secure and efficient on-device model inference system for convolutional neural networks. In 2023 IEEE Symposium on Security and Privacy (SP), pages 1596–1612. IEEE Computer Society, 2023. [24] Qinfeng Li, Zhiqiang Shen, Zhenghan Qin, Yangfan Xie, Xuhong Zhang, Tianyu Du, Sheng Cheng, Xun Wang, and Jianwei Yin. TransLinkGuard: Safeguarding Transformer Models Against Model Stealing in Edge Deployment. In Proceedings of the 32nd ACM International Conference on Multimedia, MM ’24, pages 3479–3488, New York, NY, USA, October 2024. Association for Computing Machinery. [25] Yu Sun, Gaojian Xiong, Jianhua Liu, Zheng Liu, and Jian Cui. TSQP: Safeguarding Real-Time Inference for Quantization Neural Networks on Edge Devices . In 2025 IEEE Symposium on Security and Privacy (SP), pages 2114–2132, Los Alamitos, CA, USA, May 2025. IEEE Computer Society. [26] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021. OpenReview.net, 2021. [27] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019. [28] Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024. [29] Daryna Oliynyk, Rudolf Mayer, and Andreas Rauber. I know what you trained last summer: A survey on stealing machine learning models and defences. ACM Computing Surveys, 55(14s):1– 41, 2023. [30] Lucjan Hanzlik, Yang Zhang, Kathrin Grosse, Ahmed Salem, Maximilian Augustin, Michael Backes, and Mario Fritz. Mlcapsule: Guarded offline deployment of machine learning as a service. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 3295–3304. IEEE Computer Society, 2021. 12
[31] Mohamed Sabt, Mohammed Achemlal, and Abdelmadjid Bouabdallah. Trusted execution environment: What it is, and what it is not. In Proceedings of the 2015 IEEE Trustcom/BigDataSE/ISPA - Volume 01, TRUSTCOM ’15, page 57–64, USA, 2015. IEEE Computer Society. [32] Ruisi Zhang, Yifei Zhao, Neusha Javidnia, Mengxin Zheng, and Farinaz Koushanfar. AttestLLM: Efficient Attestation Framework for Billion-scale On-device LLMs, September 2025. [33] Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling Laws for Neural Language Models, January 2020. arXiv:2001.08361. [34] Luigi Coppolino, Salvatore D’Antonio, Giovanni Mazzeo, and Luigi Romano. An experimental evaluation of TEE technology: Benchmarking transparent approaches based on SGX, SEV, and TDX. Computers & Security, 154:104457, July 2025. [35] Gaojian Xiong, Yu Sun, Jianhua Liu, Jian Cui, and Jianwei Liu. LoRO: Real-time on-device secure inference for LLMs via TEE-based low rank obfuscation. In The Thirty-ninth Annual Conference on Neural Information Processing Systems. Curran Associates, Inc., 2025. [36] Zikai Mao, Lingchen Zhao, Lei Xu, Wentao Dong, Shenyi Zhang, Cong Wang, and Qian Wang. Amulet: Fast tee-shielded inference for on-device model protection, 2025. [37] Florian Tramèr and Dan Boneh. Slalom: Fast, verifiable and private execution of neural networks in trusted hardware. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net, 2019. [38] Alston S Householder. Unitary triangularization of a nonsymmetric matrix. Journal of the ACM (JACM), 5(4):339–342, 1958. [39] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. Attention is all you need. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. [40] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. [41] Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101 – mining discriminative components with random forests. In David Fleet, Tomas Pajdla, Bernt Schiele, and Tinne Tuytelaars, editors, Computer Vision – ECCV 2014, pages 446–461, Cham, 2014. Springer International Publishing. [42] Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In Tal Linzen, Grzegorz Chrupała, and Afra Alishahi, editors, Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 353–355, Brussels, Belgium, November 2018. Association for Computational Linguistics. [43] Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. CoRR, abs/2110.14168, 2021. [44] Jeffrey Zhou, Tianjian Lu, Swaroop Mishra, Siddhartha Brahma, Sujoy Basu, Yi Luan, Denny Zhou, and Le Hou. Instruction-following evaluation for large language models, 2023. [45] Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Alain Le Noac’h, Haonan Li, Kyle McDonell, Niklas Muennighoff, Chris Ociepa, Jason Phang, Laria Reynolds, Hailey Schoelkopf, Aviya Skowron, Lintang Sutawika, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. The language model evaluation harness, 07 2024. [46] Qifan Wang and David Oswald. Confidential Computing on Heterogeneous CPU-GPU Systems: Survey and Future Directions, September 2024. arXiv:2408.11601. 13
[47] Stavros Volos, Kapil Vaswani, and Rodrigo Bruno. Graviton: Trusted execution environments on GPUs. In 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18), pages 681–696, Carlsbad, CA, October 2018. USENIX Association. [48] Chenxu Wang, Yunjie Deng, Zhenyu Ning, Kevin Leach, Jin Li, Shoumeng Yan, Zhengyu He, Jiannong Cao, and Fengwei Zhang. Building a Lightweight Trusted Execution Environment for Arm GPUs. IEEE Transactions on Dependable and Secure Computing, 21(4):3801–3816, July 2024. [49] Yunjie Deng, Chenxu Wang, Shunchang Yu, Shiqing Liu, Zhenyu Ning, Kevin Leach, Jin Li, Shoumeng Yan, Zhengyu He, Jiannong Cao, and Fengwei Zhang. Strongbox: A gpu tee on arm endpoints. In Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security, CCS ’22, page 769–783, New York, NY, USA, 2022. Association for Computing Machinery. [50] Yuanyuan Yuan, Zhibo Liu, Sen Deng, Yanzuo Chen, Shuai Wang, Yinqian Zhang, and Zhendong Su. Hypertheft: Thieving model weights from tee-shielded neural networks via ciphertext side channels. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security, CCS ’24, page 4346–4360, New York, NY, USA, 2024. Association for Computing Machinery. [51] Sen Deng, Mengyuan Li, Yining Tang, Shuai Wang, Shoumeng Yan, and Yinqian Zhang. CipherH: Automated detection of ciphertext side-channel vulnerabilities in cryptographic implementations. In 32nd USENIX Security Symposium (USENIX Security 23), pages 6843– 6860, Anaheim, CA, August 2023. USENIX Association. [52] Chia-Che Tsai, Donald E Porter, and Mona Vij. Graphene-SGX: A practical library OS for unmodified applications on SGX. In 2017 USENIX annual technical conference (USENIX ATC 17), pages 645–658, 2017. [53] Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In International conference on machine learning, pages 3519–3529. PMLR, 2019.
14
A
Details of Existing Obfuscation Schemes
G ROUP C OVER. G ROUP C OVER [20] partitions the columns of a weight matrix Wvic ∈ Rd×n into disjoint groups of size s. Within each group, linear combinations of the s columns are applied, yielding a dense s × s transformation submatrix. Since interactions are restricted within groups, the overall transformation matrix exhibits a block-diagonal structure. To conceal this structure, random row and column permutations are applied. The resulting transformation can be expressed as T1 0 · · · 0 0 T2 · · · 0 TG ROUP C OVER = P1 P2 , Ti ∈ Rs×s , (7) .. .. .. ... . . . 0 0 · · · Tk where P1 , P2 ∈ Rn×n are permutation matrices and each Ti corresponds to a feature group. A RROW C LOAK. A RROW C LOAK [22] applies column-wise scaling and a shared additive masking to Wvic ∈ Rd×n . The obfuscated matrix is given by Wobf = (Wvic Dp + vq⊤ )Π,
(8)
where Dp = diag(p1 , . . . , pn ) defines column-wise scaling, q ∈ Rn controls the additive coefficients, and Π is a permutation matrix. The shared mask vector v is constructed as a linear combination of columns: v = Wvic k, (9) where k ∈ Rn is a secret coefficient vector. Substituting v yields the equivalent transformation TA RROW C LOAK = diag(p1 , . . . , pn ) + kq⊤ Π, (10) which can be explicitly written as p1 + k1 q1 k2 q 1 TA RROW C LOAK = .. . kn q1
B
k1 q2 p2 + k2 q2 .. . kn q2
··· ··· .. . ···
k1 qn k2 qn Π. .. . pn + kn qn
(11)
Proof of Parameter Recovery for G ROUP C OVER
We show that G ROUP C OVER’s reliance on an s × s obfuscation matrix to protect a d × s target matrix is inherently vulnerable when s ≪ d: once the grouping is compromised, the recovered surrogate Wsur can be made close to the victim Wvic . Proof. Let Wpre , Wvic , Wobf ∈ Rd×s , and write Wvic = Wpre + ∆,
Wobf = Wvic T,
where T ∈ Rs×s is the unknown invertible obfuscation matrix. We assume Wpre has full column rank (which is generic for s ≪ d) and that ∆ is a small perturbation, i.e. ∥∆∥ ≪ ∥Wpre ∥. Estimating T.
The attacker solves T̂ = arg min ∥Wpre X − Wobf ∥2F , X∈Rs×s
† † ⊤ ⊤ which admits the unique solution T̂ = Wpre Wobf with Wpre = (Wpre Wpre )−1 Wpre . Substituting † Wobf = (Wpre + ∆)T and using Wpre Wpre = Is ,
T̂ = (Is + M)T,
† M := Wpre ∆.
Since ∥M∥ ≪ 1, Is + M is invertible and T̂−1 = T−1 (Is + M)−1 . 15
First-order expansion of Wsur .
The surrogate Wsur := Wobf T̂−1 satisfies
Wsur = (Wpre + ∆)(Is + M)−1 . Applying the Neumann series (Is + M)−1 = Is − M + O(∥M∥2 ) and discarding terms of order ∥∆∥2 or higher, Wsur − Wvic = −P∆ + O(∥∆∥2 ), † where P := Wpre Wpre is the orthogonal projector onto col(Wpre ), an s-dimensional subspace of d R .
Error scales as s/d. The reconstruction error is thus the projection of ∆ onto an s-dimensional subspace of Rd . Since the column space of Wpre occupies only a small fraction of the ambient space when s ≪ d, a generic perturbation ∆ has roughly an s/d fraction of its energy lying in this subspace, giving s ∥Wsur − Wvic ∥2F ≈ ∥∆∥2F . d When s ≪ d, the reconstruction error is therefore much smaller than the original perturbation, so Wsur closely recovers Wvic .
C
Detailed Attack Analysis
This appendix provides additional diagnostics and complexity analysis for the attacks on G ROUP C OVER and A RROW C LOAK. C.1
Details of the G ROUP C OVER Attack
Preprocessing of the estimated transformation. The attack starts from the least-squares estimate † T̂ = Wpre Wobf .
(12)
Although T̂ already preserves the block-sparse structure of the true transformation, its raw entries may vary substantially across rows and columns due to scale differences. To sharpen the hidden grouping pattern, we normalize each entry by the geometric mean of its row and column energy: T̂ij2
T̃ij = qP
2 k T̂ik ·
.
(13)
2 k T̂kj
P
This preprocessing suppresses weak noisy entries while amplifying the dominant intra-group correlations. After normalization, each row and column exhibits approximately s large entries, which makes the hidden group structure much easier to identify. Group recovery via greedy clique extraction. After normalization, columns belonging to the same group share a common support of s dominant indices, while columns from different groups have nearly disjoint supports. We exploit this by constructing a soft co-support similarity matrix W = S̃⊤ S̃ (with the diagonal zeroed out), where S̃ retains the top-M entries per column of T̃, with M = min(n, 4s). Each entry Wjk thus measures how strongly columns j and k co-activate on the same rows, and groups correspond to dense s-cliques in W. We recover them in batches: each unassigned column proposes a candidate clique with its top s−1 neighbors, scored by the total intra-clique affinity, and candidates are committed in decreasing order of score while skipping any whose columns have already been claimed. The corresponding column group is taken directly as the clique itself. The full procedure is summarized in Algorithm 1. Visualization. Figure 5a shows the preprocessed transformation matrix for the first-layer WQ parameters of ViT-Base. The dominant entries are sharply concentrated in block-diagonal regions, directly revealing the grouping structure used by G ROUP C OVER. This confirms that the structural sparsity of the true secret key is preserved in the estimated transformation. 16
Algorithm 1 Group Recovery for G ROUP C OVER Require: Estimated transformation T̂ ∈ Rn×n , group size s Ensure: Column groups G and column-to-group assignment π 1: T̃ ← N ORMALIZE (T̂) via Eq. (13); S̃ ← T OP M(T̃), M = min(n, 4s) ▷ top-M entries per column 2: W ← S̃⊤ S̃ with Wjj ←0; U ← [n]; G ← ∅ 3: while |U | ≥ s do 4: for j ∈ U do P 5: Cj ← {j} ∪ T OP N EIGHBORSU (W[:, j], s−1); score(j) ← u,v∈Cj Wuv 6: end for 7: for j ∈ U in decreasing order of score(j) do 8: if Cj ⊆ U then 9: π(c) ← Cj ∀c ∈ Cj ; G ← G ∪ {Cj } 10: U ← U \ Cj 11: end if 12: end for 13: end while 14: return G, π
Complexity. For a target matrix of size d × n, computing T̂ costs O(nd · min(n, d)). The preprocessing in Eq. (13) is linear in the size of T̂ and thus costs O(n2 ). Constructing W from the sparsified S̃ costs O(nM 2 ), and each iteration of the clique extraction loop touches at most O(ns) entries; with n/s iterations the total clique-recovery cost is O(n2 ). The subsequent reconstruction stage has complexity O(n2 d) when the group size s is a small fixed constant. Therefore, the overall complexity is dominated by O(n2 d). (After Group Recovery) Transformation 𝑻
PCA Score Plot
𝐏𝐂2(0.0003%)
Explained Variance Ratio (%)
𝐏𝐂1 (99.993%) 100
99.993%
Explained Variance
80
Direction Similarity>99.99%
60 40 20 0
𝐏𝐂𝟏
0.0003%
0.0003%
0.0003%
0.0003%
𝐏𝐂𝟐
𝐏𝐂𝟑
𝐏𝐂𝟒
𝐏𝐂𝟓
(b) A RROW C LOAK: dominant principal component.
(a) G ROUP C OVER: block sparsity in T̂ after preprocessing.
Figure 5: Diagnostic visualization of unilateral obfuscation leakage.
C.2
Details of the A RROW C LOAK Attack
Attack overview. A RROW C LOAK obfuscates each weight matrix by combining per-column scaling, a shared additive mask v, and a column permutation Π (Eq. (11)). The shared mask is the central source of leakage: because it is added to every column, it dominates the column-wise variance of Wobf and emerges as the leading principal component after centering. We exploit this leakage in three stages, summarized in Algorithm 2: (i) extract the mask direction vest via SVD on the centered matrix; (ii) project Wobf onto the orthogonal complement of vest to remove the additive component, then recover the column permutation by Hungarian matching against Wpre ; (iii) for each column, jointly fit the scaling coefficient and residual mask weight via least squares. Visualization. As shown in Figure 5b, the obfuscated matrix exhibits a clear spectral outlier: the first principal component dominates the spectrum and aligns with the shared mask direction, with a cosine similarity to the true mask exceeding 99.99% across all evaluated layers. 17
Algorithm 2 Reconstruction Attack on A RROW C LOAK Require: Obfuscated weights Wobf ∈ Rd×n , pre-trained reference Wpre ∈ Rd×n Ensure: Surrogate weights Wsur 1: // Stage 1: Mask extraction via PCA 2: Wc ← Wobf − w̄1⊤ n , where w̄ is the column-mean vector of Wobf 3: vest ← leading left singular vector of Wc 4: // Stage 2: Denoised column alignment ⊤ 5: Wclean ← Wobf − vest (vest Wobf ) ⊤ c c denotes column-wise ℓ2 normalization c 6: C ← 1 − Wpre Wclean , where (·) f obf ← Wobf [:, π] 7: π ← H UNGARIAN M ATCH(C); W 8: // Stage 3: Per-column least-squares reconstruction 9: for i = 1, . . . , n do (i) e obf vest ] ∈ Rd×2 10: Bi ← [w (i) 11: (α̂i , β̂i )⊤ ← arg minθ ∥Bi θ − wpre ∥22 (i) (i) e obf + β̂i vest 12: wsur ← α̂i w 13: end for 14: return Wsur Complexity. For a target matrix of size d × n, PCA on the centered matrix costs O(nd · min(n, d)), alignment via the Hungarian algorithm costs O(n3 ) in the worst case, and the per-column leastsquares stage solves n independent d×2 systems in O(nd) total. In practice, the distinct directionality of column vectors facilitates efficient matching, and runtime is dominated by the PCA step, making the overall complexity lower than that of attacking G ROUP C OVER.
D
Security Analysis: Ambiguous Solutions
Under bilateral obfuscation, Wobf = Tl Wvic Tr , (14) ⋆ ⋆ where Tl = H(u⋆ )Dl and Tr = Dr G(v⋆ ) are the secret transformations. Here, H(u) = Id −2uu⊤ and G(v) = In −2vv⊤ are Householder reflections with u ∈ S d−1 and v ∈ S n−1 , and the invertible diagonal factors satisfy κ−1 ≤ |(Dl )ii | ≤ κ,
κ−1 ≤ |(Dr )jj | ≤ κ,
for κ > 1. Let P denote the resulting key space and write −1 F (u, Dl , Dr , v) = D−1 l H(u) Wobf G(v)Dr
for the recovery map. At the true key p⋆ = (u⋆ , D⋆l , D⋆r , v⋆ ), this map returns Wvic . We consider a fine-tuning increment ∆ = Wvic − Wpre satisfying ∥∆∥F ≤ ε ≪ ∥Wvic ∥F . The adversary c that retains the victim’s fine-tuned functionality. observes (Wobf , Wpre ) and seeks a surrogate W D.1
The Adversary’s Recovery Problem
Given (Wobf , Wpre ), a natural residual-based recovery strategy is to search for a key p ∈ P that makes F (p) close to Wpre : p† ∈ arg min ∥F (p) − Wpre ∥F . (15) p∈P
Define the admissible set at residual tolerance η, Uη = p ∈ P : ∥F (p) − Wpre ∥F ≤ η , which contains all keys whose reconstructed weights satisfy the pre-trained reference constraint at tolerance η. The true key satisfies r⋆ := ∥F (p⋆ ) − Wpre ∥F = ∥∆∥F ≤ ε, so p⋆ ∈ Uε . Every key in Uε satisfies the same residual bound as the true key, although its residual need not be smaller than r⋆ . 18
D.2
Ambiguity of the Transformation Keys
The recovery map F admits exact symmetries that produce distinct keys with identical recovered weights. The simplest is the antipodal symmetry of Householder reflections: H(−u) = H(u),
G(−v) = G(v).
Hence the four keys
(±u⋆ , D⋆l , D⋆r , ±v⋆ ) all yield identical F -values and identical residuals.
Bilateral obfuscation also admits reciprocal scaling between the two diagonal factors. For any c > 0 such that the rescaled factors remain admissible, define pc = u⋆ , cD⋆l , c−1 D⋆r , v⋆ . Then
F (pc ) = (cD⋆l )−1 H(u⋆ )Wobf G(v⋆ )(c−1 D⋆r )−1 = F (p⋆ ). When the magnitudes of the true diagonal entries lie strictly between κ−1 and κ, all c sufficiently close to 1 are valid. Thus, a fixed recovered weight matrix can correspond to a continuum of distinct transformation pairs. These symmetries establish non-uniqueness of the transformation keys, although they do not by themselves produce different surrogate weights. D.3
A Continuum of Admissible Reconstructions
We next show that approximate agreement with Wpre can admit distinct recovered weight matrices. Choose a nonzero row of Wvic , indexed by i, and let ei denote the corresponding standard basis vector. Define the diagonal perturbation A(t) = Id + (et − 1)ei e⊤ i and the candidate key
p(t) = (u⋆ , D⋆l A(t), D⋆r , v⋆ ) . Because κ > 1, t can vary over a nontrivial admissible interval containing 0, possibly on only one side of 0 when the corresponding diagonal magnitude lies at a boundary. Substituting into the recovery map gives F (p(t)) = A(t)−1 Wvic , and consequently ∥F (p(t)) − Wvic ∥F = |e−t − 1| ∥e⊤ i Wvic ∥2 . For t ̸= 0, the recovered weights differ from Wvic . Nevertheless, each candidate remains exactly consistent with the observed obfuscated matrix under its corresponding transformations. By the triangle inequality, ∥F (p(t)) − Wpre ∥F ≤ r⋆ + |e−t − 1| ∥e⊤ i Wvic ∥2 . Since the second term tends to zero as t → 0, every tolerance η > r⋆ admits a continuum of such candidates in Uη . In particular, for every δ > 0, sufficiently small admissible perturbations belong to Uε+δ . If the prior bound has positive slack, r⋆ < ε, a continuum also lies within Uε itself. Thus, the same obfuscated matrix can be compatible with distinct reconstructed weights that all satisfy an approximate pre-trained reference constraint. Their residuals need not be equal, but membership in the admissible set alone does not identify the victim weights. D.4
Implications for Reconstruction Attacks
For B I S HIELD -TEE, reconstruction requires jointly estimating the input- and output-side transformations, whose effects are coupled and can compensate for one another. The constructions above establish non-unique key representations and, when the residual tolerance exceeds r⋆ , multiple admissible weight reconstructions. Moreover, the objective in (15) measures agreement with Wpre , so a smaller residual does not necessarily imply better recovery of the private fine-tuning increment. If Wpre ∈ F (P), a zero-residual solution reproduces the public checkpoint itself. These observations explain why pre-trained reference fitting alone cannot reliably identify the genuine reconstruction and why useful recovery requires resolving the coupled transformations using additional information. 19
E
Experimental Details
E.1
Datasets and Settings
Table 7 summarizes the size of the original training set used to fine-tune the victim model and the size of the surrogate retraining set. Surrogate labels are obtained by querying the victim, and the surrogate set never exceeds ∼1% of the corresponding victim training set. For the Llama3.2 series, we apply obfuscation only to the intermediate transformer layers, leaving components such as the embedding and output projection untouched. Under this design, the reconstructed surrogate already achieves strong attack performance without retraining, and we therefore evaluate it directly using the lm-evaluation-harness [45]. On GSM8K, we use 8-shot prompting and report the strict-match accuracy. On IFEval, we use 0-shot prompting and report the average of the Prompt-Strict and Instruction-Strict metrics. Table 7: Dataset statistics. Victim Train is the size of the dataset used for victim fine-tuning; Surrogate Train is the size of the query-answer set used to retrain the surrogate’s classification head.
E.2
Modality
Dataset
Victim Train
Surrogate Train
Ratio
Vision
CIFAR-10 CIFAR-100 Food-101
50,000 50,000 75,750
20 200 379
0.04% 0.40% 0.50%
SST-2 QQP QNLI MNLI
67,349 363,846 104,743 392,702
134 181 273 982
0.20% 0.05% 0.26% 0.25%
Language
Experimental Pipeline
Victim Model Training. All victim models are obtained by full-parameter fine-tuning from public pre-trained checkpoints using AdamW, with detailed hyperparameters summarized in Table 8. The checkpoint achieving the highest validation accuracy is selected as the victim model. Gradient accumulation steps are set to 1 throughout all experiments. For the Llama3.2 series, we adopt a more realistic threat model in which the publicly available base model serves as the attacker’s starting point, while the instruction-tuned model serves as the victim. This reflects real-world scenarios where providers apply proprietary alignment pipelines (e.g., SFT and RLHF) on private data to produce capable instruction-following models [28], and naturally captures the capability gap between base and instruction-tuned variants. Obfuscation and Attack. Victim model parameters are obfuscated under each defense scheme and exposed to the adversary. Obfuscation targets the transformer layers, which constitute the majority of model capacity. For unilateral baselines, the adversary applies the attacks described in Section 4: sparsity-driven reconstruction for G ROUP C OVER and PCA-based reconstruction for A RROW C LOAK. We analyze a range of attack strategies against B I S HIELD -TEE. Unilateral recovery targets a single side of the key, while adaptive joint recovery alternately refines the input and output side keys to minimize the gap between the reconstructed weights Wsur and the pre-trained weights Wpre , with the number of iterations fixed to 5; additional iterations only drive Wsur toward Wpre rather than the true Wvic . Learning-based recovery offers no advantage in this setting: it lacks an informative initialization and needs to contend with indistinguishable keys (Appendix D), so gradient-based optimization may converge to a solution that remains far from the true key. Query-based attacks are likewise ineffective, since the low-rank OTP refreshes masks at each forward pass, leaving intermediate states as inconsistent masked views from which no consistent information about the underlying model can be accumulated. Surrogate Model Training. Since the pre-trained classification head cannot directly adapt to downstream tasks, we retrain only the classification head of the surrogate model. This component contains few parameters and can be effectively trained using the small query-answer sets reported in Table 7. To simulate realistic attack conditions, retraining data is drawn from a held-out split 20
disjoint from the victim’s validation set, with labels obtained by querying the victim. Surrogate hyperparameters are reported in the lower block of Table 8. For the Llama3.2 series, the reconstructed surrogate already achieves strong attack performance without further adaptation; we therefore report its accuracy directly after parameter reconstruction. Table 8: Training hyperparameters for victim fine-tuning and surrogate classification-head retraining. All experiments use the AdamW optimizer with gradient accumulation steps set to 1. For the surrogate, the learning rate is selected via grid search. Stage
E.3
Model
Learning Rate
Batch Size
Epochs
−4
Victim
ViT-Base ViT-Large GPT2-Base
1 × 10 1 × 10−4 2 × 10−5
128 128 128
5 3 3
Surrogate
ViT GPT2-Base
{2, 5, 8} × 10−4 , 1 × 10−3 {2, 5, 8} × 10−4 , 1 × 10−3
32 16
10 10
Real-Device Latency Benchmark.
For the end-to-end inference experiments in Section 6.4, we use the fixed input configurations in Table 9. Here B denotes the batch size and l the sequence length. For ViT, l = 197 consists of 196 image patches and the [CLS] token under a 224 × 224 input with 16 × 16 patches. Each reported latency is the mean and standard deviation of 10 complete forward passes after warm-up. Table 9: Input configurations for end-to-end inference latency measurement. Model
Batch Size B
Sequence Length l
1 1 2 2 2
197 197 64 64 64
ViT-Base ViT-Large GPT2-Base Llama3.2-1B Llama3.2-3B
TEE-Resident Key Footprint. Table 10 reports the transformation keys retained inside the TEE for output recovery. This is the scheme-specific key footprint rather than the total memory usage of the enclave. B I S HIELD -TEE has the smallest footprint on every model. Averaged across the five models, its footprint is 19.0% smaller than A RROW C LOAK and 45.5% smaller than G ROUP C OVER. Table 10: TEE-resident transformation-key footprint (MiB). Lower is better. Scheme G ROUP C OVER A RROW C LOAK B I S HIELD -TEE
ViT-Base
ViT-Large
GPT2-Base
Llama3.2-1B
Llama3.2-3B
3.80 2.53 2.06
10.13 6.75 5.39
3.80 2.53 2.00
11.25 7.69 6.33
24.94 17.06 14.03
Recovery-Cost Analysis. Let X ∈ Rl×d and Y ′ , Y ∈ Rl×n denote the input, outsourced output, and recovered output of a linear layer. G ROUP C OVER applies a dense r × r inverse transformation within each group of output features. Its recovery cost is O(lnr). We use the default group size r = 4, so each group requires more multiplications inside the TEE. For linear layers, A RROW C LOAK [22] computes −1 Y = Y ′ Π−1 D1−1 − (Xv)1⊤ n D2 D1 .
(16)
Inverse permutation and scaling cost O(ln), while computing Xv costs O(ld). The complete recovery therefore costs O(l(d + n)) and includes an input-dependent correction. B I S HIELD -TEE instead computes −1 ′ −1 −1 Y = Tm Y Tr = Dm Hm Y ′ Hr Dr−1 . (17) 21
Its diagonal scalings and rank-one Householder updates act directly on Y ′ with O(ln) recovery cost. The attention-score paths differ as well. For S = QK ⊤ , the obfuscation of Q and K in A RROWC LOAK [22] yields −1 ′ −1 S ′ = Π1 (D1 SD3 + OBS)Π2 , S = D1−1 Π−1 (18) 1 S Π2 − OBS D3 , where
⊤ ⊤ OBS = D2 1l vQ K ⊤ D3 + D1 QvK 1l D4
(19) ⊤ ⊤ + D2 1l vQ vK 1l D4 . Here 1l is the all-ones vector, vQ and vK are masking vectors, Di are diagonal matrices, and Πi are permutation matrices. The first two correction terms depend on the current K and Q, respectively, while the third accounts for the interaction between their masks. ⊤ In B I S HIELD -TEE, the coupled transformations yield S ′ = TQ STK . The TEE recovers the scores directly: −1 −1 ⊤ −1 S = TQ−1 S ′ (TK ) = DQ HQ S ′ HK DK . (20)
This recovery uses diagonal scalings and rank-one Householder updates without constructing Q- or K-dependent correction terms. The difference in recovery operations is consistent with the end-to-end latency results in Table 6. E.4
Defense and Attack Hyperparameters
For G ROUP C OVER and A RROW C LOAK, we follow the hyperparameters reported in their original papers; in particular, G ROUP C OVER uses the default group size of 4. For B I S HIELD -TEE, the Householder matrices are randomly generated, and the diagonal entries of the scale matrices are sampled log-uniformly from [0.1, 10] with signs drawn uniformly at random, yielding obfuscation factors that are balanced in magnitude on a multiplicative scale. E.5
Implementation
All models are trained on a single NVIDIA A800-80G GPU using PyTorch 2.7.1 with CUDA 12.8. For real-device inference evaluation, our implementation builds upon the Gramine framework [52], running on a workstation equipped with an Intel Xeon W-1250 CPU with SGX1 and 93.5 MiB of physical EPC, and an NVIDIA GeForce RTX 5060 Ti GPU.
F
Sensitivity to Victim–Pretrained Correlation
Our reconstruction attacks on G ROUP C OVER and A RROW C LOAK exploit the structural relationship between the victim weights Wvic and the publicly available pre-trained weights Wpre . We assess how sensitive this exploitation is by varying the magnitude of the fine-tuning increment. Experimental setup.
We fine-tune ViT-Base on CIFAR-100 with a scaled fine-tuning update Wvic = Wpre + α · ∆,
(21)
where ∆ is the standard fine-tuning update under our experiment configuration, and α ≥ 0 controls the strength of the deviation from Wpre . We measure the representational similarity between the victim and the pre-trained model using Centered Kernel Alignment (CKA) [53], where higher CKA indicates greater similarity. We then run the reconstruction attacks of Section 4 at each α and report attack accuracy alongside the victim’s own accuracy. Results.
Figure 6 reveals three regimes.
(i) Effective attack regime (α ≤ 2). Across the entire range relevant to standard fine-tuning, attack accuracy stays high and tracks the victim’s own accuracy closely. Notably, this tracking persists even as CKA drops substantially: at α = 1.8 and α = 2.0, CKA falls to roughly 0.5–0.6, indicating that Wvic and Wpre have already diverged considerably in their internal representations, yet attack accuracy remains within a few percentage points of the victim. The attacks therefore recover the victim’s functional behavior even when its structural overlap with Wpre is far from tight. 22
Attack and Victim Accuracy
80%
Accuracy
Victim--Pretrained Similarity
100%
CKA Similarity
100%
60% 40% 20%
80% 60% 40% 20%
Effective regime
0%
0
1
Effective regime
2
3
4
0%
5
α (fine-tuning scale) ArrowCloak
0
1
2
3
4
α (fine-tuning scale)
GroupCover
5
Victim accuracy
Figure 6: Attack and victim accuracy (left), and victim–pre-trained CKA similarity (right), as functions of the fine-tuning scale α on ViT-Base / CIFAR-100. The shaded region marks the effective attack regime (α ≤ 2). Attack accuracy tracks the victim’s own accuracy closely across the full range, even when CKA has dropped substantially.
(ii) Boundary regime (α ≈ 2). As α approaches 2, both attack accuracy and CKA begin to drop together. However, this regime also corresponds to noticeable degradation of Wvic itself, with victim accuracy falling below 82% at α = 2. (iii) Out-of-scope regime (α > 2). For α ≥ 2.5 the victim model collapses, with accuracy dropping below 70% and continuing to fall sharply. Such a model would not be deployed, so the weakening of attacks in this regime is not a meaningful limitation.
G
Role of Householder Transformations and Diagonal Scaling
We remove diagonal scaling from B I S HIELD -TEE while retaining the bilateral Householder transformations. We apply the unilateral and adaptive bilateral attacks used in the main experiments and report the strongest attacker result for each model and dataset. Rel. Black is attack accuracy divided by black-box accuracy, so values closer to 1.00× indicate stronger protection. Table 11: Ablation of diagonal scaling. “H-only” uses bilateral Householder transformations without scaling. “Scale+H” is the complete B I S HIELD -TEE design. Model
Dataset
Black-box
H-only
Scale+H
Acc.
Acc.
Rel. Black
Acc.
Rel. Black
ViT-Base
CIFAR-10 CIFAR-100 Food-101
63.4% 59.7% 59.2%
68.11% 72.62% 68.96%
1.07× 1.22× 1.16×
63.6% 59.7% 59.2%
1.00× 1.00× 1.00×
ViT-Large
CIFAR-100 Food-101
68.8% 65.3%
81.23% 74.90%
1.18× 1.15×
68.8% 65.3%
1.00× 1.00×
GPT2-Base
SST-2 QQP QNLI MNLI
63.0% 65.6% 53.7% 47.7%
83.37% 73.89% 63.72% 61.03%
1.32× 1.13× 1.19× 1.28×
63.0% 65.6% 53.7% 47.7%
1.00× 1.00× 1.00× 1.00×
Llama3.2-1B
GSM8K IFEval
6.7% 12.1%
8.57% 23.83%
1.28× 1.97×
7.0% 12.1%
1.04× 1.00×
Llama3.2-3B
GSM8K IFEval
27.7% 10.5%
31.46% 24.86%
1.14× 2.37×
28.0% 10.5%
1.01× 1.00×
–
–
1.34×
–
1.00×
Average
23
Ablation Results. Householder-only protection allows limited but measurable recovery, with a mean Rel. Black of 1.34× and a maximum of 2.37× on Llama3.2-3B/IFEval. Under the corresponding attacks, the mean ratios for G ROUP C OVER and A RROW C LOAK both exceed 2.4×. Bilateral Householder transformations therefore provide substantial protection, but do not consistently reduce attack performance to the black-box level. Adding diagonal scaling reduces the mean ratio to 1.00×. Role of Householder Transformations. Bilateral Householder transformations introduce ambiguity into key recovery. However, key ambiguity does not necessarily imply a large difference between the recovered and original weights. A Householder reflection changes the weights along only one direction and preserves their Frobenius norm and singular values. For a uniformly random reflection direction, the expected relative weight displacement decreases as the dimension grows. Thus, in high dimensions, Householder-only protection can obscure the key while leaving the weights relatively close to their original values. This is consistent with the residual recovery gains in Table 11. Role of Diagonal Scaling. The full design uses Tl = Hl Dl and Tr = Dr Hr . Diagonal scaling changes magnitudes across dimensions and can increase reconstruction errors under an incorrect key. Scaling alone, however, has a separable row-and-column structure. When relative fine-tuning changes are small, element-wise ratios between the protected and pretrained weights approximately reveal the row and column scales. These scales can be estimated up to a reciprocal global factor, which cancels during weight recovery. The two components therefore serve complementary roles: Householder transformations introduce key ambiguity, while diagonal scaling can make incorrect recovery less accurate.
H
Background on Integrity Verification and One-Time Pad Protection
H.1
Integrity Check
Integrity checking [37] aims to ensure that computations outsourced from the TEE to an untrusted component are performed correctly. In general, the TEE delegates part of the computation and subsequently verifies the returned results using Freivalds’ algorithm. Rather than recomputing the full operation, the verifier checks consistency between the input, the output and a small amount of locally generated randomness. If the verification fails, the TEE rejects the result and aborts the execution. Such integrity checks are typically probabilistic: an incorrect result is detected with high probability, while the verification cost remains significantly lower than that of recomputation. This approach enables efficient integrity protection for linear operations commonly found in neural network inference, while keeping the trusted computing base small and lightweight. H.2
One-Time Pad Protection
One-time pad (OTP) techniques [37] are commonly used to protect intermediate results during outsourced computation. Given an intermediate value X ∈ Rn×n , the TEE prepares a random mask R ∈ Rn×n , sends X̃ = X + R to the untrusted component, and recovers the true output as Y = Ỹ − f (R), where f (·) is the outsourced operation and f (R) is pre-computed inside the TEE. However, vanilla OTP suffers from two practical issues. First, the mask R has the same dimensionality as the protected value, so its storage cost scales quadratically with model size and quickly becomes prohibitive on memory-constrained TEEs. Second, refreshing R frequently is expensive, but reusing the same mask across queries weakens the OTP security guarantee. To mitigate both issues, low-rank OTP [35] approximates the full mask as the product of two low-rank factors, R ≈ UV⊤ , U ∈ Rn×r , V ∈ Rn×r , r ≪ n, reducing storage from O(n2 ) to O(nr) and allowing the TEE to refresh or regenerate U, V with substantially lower overhead. This enables higher-frequency mask rotation and improves practical security for memory-constrained on-device deployments.
24
NeurIPS Paper Checklist 1. Claims Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? Answer: [Yes] Justification: The main contributions have been concluded in the final of Introduction (Section 1). Guidelines: • The answer [N/A] means that the abstract and introduction do not include the claims made in the paper. • The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers. • The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings. • It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper. 2. Limitations Question: Does the paper discuss the limitations of the work performed by the authors? Answer: [Yes] Justification: Limitations of the work are included in Section 7. Guidelines: • The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper. • The authors are encouraged to create a separate “Limitations” section in their paper. • The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be. • The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated. • The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon. • The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size. • If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness. • While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations. 3. Theory assumptions and proofs Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof? Answer: [Yes] 25
Justification: The detailed proofs are deferred to Appendix B and Appendix D. Guidelines: • The answer [N/A] means that the paper does not include theoretical results. • All the theorems, formulas, and proofs in the paper should be numbered and crossreferenced. • All assumptions should be clearly stated or referenced in the statement of any theorems. • The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition. • Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material. • Theorems and Lemmas that the proof relies upon should be properly referenced. 4. Experimental result reproducibility Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)? Answer: [Yes] Justification: We provide full experimental details in Appendix E. Guidelines: • The answer [N/A] means that the paper does not include experiments. • If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not. • If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable. • Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general. releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed. • While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example (a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm. (b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully. (c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset). (d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results. 5. Open access to data and code Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material? 26
Answer: [Yes] Justification: Our data and code are available at https://anonymous.4open.science/ r/BiShield-TEE-28DF. Guidelines: • The answer [N/A] means that paper does not include experiments requiring code. • Please see the NeurIPS code and data submission guidelines (https://neurips.cc/ public/guides/CodeSubmissionPolicy) for more details. • While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark). • The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https: //neurips.cc/public/guides/CodeSubmissionPolicy) for more details. • The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc. • The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why. • At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable). • Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted. 6. Experimental setting/details Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results? Answer: [Yes] Justification: All experimental details are provided in Appendix E. Guidelines: • The answer [N/A] means that the paper does not include experiments. • The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them. • The full details can be provided either with the code, in appendix, or as supplemental material. 7. Experiment statistical significance Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments? Answer: [Yes] Justification: As our primary focus is on reporting model accuracy, error bars may not adequately capture the strongest performance of adversaries. Instead, we report the best results across five independent runs, which provides a more informative assessment. Guidelines: • The answer [N/A] means that the paper does not include experiments. • The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper. • The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions). • The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.) • The assumptions made should be given (e.g., Normally distributed errors). 27
• It should be clear whether the error bar is the standard deviation or the standard error of the mean. • It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified. • For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates). • If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text. 8. Experiments compute resources Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments? Answer: [Yes] Justification: Implementation details, including the experimental environment and hardware setup, are described in Appendix E.5. Guidelines: • The answer [N/A] means that the paper does not include experiments. • The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage. • The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute. • The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper). 9. Code of ethics Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines? Answer: [Yes] Justification: We follow the NeurIPS Code of Ethics. Guidelines: • The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics. • If the authors answer [No], they should explain the special circumstances that require a deviation from the Code of Ethics. • The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction). 10. Broader impacts Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed? Answer: [N/A] Justification: Our work focuses on model privacy. Although the attack techniques may have dual-use implications, they are intended to reveal weaknesses in existing defenses and guide the design of more secure systems. Guidelines: • The answer [N/A] means that there is no societal impact of the work performed. • If the authors answer [N/A] or [No], they should explain why their work has no societal impact or why the paper does not address societal impact. 28
• Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations. • The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster. • The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology. • If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML). 11. Safeguards Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)? Answer: [N/A] Justification: We do not release any models or datasets. Guidelines: • The answer [N/A] means that the paper poses no such risks. • Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters. • Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images. • We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort. 12. Licenses for existing assets Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected? Answer: [Yes] Justification: All assets used in this work are publicly available for research purposes, and their licenses can be found on Hugging Face. Guidelines: • The answer [N/A] means that the paper does not use existing assets. • The authors should cite the original paper that produced the code package or dataset. • The authors should state which version of the asset is used and, if possible, include a URL. • The name of the license (e.g., CC-BY 4.0) should be included for each asset. • For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided. 29
• If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset. • For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided. • If this information is not available online, the authors are encouraged to reach out to the asset’s creators. 13. New assets Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets? Answer: [N/A] Justification: No new assets are released. Guidelines: • The answer [N/A] means that the paper does not release new assets. • Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc. • The paper should discuss whether and how consent was obtained from people whose asset is used. • At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file. 14. Crowdsourcing and research with human subjects Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)? Answer: [N/A] Justification: No crowdsourcing nor research with human subjects are involved. Guidelines: • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects. • Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper. • According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector. 15. Institutional review board (IRB) approvals or equivalent for research with human subjects Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained? Answer: [N/A] Justification: No crowdsourcing nor research with human subjects are involved. Guidelines: • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects. • Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper. 30
• We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution. • For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review. 16. Declaration of LLM usage Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required. Answer: [N/A] Justification: Our workflow and algorithms do not involve the use of LLMs. Guidelines: • The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components. • Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.
31
Related documents
- BiShield-TEE: On the (In-)Security of Unilateral Weight Obfuscation in On-Device TEE-Shielded LLM Partition#1356901
- Understanding the Security Boundary of Obfuscation-based On-Device LLM Protection#997031
- ShareLock: A Stealthy Multi-Tool Threshold Poisoning Attack Against MCP#310740
- TriHaRd: Higher Resilience for TEE Trusted Time#1061657
- A technical approach to privacy based on mobile agents protected by tamper-resistant hardware#445121
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive