Inference And Control In Networks Far From Equilibrium.