-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcolumbia20.html
1408 lines (820 loc) · 34 KB
/
columbia20.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
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<title>Columbia</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.css">
<script type="text/javascript" src="assets/plotly/plotly-latest.min.js"></script>
</head>
<body>
<textarea id="source">
class:inverse
# Lifelong Learning
Joshua T. Vogelstein, BME@JHU, [neurodata](https://neurodata.io)
---
class: inverse
## What is Learning?
<img src="images/Vapnik71b.png" style="width:400px;"/>
<img src="images/Valiant84.png" style="width:400px;"/>
<img src="images/Mitchell97a.png" style="width:400px;"/>
---
class: inverse
## What is Learning?
"An agent $f$ learns from data $D_n$ with respect to task $T$ with performance measure $\mathcal{E}$, if $f$'s performance at task $T$ improves with $D_n$.''
-- Tom Mitchell, 1997 (not exact quote)
---
class:inverse
## What is Learning?
Generalization error $\mathcal{E}$ is the expected risk with respect to training dataset:
$$ \mathcal{E}\_T(f\_n) = \mathbb{E}_{P}[R(f_n(D_n))].$$
<br>
$f$ learns from data iff $\mathcal{E}_T(f_n)$ is better than $\mathcal{E}_T(f_0)$, or more formally
<br>
$$\frac{\mathcal{E}_T(f_0)}{\mathcal{E}_T(f_n)} > 1.$$
---
class: inverse
## Consider a simple example
- 2 classes: green and purple
- we observe 100 points per class
- each point has 2 features: dim1 and dim2
- we desire to .r[learn] a classifier that discriminates between these two classes
---
class: inverse
<img src="images/rock20/s2.png" style="position:absolute; top:0px; left:100px; height:100%;"/>
---
class: inverse
<img src="images/rock20/s3.png" style="position:absolute; top:0px; left:100px; height:100%;"/>
---
class:inverse
## What do classifiers do?
--
<br>
learn:
1. partition feature space into "parts",
2. majority vote of points in each part determines that part's class.
predict:
2. for a new unlabeled point, find its part,
3. report the majority vote in its part.
---
class:inverse
## What can regressors do?
--
<br>
learn:
1. partition feature space into "parts",
2. average of points in each part determines that part's prediction.
predict:
2. for a new unlabeled point, find its part,
3. report the average vote in its part.
---
class:inverse
## The fundamental theorem of statistical pattern recognition
If each part is:
1. small enough, and
2. has enough points in it,
then given enough data, one can learn *perfectly, no matter what*!
$$\mathcal{E}\_T(f\_n) \rightarrow \mathcal{E}\_T^*$$
-- Stone, 1977
---
class:inverse
## Do brains do it?
--
(brains obviously learn)
1. Do brains partition feature space?
2. Is there some kind of "voting" occurring within each part?
---
class: inverse
## Brains partition
- Feature space = the set of all possible inputs to a brain
- Partition = only a subset of "nodes" respond to any given input
- Examples
1. visual receptive fields
2. place fields / grid cells
3. sensory homonculus
<br>
<img src="images/rock20/Side-black.gif" style="height:230px;"/>
<img src="images/rock20/Front_of_Sensory_Homunculus.gif" style="height:230px;"/>
<img src="images/rock20/Rear_of_Sensory_Homunculus.jpg" style="height:230px;"/>
---
class: inverse
## Brains vote
- Vote = pattern of responses indicate which stimulus evoked response
<img src="images/rock20/brody1.jpg" style="height:400px;" />
---
class: inverse
## Natural Questions
1. Do deep nets do this? (hint: not explicitly)
1. Can brains learn anything? (hint: no)
1. How do brains learn to partition feature space?
2. How do brains learn to vote?
---
class: inverse
## What is Transfer Learning?
- Given
- data $D_0$ and an algorithm $f_0$ trained using only $D_0$
- data $D_n$ from possibly another distribution
- algorithm $f_n$ trained using both $D_0$ and $D_n$
"An algorithm $f$ .r[transfer] learns from data $D_n$ with respect to transfer learning task $T$ with performance measure $\mathcal{E}$, if $f$'s performance at task $T$ improves with $D_n$."
--
$f$ .r[transfer] learns from data iff
$$\frac{\mathcal{E}\_T(f\_0)}{\mathcal{E}\_T(f\_{n})} > 1.$$
---
class: inverse
## What is Multitask Learning?
- Given $J$ tasks
- algorithms $f_j$ trained using only $D_j$, for $j \in [J]$
- algorithm $f_n$ trained using $D_1, \ldots , D_J$
An algorithm $f_n$ .r[multitask] learns from datasets $\lbrace D_j \rbrace$ with respect to learning multitask $T$ with performance measure $\mathcal{E}$, if $f_n$'s performance at each task improves on average over $f_j$'s performance.
--
$f$ .r[multitask] learns from data iff
$$\frac{ \frac{1}{J} \sum\_j \mathcal{E}\_j(f\_j)}{\mathcal{E}\_T(f\_{n})} > 1.$$
i.e., on average, performance on each task improves by virtue of training also on other tasks
---
class: inverse
## What is Lifelong Learning?
- Given a sequence of $n$ samples, each associated with a task
- algorithms $f_j$ trained using only $D_j$, for $j \in [J]$
- algorithm $f_n$ trained using $D_1, \ldots , D_J$
An algorithm $f_n$ .r[lifelong] learns from datasets $\lbrace D_j \rbrace$ with respect to learning multitask $T$ with performance measure $\mathcal{E}$, if $f_n$'s performance at each task improves on average over $f_j$'s performance.
--
$f$ .r[lifelong] learns from data iff
$$\frac{ \frac{1}{J} \sum\_j \mathcal{E}\_j(f\_j)}{\mathcal{E}\_T(f\_{n})} > 1.$$
i.e., on average, performance on each task improves by virtue of training also on other tasks
---
class:inverse
## Forward and Backward Transfer
Forward Transfer Efficiency: improving performance on future tasks given past data
Backward Transfer Efficiency: improving performance on past tasks given future data
---
class: inverse, middle
Can brains do it?
--
Yup.
---
class: inverse
## Honey Bees can forward transfer
<img src="images/rock20/honeybee1.jpg" style="position:absolute; top:150px; width:80%; "/>
--
<br><br><br><br><br><br><br><br><br><br><br>
- honey bees can also transfer to different sensory modality (smell)
- honeybees do not forget how to do the first task
- this is called "forward transfer"
- bees learn the concept of "sameness"
---
class: inverse
## What about .r[reverse transfer]?
- In general, tasks are complex, built of sub-tasks; if learning a new complex task can improve sub-task performance (including sub-tasks involved in previous tasks), then performance in previous tasks will improve too.
- "Knowledge and skills from a learner’s first language are used and reinforced, deepened, and expanded upon when a learner is engaged in second language literacy tasks." -- [American Council on the Teaching of Foreign Languages](https://www.actfl.org/guiding-principles/literacy-language-learning)
---
class: inverse
## Can AI do it?
--
"Training on a new set of items may drastically disrupt performance on previously learned items."
-- McCloskey & Cohen, 1989
---
class: inverse
## 30 years later...
<img src="images/rock20/masse1.png" style="width:600px;"/>
<img src="images/rock20/flesch1.png" style="width:600px;"/>
<img src="images/rock20/kirkpatrick1.png" style="width:600px;"/>
---
class: inverse
## A Grand Challenge
"Achieving artificial general intelligence requires that agents
are able to learn and remember many different tasks." -- Kirkpatrick et al. (PNAS, 2017)
"To get there, we will need something else, too: a fundamental rethinking of how learning works. We need to invent a new kind of learning that leverages existing knowledge, rather than one that obstinately starts over from square one in every domain it confronts.”— Rebooting AI: Building Artificial Intelligence We Can Trust by Gary Marcus, Ernest Davis
"These expectations, however, have met with fundamental obstacles that cut across many application areas. One such obstacle is adaptability or robustness... Intensive theoretical and experimental efforts toward “transfer learning,” “domain adaptation,” and “lifelong learning” are reflective of this obstacle." -- Judea Pearl, 2019
---
class: inverse
## A Real Challenge
Industry:
- Amazon trained a recommender system on existing products, then a new product is launched, desire to update model to recommend for new products
- Google recommends websites, then new websites are created, want to update model
Healthcare:
- A new disease, test, treatment exists, want to update model
Augmented Reality
- Walking around, go to a new place, want to update model
In all cases, re-training from scratch is just too expensive.
---
class: inverse
---
class: inverse
## A Lifelong Algorithm
Given a sequence of datasets
- For each training dataset
- Learn a partition on that dataset
- Learn most likely class in each part of that partition
- For each previously learned partition,
- Identify part of partition in which sample resides
- Identify most likely class of that partition
- Take a majority vote across all partitions' predictions
---
class: inverse
## A Transfer Example
- .r[XOR]
- Samples in the (0,0) and (1,1) quadrants are purple
- samples in the (0,1) and (1,0) quadrants are green
- .lb[N-XOR]
- Samples in the (0,0) and (1,1) quadrants are green
- samples in the (0,1) and (1,0) quadrants are purple
- Optimal decision boundaries for both problems are coordinate axes
<img src="images/l2m_18mo/xor_nxor.png" style="width:475px" class="center"/>
---
class: inverse
## Lifelong Classifier
<img src="images/columbia20/xor-nxor-all.png" style="height:300px;">
- .lb[Uncertainty Forest] uses 100 samples from XOR to learn partitions
- .orange[Transfer Forest] uses $n$ samples from N-XOR to learn partitions
- .r[Lifelong Forest] uses 100 samples from XOR and $n$ samples from N-XOR to learn partitions
---
class: inverse
## Lifelong Classifier
<img src="images/columbia20/xor-nxor-all2.png" style="height:500px;">
---
class:inverse
## Consider an example
- *CIFAR 100* is a popular image classification dataset with 100 classes of images.
- CIFAR 10x10 breaks the 100-class task problem into 10 10-class problems.
- There are 500 training images and 100 testing images per class.
- All images are 32x32 color images.
<img src="images/l2m_18mo/cifar-10.png" style="position:absolute; left:250px; width:400px;"/>
---
class: inverse
## Current State-of-the-Art
<img src="images/l2m_18mo/progressive_netsb.png" style="width:650px;"/>
Seungwon Lee, James Stokes, and Eric Eaton. "[Learning Shared Knowledge for Deep Lifelong Learning Using Deconvolutional Networks](https://www.ijcai.org/proceedings/2019/393)." IJCAI, 2019.
---
class:inverse
## Reverse Transfer Efficiency
- y-axis indicates .r[reverse transfer efficiency] (RTE),
- which is the ratio of "single task error" to "error using future tasks"
- each task will have a line
- if the line .r[increases], that means it is doing "reverse transfer"
---
class:inverse
<img src="images/rock20/cifar-100-RTLE.png" style="height:530px;" />
Only .r[Lifelong Forests] exhibits reverse transfer.
---
class: inverse
---
class: inverse
## Models of the Brain
- there are many
- we are proposing one for how brains learn efficiently, especially with respect to sequential task learning
- the main utility of a model is in suggesting the next experiment to perform
---
class: inverse
## Next experiment to perform
Experiment:
- select a species that can transfer learn
- teach an organism task 0 (source task)
- teach it one of two "target tasks"
- target task A is very similar to source task with respect to partitions
- target task B is very different from source task
Predictions:
1. same neurons will be activated for task 0 and task A
1. those neurons will exhibit distinct firing patterns for the two tasks
2. different neurons will be activated for task 0 and task B
---
class: inverse, middle
There are many models of the brain; in which ways is this one better?
---
class:inverse
## The fundamental .r[conjecture] of transfer learning
--
If each cell is:
- small enough, and
- has enough points in it,
then given enough data, one can .r[transfer learn] *perfectly, no matter what*!
-- jovo, 2020
---
class: inverse
## What next?
- Nothing really special about "forests," could apply the same idea to any deep net.
- Bees transfer across modalities; we don't know how to do that.
- We (= anybody in AI) also don't know how to learn concepts like "sameness."
---
class: inverse
## Summary
- Learning can be done by partitioning + voting
- Brains learn this way
- Brains can transfer learn
- Existing DeepNets can only forward transfer
- Lifelong Forests can also reverse transfer
- Neuro experiments suggested based on model
- Theory promising to prove partitioning + voting is basically required
---
class: inverse
## References
3. T. M. Tomita et al. [Sparse Projection Oblique Randomer Forests](https://arxiv.org/abs/1506.03410). arXiv, 2018.
1. R Guo, et al. [Estimating Information-Theoretic Quantities with Uncertainty Forests](https://arxiv.org/abs/1907.00325). arXiv, 2019.
1. R. Perry, et al. Manifold Forests: Closing the Gap on Neural Networks. preprint, 2019.
1. C. Shen and J. T. Vogelstein. [Decision Forests Induce Characteristic Kernels](https://arxiv.org/abs/1812.00029). arXiv, 2018
7. J. Browne et al. [Forest Packing: Fast, Parallel Decision Forests](https://arxiv.org/abs/1806.07300). SIAM ICDM, 2018.
1. M. Madhya, et al. [Geodesic Learning via Unsupervised Decision Forests](https://arxiv.org/abs/1907.02844). arXiv, 2019.
1. H. Helm et al. Lifelong Learning Forests, 2020
1. R. Mehta et al. A General Theory of Learnability, 2020.
More info: [https://neurodata.io/sporf/](https://neurodata.io/sporf/)
---
class:inverse
## 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>
<br>
<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/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/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>
<!-- TODO add jayata picture -->
</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;"/> -->
---
class:center, inverse
<img src="images/l_and_v.jpeg" style="position:absolute; top:0px; left:200px; height:100%;"/>
---
class: middle, inverse
## .center[Extra Slides]
<!-- resource constraints -->
---
class: inverse
## Not So Clevr
<img src="images/not-so-clevr.png" style="width:650px" />
---
class: inverse
## Adversarial Tasks
- .r[XOR] vs .lb[N-XOR] is the easiest possible sequence of tasks
- Consider an adversarial task:
- a second task, .lb[Rotated-XOR (R-XOR)], which has zero information about the first task;
- therefore, its data can only add noise and increase error
<img src="images/rock20/xor_rxor.png" style="width:475px" class="center"/>
<!-- add two linear two-class classification problem w adverserial source task -->
<!-- adverserial source task = either means reflected across x-axis or two gaussians centered at 0,0 -->
---
class:inverse
## An Adversarial Example
<!-- integrate this content into slide with figure -->
- Left figures:
- y-axis is error on .r[XOR] learned using 100 samples
- x-axis is # of .lb[R-XOR] data samples
- we used 100 .r[XOR] data samples
- Right figures:
- estimated probability of an observation from purple
- learned using 100 .r[XOR] and 300 .lb[R-XOR] training samples
---
class:inverse
## Decision Forests
<div style="display:flex">
<div>
<img src="images/l2m_18mo/L2M_18mo_xor_rxor_rf.png" alt="Snow" style="height:300px; width:300px">
</div>
<div>
<img src="images/l2m_18mo/posterior_heatmap_xor_rxor_rf.png" alt="nah" style="height:300px; width:300px">
</div>
</div>
- Decision Forest .r[XOR] uses
- data from .r[XOR] to learn partition
- other data from .r[XOR] to vote
- Since the number of samples from .r[XOR] is fixed, the error of DF .r[XOR] is constant
---
class: inverse
## Transfer Forests
<div style="display:flex">
<div>
<img src="images/l2m_18mo/L2M_18mo_xor_rxor_transfer.png" alt="Snow" style="height:300px; width:300px">
</div>
<div>
<img src="images/l2m_18mo/posterior_heatmap_xor_rxor_transfer.png" alt="nah" style="height:300px; width:300px">
</div>
</div>
- Decision Forest .lb[R-XOR] uses
- data from .lb[R-XOR] to learn partition
- data from .r[XOR] to vote
- Error only decreases slightly because the partitions are nearly uninformative (the informativeness is actually due to noisy estimate of the partition, the optimal partition is fully uninformative)
<!-- fix posterior plots as above -->
---
class:inverse
## Lifelong Forests
<div style="display:flex">
<div>
<img src="images/l2m_18mo/L2M_18mo_xor_rxor_lifelong.png" alt="Snow" style="height:300px; width:300px">
</div>
<div>
<img src="images/l2m_18mo/posterior_heatmap_xor_rxor_lifelong.png" alt="nah" style="height:300px; width:300px">
</div>
</div>
- .green[Lifelong Forests] learn the optimal decision boundary using data from both (1) .r[XOR], and (2) .lb[R-XOR].
- Posteriors are learned using only data from .r[XOR] on both partitions.
- Prediction is based on the estimated posterior averaged over both partitions.
---
class: inverse
## Polytope space partitioning algorithms
<img src="images/deep-polytopes.png" style="width:750px;"/>
- NNs with ReLu nodes also partitions feature space into polytopes ([NIPS, 2014](http://papers.nips.cc/paper/5422-on-the-number-of-linear-regions-of-deep-neural-networks.pdf)).
---
### RF is more computationally efficient
<img src="images/s-rerf_6plot_times.png" style="width:750px;"/>
---
### Lifelong learning algorithms
- Fundamentally, a lifelong learning algorithm must summarize previous tasks via a useful representation to effectively use these tasks for learning a new task.
- In supervised classification, the most useful representation of a task is its corresponding optimal decision boundary.
- More generally, tessellating space into cells yields a representation/compression valuable for any subsequence inference task.
---
### What are Decision Forests?
- Two things:
1. a partitioning of the space into mutually exclusive cells
2. an assignment of probabilities within each cell