Hiding Directions, Leaking Structure: Breaking ArrowCloak through Low-Rank Structure
This paper demonstrates that ArrowCloak, a TEE-based defense for protecting neural network weights, is fundamentally broken by a query-free attack that exploits its shared mask direction to recover hidden weight correspondences and reconstruct models with near-perfect accuracy, revealing that its LWE-based hardness claims are invalid and that lightweight protections must address both per-vector geometry and joint structural leakage.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the modern digital landscape, powerful artificial intelligence models are often treated as valuable secrets, much like a proprietary recipe or a unique piece of machinery. To use these models on personal devices without sending data to a distant cloud server, developers have begun splitting the work. They keep the most sensitive parts of the model, the core instructions and weights, inside a secure, locked-down area of the computer processor known as a trusted execution environment. This secure zone acts like a private vault, shielding the secrets from the rest of the system. However, the heavy lifting of calculations, the massive mathematical operations required to make the model think, is too demanding for this small vault. So, this work is offloaded to a powerful, but untrusted, graphics processor outside the vault. The challenge is that once the data leaves the secure vault to be processed, it is visible to anyone watching the hardware. If the data is not disguised, a clever observer could potentially reverse-engineer the original secret model from the exposed calculations.
To solve this, researchers recently proposed a method called ArrowCloak. The idea was to disguise the model's weights by rotating them in specific ways and adding a shared, hidden pattern to every single piece of data before sending it out. The designers argued that this scrambling was mathematically unbreakable, relying on a complex cryptographic theory that suggested recovering the original secrets would be as hard as solving a specific type of difficult puzzle. They claimed this method successfully hid the direction of the data vectors, preventing attackers from matching the scrambled pieces back to the original model.
A team of researchers has now revisited this protection scheme and found that the mathematical foundation was not as solid as claimed. They discovered that the proposed connection to the difficult cryptographic puzzle was flawed; the way the data was transformed did not actually create the conditions required to make the problem hard to solve. More importantly, they found a structural weakness in the disguise itself. While the method successfully changed the direction of individual pieces of data, it did so by adding a pattern that was shared across all of them. This shared pattern created a faint, low-dimensional signal that ran through the entire set of exposed weights, like a single thread running through a tapestry. Because this thread was common to every piece of data, it left a trace that could be detected and removed.
Using this insight, the researchers developed a new attack called ArrowRevelio. This method does not require any special access to the secure vault, nor does it need to ask the model questions or see its internal secrets. Instead, it simply looks at the public, scrambled weights and the original, unscrambled public version of the model. By analyzing the collective structure of the data, the attack can identify and subtract the shared hidden pattern. Once this pattern is removed, the hidden order of the data pieces becomes visible again. The researchers then used a standard matching technique to align the scrambled pieces with their original positions, effectively reconstructing the secret model.
The results of this reconstruction were strikingly accurate. Across six different combinations of models and tasks, including those used for classifying text, segmenting images, and generating new content, the attack successfully recovered the hidden arrangement of the data in nearly every case, with accuracy rates between 99.92% and 100%. The reconstructed models performed almost identically to the original secret models. For classification tasks, the new models agreed with the original on between 94.39% and 99.54% of test inputs, and their overall accuracy differed by no more than 1.59 percentage points. In a segmentation task, the agreement was even higher at 98.35%.
The researchers also tested whether making the shared pattern more complex would fix the problem. They increased the number of shared patterns from a single direction to hundreds of directions. While this made it slightly harder to perfectly reconstruct the model's exact output, it did not stop the attack from finding the hidden order of the data. Even with hundreds of shared patterns, the attack still recovered the arrangement of the data pieces with near-perfect accuracy, though the final model's performance dropped significantly. This suggests that simply adding more shared patterns is not a complete solution, as it increases the computational cost for the secure vault without fully eliminating the structural leakage.
The study concludes that protecting model weights requires looking at the data not just as individual pieces, but as a collective whole. The previous defense focused on hiding the direction of each vector in isolation, but it failed to account for the relationships shared across the entire set. The findings indicate that lightweight protection schemes must address both the geometry of individual vectors and the joint structure across all released weights to truly secure on-device artificial intelligence.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.