SlideShare a Scribd company logo
1 of 20
秘密計算ってなんだろう?
2020年1月11日
新春高専カンファレンス初風
@swamptk
・ 秘密計算
データを秘匿したまま各種計算ができる技術
秘密計算とは?
秘匿データA
秘匿データB
秘匿データC
常に秘匿化された状態
秘匿化
秘匿化
秘匿化
秘密計算システム
データを秘匿化
したまま演算 演算結果復号
データと関係な
く結果のみが
分かる互いのデータ
を互いに開示
しない
・ 投票
Q:どのエディタが好きですか?
→ 宗教戦争が起きるのでどのエディタが好きかは言いたくない
しかし、どのエディタが一番人気か知りたい
→ 秘密計算を使おう!
簡単な例
A校の成績データ
B校の成績データ
C校の成績データ
氏名 学年 国語 数学
A 高1 20 70
B 高2 50 50
C 高3 40 60
氏名 学年 国語 数学
D 高1 90 80
E 高2 90 30
F 高3 60 50
氏名 学年 国語 数学
G 高1 60 60
H 高2 90 70
I 高3 50 30
氏名、名前、学年、成績
→ 秘密情報
→ 漏洩させてはならない
→ 秘匿する
・ 学年別の平均点
・ 教科別の平均点
各校で成績を開示できないので
計算できない
簡単な例
A校の成績データ
B校の成績データ
C校の成績データ
氏名 学年 国語 数学
gyr vgh dx gj
ygu gho xf cj
yyu ghh xy xf
氏名 学年 国語 数学
gho jnk duo tfu
hkh gjo ufi cti
qwe vgh ery ibo
氏名 学年 国語 数学
vib vbu dss Ji^
vip vin cip vyg
vir tyi uok aeq
① データの秘匿化する
定められた秘匿化方法
でデータを秘匿化
② 秘密計算システムに送信
秘匿化
秘匿化
秘匿化
秘密計算システム
簡単な例
A校の成績データ
B校の成績データ
C校の成績データ
③ データを秘匿化したまま任意の演算
を実行する。
④ 任意の演算結果のみを復号
秘匿化
秘匿化
秘匿化
秘密計算システム
データを秘匿化
したまま演算 演算結果復号
学年 平均点
高1 70
高2 60
高3 80
簡単な例
従来の暗号技術
秘密情報 結果システム
秘密情報 結果
システム内ではデータ
は暗号化されない
通信経路でしか、データが秘匿化されない
システムでデータを一度復号して任意の処理をする
→ システムを攻撃すればデータが盗める可能性がある
通信経路 通信経路
秘密計算
秘密情報 結果システム
(秘匿化したまま処理)
秘密情報 結果
通信経路 通信経路
通信経路+システム内のデータ処理が秘匿化される
→ 通信経路に加え、データの演算過程まで秘匿化
→ 安全性の向上
システム内
でも暗号化
データ秘匿化範囲
・ データをより安全に取り扱うこと
・ 個人情報を明かさずにデータの解析を行う
→ プライバシーを保ったまま個人が紐づいた情報を解析
・ データの統計的な傾向を知ること
→ データそのものについては知ることが目的ではない
秘密計算の目的
・ Web検索会社とネット通販会社の連携
・ 化合物データベースの検索技術
・ ゲノム分析
・ 電子投票システム
・ 顔認証システム
・ 人工衛星の衝突可能性計算
・ 各種統計処理
・ ユビキタス秘密計算環境 など多数
秘密計算の応用例
Web検索会社とネット通販会社の例
実用的な例
Web検索会社
商品購入履歴
ネット通販会社
Webページの閲覧履歴
秘密計算
特定のWebページを閲覧する人がよく購入する商品をリストアップ
→ そのWebページにその商品のWeb広告を出す
→ 高いクリック率と購入率が期待される
秘密分散と秘匿通信技術を用いた電子カルテ保管・交換
https://www.nict.go.jp/press/2019/12/12-1.html
最近の事例
暗号化したままディープラーニング
医療情報を秘匿したまま学習 → 高速かつ正確に病気を発見
https://www.ntt.co.jp/news2019/1909/190902a.html
最近の事例
・ 秘密計算の考え方は昔から存在
→ 1980年代から理論として確立
→ 計算量が多く、演算に時間がかかり実用的でない
→ 長年、研究レベルであった
→ 近年、実用化できるまでになってきた
秘密計算のアプローチ
・ 秘密計算を実現するための方式
① 秘密分散
② 準同型暗号、完全準同型暗号
③ 秘匿回路(Garbled circuit)
④ カードベース暗号
秘密計算のアプローチ
・ 秘密情報をいくつかのシェアに分散させる
・ シェアが一定数集まると復号可能
・ シェアは単体では乱数にしか見えない
→ 秘密情報は簡単には推測できない
・ 計算過程で秘密情報をもとに戻すことがない
1つの場所で保管、演算するのは不安だから、複数に分
けて別々に保管、演算しよう!
秘密分散
機密データ10 機密データ15
5 2 3 6 7 2
5 6 3 22 7
秘密計算 秘密計算秘密計算
11 59
25
① 秘密分散
② 機密データ
を開示せず
に加算
③ 復号(加算)
例:10+15
秘密情報「5」を秘密分散
秘密分散法の仕組み
5 任意の点をいくつか取って分散
分散した点から関数を推測
秘密情報を復元
f(0) = 5になる関数を考える
・ 暗号化したまま加法や乗法が計算可能な暗号方式
準同型暗号
機密データX
機密データY
暗号化した
機密データX
暗号化した
機密データY
暗号化した
演算結果
演算結果
① 暗号化して送信 ② 暗号化したまま演算 ③ 復号
データは、常に暗号化
Enc(X)、Enc(Y) Enc(X)+Enc(Y) = Enc(X+Y)
・ 秘密計算とは、
データを秘匿化したまま各種計算ができる技術
・ 秘密計算は様々な場面で応用されている
・ 通信経路だけでなくデータの演算過程も秘匿化
・ 様々な方式のアプローチがある
まとめ

More Related Content

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

秘密計算とは?

Editor's Notes

  1. まず、秘密計算とは何かということを説明します。 秘密計算を一言でいうとデータを秘匿したまま各種計算ができる技術のことです。 互いのデータを開示せずに、データと関係なく演算結果のみが分かるという特徴があります。
  2. ここで簡単な例をいくつかあげます。 まず、投票についてです。 例えば、どのエディタが好きですかという質問があったとしましょう。 VSCodeとかVimとか色々ありますが、ここで互いに手をあげて、VSCodeが好きな人などと投票すると互いにどのエディタが好きなのかが見えてしまい宗教戦争になりかねません。 では、皆さんが全員が目をつぶり、投票をすればどうでしょうか。 これも十分ではありません。集計をする僕には誰がどのエディタが好きなのかわかってしまい。こいつはEmacsが好きだから敵だなとか認識してしまいます。 そこで秘密計算を使えば、個々人の投票データすなわち好きなエディタは秘匿化されますから、集計者である僕を含めて簡単に言えば、全員が目をつぶった状態でどのエディタが一番人気なのかを知れるのです。
  3. 学校は他の機関に名前や学年、成績を 漏洩させてはならない。 → 機密情報で秘匿しなければならない A校、B校、C校が互いにデータが 開示できないとき 他の機関が ・ 学年別の平均点 ・ 教科別の平均点 が知りたいときに計算できない! → 秘密計算を使う!
  4. システムは、入力である秘密情報から任意のある処理を行い、その結果を出力するもの 例)クレジットカード認証システム クレジットカード番号や有効期限などの情報を秘密情報として、そのクレジットカードで決済可能であるかないかを結果として返す。
  5. ・ データの安全性を保つという目的も、もちろん存在する。秘密計算によって通信経路、システム内で秘匿化できる ・ 個人情報を明かさずにデータの解析を行う。 → 個人が紐づいた(例えば、購買データと閲覧履歴とか)データ解析をしたい両者のデータを相互に公開できない → じゃあ仮名化とか匿名化すればいいじゃないのか → いやいや特定の人物が識別できないように加工されるから意味ないよね → ある個人が何をしているのかという相関をとりたいわけだから意味がない → その点秘密計算では、個人に紐づいたデータをプライバシーを保ったまま解析できる ・ データの統計的な傾向を知ること  〇〇さんが何々ということをしているから、〇〇さんには何々をしようみたいなことはできない  あくまでも全体的にどんな傾向を持っているのかとか、平均的にどんな点数なのかみたいなことを知るのが目的
  6. Web検索会社は、検索履歴を持っている ネット通販会社は、購買履歴を持っている これらを組み合わせれば、どのようなキーワードを検索した人が商品を購入しやすいのかなどの情報を得られる。 しかし、それぞれのプライバシーは守らなければならない。だから秘密計算する これによって、より効果的なターゲティング広告を行うことができる
  7. 次に実用的な例をいくつかあげてみましょう。 まず、秘密分散と秘匿通信技術を用いた電子カルテ保管、交換システムです。 秘密計算の方法の一種である秘密分散という技術と秘匿通信技術を使い、電子カルテのバックアップをセキュアに素早く復元できるシステムです。 模擬データでは、衛星通信を用いて9秒以内に復元できるということで、災害時の素早いカルテのや複数の医療機関での電子カルテの相互参照などへの応用が期待されています。
  8. 次に秘密計算技術を利用して、データを暗号化したままディープラーニングを実行できるという研究を紹介します。 従来、ディープラーニングは暗号化してデータをシステムに送ってもサーバで復元して学習を行ってきました。 サーバで復元されるのでプライバシーの問題で提供できないデータもあり、十分な学習が行えないという問題がありました。 例えば、MRIやレントゲンなどの医療データがその一つとしてあげられます。 そこで、秘密計算を使って、ディープラーニングができるようになれば、医療データを秘匿したまま学習ができるので高速かつ正確に病気を発見できるということにつながります。
  9. アニメーションをつける(To do)