[2402.10202] Bridging Associative Memory and Probabilistic Modeling