Model Inference with Stein Density Ratio Estimation