Neural Networks
We now consider the case where the function classes correspond to neural networks. In such case, the (joint) estimator takes the form:
where \(\theta_1, \theta_2, \omega_1, \omega_2\) are weights of the neural networks.
We use the Optimistic Adam algorithm of Daskalakis et al. (2017) to solve the previous minimax problem as was also proposed in Dikkala et al. (2020).
|
Implements optimistic Adam algorithm. |
Subsetted Estimator
Modify the computation of the loss for the adversary to be zero for the observations outside the restriction:
test = self.adversary(zb)
test[indices_] = 0
G_loss = - torch.mean((yb - pred) * test) + torch.mean(test**2)
Single estimator
|
Adversarial Generalized Method of Moments estimator. |
|
AGMM with kernel layer using Maximum Mean Discrepancy. |
|
AGMM with centroid-based Maximum Mean Discrepancy. |
|
AGMM with kernel loss. |
|
AGMM with Maximum Mean Discrepancy. |
Joint estimator
|
Adversarial Generalized Method of Moments estimator for nested NPIV with L2 regularization. |