RESEARCH PROJECT / AI SECURITY
Robust and Practical AI Security through Homomorphic Encryption and Trusted Execution Environments
We are developing security technologies that make it possible to use
AI services, now essential to modern society, safely and practically
in cloud environments.
This project is supported by a general research grant from the
SECOM Science and Technology Foundation
(FY2025–).

01 / BACKGROUND
Background
AI technologies, especially large generative AI models, help make
society more efficient, but they also raise major security challenges.
Protecting AI models (intellectual property)
Training a model is extremely costly, so models running in the cloud
must be protected from theft (loss of confidentiality) and tampering
(loss of integrity) by third parties or internal administrators.
Protecting user data (privacy)
Sensitive data that users enter into an AI, and the results the AI
returns, must be protected from leaks and tampering by third parties
and service administrators such as cloud providers.
Information leaks caused by insiders are increasing
(IPA 20231), so
technologies that protect AI models and data even from people with
administrator privileges are essential.
02 / PURPOSE
Purpose
The purpose of this research is to establish practical methods that
protect the confidentiality and integrity of AI models and their input
and output data from malicious attackers and from those with
administrator privileges.
By putting this technology into practice, we aim to establish a
technology essential for deploying AI in society, so that anyone can
use AI on third-party servers with confidence.
03 / APPROACH
Approach
We propose a new security scheme that ensures both the confidentiality
and the integrity of AI models and their input and output data while
running at practical speed. It combines the following technologies to
balance protection and execution speed.
- Homomorphic encryption (HE): computation on encrypted data (ensures confidentiality)
- Trusted execution environments (TEE): processing inside an authenticated, secure area (ensures integrity)
Simply combining fully homomorphic encryption (FHE) with a TEE is
impractical: computation on encrypted data is extremely slow, taking
104 to 106 times longer than plaintext execution.
| Homomorphic encryption (HE) | Trusted execution environment (TEE) | Proposed method (TEE + HE) | |
|---|---|---|---|
| Ease of system configuration | ◎ | ○ | ○ |
| Integrity of the AI model (program) | × | ○ | ○ |
| Confidentiality of the AI model (parameters) | ◎ | △ (side-channel attacks) | ○ |
| Confidentiality of model input and output data | ◎ | △ (side-channel attacks) | ○ |
| Other drawbacks | Very long execution time (over 106× plaintext) and very large memory use | — | Higher latency from HE (kept to O(10)×) and more memory use (kept to O(1)×) |
Selective encryption
To balance protection and execution speed, we introduce a selective
encryption method that encrypts only the important parts of an
AI model. With this approach, we aim to keep the overhead to
about 10 times that of plaintext execution.
Choosing what to encrypt with persistent homology
To decide which parameters of an AI model should be encrypted, we use
persistent homology (PH). PH analyzes the structure of
an AI model topologically and identifies the important nodes and edges
that strongly affect its performance and reproducibility. This lets us
automatically extract the regions to encrypt, achieving both secrecy
and computational efficiency.
Evaluating attack resistance and standardization
We also reproduce and evaluate recently reported side-channel attacks
on TEEs, and experimentally verify how resistant the proposed scheme
is and how it affects latency and accuracy. Ultimately, we aim to
establish this technology as a widely usable standard specification
and deploy it as a foundation for AI security.
04 / PLAN
Research Plan
Verify the effectiveness of PH-based parameter selection,
implement a protocol against HE key leakage, and run side-channel
attack experiments on Intel SGX to collect basic data for
defining confidentiality levels.
Complete the selective HE scheme for CNN and DNN models, and
establish a method for defining “confidentiality strength”
through demonstration experiments.
Begin applying the scheme to large models such as U-Net and BERT,
verify it on other TEEs such as AMD SEV-SNP to improve
generality, and start work toward international standardization.
Complete the scheme for all target AI models, clarify the
relationship between protection strength and execution speed
through demonstration experiments, present the final results at
international conferences, and promote standardization for
real-world use.
1. Information-technology Promotion Agency, Japan (IPA). (2023).
Survey on information security incidents caused by insiders
(in Japanese). ↩