├── .gitignore ├── .gitmodules ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── code ├── evaluate_amortization_speed_control.py ├── evaluate_amortization_speed_function.py ├── evaluate_amortization_speed_vae.py ├── figures │ ├── ctrl.py │ ├── fixed-point.py │ ├── imaml.py │ ├── loss-comp.py │ ├── main-example.py │ ├── maxent-animation.py │ ├── maxent.py │ └── smoothed-loss.py └── train-sphere.py └── paper ├── amor.bib ├── amor.tex ├── chapters ├── 1-intro.tex ├── 2-foundations.tex ├── 3-applications.tex ├── 3-main-table.tex ├── 4-implementation.tex └── 5-discussion.tex ├── fig ├── control-model-based-iter.pdf ├── control-model-based-time.pdf ├── control-model-free-iter.pdf ├── control-model-free-time.pdf ├── ctrl.pdf ├── ctrl.png ├── dcem │ ├── cem-vis-full-space.pdf │ └── cem-vis-latent-space.pdf ├── fp.pdf ├── fp.png ├── gaussian.pdf ├── imaml.pdf ├── imaml.png ├── learning-obj.pdf ├── learning-obj.png ├── learning-reg.pdf ├── learning-reg.png ├── learning-rl.pdf ├── learning-rl.png ├── loss-comp.pdf ├── loss-comp.png ├── maxent.gif ├── maxent.pdf ├── maxent.png ├── opt.pdf ├── opt.png ├── overview.pdf ├── overview.png ├── overview.svg ├── smoothed-loss.pdf ├── smoothed-loss.png ├── sphere │ ├── 0.png │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ ├── 6.png │ └── 7.png ├── vae-iter.pdf ├── vae-samples.png └── vae-time.pdf └── math_commands.tex /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/.gitmodules -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/README.md -------------------------------------------------------------------------------- /code/evaluate_amortization_speed_control.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/evaluate_amortization_speed_control.py -------------------------------------------------------------------------------- /code/evaluate_amortization_speed_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/evaluate_amortization_speed_function.py -------------------------------------------------------------------------------- /code/evaluate_amortization_speed_vae.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/evaluate_amortization_speed_vae.py -------------------------------------------------------------------------------- /code/figures/ctrl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/figures/ctrl.py -------------------------------------------------------------------------------- /code/figures/fixed-point.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/figures/fixed-point.py -------------------------------------------------------------------------------- /code/figures/imaml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/figures/imaml.py -------------------------------------------------------------------------------- /code/figures/loss-comp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/figures/loss-comp.py -------------------------------------------------------------------------------- /code/figures/main-example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/figures/main-example.py -------------------------------------------------------------------------------- /code/figures/maxent-animation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/figures/maxent-animation.py -------------------------------------------------------------------------------- /code/figures/maxent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/figures/maxent.py -------------------------------------------------------------------------------- /code/figures/smoothed-loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/figures/smoothed-loss.py -------------------------------------------------------------------------------- /code/train-sphere.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/code/train-sphere.py -------------------------------------------------------------------------------- /paper/amor.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/amor.bib -------------------------------------------------------------------------------- /paper/amor.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/amor.tex -------------------------------------------------------------------------------- /paper/chapters/1-intro.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/chapters/1-intro.tex -------------------------------------------------------------------------------- /paper/chapters/2-foundations.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/chapters/2-foundations.tex -------------------------------------------------------------------------------- /paper/chapters/3-applications.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/chapters/3-applications.tex -------------------------------------------------------------------------------- /paper/chapters/3-main-table.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/chapters/3-main-table.tex -------------------------------------------------------------------------------- /paper/chapters/4-implementation.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/chapters/4-implementation.tex -------------------------------------------------------------------------------- /paper/chapters/5-discussion.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/chapters/5-discussion.tex -------------------------------------------------------------------------------- /paper/fig/control-model-based-iter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/control-model-based-iter.pdf -------------------------------------------------------------------------------- /paper/fig/control-model-based-time.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/control-model-based-time.pdf -------------------------------------------------------------------------------- /paper/fig/control-model-free-iter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/control-model-free-iter.pdf -------------------------------------------------------------------------------- /paper/fig/control-model-free-time.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/control-model-free-time.pdf -------------------------------------------------------------------------------- /paper/fig/ctrl.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/ctrl.pdf -------------------------------------------------------------------------------- /paper/fig/ctrl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/ctrl.png -------------------------------------------------------------------------------- /paper/fig/dcem/cem-vis-full-space.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/dcem/cem-vis-full-space.pdf -------------------------------------------------------------------------------- /paper/fig/dcem/cem-vis-latent-space.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/dcem/cem-vis-latent-space.pdf -------------------------------------------------------------------------------- /paper/fig/fp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/fp.pdf -------------------------------------------------------------------------------- /paper/fig/fp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/fp.png -------------------------------------------------------------------------------- /paper/fig/gaussian.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/gaussian.pdf -------------------------------------------------------------------------------- /paper/fig/imaml.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/imaml.pdf -------------------------------------------------------------------------------- /paper/fig/imaml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/imaml.png -------------------------------------------------------------------------------- /paper/fig/learning-obj.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/learning-obj.pdf -------------------------------------------------------------------------------- /paper/fig/learning-obj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/learning-obj.png -------------------------------------------------------------------------------- /paper/fig/learning-reg.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/learning-reg.pdf -------------------------------------------------------------------------------- /paper/fig/learning-reg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/learning-reg.png -------------------------------------------------------------------------------- /paper/fig/learning-rl.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/learning-rl.pdf -------------------------------------------------------------------------------- /paper/fig/learning-rl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/learning-rl.png -------------------------------------------------------------------------------- /paper/fig/loss-comp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/loss-comp.pdf -------------------------------------------------------------------------------- /paper/fig/loss-comp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/loss-comp.png -------------------------------------------------------------------------------- /paper/fig/maxent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/maxent.gif -------------------------------------------------------------------------------- /paper/fig/maxent.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/maxent.pdf -------------------------------------------------------------------------------- /paper/fig/maxent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/maxent.png -------------------------------------------------------------------------------- /paper/fig/opt.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/opt.pdf -------------------------------------------------------------------------------- /paper/fig/opt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/opt.png -------------------------------------------------------------------------------- /paper/fig/overview.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/overview.pdf -------------------------------------------------------------------------------- /paper/fig/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/overview.png -------------------------------------------------------------------------------- /paper/fig/overview.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/overview.svg -------------------------------------------------------------------------------- /paper/fig/smoothed-loss.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/smoothed-loss.pdf -------------------------------------------------------------------------------- /paper/fig/smoothed-loss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/smoothed-loss.png -------------------------------------------------------------------------------- /paper/fig/sphere/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/sphere/0.png -------------------------------------------------------------------------------- /paper/fig/sphere/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/sphere/1.png -------------------------------------------------------------------------------- /paper/fig/sphere/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/sphere/2.png -------------------------------------------------------------------------------- /paper/fig/sphere/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/sphere/3.png -------------------------------------------------------------------------------- /paper/fig/sphere/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/sphere/4.png -------------------------------------------------------------------------------- /paper/fig/sphere/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/sphere/5.png -------------------------------------------------------------------------------- /paper/fig/sphere/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/sphere/6.png -------------------------------------------------------------------------------- /paper/fig/sphere/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/sphere/7.png -------------------------------------------------------------------------------- /paper/fig/vae-iter.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/vae-iter.pdf -------------------------------------------------------------------------------- /paper/fig/vae-samples.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/vae-samples.png -------------------------------------------------------------------------------- /paper/fig/vae-time.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/fig/vae-time.pdf -------------------------------------------------------------------------------- /paper/math_commands.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/amortized-optimization-tutorial/HEAD/paper/math_commands.tex --------------------------------------------------------------------------------