GhosTEE: An Approach to Solving the GPU-Privacy Trade-off for Machine Learning Inference

As Machine Learning undergoes rapid evolution, it becomes the backbone of numerous application domains, making the security of ML models critical. The challenge of ML security is increasingly more complex, considering the inherent vulnerabilities of the models, which an adversary can exploit by either targeting the models themselves or the infrastructure hosting them, the latter being the focus of this work. Few solutions tried incorporating the untrusted GPU into the execution pipeline of the TEE, but often resulted in considerable precision loss or runtime slowdown. Here, we introduce GhosTEE, a framework for GPU-enabled trusted model inference, designed to isolate groups of layers and their weights. As the developer is tasked with choosing which layers to protect, we study the definition of potential layer protection guidelines within the context of Convolutional Neural Networks. To facilitate GPU support for intra-enclave operations, we define a novel memory-efficient matrix masking algorithm for matrix multiplications. After formally proving its numerical stability, we compare it to related approaches, revealing that our method is the most numerically stable solution, which does not require materialization of additional matrices. Finally, we benchmark the performance of our framework with and without the algorithm, observing faster execution speeds for deep 2D convolutions and fully connected layers with large input batches.

Authors

Institutions

Publication Details

Published
2025-10-13
DOI
https://doi.org/10.1145/3733799.3762962
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

GhosTEE: An Approach to Solving the GPU-Privacy Trade-off for Machine Learning Inference

Hendrik Meyer Zum Felde, Daniel Kowatsch, Konstantin Böttinger, Andrei-Cosmin Aprodu
Adversarial Robustness in Machine Learning
article

GhosTEE: An Approach to Solving the GPU-Privacy Trade-off for Machine Learning Inference

Hendrik Meyer Zum Felde, Daniel Kowatsch, Konstantin Böttinger, Andrei-Cosmin Aprodu
article en

Abstract

As Machine Learning undergoes rapid evolution, it becomes the backbone of numerous application domains, making the security of ML models critical. The challenge of ML security is increasingly more complex, considering the inherent vulnerabilities of the models, which an adversary can exploit by either targeting the models themselves or the infrastructure hosting them, the latter being the focus of this work. Few solutions tried incorporating the untrusted GPU into the execution pipeline of the TEE, but often resulted in considerable precision loss or runtime slowdown. Here, we introduce GhosTEE, a framework for GPU-enabled trusted model inference, designed to isolate groups of layers and their weights. As the developer is tasked with choosing which layers to protect, we study the definition of potential layer protection guidelines within the context of Convolutional Neural Networks. To facilitate GPU support for intra-enclave operations, we define a novel memory-efficient matrix masking algorithm for matrix multiplications. After formally proving its numerical stability, we compare it to related approaches, revealing that our method is the most numerically stable solution, which does not require materialization of additional matrices. Finally, we benchmark the performance of our framework with and without the algorithm, observing faster execution speeds for deep 2D convolutions and fully connected layers with large input batches.

Fraunhofer Institute for Applied and Integrated Security (DE)
Industry, innovation and infrastructure
Openalex Percentile: Top 18%
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.