Overview
Confidential xPU computing has emerged as a prominent technique for effectively securing users' AI computing workloads on heterogeneous systems equipped with xPUs. Although the industry adopts this technology in cutting-edge hardware (e.g. NVIDIA H100 GPU) to safeguard high-performance AI computing, most clouds still rely on legacy xPUs and suffer from data leakage problems. Moreover, although the academy proposes several confidential xPU designs, these solutions have yet to be widely deployed in heterogeneous clouds. A key limitation is the compatibility challenge, which requires non-trivial engineering effort to address. Therefore, there is an urgent need to design a compatible and confidential xPU protection system that is tailored for today's AI computing platforms.
We present ccAI, a heterogeneous system that ensures both high compatibility and strong security for AI computing based on xPU. By leveraging the PCIe interconnect as a common abstraction layer, ccAI provides a unified solution for securing diverse xPU types while preserving user transparency, effectively overcoming key compatibility limitations of existing approaches. Specifically, ccAI achieves this through two core components: (1) a dedicated hardware module, the PCIe Security Controller (PCIe-SC), which enforces computing security of diverse types of xPU and (2) a collaborative software component, the Adaptor, deployed within the Trusted VM (TVM), which orchestrates secure workload processing without modifying applications or drivers. To handle the complexity of PCIe packet transmissions, ccAI incorporates a flexible and fine-grained processing framework, within which ccAI additionally optimizes frequent I/O interactions and security-critical operations to minimize performance overhead. We implement a prototype of ccAI and evaluate it across multiple real-world xPU platforms using a range of Large Language Models (LLMs). Results show that ccAI effectively protects xPU computing with low (0.05% - 5.67%) performance overhead.
FAQ
(1) What is the compatibility support in ccAI?
Compared to most xPU TEEs, ccAI is not designed for specific CPU architecture or xPU device. The design of ccAI does not require any hardware changes on existing CPU-side security primitives, PCIe bus, and xPU hardware. Moreover, to achieve user friendly, ccAI does not changes xPU software stacks, such as the AI applications, computing libraries, and xPU user/kernel drivers.
(2) What is the application scenarios of ccAI?
We envision scenarios in which the server supports confidential computing (e.g., Intel TDX support) and equips generic xPU (e.g., a NVIDIA A100 GPU). Based on this, ccAI provides xPU access control, xPU workloads encryption, and xPU environment isolation and attestation for the generic xPU. Server users can safely trust ccAI to load their sensitive AI models/data/parameters to ccAI system and perform computing confidentially.
(3) What will we do in the future?
In the future, ccAI will support more types of xPU hardware (e.g., dedicated FPGA and DNN accelerator) and TVM server. Moreover, to reduce the hardware cost, we will also focus on supporting multiple xPU devices with one PCIe-SC hardware.
Prototype
We provide our prototype system on Github, which provides the implementation and documentation for ccAI.
Publication
ccAI: A Compatible and Confidential System for AI Computing.
Chenxu Wang, Danqing Tang, Changxu Ci, Junjie Huang, Yankai Xu, Fengwei Zhang, Jiannong Cao, Jie Song, Shoumeng Yan, Tao Wei, Zhengyu He
In Proceedings of the 58th IEEE/ACM International Symposium on Microarchitecture (MICRO'25).
Bibtex for citation:
@inproceedings{wang2025ccai,
title={ccAI: A Compatible and Confidential System for AI Computing},
author={Wang, Chenxu and Tang, Danqing and Ci, Changxu and Huang, Junjie and Xu, Yankai and Zhang, Fengwei and Cao, Jiannong and Song, Jie and Yan, Shoumeng and Wei, Tao and He, Zhengyu},
booktitle={Proceedings of the 58th IEEE/ACM International Symposium on Microarchitecture},
pages={340--353},
year={2025}
}
