$L_0$ regularized estimation for nonlinear models that have sparse underlying linear structures