The algorithm can be obtained by combining the standard SA algorithm for training single random fields (Gu and Zhu, 2001) and a trans-dimensional extension of the self-adjusted mixture sampling algorithm (Tan, 2015).
consider the following joint distribution of the pair (l, x l ): where π l is set to n l /n for l = 1, .