Google が 2018 年に発表した深層モデル BERT は、自然言語処理 (NLP) の多くのタスクでブレイクスルーを起こしました。性能面で進歩がある一方で、公平性に関するガイドラインが総務省から発表される等、産業界では解釈可能な AI を求める声が大きくなってきています。そこで本セッションでは、このギャップを埋めるために Microsoft Research が開発している、interpret-text と呼ばれる機械学習ライブラリをご紹介します。BERT を含む、様々な自然言語処理モデルを解釈するための 2 つの方法について解説し、簡単なデモをお見せします。
Deep Learning Digital Conference - connpass
https://dllab.connpass.com/event/178714/
5. Ethics Guidelines for Trustworthy AI
• AI HLEG (欧州委員会, 2018) による AI システムのガイドライン
• 信頼できる AI システムを作るするための評価リスト
https://ec.europa.eu/futurium/en/ai-alliance-consultation
Explainability:
- Did you ensure an explanation as to why the system took a certain choice
resulting in a certain outcome that all users can understand?
すべてのユーザーが理解できる形で、AI システムが結果を選択した理由が説明できるようにしましたか ?
- Did you design the AI system with interpretability in mind from the start?
はじめから解釈性を念頭に AI システムを設計しましたか ?
11. Unified Information Explainer
• Microsoft Research が ICML 2019 で
提案した state-of-the-art な解釈手法
• 情報理論の考え方がベース
• 学習済みモデルを解釈
• 特徴
• レイヤー間やモデル間で一貫性のある解釈を獲得出来る
• 活性化関数やアーキテクチャに制約がなく、任意の DNN モデルに対して適用できる
• 現在 interpret-text としては BERT のみを実装済み
• 将来的に LSTM, RNN に対応予定
Towards A Deep and Unified Understanding of Deep Neural Models in NLP, Guan et al. [ICML 2019]
31. 各手法の比較 ※ Interpret-text への実装ベースでの比較
Classical Text Explainer Unified Information
Explainer
Introspective Rationale
Explainer
Input model support Scikit-learn linear models
and tree-based models
PyTorch PyTorch
Explain BERT No Yes Yes
Explain RNN No No Yes
NLP Pipeline Support Handles text pre-
processing, encoding,
training, hyperparameter
tuning
Uses BERT tokenizer
however user needs to
supply trained/fine-
tuned BERT model, and
samples of trained data
Generator and predictor
modules handle the required
text pre-processing.
35. 参考文献
責任ある AI の基本原則を特定する - Learn | Microsoft Docs
https://docs.microsoft.com/ja-jp/learn/modules/responsible-ai-principles/
【記事更新】私のブックマーク「説明可能AI」(Explainable AI) – 人工知能学会 (The Japanese Society for Artificial Intelligence)
https://www.ai-gakkai.or.jp/my-bookmark_vol34-no4/
BlackBox モデルの説明性・解釈性技術の実装
https://www.slideshare.net/DeepLearningLab/blackbox-198324328
interpretml/interpret-text: A library that incorporates state-of-the-art explainers for text-based machine learning models and visualizes the result with a
built-in dashboard.
https://github.com/interpretml/interpret-text
Responsible AI: Interpret-Text with the Introspective Rationale Explainer | by Eve Pardi | Medium
https://medium.com/@evepardi/responsible-ai-interpret-text-introspective-rationale-explainer-9a3b1d7a5e4a
How to Explain Text Models with IntepretML Deep Dive | AI Show | Channel 9
https://channel9.msdn.com/Shows/AI-Show/How-to-Explain-Text-Models-with-IntepretML-Deep-Dive