-
Notifications
You must be signed in to change notification settings - Fork 8
/
DARPA_L2M_Phase2_PI_talk2.html
563 lines (377 loc) · 12.8 KB
/
DARPA_L2M_Phase2_PI_talk2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
<!DOCTYPE html>
<html>
<head>
<title>Learning</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="fonts/quadon/quadon.css">
<link rel="stylesheet" href="fonts/gentona/gentona.css">
<link rel="stylesheet" href="slides_style_i.css">
<script type="text/javascript" src="assets/plotly/plotly-latest.min.js"></script>
</head>
<body>
<textarea id="source">
### Lifelong Learning: <br>Theory and Practice and Coresets
PI: Joshua T. Vogelstein, [JHU](https://www.jhu.edu/) <br>
Co-PI: Vova Braverman, [JHU](https://www.jhu.edu/) <br>
Jayanta Dey, Will LeVine, Hayden Helm, Ali Geisa, Ronak Mehta,
Carey E. Priebe
<!-- | Joshua T. Vogelstein <br> -->
<!-- [Microsoft Research](https://www.microsoft.com/en-us/research/): Weiwei Yang | Jonathan Larson | Bryan Tower | Chris White -->
![:scale 40%](images/neurodata_blue.png)
---
#### Conceptual Details
- Inputs: training (X,Y) pairs per task
- Outputs: proglearn forest/network
- Assumptions:
- X is d-dimensional feature vector
- Y is categorical
- Task-aware
- Data are provided in batches per task
- Open research questions: generalize to streaming/RL settings
#### Software details
- Python 3.6+,
- Documented, with tutorials
- Dependencies: keras, scikit-learn, scipy, numpy, joblib
- Also includes several random forest improvements over existing python implementations
- Also can perform federated learning
---
### [http://proglearn.neurodata.io/](http://proglearn.neurodata.io/)
![:scale 100%](images/proglearn_webpage.png)
---
### Sharable Concept
A key sharable component is an .ye[idea]: one can learn representations using any approach you want, for any task you want.
As long as each task has the same input and output space, disparate representations can be ensembled together, meaning you can push the test input through each representer, and take the average, which will be better than any on their own if the tasks are sufficiently similar.
This generalizes classical ensembling, which averages the output of each algorithm, here we are .ye[ensembling the learned internal representation] of each algorithm.
So any lifelong learning algorithm approach developed here can be ensembled with any other approach, assuming they are both using the same inputs and outputs.
This works for classification & reinforcement learning (we suspect).
---
![:scale 100%](images/vova_slide3.png)
---
### Composable Hypotheses
.center[ .ye[$h(\cdot) := w \circ v \circ u (\cdot) = w(v(u(\cdot)))$]]
- Let $u$ be .ye[representer] data to a new representation,
$$ u : \mathcal{Q} \to \tilde{\mathcal{Q}}$$
- Let $v$ be .ye[voter] which operate on the transformed data outputs votes (score functions, posteriors) on all possible actions
$$ v : \tilde{\mathcal{Q}} \to \mathcal{V}$$
- Let $w$ be .ye[decider] which decides which actions to take on the basis of the votes
$$ w : \mathcal{V} \to \mathcal{A}$$
---
![:scale 100%](images/single_decomposable_hypothesis.png)
<!-- TODO@ali: can we use an svg here? or a higher res png if you can't get a vector graphic? -->
---
### Simple Examples
- Linear Discriminant Analysis (shallow)
- $u$: projection onto a line
- $v$: fraction of points per over/under threshold
- $w$: maximum a posteriori class
--
- Decision Tree (deep)
- $u$: union of polytopes
- $v$: fraction of points per class per leaf node
- $w$: maximum a posteriori class
---
### Predictive Ensembling
- Ensemble votes from multiple voters in a decider
$$
w \circ
\begin{bmatrix}
v_1 \circ u_1 \\\\
v_2 \circ u_2 \\\\
\vdots \\\\
v_m \circ u_m
\end{bmatrix}
$$
---
![:scale 100%](images/predictive_ensembling.png)
---
#### Predictive Ensembling Example
- Decision Forest
- $u_b$ for $B$ trees: union of overlapping polytopes
- $v_b$ for $B$ trees: fraction of points per class per leaf node
- $w$: maximum a posteriori class averaging over trees
---
### Progressive Learning
- .ye[Different transformers can composed with voters]
- Learn many different transformers $u_t(\cdot)$'s
- For each $u\_t$, learn voter per task $v\_{t,t'}$'s
- Use the decider to weight the various options
- This is .ye[ensembling representations].
### Notes
- We learn new representation for each task.
- Dimensionality of internal representation grows linearly with number of tasks.
---
### Representational Ensembling
- Ensemble representations from multiple transformers in a voter
- Assume $m$ transformers and $n$ voters
- Let $u =
\begin{bmatrix}
u_1 \\\\
u_2 \\\\
\vdots \\\\
u_m
\end{bmatrix}$, and
$
w \circ
\begin{bmatrix}
v_1 \circ u \\\\
v_2 \circ u \\\\
\vdots \\\\
v_n \circ u
\end{bmatrix}
$
---
![:scale 100%](images/representational_ensembling.png)
---
#### Representational Ensembling Examples
- Uncertainty Forests
- $u$: tree structures
- $v$: posterior estimators
- $w$: max
- Deep Nets
- $u$: "backbone" (all but last layer)
- $v$: softmax layer
- $w$: max
---
### Acknowledgements
<!-- <div class="small-container">
<img src="faces/ebridge.jpg"/>
<div class="centered">Eric Bridgeford</div>
</div>
<div class="small-container">
<img src="faces/pedigo.jpg"/>
<div class="centered">Ben Pedigo</div>
</div>
<div class="small-container">
<img src="faces/jaewon.jpg"/>
<div class="centered">Jaewon Chung</div>
</div> -->
<div class="small-container">
<img src="faces/yummy.jpg"/>
<div class="centered">yummy</div>
</div>
<div class="small-container">
<img src="faces/lion.jpg"/>
<div class="centered">lion</div>
</div>
<div class="small-container">
<img src="faces/violet.jpg"/>
<div class="centered">baby girl</div>
</div>
<div class="small-container">
<img src="faces/family.jpg"/>
<div class="centered">family</div>
</div>
<div class="small-container">
<img src="faces/earth.jpg"/>
<div class="centered">earth</div>
</div>
<div class="small-container">
<img src="faces/milkyway.jpg"/>
<div class="centered">milkyway</div>
</div>
##### JHU
<div class="small-container">
<img src="faces/cep.png"/>
<div class="centered">Carey Priebe</div>
</div>
<!-- <div class="small-container">
<img src="faces/randal.jpg"/>
<div class="centered">Randal Burns</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/cshen.jpg"/>
<div class="centered">Cencheng Shen</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/bruce_rosen.jpg"/>
<div class="centered">Bruce Rosen</div>
</div>
<div class="small-container">
<img src="faces/kent.jpg"/>
<div class="centered">Kent Kiehl</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/mim.jpg"/>
<div class="centered">Michael Miller</div>
</div>
<div class="small-container">
<img src="faces/dtward.jpg"/>
<div class="centered">Daniel Tward</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/vikram.jpg"/>
<div class="centered">Vikram Chandrashekhar</div>
</div>
<div class="small-container">
<img src="faces/drishti.jpg"/>
<div class="centered">Drishti Mannan</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/jesse.jpg"/>
<div class="centered">Jesse Patsolic</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/falk_ben.jpg"/>
<div class="centered">Benjamin Falk</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/kwame.jpg"/>
<div class="centered">Kwame Kutten</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/perlman.jpg"/>
<div class="centered">Eric Perlman</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/loftus.jpg"/>
<div class="centered">Alex Loftus</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/bcaffo.jpg"/>
<div class="centered">Brian Caffo</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/minh.jpg"/>
<div class="centered">Minh Tang</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/avanti.jpg"/>
<div class="centered">Avanti Athreya</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/vince.jpg"/>
<div class="centered">Vince Lyzinski</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/dpmcsuss.jpg"/>
<div class="centered">Daniel Sussman</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/youngser.jpg"/>
<div class="centered">Youngser Park</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/shangsi.jpg"/>
<div class="centered">Shangsi Wang</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/tyler.jpg"/>
<div class="centered">Tyler Tomita</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/james.jpg"/>
<div class="centered">James Brown</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/disa.jpg"/>
<div class="centered">Disa Mhembere</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/gkiar.jpg"/>
<div class="centered">Greg Kiar</div>
</div> -->
<!-- <div class="small-container">
<img src="faces/jeremias.png"/>
<div class="centered">Jeremias Sulam</div>
</div> -->
<div class="small-container">
<img src="faces/meghana.png"/>
<div class="centered">Meghana Madhya</div>
</div>
<!-- <div class="small-container">
<img src="faces/percy.png"/>
<div class="centered">Percy Li</div>
</div>
-->
<div class="small-container">
<img src="faces/ronak.jpg"/>
<div class="centered">Ronak Mehta</div>
</div>
<div class="small-container">
<img src="faces/jayanta.jpg"/>
<div class="centered">Jayanta Dey</div>
</div>
<div class="small-container">
<img src="faces/will.jpg"/>
<div class="centered">Will LeVine</div>
</div>
<div class="small-container">
<img src="faces/hayden.png"/>
<div class="centered">Hayden Helm</div>
</div>
<div class="small-container">
<img src="faces/rguo.jpg"/>
<div class="centered">Richard Gou</div>
</div>
<div class="small-container">
<img src="faces/alig.jpg"/>
<div class="centered">Ali Geisa</div>
</div>
##### Microsoft Research
<div class="small-container">
<img src="faces/chwh-180x180.jpg"/>
<div class="centered">Chris White</div>
</div>
<div class="small-container">
<img src="faces/weiwei.jpg"/>
<div class="centered">Weiwei Yang</div>
</div>
<div class="small-container">
<img src="faces/jolarso150px.png"/>
<div class="centered">Jonathan Larson</div>
</div>
<div class="small-container">
<img src="faces/brtower-180x180.jpg"/>
<div class="centered">Bryan Tower</div>
</div>
##### DARPA L2M: All code open source and reproducible from [proglearn.neurodata.io/](http://proglearn.neurodata.io/)
<!-- Hava, Ben, Robert, Jennifer, Ted. -->
{[BME](https://www.bme.jhu.edu/),[CIS](http://cis.jhu.edu/), [ICM](https://icm.jhu.edu/), [KNDI](http://kavlijhu.org/)}@[JHU](https://www.jhu.edu/) | [neurodata](https://neurodata.io)
<br>
[jovo@jhu.edu](mailto:[email protected]) | <http://neurodata.io/talks> | [@neuro_data](https://twitter.com/neuro_data)
</div>
<!-- <img src="images/funding/nsf_fpo.png" STYLE="HEIGHT:95px;"/> -->
<!-- <img src="images/funding/nih_fpo.png" STYLE="HEIGHT:95px;"/> -->
<!-- <img src="images/funding/darpa_fpo.png" STYLE=" HEIGHT:95px;"/> -->
<!-- <img src="images/funding/iarpa_fpo.jpg" STYLE="HEIGHT:95px;"/> -->
<!-- <img src="images/funding/KAVLI.jpg" STYLE="HEIGHT:95px;"/> -->
<!-- <img src="images/funding/schmidt.jpg" STYLE="HEIGHT:95px;"/> -->
---
background-image: url(images/l_and_v.jpeg)
.footnote[Questions?]
</textarea>
<!-- <script src="https://gnab.github.io/remark/downloads/remark-latest.min.js"></script> -->
<!-- <script src="remark-latest.min.js"></script> -->
<script src="remark-latest.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/contrib/auto-render.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css">
<script type="text/javascript">
var options = {};
var renderMath = function () {
renderMathInElement(document.body);
// or if you want to use $...$ for math,
renderMathInElement(document.body, {
delimiters: [ // mind the order of delimiters(!?)
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
{ left: "\\[", right: "\\]", display: true },
{ left: "\\(", right: "\\)", display: false },
]
});
}
remark.macros.scale = function (percentage) {
var url = this;
return '<img src="' + url + '" style="width: ' + percentage + '" />';
};
// var slideshow = remark.create({
// Set the slideshow display ratio
// Default: '4:3'
// Alternatives: '16:9', ...
// {
// ratio: '16:9',
// });
var slideshow = remark.create(options, renderMath);
</script>
</body>
</html>