Model validation and discovery for complex stochastic systems