WorksPhysics and Astronomy
Dynamical mean-field theory for associative memory with block-correlated patterns
Abstract
In associative memories storing correlated patterns, retrieval of individual memories can compete with symmetric mixed states. A dynamical description is needed to determine how the initial state selects between these outcomes. We extend the generating-functional dynamical mean-field theory (DMFT) for independent patterns to independent blocks of correlated binary patterns of fixed finite size. The resulting effective single-neuron process has a self-consistent cross-talk noise covariance and self-feedback coefficients that depend on the block-covariance eigenvalues. For hierarchically correlated patterns with nonmonotonic transfer, increasing the loading can permit retrieval from an imperfect initial state before further loading prevents it. DMFT reproduces the retrieval trajectories and basin geometry found in direct simulations. Near the lower boundary of this re-entrant region, direct networks reveal stationary saddles separating coexisting mixed and target-retrieval states. Parameter sensitivities of DMFT trajectories predict nearby shifts of this boundary. At the tested upper boundary, retrieval remains accessible from initial states with larger target overlap, indicating a change in basin access. Under fixed-point convergence assumptions, the theory recovers the equations of generalized self-consistent signal-to-noise analysis.
Introduction
Associative memory models describe how recurrent neural networks retrieve stored patterns from corrupted initial states. In the Hopfield model, random binary patterns are embedded in the synaptic couplings by Hebb’s rule [1]. The statistical mechanics of this model is well understood when the patterns are independent [2, 3].
Memories with common structure require correlated patterns. Hierarchical and ultrametric ensembles have therefore been studied since the early development of associative memory [4, 5, 6, 7]. These models support retrieval at different levels of a hierarchy; in particular, Gutfreund described retrieval of a descendant preceded and assisted by retrieval of its ancestors [5]. Correlated-pattern models have also been studied in relation to storage capacity [8] and symmetric and asymmetric mixed states, which overlap with several stored patterns [9].
Ref. [10] studied independent clusters whose descendants are generated from a latent ancestor and whose descendants alone enter the coupling. The generalized self-consistent signal-to-noise analysis (SCSNA) describes the stationary states and predicts two coexisting symmetric mixed states, each with equal overlaps with the descendants of a cluster. Simulations show that retrieval can approach a mixed state before selecting one memory pattern.
The remaining question concerns the dynamics that selects among these states. A stationary analysis identifies possible endpoints but does not determine the finite-time trajectory or its dependence on the initial state. Retrieval can also occur transiently when stable retrieval states are absent [11]. This distinction is especially important for nonmonotonic transfer functions. Such functions can increase storage capacity and alter the attractor structure [12, 13, 14]. The resulting dynamics does not generally follow an energy function.
Ref. [15] analyzed this dynamics using the dynamical mean field theory (DMFT) for independent patterns. The analysis relates the basin of attraction to the cross-talk noise and the self-feedback coefficients. It also shows how the finite-time trajectory selects a branch when the stationary fixed-point condition has several roots. This independent-pattern theory provides the starting point for the present work.
We extend this analysis to correlated patterns in independent blocks of fixed finite size.
The block-covariance eigenvalues enter both the cross-talk noise covariance and the self-feedback coefficients. We apply it to the hierarchically correlated patterns of Ref. [10].
With nonmonotonic transfer, increasing the loading can restore retrieval from an imperfect initial state before retrieval fails again at higher loading. Near the lower boundary, direct simulations identify competition between coexisting mixed and target-retrieval states. Parameter sensitivities of the DMFT trajectories predict nearby shifts of this boundary.
This paper is organized as follows. In the next section, we set up the model we analyze. § 0.3 derives the DMFT equations and describes their numerical solution. § 0.4 compares the theory with direct simulations and examines retrieval dynamics and basins of attraction. § 0.5 summarizes the results and their implications. Appendices A and B give the generating-functional derivation and the stationary reduction to generalized SCSNA, respectively.
Block-correlated associative memory
We consider neurons and independent blocks. Each block contains correlated binary memory patterns. The block size remains fixed to as . At site , block is represented by
The vectors are independent over and and have distribution . We use for expectation over and assume
The loading rate is held fixed in the thermodynamic limit. The number of stored patterns per neuron is .
The memory patterns determine the Hebbian coupling,
where is the Kronecker delta. Let be the local potential, the transfer function output, the time step and an external field used to define the response. The parallel dynamics is
The external field is set to zero after differentiation. We use and prescribe a binary initial state with . For , the output and binary readout are
We use . The nonmonotonic transfer function is
Unless stated otherwise, we use and , as in the numerical analysis of Ref. [15].
We study retrieval within block . Its output and readout overlaps are
This block is called condensed: its overlaps can remain of order unity as , while overlaps with patterns in the other blocks vanish. The initial state is obtained by independently flipping each bit of the retrieval pattern with probability , so that
where is the initial target overlap. In the thermodynamic limit, the initial overlaps within the block are therefore
The output correlation and response function are
These expectations average over the initial state at fixed stored patterns. The external field at first affects . Hence for .
Our main example is the ensemble of hierarchically correlated patterns in Ref. [10]. Each block is generated from an ancestor pattern whose entries independently take the values with equal probability. For , the descendant distribution at each site is
Thus and for . The ancestor is not stored. With denoting the identity matrix and the -component vector of ones, the covariance is
Its eigenvalues are [10]
with multiplicities one and . The eigenvalue belongs to the symmetric block direction , in which all descendants vary together. The eigenvalue belongs to the directions orthogonal to , which distinguish one descendant from another. At , both eigenvalues equal one. The descendants are then independent patterns with total loading . For , the model reduces directly to the independent-pattern model with loading rate .
As a reference for symmetric mixed states, we use the majority pattern
with odd so that ties cannot occur. All calculations involving this pattern below use . The corresponding readout overlap is . We also monitor the ancestor overlap . For , the overlap of the majority pattern with each descendant is . A stationary symmetric mixed state at finite loading may differ from this majority pattern.
Dynamical mean-field theory
We write the trajectory generating function and separate the recurrent field into signal and cross-talk terms. We then diagonalize the covariance of each uncondensed block and average over its eigenmodes. The saddle-point action reduces to an effective single-site process with self-consistent noise and self-feedback coefficients. This follows the independent-pattern construction of Ref. [15], with each block-covariance eigenvalue retained inside the temporal response matrices.
Generating function
We observe outputs at and integrate the paths through , with fixed. The path measure is
Introduce the observable source , collected in , and write .
The generating function is
It satisfies for every external field . Its source derivatives give, for ,
where sets both and to zero. Each delta function is written as
Following Ref. [15], we denote the auxiliary Fourier field by . The Fourier variables expose the pattern dependence in bilinear form, allowing the trajectories to be averaged over the stored patterns.
The recurrent field separates into a condensed signal, uncondensed cross-talk noise and the exact diagonal subtraction,
For the Fourier variables we also define
Substituting into Eq. (17), the uncondensed blocks contribute the disorder average
To evaluate this average, we hold the paths and Fourier variables fixed and introduce the empirical temporal matrices
The amplitudes have zero mean and second moments
At fixed and , these amplitudes are normalized sums of independent site contributions. Their Gaussian limit determines the leading extensive contribution to the disorder average, as in the independent-pattern calculation.
Let be orthogonal and satisfy
Rotating the amplitudes of each block by preserves the bilinear in Eq. (24) and separates the Gaussian average into modes with second moments , and . For , dividing both amplitudes by gives the independent-pattern Gaussian integral with coupling . Thus Eq. (24) becomes
to leading order in , where is the identity on the update times. A zero eigenvalue contributes a factor of one. Each eigenvalue remains inside its temporal determinant. A related factorization over pattern-space eigenmodes appears in the generating-functional analysis of finite cycles [16]. The definitions of , , and are imposed by Fourier constraints, and the remaining integral is evaluated at its saddle point. At zero sources, normalization and differentiation with respect to the external field give
Appendix A gives the Gaussian integral and the saddle equations.
Langevin equations
At the saddle point, the neuronal paths factorize. The uncondensed blocks and the diagonal subtraction contribute the following terms to the single-site exponent:
The cross-talk noise covariance and self-feedback coefficients are
and
The instantaneous contribution cancels because . Thus describes self-feedback from earlier outputs.
Introduce a zero-mean Gaussian process with covariance . The identity
replaces the quadratic Fourier term by the cross-talk noise. Integration over then gives the effective Langevin dynamics
Here , has distribution and is drawn from in Eq. (8). The Gaussian noise is independent of and .
Averaging over the condensed block, the initial state and the cross-talk noise gives the self-consistency equations
All averages are evaluated at zero external field. The local response derivative holds , and fixed. For given and , the uncondensed contribution depends only on the eigenvalues of , while the condensed averages retain the complete distribution .
Strict causality makes lower triangular with a zero diagonal. Hence each inverse in Eqs. (31) and (32) is the finite sum
Each additional response carries a factor , so the covariance eigenvalues weight successive responses differently. The two inverses in account for propagation along its two time indices. For the hierarchically correlated patterns, the kernels contain one term and identical terms. For independent patterns, and the kernels reduce to those of Ref. [15] at total loading .
For numerical solution, we sample effective trajectories and replace the expectations by population averages [17]. The initial overlaps are given by Eq. (9), while $Q(0,0)=1 and give
At time , the sampled outputs determine and the new row and column of . After evaluating the response row for , Eqs. (31) and (32), restricted to times , give the new noise covariances and self-feedback coefficients. We then draw conditional on the noise history and update using Eq. (34). The population size controls sampling error in the thermodynamic-limit process.
For the smooth transfer, we evaluate the response by differentiating Eq. (34) along each trajectory with the noise and macroscopic quantities fixed, then averaging the resulting [18]. This response calculation requires operations over time steps. For sign transfer, we instead use Gaussian integration by parts, as in Ref. [15]:
Here is the principal submatrix of on times . Equation (40) requires this submatrix to be nonsingular; Appendix A discusses the singular case.
Results
We solved Eq. (34) with the kernels in Eqs. (31) and (32) and the self-consistency equations (35)-(37). Direct simulations provide a finite-size comparison with the thermodynamic-limit dynamics. Unless stated otherwise, , , and the observation time is . The figures use effective DMFT trajectories. Boundary refinements use trajectories and, for direct simulations, 64 disorder realizations with eight initial states per realization.
A large target overlap alone does not distinguish individual retrieval from a symmetric mixed state. We therefore count the retrieval pattern as retrieved when
for and . For , the criterion is . Non-target retrieval satisfies the same contrast between the largest and second-largest descendant overlaps. A symmetric endpoint is labelled when its overlaps agree within three pairwise standard errors, for effective trajectories, and their mean is within 0.01 of .
The remaining endpoints form the failure class. These finite-time criteria do not require microscopic convergence. The fixed-point analysis below additionally requires the stationary assumptions in Appendix B.
Basin of attraction
Block correlations change both the retrieval threshold and the dependence on the initial overlap (Figure 1). At , the critical total pattern loading agrees with the independent-pattern result of Ref. [15], as required by Eqs. (31) and (32). At finite correlation, DMFT reproduces the basin geometry found in direct simulations. Near a boundary, the finite network retrieves in fewer realizations; in the size comparison, increasing brings the finite-network basin closer to the DMFT boundary.
Figure 1. Basin of retrieval pattern according to Eq. (41). Direct-simulation values are retrieval fractions over 16 disorder realizations.
At large , the upper boundary moves to lower loading as increases from zero to 0.61. At small , it moves to higher loading over the same range. This reversal indicates a competition between the tendency toward symmetric mixed states and the retrieval of one descendant.
The states that replace target retrieval distinguish these two effects (Figure 2). At , retrieval from small initial overlaps occurs only within an intermediate range of loading rates. Below its lower boundary, the dynamics reaches the symmetric mixed state. Increasing the loading first permits the target to separate from this state. A further increase causes the same initial state to lose access to target retrieval. Figure 3 compares the retrieval basins at and along the same trajectories. The DMFT classifications are unchanged, while direct simulations show only small changes near the boundary. This indicates that the re-entrant geometry reflects converged retrieval outcomes at the sampled resolution, rather than transient retrieval. § 0.4 C examines the basin selection at both boundaries.
Figure 2. DMFT endpoint classes. The symmetric class is identified by equal descendant overlaps near the majority-pattern value .
Figure 3. Time dependence of the retrieval basin. The same trajectories are classified at both observation times using Eq. (41). Direct-simulation values are retrieval fractions over 16 disorder realizations.
At fixed finite time, exact exchangeability excludes systematic selection of one non-target descendant in the thermodynamic limit. The non-target DMFT outcomes near the boundary at become less frequent as the number of effective trajectories increases at the tested conditions, indicating symmetry breaking from finite sampling. The corresponding selection in a finite network is physical because each disorder realization breaks descendant exchangeability.
Retrieval dynamics and covariance eigenmodes
At the first update, the effective field has no self-feedback history. Since , expanding the transfer to first order in the condensed signal gives
The noise is independent of the condensed pattern vector. The scalar gain in Eq. (42) is therefore common to all directions. The symmetric output-overlap combination is amplified in proportion to , while , which distinguishes the target from the other descendants, is amplified in proportion to . Their relative amplification is
Thus increasing favours the initial symmetric response relative to descendant discrimination. The measured ratios follow this ordering. Their departure from Eq. (43) grows with the initial overlap, for which the linear expansion is less accurate. The subsequent evolution also involves the nonlinear transfer, cross-talk and self-feedback.
The readout trajectories show how this initial tendency develops (Figure 4). At and , the descendant overlaps first approach the symmetric mixed-state value and separate only after a long delay. At , the same initial condition remains at the symmetric state at the observation time, and no target retrieval is found on the sampled basin grid. Thus individual retrieval can fail while the condensed block remains active.
Figure 4. Readout trajectories at . Dashed curves give . Direct simulations use 16 disorder realizations per initial overlap.
Changing the loading at fixed correlation changes the separation from the symmetric state (Figure 5). On retrieving trajectories, the non-target descendants increase together before the target separates and then relax toward , their correlation with the retrieved pattern. These trajectories approach the symmetric mixed state without generally reaching it. Near the lower retrieval boundary, they pass closer to the mixed state; near the upper boundary, target selection becomes slower. DMFT and direct simulations recover the sequence described in Ref. [10].
Figure 5. Readout trajectories as the loading increases. Dashed curves give . Direct simulations use 16 disorder realizations per initial overlap.
The covariance eigenvalues enter two distinct parts of the dynamics. They act linearly on the initial condensed overlap vector in Eq. (42). In the uncondensed cross-talk kernels, they enter exactly as the prefactors and inside the temporal resolvents in Eqs. (31) and (32).
Basin selection and reentrance
The lower retrieval boundary marks a change from the symmetric mixed state to target retrieval. Both attractors remain accessible on either side of this boundary in the directly studied networks. To identify the separating dynamics, we used edge tracking, developed to follow the “edge of chaos” in shear flows [19]. Potential fields leading to different attractors are repeatedly bisected and the bracket is advanced with the original dynamics. At and , this procedure finds stationary saddles with one unstable direction in three networks. The two unstable branches lead to mixed and target retrieval.
We increased the loading by adding uncondensed blocks while keeping the condensed patterns and binary initial state fixed in each network. The resulting trajectories approach different sides of the saddle’s stable manifold (Figure 6a). At closest approach, the projection of their displacement onto the left unstable eigenvector identifies the eventual attractor. Reversing the corresponding component along the right unstable eigenvector switches the outcome, whereas equally large perturbations within the stable eigenspace preserve it. The lower boundary therefore reflects a change in basin access while both attractors coexist. Nearby parameter values also show competition organized by saddles, although the connections can change: in two of the investigated cases, a local mixed-state trapping region disappears and a non-target descendant becomes the competing attractor.
Figure 6. Basin selection near the lower retrieval boundary. (a) Direct trajectories from the same initial state with , projected onto output overlaps from . The two loadings differ by one uncondensed block. Diamonds mark the saddles and circles the endpoints at . The inset enlarges the saddle neighbourhood. (b) Boundary shifts predicted by Eq. (46) and measured at ten parameter pairs excluded from coefficient estimation. Filled and open markers denote two populations of trajectories. Shifts are relative to each population’s boundary at .
DMFT likewise retains mixed and target retrieval on both sides of the lower boundary. Near that boundary, the response of the target-discrimination overlap,
to small perturbations grows, while differences between the two non-target descendants initially decay. Moving closer to the boundary delays the departure from the mixed-state neighbourhood, consistently with an unstable direction controlling the separation. The DMFT fields and kernels still evolve during this passage, so these observations do not establish a stationary DMFT saddle.
This growing collective response gives a local prediction for the lower boundary . If changes in , and mainly excite the same growing displacement transverse to the boundary, their effects cancel for parameter changes along it. To first order,
The ratios become approximately time independent when the common growing response dominates. These derivatives include the change of the complete self-consistent DMFT history; instead describes the response to a local external field at fixed macroscopic kernels.
Central differences with shared Gaussian variables, averaged over the interval where the ratios have settled, give at
The coefficients were obtained from two populations of trajectories. They predict the shifts at separately evaluated conditions within and (Figure 6b), with a largest absolute discrepancy below in loading. Each shift is measured relative to the corresponding population’s reference boundary, whose absolute position remains sensitive to finite sampling. Stronger correlation raises the loading needed to leave the mixed-state basin, whereas a larger initial target overlap lowers it.
The upper boundary also reflects loss of basin access in the tested cases. The target fixed point remains linearly stable across it in all three direct networks. At , DMFT retrieves from while the initial state with fails, and the tested collective perturbations of the settled retrieval state decay. The separating dynamics is less simple here: edge tracking in two networks gives moving boundary trajectories through 600 updates, with nearby initial states subsequently reaching target and non-target retrieval. Their asymptotic boundary dynamics remains unresolved.
Cross-talk noise and self-feedback coefficients
The temporal kernels describe how the uncondensed blocks modify the local field (Figure 7 and Figure 8). Each covariance eigenvalue contributes through its own temporal resolvent.
Figure 7. Self-feedback coefficients and contributions from the two covariance eigenspaces. Horizontal guides select the observation times shown on the right. Color and ordinate scales are set separately for the two conditions.
Figure 8. Cross-talk noise covariance for and the contributions from the covariance eigenspaces. Horizontal guides select the observation times shown on the right. Color and ordinate scales are set separately for retrieval and failure.
The integrated self-feedback and its stationary limit are
Let denote the stationary response at lag , the susceptibility (integrated response) and the late-time plateau of over the temporal arguments weighted by the resolvents. Under the fixed-point assumptions in Appendix B,
These stationary expressions are used below for settled retrieval.
At lag one, the ratio of the contribution to the two contributions is . After temporal summation, the response modifies this ratio by the factor
A negative integrated response therefore suppresses the larger covariance eigenvalue more strongly. In the retrieval condition, the observed reduction is consistent with , estimated from the late-time row sum of the resolvent using Eq. (86).
The same response suppresses cross-talk through the denominators in Eq. (49). At the measured , this expression gives a variance about two orders of magnitude smaller than its value at . This reduction is associated with the Onsager reaction term [20]. The residual noise is small but nonzero and is compatible with a numerically errorless target readout. The enlarged retrieval scale in Figure 8 makes this residual covariance visible.
The failed-retrieval noise covariance decays with time separation, indicating continued microscopic evolution. In the failed-retrieval condition at , the integrated self-feedback nevertheless approaches a positive plateau more slowly than in successful retrieval (Figure 9). Its continued evolution beyond and eventual saturation agree with the behaviour found for independent patterns [15]. Convergence of this integrated coefficient alone does not imply a neuronal fixed point or justify replacing the cross-talk by a static Gaussian field.
Figure 9. Integrated self-feedback at during retrieval and failure. The horizontal line in the retrieval panel is Eq. (48), with estimated from the late-time resolvent. The inset extends the failed-retrieval trajectory to using effective trajectories, with the response evaluated by Gaussian integration by parts.
Fixed-point relation and branch selection
For a stationary output, the effective process gives
If the selected output is single-valued at fixed , it defines an effective transfer function . The overlap, correlation and susceptibility averages are then those of Appendix B. A unique root of Eq. (51) determines directly. When several roots coexist, their selection requires the preceding dynamics; a single function suffices only if the histories at the same select the same output.
Figure 10 compares the finite-time input-output pairs with Eq. (51), using the integrated self-feedback at the observation time. At , the outputs lie near the unique fixed-point root. At , the equation admits several roots over part of the sampled field range. The outputs have not all settled onto these roots. The comparison shows why the fixed-point relation alone cannot specify the observed input-output distribution.
At the lower loading, the target component of dominates the non-target components. The sign of therefore separates the local fields into two groups even though the condensed block has eight binary configurations. The multiplicity of fixed-point roots instead arises from the nonmonotonic transfer and self-feedback, as in the independent-pattern model [15].
Bistability under sign dynamics
We finally set and to compare with [10]. The output and readout overlaps now coincide, . Here denotes the symmetric mixed-state branch continuing the majority pattern and denotes the second symmetric mixed state. At finite loading, a state on the branch need not coincide site by site with the majority pattern. The response is evaluated by Gaussian integration by parts, Eq. (40), with covariance regularization proportional to the inverse number of effective trajectories.
Figure 10. DMFT input-output pairs at . The solid curves give all roots of Eq. (51) with replaced by ; dashed curves give the bare transfer . Points are the finite-time outputs.
The generalized SCSNA predicts coexistence of and for at and at [10]. The same reference demonstrates initial-state dependence and hysteresis in finite-network simulations. DMFT determines the corresponding basins in the thermodynamic limit (Figure 11). Inside each coexistence interval, the selected overlap changes nonmonotonically with : a larger initial target overlap need not select the mixed state with the larger final overlap.
Figure 11. Endpoint overlap under synchronous sign dynamics. Outlines in the upper panels mark the coexistence intervals reported in Ref. [10]. The lower panels enlarge these intervals and the overlap range containing the two mixed states. Values outside this overlap range are shown in grey.
The projection onto the target overlap and the mean non-target overlap shows how this selection occurs (Figure 12). Trajectories with different initial overlaps can pass through the same neighbourhood before approaching different points on the symmetric line. Their different approaches to the two mixed states account for the nonmonotonic basin dependence. Direct trajectories follow the same geometry around the DMFT mixed states, while some reach additional lower-overlap states, consistent with the spurious states observed in Ref. [10].

Figure 12. Trajectories under synchronous sign dynamics. DMFT uses effective trajectories through ; direct simulations use 64 disorder realizations per initial overlap through . Crosses mark the DMFT endpoints. Insets resolve the two symmetric mixed states, which lie on the dotted diagonal.
Summary and discussion
We derived the DMFT for an associative memory whose patterns occur in independent binary blocks of fixed size. The derivation extends the independent-pattern generating-functional analysis of Ref. [15]. Diagonalizing the block covariance separates the uncondensed disorder into covariance eigenmodes. Each covariance eigenvalue remains inside the temporal response resolvents that determine the cross-talk noise covariance and the self-feedback coefficients. At fixed block size and fixed finite time, the leading uncondensed contribution depends on the block distribution through its covariance. The condensed signal and one-site averages retain the complete binary distribution.
For the hierarchically correlated patterns, the two covariance modes have distinct roles in the initial motion. Under the linear approximation for weak initial overlaps, the mode amplifies the symmetric block direction relative to the modes that distinguish one descendant from the others. Increasing correlation strengthens this initial preference. In the full dynamics, the target-retrieval boundaries cross as the correlation increases. At the highest correlation examined and at low loading, the condensed block remains active while descendant discrimination is lost over the observation time. Direct finite-network simulations reproduce the basin geometry and retrieval trajectories over the tested conditions.
Near the re-entrant lower boundary, increasing the loading can restore retrieval from an imperfect initial state while both the target and symmetric mixed states remain accessible. Direct networks reveal stationary saddles separating the two basins. DMFT shows an increasing delay before mixed or target retrieval is selected as the lower boundary is approached. The response of these trajectories to parameter changes predicts nearby boundary shifts. At the upper boundary, target retrieval remains accessible from other initial states and stable under the tested perturbations. The sampled direct boundary trajectories remain time dependent over the measured interval. Their asymptotic dynamics remains unresolved.
The response also changes how the covariance modes contribute to cross-talk. In retrieval, the negative integrated response suppresses the cross-talk noise variance through the mode-dependent stationary denominators. The suppression is strongest in the mode. Under the stationary assumptions of Appendix B, the fixed-point equations reproduce generalized SCSNA. When several fixed-point roots coexist, their occupation depends on the preceding dynamics, as in [15]. A single effective transfer function is sufficient only when histories reaching the same field select the same output.
The generalized SCSNA of [10] establishes the stationary mixed states of the hierarchically correlated ensemble and their coexistence under sign dynamics. Retrieval through a mixed state and dependence on the initial state were already observed in that study. Here, DMFT determines the basins of the coexisting mixed states in the thermodynamic limit. Their selection depends nonmonotonically on the initial overlap: increasing the initial target overlap can lead to a mixed state with a smaller final overlap.
Several directions remain for future investigation. A central challenge is to characterize the dynamical mechanisms governing the boundaries of retrieval basins directly within DMFT. In particular, the stationary saddles observed in finite networks near the lower boundary suggest the possibility of an effective stability analysis of the corresponding macroscopic dynamics, while the asymptotic behavior of trajectories on the upper boundary remains to be clarified. Such an analysis could establish a more systematic connection between the temporal response, basin geometry, and re-entrant retrieval. Another direction is to examine the extent to which these phenomena depend on the nonmonotonic transfer function and the specific hierarchical correlation structure considered here. Applying the present framework to more general correlated-pattern ensembles, including larger blocks and multiple levels of hierarchical correlations, may reveal which aspects of the retrieval dynamics are universal and which depend on the detailed organization of stored memories.
Acknowledgments
This work was partially supported by the University of Milano-Bicocca through its Exchange Extra-EU program (AC) and JSPS KAKENHI Grant Nos. 22H05117 and 26K02981, and JST, ARiSE, Japan Grant Number JPMJAR2633 (YK).
Generating-functional derivation
We derive the effective single-site process and its kernels, Eqs. (31) and (32), following the generating-functional calculation in Appendix A of Ref. [15].
Constraints and disorder average
Throughout this appendix, the abbreviated initial distribution denotes the site-factorized distribution conditional on the condensed block. Its single-site factor is given by Eq. (8). Substitution of Eq. (20) and the field decomposition Eq. (21) into Eq. (17) gives
where and
Here , and for . The final transition introduces without an observable source. The condensed overlaps at update times are imposed with
The component vectors and collect and , respectively. We absorb the factors of into the conjugate matrices and include the normalization constants in the integration measures. The symmetric matrices , and their conjugates are integrated over . The half traces below fix the normalization of the conjugate entries:
The nonsymmetric matrix and its conjugate are integrated over all ordered pairs :
For one uncondensed block, the amplitudes in Eqs. (22) and (23) have zero mean and the second cumulants below, with denoting all stored patterns:
These relations hold with the paths and real Fourier variables fixed. Let
The second-cumulant matrix of the complete amplitude vector is , with the factors of inherited from the definition of in Eq. (23).
At fixed block size and fixed finite time horizon , an amplitude vector is a finite-dimensional normalized sum of independent site contributions. Its cumulant of order is . The cumulant expansion gives the Gaussian contribution at leading order. Higher cumulants produce subextensive corrections after summing over the uncondensed blocks.
The leading extensive disorder average can therefore be evaluated from the second cumulants in Eq. (58). We diagonalize as in Eq. (27) and rotate
The Jacobian has absolute value one because is orthogonal. Moreover,
The second-cumulant matrix of covariance eigenmode is .
For one nonzero eigenvalue , dividing the amplitudes by gives the independent-pattern Gaussian integral with coupling . Denote the rescaled time vectors by and .
The vectors and in the following integral are auxiliary -component Fourier variables:
The integrations over and give the second line. Integration over gives the third line and the final Gaussian integral gives the determinant in Eq. (65). A zero eigenvalue contributes one. For singular , we use and take after evaluating the saddle.
Multiplying this determinant over the covariance eigenmodes and the uncondensed blocks gives
Since , its logarithm gives Eq. (28) at order .
Extensive action and saddle point
We now combine the determinant with the constraint integrals and average over the stored patterns. Collecting all terms of order gives
where contains , , , and their conjugates. The macroscopic part is
All traces and determinants in Eq. (68) run over . For the one-site trace we use
The site-dependent trace retains the complete condensed distribution,
At zero sources, all sites have the same representative trace . Variation with respect to gives Eq. (35), while variation with respect to gives at the normalized saddle.
Normalization determines and . The identity gives
for at zero observable source. Here angular brackets denote normalized averages in the Fourier representation. Therefore . The two determinants at this saddle satisfy
The result is independent of , which gives .
The remaining conjugate saddle values follow by differentiating the determinant terms and evaluating at :
The variation of the normalized action is therefore
Stationarity under the and variations gives
Together with the definitions of , , and , these equations close the saddle point.
Gaussian decoupling and response
Differentiating the single-site Fourier trace in Eq. (70) with respect to the external field gives
Here the brackets denote normalized Fourier averages in . The macroscopic saddle values are held fixed in this local derivative, corresponding to fixed , and in Eq. (37). Since the external field at first affects the output at , is strictly lower triangular.
The quadratic Fourier-field term can now be written as a Gaussian average,
where is a zero-mean Gaussian process with covariance , independent of the condensed block and the initial state. Substituting into Eq. (76) gives Eq. (31). The self-interaction matrix in Eq. (70) becomes
The instantaneous term vanishes because . The remaining term is the self-feedback matrix of Eq. (32), with by causality.
Integration over the Fourier variables therefore gives
The delta functions impose Eq. (34). At , each transition integrates to one, giving . The saddle identities for and become the self-consistency equations (36) and (37) for this process.
At fixed , and , the external field and the Gaussian noise enter the dynamics in the same way. Gaussian integration by parts therefore relates the correlation between output and noise to the local response:
For the principal submatrix on times , inversion gives Eq. (40) when is nonsingular. If it is singular, differentiation with respect to the local source remains the exact definition of . A pseudoinverse recovers only the component in the covariance range. Finally, the binary initial state gives and hence the initial noise covariance in Eq. (39).
Fixed-point conditions and generalized SCSNA
We consider solutions of the effective dynamics that converge to a stable fixed point. We assume that the late-time response depends on the time lag and has a finite susceptibility (integrated response)
The transient contributions to the time sums are assumed to vanish, and the row sums of to converge. These assumptions allow the late-time limit to be taken inside the response convolutions below.
The finite-time identity
gives, on summing row ,
At late times, the inner row sum on the right approaches the same limit as the row sum on the left. Using Eq. (83) and solving the resulting scalar equation gives
We take for every nonzero covariance eigenvalue. The row-sum argument applies also to large negative whenever the assumed limits exist.
For the noise covariance, we further assume that approaches the stationary second moment over the times contributing to both resolvent sums in Eq. (31). The two time sums then factorize:
Substitution of Eq. (86) gives
The integrated self-feedback coefficient and its stationary limit are
Summing Eq. (32) over the earlier time gives
The limiting cross-talk noise is a static Gaussian field , where is a standard Gaussian variable. The stationary form of Eq. (34) is
If the dynamics selects a single output at each field , it defines an effective transfer function satisfying
Using the Gaussian measure , the stationary averages are [15]
To obtain , apply a constant external field at late times, with , and held fixed. Assume that its effect on the selected output is the translation . The integrated response is then
For , the second line follows by shifting the integration variable by and differentiating the Gaussian density. This form also applies to discontinuous effective transfer functions, such as the sign function. For , the response is defined by Eq. (96).
A unique root of Eq. (93) determines directly. When several roots coexist, the initial state and transient dynamics determine which branch is selected [15]. If histories at the same select different outputs, Eqs. (94) and (95) require separate averages of and over these histories. The susceptibility must likewise include the response of the branch selection to the external field.
For the hierarchically correlated patterns, Eqs. (88) and (90) become
These expressions reproduce the generalized SCSNA for Model 1 of Toya et al. [10], whose loading also counts blocks. Their cross-talk parameter and Onsager reaction term are identified by
Their effective output therefore obeys
Together with Eqs. (94), (95) and (97), this gives their overlap, output-correlation and susceptibility equations. In the generic formulation of their Sec. III, the loading is and the corresponding noise parameter is .
For their sign-transfer model, the Maxwell rule selects . With , the Gaussian averages then give their Eqs. (38)–(41) for the equilibrium states.
References
References
- [1]J. J. Hopfield, Neural networks and physical systems with emergent collective computational abilities, Proceedings of the National Academy of Sciences 79, 2554 (1982).
- [2]D. J. Amit, H. Gutfreund, and H. Sompolinsky, Storing infinite numbers of patterns in a spin-glass model of neural networks, Physical Review Letters 55, 1530 (1985).
- [3]D. J. Amit, H. Gutfreund, and H. Sompolinsky, Statistical mechanics of neural networks near saturation, Annals of Physics 173, 30 (1987).DOI
- [4]N. Parga and M. A. Virasoro, The ultrametric organization of memories in a neural network, Journal de Physique 47, 1857 (1986).
- [5]H. Gutfreund, Neural networks with hierarchically correlated patterns, Physical Review A 37, 570 (1988).pubmed.ncbi.nlm.nih.gov/9899687
- [6]S. Bacci, G. Mato, and N. Parga, Dynamics of a neural network with hierarchically stored patterns, Journal of Physics A: Mathematical and General 23, 1801 (1990).
- [7]M. V. Tsodyks, Hierarchical associative memory in neural networks with low activity level, Modern Physics Letters B 4, 259 (1990).DOI
- [8]J. F. Fontanari and W. K. Theumann, On the storage of correlated patterns in Hopfield’s model, Journal de Physique 51, 375 (1990).DOI
- [9]R. Erichsen and W. K. Theumann, Mixture states and storage with correlated patterns in Hopfield’s model, International Journal of Neural Systems 1, 347 (1991).DOI
- [10]K. Toya, K. Fukushima, Y. Kabashima, and M. Okada, Bistability of mixed states in a neural network storing hierarchical patterns, Journal of Physics A: Mathematical and General 33, 2725 (2000).DOI
- [11]D. G. Clark, Transient dynamics of associative memory models, Physical Review E 113, 054301 (2026).arxiv.org/abs/2506.05303
- [12]M. Morita, Associative memory with nonmonotone dynamics, Neural Networks 6, 115 (1993).DOI
- [13]S. Yoshizawa, M. Morita, and S.-i. Amari, Capacity of associative memory using a nonmonotonic neuron model, Neural Networks 6, 167 (1993).
- [14]T. Fukai, J. Kim, and M. Shiino, Retrieval properties of analog neural networks and the nonmonotonicity of transfer functions, Neural Networks 8, 391 (1995).DOI
- [15]Y. Kabashima and K. Mimura, Dynamical mean field approach to associative memory model with non-monotonic transfer functions, Journal of Statistical Mechanics: Theory and Experiment 2026, 014002 (2026).DOI
- [16]K. Mimura, M. Kawamura, and M. Okada, The path-integral analysis of an associative memory model storing an infinite number of finite limit cycles, Journal of Physics A: Mathematical and General 37, 6437 (2004).DOI
- [17]H. Eissfeller and M. Opper, New method for studying the dynamics of disordered spin systems without finite-size effects, Physical Review Letters 68, 2094 (1992).
- [18]F. Roy, G. Biroli, G. Bunin, and C. Cammarota, Numerical implementation of dynamical mean field theory for disordered systems: application to the Lotka–Volterra model of ecosystems, Journal of Physics A: Mathematical and Theoretical 52, 484001 (2019).DOI
- [19]J. D. Skufca, J. A. Yorke, and B. Eckhardt, Edge of chaos in a parallel shear flow, Physical Review Letters 96, 174101 (2006).pubmed.ncbi.nlm.nih.gov/16712300
- [20]M. Shiino and T. Fukai, Self-consistent signal-to-noise analysis of the statistical behavior of analog neural networks and enhancement of the storage capacity, Physical Review E 48, 867 (1993).pubmed.ncbi.nlm.nih.gov/9960670










