Active Learning
Segmentation
2
Image from http://d2l.ai/
Microstructure Segmentation
3
Juwon Na, Se-Jong Kim, Seong-Hoon Kang, Heekyu Kim and Seungchul Lee*, 2022, "A Unified Microstructure Segmentation Approach via Human-In-The-Loop Machine Learning," Acta Materialia
Given input
Fully supervised
Weakly-supervised
Microstructure Segmentation
4
Juwon Na, Se-Jong Kim, Seong-Hoon Kang, Heekyu Kim and Seungchul Lee*, 2022, "A Unified Microstructure Segmentation Approach via Human-In-The-Loop Machine Learning," Acta Materialia
Given input
Fully supervised
Weakly-supervised
Weakly Supervised Learning (WSL): Phase Segmentation
5
Segmentation result
Scribble annotation
Juwon Na, Se-Jong Kim, Seong-Hoon Kang, Heekyu Kim and Seungchul Lee*, 2022, "A Unified Microstructure Segmentation Approach via Human-In-The-Loop Machine Learning," Acta Materialia
Weakly Supervised Learning (WSL): Phase Segmentation
6
Segmentation result
Scribble annotation
Juwon Na, Se-Jong Kim, Seong-Hoon Kang, Heekyu Kim and Seungchul Lee*, 2022, "A Unified Microstructure Segmentation Approach via Human-In-The-Loop Machine Learning," Acta Materialia
WSL + Active Learning
7
Iteration 1
Iteration 2
Iteration 3
Annotated Image
Segmentation
Juwon Na, Se-Jong Kim, Seong-Hoon Kang, Heekyu Kim and Seungchul Lee*, 2022, "A Unified Microstructure Segmentation Approach via Human-In-The-Loop Machine Learning," Acta Materialia
WSL + Active Learning
8
Iteration 1
Iteration 2
Iteration 3
Annotated Image
Segmentation
Juwon Na, Se-Jong Kim, Seong-Hoon Kang, Heekyu Kim and Seungchul Lee*, 2022, "A Unified Microstructure Segmentation Approach via Human-In-The-Loop Machine Learning," Acta Materialia
WSL + Active Learning
9
Iteration 1
Iteration 2
Iteration 3
Annotated Image
Segmentation
Juwon Na, Se-Jong Kim, Seong-Hoon Kang, Heekyu Kim and Seungchul Lee*, 2022, "A Unified Microstructure Segmentation Approach via Human-In-The-Loop Machine Learning," Acta Materialia
Active Learning
10
Data set
Test set
Train set 1
Model 1
Active Learning
11
Data set
Test set
Train set 1
Model 1
Model 2
Train set 2
Model 3
Train set 3
Model n
Prediction
Train set n
By Human or Automated
Active Learning: Two Purposes
12
1) Active Learning to Build Good AI Model
13
Improving Model Efficiency
14
unlabeled
labeled
Improving Model Efficiency
15
unlabeled
labeled
Improving Model Efficiency
16
unlabeled
labeled
Improving Model Efficiency
17
unlabeled
labeled
Improving Model Efficiency
18
unlabeled
labeled
Improving Model Efficiency
19
unlabeled
Improving Model Efficiency
20
unlabeled
Improving Model Efficiency
21
unlabeled
Which Unlabeled Data Should We Sample?
22
Which Unlabeled Data Should We Sample?
23
Which Unlabeled Data Should We Sample?
24
Uncertainty-based Sampling
25
AI model’s prediction on two unlabeled dataset
Instances | Label A | Label B | Label C |
d1 | 0.9 | 0.09 | 0.01 |
d2 | 0.2 | 0.5 | 0.3 |
Uncertainty-based Sampling
26
Instances | Label A | Label B | Label C |
d1 | 0.9 | 0.09 | 0.01 |
d2 | 0.2 | 0.5 | 0.3 |
AI model’s prediction on two unlabeled dataset
Other Sampling Methods
27
Query-By-Committee (QBC)
Core-Set
Expected Model Change
Instances | Model 1 | Model 2 | Model 3 |
d1 | Label A | Label B | Label C |
d2 | Label A | Label A | Label C |
Other Sampling Methods
28
Query-By-Committee (QBC)
Core-Set
Instances | Model 1 | Model 2 | Model 3 |
d1 | 0.81 | 0.75 | 0.77 |
d2 | 0.52 | 0.82 | 0.91 |
Expected Model Change
Other Sampling Methods
29
Query-By-Committee (QBC)
Core-Set
Expected Model Change
Other Sampling Methods
30
Query-By-Committee (QBC)
Core-Set
Expected Model Change
Active Learning
31
AI Model
Sampling
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Step 1
32
AI Model
Sampling
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Step 2
33
AI Model
Sampling
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Step 3
34
AI Model
Sampling
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Step 4
35
AI Model
Sampling
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Step 5
36
AI Model
Sampling
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Let’s Talk about Ensembles
37
Ensemble with Different Models
38
Data set
Test set
Train set
Model 1
Result 1
Model 3
Model n
Result 2
Result n
Result 3
Prediction
Model 2
Ensemble with Different Training Sets
39
Data set
Test set
Train set 1
Model
Result 1
Model
Model
Model
Result 2
Result n
Result 3
Prediction
Train set 2
Train set 3
Train set n
Ensemble with Different Training Sets
40
Data set
Test set
Train set 1
Model 1
Model 2
Train set 2
Model 3
Train set 3
Model n
Prediction
Train set n
Space vs. Time
41
2) Active Learning for Optimization
42
Objective
43
Purpose of Sampling
Which One is Better?
44
Which One is Better?
45
A
B
Which One is Better?
46
A
B
Which One is Better?
47
A
B
Active Learning for Optimization
48
Surrogate Model
Sampling with�Utility Function
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Surrogate Model
49
Surrogate Model
50
Surrogate Model
51
Surrogate Model
52
Surrogate Model
53
Gaussian Process Regression
Bayesian Neural Network
Gaussian Process
Surrogate Model
54
Gaussian Process Regression
Bayesian Neural Network
Step 1
55
Surrogate Model
Sampling with�Utility Function
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Step 2
56
Surrogate Model
Sampling with�Utility Function
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Step 3
57
Surrogate Model
Sampling with�Utility Function
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Step 4
58
Surrogate Model
Sampling with�Utility Function
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
Step 5
59
Surrogate Model
Sampling with�Utility Function
①
②
③
④
Training
Dataset
Unlabeled
Dataset
Labelers
(Experiments)
⑤
How Utility Functions Decide Which Unlabeled Data to Sample?
60
Utility Function: Two Important Ideas
61
A
B
Agent
Exploitation
Exploration
A
B
Utility Function
62
Probability of Improvement
Expected Improvement
Upper Confidence Bound
Instances | Prediction | Uncertainty |
x1 | | |
x2 | | |
Utility Function
63
Probability of Improvement
Expected Improvement
Upper Confidence Bound
Instances | Prediction | Uncertainty |
x1 | | |
x2 | | |
Utility Function
64
Probability of Improvement
Expected Improvement
Upper Confidence Bound
Instances | Prediction | Uncertainty |
x1 | | |
x2 | | |
Utility Function
65
Probability of Improvement
Expected Improvement
Upper Confidence Bound
Instances | Prediction | Uncertainty |
x1 | | |
x2 | | |
Utility Function
66
Probability of Improvement
Expected Improvement
Upper Confidence Bound
Exploitation
Utility Function
67
Probability of Improvement
Expected Improvement
Upper Confidence Bound
Exploration
Expected Improvement (EI)
68
Expected Improvement (EI)
69
Expected Improvement (EI)
70
Expected Improvement (EI)
71
Expected Improvement (EI)
72
Expected Improvement (EI)
73
Expected Improvement (EI)
74
Expected Improvement (EI)
75
Expected Improvement (EI)
76
Summary
77