機械学習システムのマルチビュー・モデリング [Software QualityJ. ’24]
ML Canvas
AI Project Canvas Safety Case
Architectural Diagram (SysML) KAOS Goal Model
STAMP/STPA
Value
MLOps Architecture Goals
Safety
Argumentation
Jati H. Husen, Hironori Washizaki, Jomphon Runpakprakun, Nobukazu Yoshioka, Hnin Thandar Tun, Yoshiaki Fukazawa, Hironori Takeuchi, “Integrated Multi-
view Modeling for Reliable Machine Learning-Intensive Software Engineering,” Software Quality Journal, pp. 1-51, Springer, 2024.
7
8.
一貫性・追跡性保証の
ためのメタモデル [ICEBE’23]
ML Canvas
AIProject Canvas
Safety Case
KAOS Goal Model
STAMP/STPA
Architecture (SysML)
ML workflow
pipeline
8
Hironori Takeuchi, Jati H. Husen, Hnin Thandar Tun, Hironori Washizaki and Nobukazu Yoshioka, “Enterprise Architecture-based Metamodel for a Holistic
Business – IT Alignment View on Machine Learning Projects,” IEEE International Conference on E-Business Engineering (ICEBE 2023), Best Paper Award
Hironori Takeuchi, Jati H. Husenb, Hnin Thandar Tun, Hironori Washizaki, Nobukazu Yoshioka, “Enterprise Architecture-based Metamodel for Machine Learning
Projects and its Management,” Future Generation Computer Systems, Elsevier, pp. 1-12, 2024.
New versions of
artefacts
Trainingfeedback
(Re-)Training
artefacts
Old versions of
artefacts
モデリングとMLパイプライン統合
マルチビュー
モデリングツール
統合プラグイン
ML Model
Performance Monitor
モデル調整
ツール統合
他のプラグイン
機械学習
パイプライン
機械学習モデル訓
練
バージョン
コントロール
Model-driven
decisions
(Re-)Training, Repair
Configurations and
Parameters
メタモデル
Multi-view traceability guide
ML artefact - elements connection guidance
Artefact version
monitoring guidance
Data Version Control
DVC Pipeline
Jomphon Runpakprakun, Jati H. Husen, Hironori Washizaki, Nobukazu Yoshioka, Yoshiaki Fukazawa, “Towards Integrated Model-Based
Machine Learning Experimentation Framework,” 10th International Conference on Dependable Systems and Their Applications (DSA 2023)
14
ソリューションガイドとしてのパターン群
特定文脈での問題と解決をまとめたもの
• 抽象と具象のつなぎ、問題・解決再利用、アーキテクチャ一貫
• 様々な利害関係者間の共通言語
パターン化とフレームワーク統合
•『Software-Engineering Design Patterns for Machine Learning Applications』15
のパターン, IEEE CS旗艦誌Computer掲載, Best Paper Award
• 機械学習パターン適用支援(および検出)
Data Layer
Logic Layer
Presentation Layer
User
Interface
Database
Data
Collection
Data Lake
Business
Logic
Data
Processing
Inference
Engine
Real
World
Business
Logic
Specific
ML
Specific
Architectural Layers
Deployed as ML System
Business Logic Data Flow
ML Runtime Data Flow
ML Development Data Flow
Legend
パターン 文脈 問題(品質要求) 解決
一部クラスの
DNN調整
DNNによる分
類・・・
一部クラスの分類
性能の低さ
DNNの部分自
動調整・・・
モデルから
のビジネスロ
ジック分離
機械学習アルゴリ
ズム依存のビジ
ネスロジック・・
ビジネスロジックと
アルゴリズムの頻
繁な変更・・・
API設定と3レ
イヤ化・・・
一部クラスのDNN調整
モデルからのビジネスロジック分離
18
Hironori Washizaki, et al., “Software Engineering Design Patterns for Machine Learning
Applications,” IEEE Computer, Vol. 55, No. 3, pp. 30-39, 2022 (Best Paper Award)