  We consider the problems of error-correcting codes and image restoration with
multiple stages of dynamics. Information extracted from the former stage can be
used selectively to improve the performance of the latter one. Analytic results
were derived for the mean-field systems using the cavity method. We find that
it has the advantage of being tolerant to uncertainties in hyperparameter
estimation, as confirmed by simulations.
