- Rating
- 6
- Clarity
- 4
- Confidence
- 4
- Originality
- 4
- Quality
- 4
- Significance
- 4
Read review
Summary
The paper presents an attack on the existing unilateral transformation techniques for weight obfuscation in on-device TEE-shielded LLM inference. The proposed SDP attack can break existing state-of-the-art techniques GroupCover and ArrowCloak. The paper also proposes a bilateral defense that counters SDP and similar attacks. Interestingly, the bilateral defense implementation performs better than the existing unilateral defenses.
Strengths and weaknesses
Strengths:
- The proposed attack is very intuitive to understand, so much so that it is surprising how the authors of GroupCover and ArrowCloak missed it. The paper is very well described and I was able to replicate the attack on GroupCover using weights from Qwen3.5-0.8B base and instruct.
- The proposed defense is implemented using the simple primitives of diagonal scaling and Householder reflections, making it more efficient than existing techniques.
- The experiments sufficiently cover all aspects of proving that the attack is successful and that the defense is effective.
Weaknesses:
- While the inference speed-up is impressive, it would help to provide an (approximate) analysis of number of operations (or time complexity) of BiShield-TEE versus GroupCover and ArrowCloak. This would address certain questions such as whether the related works were sufficiently optimized to make a fair comparison.
- There is little discussion on the impact of the diagonal scaling on floating point accuracy and quanitzation when operating with lower bit-width computations. I understand that this need not be addressed directly in this research however a discussion would be useful for future applicability.
Questions
- How is energy (line 155) defined? Is it the same as Eq.13 ?
Limitations
yes
Paper formatting concerns
none
Final justification
The minor concerns I had have been addressed. I will maintain my positive score.
We sincerely thank the reviewer for the highly positive and encouraging evaluation of our work. We especially appreciate the independent reproduction of our GroupCover attack on Qwen3.5-0.8B Base/Instruct checkpoints, as well as the recognition of BiShield-TEE's design. In response to the remaining questions, we provide a structured complexity comparison, clarify the current scope regarding quantization, and explain the “energy distribution” used at Line 155.
Q1. Operation and time-complexity comparison
GroupCover. For an output Y∈Rn×d, GroupCover applies a dense r×r inverse transformation within each feature group, resulting in O(ndr) recovery complexity. Following its original paper, we use the default group size r=4. Each group therefore requires a matrix–matrix multiplication inside the TEE, which is more expensive than the matrix–vector operations used by BiShield-TEE and explains GroupCover’s consistently higher real-device latency.
BiShield-TEE versus ArrowCloak for linear layers. Let Y′,Y∈Rn×d denote the result returned by the REE and the correctly recovered result, respectively. ArrowCloak recovers
Y=Y′Π−1D1−1−(Xv)1d⊤D2D1−1.
In addition to applying permutation and scaling to Y′, ArrowCloak must retain X, compute Xv, expand and scale the result, and subtract this input-dependent correction. BiShield-TEE instead recovers
Y=Tm−1Y′Tr−1=Dm−1HmY′HrDr−1.
Its diagonal scalings and Householder reflections are applied directly to Y′. Each Householder reflection uses its rank-one form, so the complete recovery remains O(nd) without dense matrix multiplication inside the TEE. Although both schemes have the same asymptotic complexity, BiShield-TEE avoids ArrowCloak's additional input-dependent correction path.
BiShield-TEE versus ArrowCloak for attention. The difference becomes more pronounced when recovering the attention score S=QK⊤. Appendix B.2 of ArrowCloak [22] gives
S=Π1−1D1−1(S′−OBS)D3−1Π2−1,
where
OBS=D21lvQK⊤D3+D1QvK⊤1l⊤D4+D21lvQvK⊤1l⊤D4.
The TEE must compute two corrections depending on the current Q and K, an additional mask-interaction term, and then remove their sum from S′ before inverse scaling and permutation. In BiShield-TEE, the coupled transformations cancel during the outsourced attention multiplication:
S′=TQSTK⊤,S=TQ−1S′(TK⊤)−1=DQ−1HQS′HKDK−1.
The TEE therefore recovers S directly from S′ using diagonal scaling and rank-one Householder updates, without constructing any Q- or K-dependent correction terms. This contrast is particularly clear for attention: ArrowCloak combines three online correction terms, while BiShield-TEE follows a single direct recovery path. The consistently lower latency of BiShield-TEE in our real-device measurements further validates this analysis.
Q2. Lack of quantization support
Our current design uses FP32 and does not support quantized inference. Under FP32, the transformations are correctly inverted and the authorized model accuracy is preserved. Direct INT8/INT4 quantization may disrupt recovery because diagonal scaling changes the numerical range and quantization introduces rounding and clipping errors. Similar numerical concerns arise in GroupCover and ArrowCloak, whose recovery also depends on precise transformed values. We will explicitly discuss this limitation in the revised manuscript.
Q3. Meaning of “energy distribution” at Line 155
Here, “energy distribution” refers to the locations of the dominant-magnitude entries within each column of T. Each column contains approximately s dominant entries, and columns belonging to the same hidden group share these dominant row indices. Group recovery uses this shared dominant-index pattern to measure similarity between columns. Eq. (13) applies row- and column-energy normalization to reduce scale variation and suppress noise, making the dominant-index pattern easier to identify.
We agree that the current main-text description is not sufficiently intuitive. We will revise Line 155 to explain that, after reducing scale differences and noise, we identify the s−1 columns with the greatest overlap among their dominant row indices and assign them to the same group.