mlsanityData to 7 Oct 2026

TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing

arXiv 2407.08903 ↗First posted 12 Jul 2024cs.CR cs.AI cs.ARcited by 0

Not on the map. Why?

Abstract (arXiv)

Heterogeneous collaborative computing with NPU and CPU has received widespread attention due to its substantial performance benefits. To ensure data confidentiality and integrity during computing, Trusted Execution Environments (TEE) is considered a promising solution because of its comparatively lower overhead. However, existing heterogeneous TEE designs are inefficient for collaborative computing due to fine and different memory granularities between CPU and NPU. 1) The cacheline granularity of CPU TEE intensifies memory pressure due to its extra memory access, and 2) the cacheline granularity MAC of NPU escalates the pressure on the limited memory storage. 3) Data transfer across heterogeneous enclaves relies on the transit of non-secure regions, resulting in cumbersome re-encryption and scheduling. To address these issues, we propose TensorTEE, a unified tensor-granularity heterogeneous TEE for efficient secure collaborative tensor computing. First, we virtually support tensor granularity in CPU TEE to eliminate the off-chip metadata access by detecting and maintaining tensor structures on-chip. Second, we propose tensor-granularity MAC management with predictive execution to avoid computational stalls while eliminating off-chip MAC storage and access. Moreover, based on the unified granularity, we enable direct data transfer without re-encryption and scheduling dilemmas. Our evaluation is built on enhanced Gem5 and a cycle-accurate NPU simulator. The results show that TensorTEE improves the performance of Large Language Model (LLM) training workloads by 4.0x compared to existing work and incurs only 2.1% overhead compared to non-secure training, offering a practical security assurance for LLM training.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 91 references that are in the map. First posted on arXiv 12 Jul 2024.

Builds on

16 of 91 references.

References · 16

  1. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
  2. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
  3. 2018Adversarial Attacks and Defences: A Surveycited by 259
  4. 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 44
  5. 2021F1: A Fast and Programmable Accelerator for Fully Homomorphic Encryption (Extended Version)cited by 23
  6. 2021ScaleCert: Scalable Certified Defense against Adversarial Patches with Sparse Superficial Layerscited by 15
  7. 2021Citadel: Protecting Data Privacy and Model Confidentiality for Collaborative Learning with SGXcited by 14
  8. 2022Differentially Private Model Compressioncited by 13
  9. 2019Buddy Compression: Enabling Larger Memory for Deep Learning and HPC Workloads on GPUscited by 10
  10. 2020GuardNN: Secure Accelerator Architecture for Privacy-Preserving Deep Learningcited by 9
  11. 2023East: Efficient and Accurate Secure Transformer Framework for Inferencecited by 9
  12. 2018Ekiden: A Platform for Confidentiality-Preserving, Trustworthy, and Performant Smart Contract Executioncited by 7
4 more
  1. 2019An Off-Chip Attack on Hardware Enclaves via the Memory Buscited by 6
  2. 2020MGX: Near-Zero Overhead Memory Protection for Data-Intensive Acceleratorscited by 5
  3. 2022HAAC: A Hardware-Software Co-Design to Accelerate Garbled Circuitscited by 5
  4. 2022Real-Time Robust Video Object Detection System Against Physical-World Adversarial Attackscited by 3

Built on by

Not cited yet.