AIプライバシー・エンジニアリング
- 提供元・モデル・プラン・利用環境
- Google · Microsoft
- 記事ID
- EA-063
要点
「AIのプライバシー対策は、PIIを見つけて黒塗りすることだけではない。まず業務目的に不要な個人情報を取得・検索・転送・保持しない。必要な情報には、検出、仮名化、削除、暗号化などを目的に応じて使い分ける。『検出されなかった』『anonymizeという関数を通した』ことだけで匿名化済みとは判断できない。識別可能性は周辺情報や復元鍵、外部データとの結合でも変わるため、入力、RAG、tool、memory、出力、ログまで処理面ごとに確認する必要がある。」
現在の判断
EA-063は「PII削除機能」ではなくprivacy engineering lifecycleとして成立する。第一原則はdetect-and-redactより前のdata minimizationであり、不要なpersonal dataをそもそも収集・検索・toolへ転送・memoryへ書込・logへ保存しない設計が優先される。
どこまで当てはまるか
- Detector: supported entity/infoType、language/locale/country、file modality、custom recognizer、threshold/likelihood、request size、latency/output limits。
- 変換(Transform): 不可逆 vs 可逆、マッピング/キー/ソルトの保管、KMS/HSMの可用性、参照整合性の要件。
- Provider: service/region、SKU/billing、tenant/admin setting、filter mode、supported model/deployment、API revision。
- Workflow: whether control is applied before provider transmission, after generation, at storage/logging, or only at one surface。
- Governance: jurisdiction、purpose、lawful/approved processing basis、retention/deletion rule。法的適否の最終判断は当該組織の法務・privacy governanceと分離する。
詳しく理解する
対象範囲と前提
Enterprise AI Core: privacy-by-design、data minimization、de-identification/pseudonymization、runtime privacy policy、transformation provenance。 Provider mapping: Google Cloud Sensitive Data Protection、Microsoft Foundry PII filterをcurrent implementation sampleとして扱う。 Implementation/OSS: Presidio Analyzer/Anonymizerを実装precedentとして扱う。 Governance: NIST Privacy Engineering、NISTIR 8053、NIST SP 800-226。UK ICO guidanceはjurisdiction-specific regulatory guidanceとして扱い、global legal ruleへ一般化しない。 Interoperability: prompt/RAG/tool/memory/output/telemetry間のprivacy label・transform state伝播。
検討ポイント
Q1. AIプライバシーエンジニアリングは、「個人情報(PII)検出器 + 伏せ字処理」ではなく、収集・転送・保持そのものを減らすデータ最小化を第一段階に置くべきか。 Q2. 匿名化(anonymization)、仮名化(pseudonymization)、マスク/秘匿(mask/redact)、トークン化/ハッシュ化(tokenization/hash)、暗号化(encryption)を同義語として扱えるか。 Q3. PII detectorの判定はprivacy/compliance上のtruth sourceとして使用できるか。 Q4. de-identified dataに対するre-identification riskと、差分privacy等のPETをどの粒度で評価すべきか。 Q5. provider内蔵filterを組織全体のprivacy controlとして外挿できるか。
根拠資料
- 資料の種類:公式のプライバシー設計プログラム・枠組みの資料 exact title: Privacy engineering 著者・組織:National Institute of Standards and Technology (NIST) canonical URL: https://www.nist.gov/privacy-engineering 公開・更新・参照:現行ページ / 参照日 2026-09-14 version/release: program page; references NIST Privacy Framework and PRAM supporting locator: PEP overview; Privacy Framework; Privacy Risk Assessment Methodology evidence label: 仕様確認済み relation: support / context established: NIST Privacy Engineering Programはmeasurement scienceとsystems engineeringをprivacy riskへ適用し、Privacy Framework、PRAM等を提供する。privacy controlを単一のredaction機能ではなくsystem risk managementとして扱う根拠になる。
- source class: official NIST publication exact title: De-Identification of Personal Information 著者・組織:Simson L. Garfinkel / NIST canonical URL: https://doi.org/10.6028/NIST.IR.8053 publication/update/access date: published 2015-10-22; NIST page updated 2020-01-27; accessed 2026-09-14 version/release: NISTIR 8053 supporting locator: Abstract; de-identification / re-identification discussion evidence label: 仕様確認済み + RESEARCH 対応関係:裏付け/反証/適用限界 確立事項: 匿名化はプライバシーリスクを低減できるが、匿名化されたデータが再識別される可能性があることが明記される。対象は構造化データだけでなく、自由形式のテキスト、マルチメディア、医療画像まで含む。
- source class: official NIST guideline 正確なタイトル: 差分プライバシーの保証を評価するためのガイドライン 著者/組織: Joseph Near, David Darais, Naomi Lefkovitz / NIST canonical URL: https://doi.org/10.6028/NIST.SP.800-226 公開・更新・参照:公開日 2025-03-06; 参照日 2026-09-14 version/release: NIST SP 800-226 Final 参照ロケーター:要旨、プライバシー上のリスク、差分プライバシーのピラミッド、NIST リリース発表 evidence label: 仕様確認済み + RESEARCH 対応関係:裏付け/適用限界 established: differential privacyはデータに個人が含まれることによるprivacy lossを定量化する数学的枠組みであり、privacy-preserving MLにも適用可能。一方NISTは実装上のprivacy hazard、noise設定、privacy-utility trade-offを評価する必要を強調しており、「DP使用=再識別不能」のような保証へ単純化できない。
- 資料の種類:規制当局の指針 exact title: What are the appropriate safeguards? 著者・組織:UK Information Commissioner's Office (ICO) canonical URL: https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/the-research-provisions/what-are-the-appropriate-safeguards/ 公開・更新・参照:参照日 2026-09-14 version/release: current web guidance; jurisdiction-specific supporting locator: data minimisation; anonymised information; pseudonymisation evidence label: SOURCE_REPORT + 製品情報は要再確認 relation: support / context / limit established: 必要なpersonal dataの最小量を特定し、それ以上保持しないdata minimisationを明示する。anonymous informationを利用できない場合にpseudonymisationを検討し、pseudonymous dataはなおpersonal dataであるとする。
- 資料の種類:規制当局の指針 exact title: Pseudonymisation 著者・組織:UK Information Commissioner's Office (ICO) canonical URL: https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/data-sharing/anonymisation/pseudonymisation/ 公開・更新・参照:参照日 2026-09-14 version/release: current web guidance; jurisdiction-specific supporting locator: Define your goals; Detail the risks; data minimisation / security sections evidence label: SOURCE_REPORT + 製品情報は要再確認 対応関係:裏付け/反証/適用限界 established: pseudonymisationはidentifiabilityを目的に必要な範囲へ減らす手段になり得るが、追加情報の復元・アクセス防止が必要。insider/external attackerによるre-identificationを考慮し、unauthorised reversalを抑止する必要がある。
- source class: author-maintained OSS documentation exact title: Presidio Analyzer 著者・組織:Data Privacy Stack / Microsoft-origin Presidioプロジェクト canonical URL: https://microsoft.github.io/presidio/analyzer/ 公開・更新・参照:参照日 2026-09-14 version/release/tag/commit: docs current; exact release tag not fixed in this RUN supporting locator: Main concepts; Creating PII recognizers; Multi-language support; decision process evidence label: OSS_PRACTICE 対応関係:裏付け/適用限界 確立済み: PII(個人識別情報)検知は、正規表現、NER(名前付きエンティティ認識)、カスタムロジックなどの認識器の集合で実装可能であり、エンティティの型、範囲、スコアを返す。カスタム認識器、国や言語の適用範囲、および意思決定の追跡が必要になること自体が、検知器の出力を普遍的な真実とみなせないことを示す実装上の前例となっている。
- source class: author-maintained OSS documentation exact title: Presidio Anonymizer 著者・組織:Data Privacy Stack / Microsoft-origin Presidioプロジェクト canonical URL: https://microsoft.github.io/presidio/anonymizer/ 公開・更新・参照:参照日 2026-09-14 version/release/tag/commit: docs current; exact release tag not fixed in this RUN supporting locator: Built-in operators; Deanonymizer; security considerations evidence label: OSS_PRACTICE 対応関係:裏付け/反証/適用限界 established: replace、redact、mask、hash、encrypt等の異なるtransformが一つの“anonymizer”実装に含まれ、encryptはdecrypt可能である。したがってAPI/function名がanonymizeでも、法的・risk上のanonymisationを達成した証明にはならない。referential integrityのためsaltを保持すれば再識別riskが増えるというsecurity trade-offも明示される。
- 情報源の分類: 公式クラウド製品ドキュメント 正確なタイトル: Sensitive Data Protection ドキュメント / 機密データを含むストレージおよびデータベースの検査 著者・組織:Google Cloud canonical URL: https://docs.cloud.google.com/sensitive-data-protection/docs 公開・更新・参照:参照日 2026-09-14 version/release/API revision: current Google Cloud service; 製品情報は要再確認 supporting locator: infoTypes; inspection; de-identification; risk analysis; repository scanning evidence label: 仕様確認済み + 製品情報は要再確認 関係性: サポート / 可用性 / コンテキスト established: text/structured data/images等のsensitive data検出、predefined/custom infoTypes、de-identification、k-anonymity/l-diversity等のre-identification risk analysisを提供する。productized privacy engineering building blocksが存在するが、cloud project/region/billing/API limit等の利用条件とは分離すべきである。
- source class: official API documentation exact title: projects.content.inspect / Sensitive Data Protection 著者・組織:Google Cloud canonical URL: https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.content/inspect 公開・更新・参照:参照日 2026-09-14 version/release/API revision: v2 REST surface; current docs supporting locator: InspectConfig / infoTypes; default detector behavior; content/response limits evidence label: 仕様確認済み + 製品情報は要再確認 対応関係:反証/適用限界/利用可能性 established: inspectionはconfigured/default infoType detectorに依存し、default setは時間とともに変化し得る。またrequest/output/処理時間等のlimitsがある。検出結果を不変・完全な分類truthとして保存する設計は不適切で、detector configuration/version相当のprovenanceが必要。
- 情報源の分類:公式プロバイダー製品ドキュメント 正確なタイトル:個人を特定できる情報(PII)フィルタ 著者・組織:Microsoft Foundry / Microsoft Learn canonical URL: https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/content-filter-personal-information 公開・更新・参照:更新日 2026-07-31; 参照日 2026-09-14 version/release: current Foundry PII filter; 製品情報は要再確認 supporting locator: Personal data types; Filtering modes evidence label: 仕様確認済み + 製品情報は要再確認 対応関係:裏付け/利用可能性/適用限界 established: LLM completion outputのpersonal dataを検出し、AnnotateまたはAnnotate and Blockで扱える。entity categoryごとに設定可能。ただしdocumented scopeはmodel output側であり、これ単独ではprompt/RAG/tool/memory/logを覆うenterprise-wide privacy controlにならない。
- source class: official AI risk profile exact title: Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile 著者・組織:NIST canonical URL: https://doi.org/10.6028/NIST.AI.600-1 公開・更新・参照:公開日 2024-07-26; 参照日 2026-09-14 version/release: NIST AI 600-1 supporting locator: publication scope / companion profile to AI RMF 1.0 evidence label: 仕様確認済み relation: context established: GenAI固有riskをAI RMFへ接続するcross-sector profileが存在する。本packetでは個別privacy controlを同文書から推測せず、AI-specific risk-management contextとしてのみ使用する。
確認できていること
anonymization / pseudonymization / masking / redaction / hashing / encryptionは別概念である。特にpseudonymized/reversible transformは識別可能性を低減しても復元経路を残す。OSS上の“anonymizer”という名称だけでanonymousと判定してはならない。
PII(個人識別情報)/機密データ検出器は分類器であり、認可の正解となる情報源(truth source)ではありません。エンティティの網羅性、言語/国、カスタム認識器、しきい値、コンテキスト、およびバージョンやデフォルトセットの変更により、偽陰性(見落とし)や偽陽性(誤検知)が発生する可能性があります。
not detected = non-personalという推論を行うことは禁止します。de-identificationはrisk reductionでありcategorical guaranteeではない。直接識別子を除いてもquasi-identifier、外部dataとのlinkage、small-group uniqueness、semantic contextから再識別され得る。
差分プライバシー(differential privacy)は有力なプライバシー保護技術(PET)であるが、単にノイズを加える機能ではない。プライバシーパラメータ、集計/合成、実装上の危険性、有用性の低下を含めて評価しなければならない。
provider組込PII filterは有用なdefense-in-depthだが、scopeを確認しなければならない。Microsoftのcurrent filter例はmodel output detectionであり、input、RAG context、tool payload、memory、telemetryを自動的に保護する証拠ではない。
Core候補は、prompt / retrieved context / tool input / tool output / memory/state / generated output / evaluation fixture / trace-log-cache の各surfaceごとに「必要性→classification→detection→transform→recipient→retention→audit」を評価するPrivacy Surface Matrixである。これは複数一次資料と実装から導くINFERENCE / PROPOSALであり、既存標準の名称ではない。
よくある失敗・反証
anonymisedと称するdataでも、contextやauxiliary datasetとのlinkageで再識別可能性が残り得る。NISTIR 8053はこの限界を明示する。
PII detectorはknown entity patternに強くても、自由記述中の間接識別、希少属性の組合せ、業務固有ID、画像内文字/object、複数言語ではcoverageが変わる。provider/OSS間のentity taxonomyも一致しない。
偽陽性(false positive)を強力にブロックしすぎると、業務の有用性を損なう。偽陰性(false negative)を減らそうとしてコンテキストを広げると、プライバシー処理自体がより多くの生データに触れる可能性がある。
reversible tokenization/encryptionはmapping/key/saltを守る別security problemを生む。復元情報を同一trust domainへ置けばpseudonymizationの分離効果が弱まる。
output filterのみでは、providerへ送信済みのinputやretrieved contextを後から保護できない。pre-inference minimization/controlとpost-generation filteringを別層で持つ必要がある。
Differential Privacyのベンチマークおよび数学的保証を、個別のLLM会話における秘密保持の保証へと外挿してはならない。用途、隣接性の定義、およびプライバシー予算が異なるためである。
ICOのガイダンスは英国の管轄区域におけるガイダンスであり、他の法域へそのまま法的結論として転用してはならない。
実務での使い方
VERIFIED implementation building blocks exist: NIST risk-engineering guidance、Google Sensitive Data Protection、Microsoft Foundry PII filter、Presidio等。しかしprovider-neutralな「AI Privacy Gateway」標準が確立しているとは確認できない。
将来のCoreに関する提案/推論:
Privacy Gateway / Data Reduction Layerをinference前段だけに限定せず、各runtime surfaceへ適用する。最低限のrecordはsurface,purpose,source_classification,detector/config revision,detected entity/infoType,transform,reversibility,mapping/key custodian,destination/recipient,retention,policy decision,exception/approval,provenance。ただしauditのためにraw PIIを重複保存しない。raw valueそのものではなくpolicy/transformation eventを記録する設計を優先する。Privacy evaluationは単一accuracy scoreで閉じない。追加検証向けTEST_PROFILE(未実施): A. synthetic PII corpusを用い、entity type × language × formatting × contextごとのprecision/recallを計測する。 B. direct identifiersだけでなくquasi-identifiers、業務固有ID、複数属性組合せをfixture化し、detector missを観測する。 C. redaction/tokenization後にtask completion/answer utilityがどこまで壊れるかを同時測定する。 D. 可逆的な変換では、マッピングとキーの分離、権限のない復元、キーのローテーションおよび失効、ならびに監査を試験する。 E. 非識別化データセットでは、既知の補助情報を用いた紐付け/再識別テストを、隔離された人工的に作った文書群を用いて行う。 F. 差分プライバシー(DP)を採用する場合は、epsilonなどのパラメータだけでなく、プライバシー予算の合成・管理、実装、有用性をNIST SP 800-226に沿って評価する。 実在個人データ、秘密情報、認証済みtenantへの危険なlive testは使用しない。
Privacy: minimizationを最初のcontrolに置き、必要な場合のみ検出・transformを重ねる。anonymous/pseudonymous/reversibleの状態を混同しない。 Security: mapping table、encryption key、stable salt、custom detector rule、raw quarantineは高価値資産として分離・least privilege化する。 Audit: detector/config/model version、transform policy、decision/override、destination、retention、re-identification test結果を記録する。一方、証跡のためにraw personal dataを新たに複製しない。 コスト: コンテンツの全文検査、OCR/画像スキャン、固有表現抽出(NER)、カスタム分類器、データプライバシー処理は、レイテンシ/計算リソース/APIコストを伴う。すべての接点に対して同期的なインラインスキャンを行うことが適切とは限らず、リスククラスに応じてインラインまたはバッチ処理を使い分ける。 Operability: detector taxonomy drift、provider feature更新、language coverage差に備え、golden synthetic corpusで回帰試験する。block policy変更はEA-058 configuration management、EA-059 canary/feature flagと接続可能。
NIST Privacy Framework 1.1 is Initial Public Draft/not final; NIST SP 800-226 is Final. Microsoft Foundry PII filtering is scoped to documented model-output scanning. Google detector behavior/config/version can drift and does not guarantee compliance. Presidio must be release/config pinned. No-detection is not non-personal proof.
まだ確認できていないこと
- provider横断で通用するAI-runtime privacy transformation metadata schemaの有無。
- embedding/vector representationからのmembership/inversion/re-identification riskを、Enterprise運用向けにどの試験でbounded評価するか。
- multimodal PII detectionについてtext/image/audio/videoで同等のcoverageを保証できるprovider-neutral手法。
- LLM memory/stateの削除・forget操作と、backups/log/eval copiesを含む実効削除の統一contract。
- anonymizationの十分性を各jurisdiction/用途でどのthresholdに置くか。engineering packetから法的thresholdは確定しない。
- NIST Privacy Framework次版の最終statusは公開後更新時に再確認する。
外部根拠の再確認日が正式な本文・公開管理情報で確定していないため、現行性は未確認のまま保持する。確認日を推測して補わない。
根拠資料
この根拠欄には、主張に対応づけて登録された外部出典がありません。本文中の引用・参考資料がある場合は、適用条件や未確認事項とあわせて確認してください。
このページから探す
種類
主題
やりたいこと
読み終えたら、次の判断へ
この記事で確かめた条件を、関連する用語・道具・手段・運用知識に接続して確認できます。実装や更新の判断には、各記事の確認時点・根拠・未確認事項を引き継いでください。
最初の知見から実務判断まで、3つの読み方を見る