In this paper, use the trajectory decomposition technique to rigorously prove the similarity between different neural models. First, we derive the free energy function for an unsupervised net of stochastic neurons with lateral interactions. The temperature incorporated in this function serves as control parameter in the annealing schedule. Then, we consider the incremental and batch modes of le...