DeepGMM
Two small networks, a causal response model and a critic, trained as a game for instrumental variable analysis.
Tabular and recommender · 34 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 188
- Operations
- 34
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2019
- Cited by
- 59 (as of 28 October 2026)
- Authors
- Andrew Bennett, Nathan Kallus, Tobias Schnabel
- Source
- GitHub: CausalML/DeepGMM
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m15932
- Graph hash
- 0afc4d44118935d974b3e328eb31397409959b0ecbdbb50402802422e7294f6c
- Skeleton hash
- 90c3d79acb51806db1c7ee1eb6e1db76f4b4192766f1c85557103ab72acc939b
- Architecture hash
- a59da3ff257645597f95f758fb9ba5e74e407f35632e7d4836c6dc28b1dbbe6e
- Diagram SHA-256
- 2c5e9534ea0b776ca1c6338ddf999151200749fd50ec6f5f8ca8db633c5afb07
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
DeepGMM is an algorithm for instrumental variable analysis, a way to estimate causal effects when randomization or full control of confounders is not possible. It is defined as the solution to a smooth game between two neural networks: a prediction function g of the treatment and a critic function f of the instruments.
The method builds on the generalized method of moments (GMM), which the paper describes as a widely popular method in econometrics. A new variational reformulation of the optimally weighted GMM lets the fixed set of moment functions be replaced by a flexible class of neural networks. The authors solve the game with the OAdam algorithm, which they found more stable than alternating descent steps with SGD or Adam. The paper reports that DeepGMM matches the best tuned methods in standard settings and continues to work in high-dimensional settings where recent methods break.
This model uses the networks of the paper's low-dimensional scenarios: a single hidden layer of size 20 for f, and two hidden layers of sizes 20 and 3 for g. Both are fully connected networks with leaky ReLU activations.
Key idea. DeepGMM recasts optimally weighted GMM for instrumental variable analysis as a smooth zero-sum game between a neural prediction function and a neural critic.
- DeepGMM
- Deep Generalized Method of Moments
- instrumental variable analysis
- instrumental variables
- IV regression
- causal effect estimation
- generalized method of moments neural network
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{bennett2020deepgeneralizedmethodmoments,
title={Deep Generalized Method of Moments for Instrumental Variable Analysis},
author={Andrew Bennett and Nathan Kallus and Tobias Schnabel},
year={2020},
eprint={1905.12495},
archivePrefix={arXiv},
primaryClass={stat.ML},
url={https://arxiv.org/abs/1905.12495},
}