arXiv論文メモ
新着一覧
cs.CR / cs.AI · 査読状況未確認

暗号化したまま言語モデルの安全判定を行う

HE-Guardrail: A Homomorphic Guardrail Against Jailbreak Attacks for Encrypted Large Language Model Inference

Byeongseo Min, Yongwoo Lee, Young-Sik Kim, Yongjune Kim

この論文をやさしく読む

ひとことで言うと

入力をサーバーに見せずにAIを使う仕組みでも、危険な要求への応答を止められるよう、安全判定自体を暗号化したまま行う研究です。

何に役立つ?

考えられる用途は、利用者の機密情報を守りつつ言語モデルの応答に安全上の制御を設けるサービスです。既存の3種類の安全判定を暗号化環境に移しています。

この研究の面白いところ

機密性を高めると不正利用が見えにくくなるという問題を、内容を復号せずに扱います。応答を返すかどうかまで暗号化計算で制御します。

どこまで分かった?

平文ガードレールの判定を近く再現する結果であり、あらゆる攻撃を防ぐ保証ではありません。要旨には判定精度や実行時間の具体的な数値はありません。

v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。

アブストラクトの日本語訳

準同型暗号(HE)は、暗号化されたデータ上で直接計算できるため、プライバシーを保護する機械学習(PPML)の有望な手法として注目されている。HEに基づくPPMLでは、クライアントが暗号化した入力をサーバーへ送り、サーバーは元の平文にアクセスせずに大規模言語モデル(LLM)などを実行する。しかし本研究では、この設定に重大なセキュリティ上の脆弱性を見いだす。HEによるLLM推論は、ジェイルブレイク攻撃などの敵対的プロンプトを送る悪意あるクライアントに対して脆弱である。善意のクライアントを保護する機密性そのものが、入力プロンプトや生成応答をサーバーが検査することも妨げ、攻撃の検出や遮断を難しくし、成功した攻撃がサーバーから完全に見えないままになる可能性を生む。 この脆弱性に対処するため、ガードレールの仕組みをすべて暗号化データ上で評価し、対象モデルの応答をクライアントへ返すかどうかを準同型的に制御する枠組みHE-Guardrailを提案する。Llama Guard、JBShield、GradSafeという代表的な3種類のガードレールを用いて具体化する。結果は、HE-Guardrailが対応する平文ガードレールの判定を暗号化領域で忠実に再現し、それぞれに異なる安全性・効率・有用性のトレードオフがあることを示す。

v1の要旨から自動生成。本文の精読・人による確認は未実施。

初稿
2026-09-18(UTC)
最新改訂
2026-09-18 · v1
査読・掲載
査読状況未確認
arXivで読むPDF

更新履歴

取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。

原文の要旨

Homomorphic encryption (HE) has emerged as a promising approach to privacy-preserving machine learning (PPML), enabling computation directly over encrypted data. In HE-based PPML, a client submits an encrypted input to the server, which evaluates models such as large language models (LLMs) without access to the underlying plaintext. However, we identify a critical security vulnerability in this setting: HE-LLM inference is vulnerable to malicious clients that submit adversarial prompts, such as jailbreak attacks. The same confidentiality that protects benign clients also prevents the server from inspecting incoming prompts or generated responses, making adversarial attempts difficult to detect or block and potentially allowing successful attacks to remain entirely invisible to the server. To address this vulnerability, we propose HE-Guardrail, a framework that evaluates guardrail mechanisms entirely over encrypted data and homomorphically controls whether the target-model response is returned to the client. We instantiate HE-Guardrail with three representative guardrails - Llama Guard, JBShield, and GradSafe. Our results show that HE-Guardrail closely reproduces the decisions of the corresponding plaintext guardrails in the encrypted domain, with distinct security-efficiency-utility trade-offs.

arXiv ID: 2609.21484 / 要約の誤りについて