Writing
Blog post Note
-
Frigging Diffusion Models
17 July 2022 · 7 min readThis post is about diffusion models, which have received quite a bit of attention with systems like DALL-E and Imagen in text-to-image generation. For me, the motivation was to understand the underlying mechanics of the method — which is surprisingly intuitive, yet requires a bit of care to write down rigorously. The main paper that motivates this blog post is Denoising Diffusion Probabilistic Models by Ho et al. (2020).
-
Variance Reduction via Control Variates
10 April 2022 · 6 min readControl variates are one of the most classical and effective ways to reduce the variance of Monte Carlo (MC) estimates. Consider the setup where we want to estimate \(\mu_f = \E[f(x)]\) with MC. Imagine that we have access to a correlated auxiliary function \(h(x)\) with known expectation \(\mu_h = \E[h(x)]\). We can then consider the difference \(d(x) = f(x) - h(x)\) and estimate its expectation via MC:
-
Variance Reduction Techniques for Monte Carlo
09 April 2022 · 4 min readStandard Monte Carlo (MC) estimates of an expectation \(\mu = \E[f(X)]\) are simple and unbiased, but their standard error shrinks only as \(\mathcal{O}(1/\sqrt{n})\). Cutting the error in half requires four times as many samples. A natural question is whether we can construct other unbiased estimators of the same quantity that achieve strictly lower variance for the same sample budget.
-
Generative Flow Networks
17 March 2022 · 2 min readNotes on Generative Flow Networks (GFlowNets), a model class pushed by Yoshua Bengio that enables tractable probabilistic inference and connects MCMC-style sampling with density learning.
-
Credit Assignment in Reinforcement Learning
15 March 2022 · 4 min readThe credit assignment problem is a long-standing issue in reinforcement learning: determining which past actions actually caused a future reward. Here are notes on two papers addressing this problem:
-
Interest Overflow
15 March 2022 · 2 min readMost people are familiar with information overload — the steady firehose of ads, feeds, and breaking news competing for your attention. Here I want to talk about a subtler cousin: interest overflow.
-
Reinforcement Learning Roundup (1)
07 March 2022 · 3 min readNotes on two reinforcement learning papers:
- A Convergent and Efficient Deep Q Network Algorithm (C-DQN)
- Offline Reinforcement Learning with Soft Behavior Regularization (SBAC)
-
What I Am Reading
21 February 2022 · 6 min readRunning reading notes on research papers — summaries, open questions, and ideas for improvement.
-
Causal Model Learning and Modular Computation Line of Work
19 December 2021 · 3 min readRough reading notes on causal model learning and modular computation, connecting independent mechanisms to deep learning architectures.
-
Out of Distribution Generalization
02 October 2021 · 5 min readFirst we start with the question: what does it mean for data to be out of distribution (OOD)? In traditional statistical inference we concern ourselves with the generalization gap, defined as the difference in expected error of our algorithm on the training set vs. the test set. In classical approaches, the test set is assumed to be sampled from the same distribution — i.e., both train and test samples are drawn i.i.d. from the true data distribution \(p(x, y)\).