Stochastic realization via invariant system descriptions