WorksPhysics and Astronomy
Higher-order interactions renormalize the thermodynamic signature of neural population codes
Abstract
Maximum-entropy models of neural recordings can be treated as Boltzmann distributions at a fictitious temperature , with the fitted model at . Their specific-heat peak grows with population size and approaches that temperature, which has been read as a sign of criticality. The case rests on pairwise models, yet retinal codes require higher-order interactions. The thermodynamics of a model with such interactions fitted cell by cell has not been computed. Here I compute it exactly for pairwise and third-order models of the same populations of up to retinal ganglion cells, in salamander and marmoset. The triplet terms, required by the held-out likelihood, shift the peak by more than the finite-sample bias, with opposite sign in the two retinas. The peak is lower and grows more slowly in salamander, higher and grows faster in marmoset, and lies closer to in both. An exact decomposition traces most of the shift to the energy variance across population spike counts. A constraint on the spike-count distribution alone reproduces all of it in salamander and over half in marmoset. A second recording of each species, re-binning, and a common-input surrogate show that the sign is set by the spike-count structure of a recording at its temporal resolution, not by species. The thermodynamic signature of a neural code is therefore set not by the data alone but by the interaction order of the model used to read it.
The joint activity of neurons in a short time bin is a binary word . The maximum-entropy distribution consistent with the measured firing rates and pairwise correlations is a pairwise Ising model [1, 2, 3]. Embedded in a family of distributions at fictitious temperature , with the fitted model, this model has a specific-heat peak that approaches and grows with [4]. The pattern frequencies also follow Zipf’s law [5]. Both observations have been taken as evidence that neural populations operate near a critical point [4], and the reading has since been extended to other circuits [6].
That reading has been contested. Latent-variable models reproduce the signatures without fine-tuning [7, 8, 9, 10], subsampling a noncritical population produces a growing peak [11], and inferred models sit generally close to critical points [12]. Both sides work with the pairwise model, a truncation of the interaction expansion at second order, or with global extensions of it. Yet model studies show that higher-order structure changes the specific heat [4, 7]. For about 100 retinal ganglion cells responding to natural scenes, interactions beyond pairwise order are needed to describe the code [13], and higher-order correlations are documented in cortex [14, 15]. Published thermodynamic analyses have used models of the number of active cells alone [16], the -pairwise model, which constrains the distribution of [3, 4], a global nonlinearity of the pairwise energy [17], or homogeneous higher-order couplings shared by all cells [18]. To my knowledge, the thermodynamics of a model with explicit higher-order couplings fitted to the individual cells of a neural population has not been computed.
Does the thermodynamic signature of a neural code depend on the interaction order the code requires? Exact computation shows that it does. The third-order (triplet) terms that the data require change the peak by more than the finite-sample bias. The sign of the change differs between the two recordings studied, and the spike-count structure of the code sets it.
Models and thermodynamics. For a population of cells the models are maximum-entropy distributions of successive order,
where runs over the nonempty subsets of , are the couplings, and is the partition function. The pairwise model is and the third-order model is . The -couplings with are the triplet terms. The -pairwise model of Ref. [3] is fitted as well. It adds to the pairwise model one parameter per value of the spike count , so that the distribution of is matched exactly. All models are fitted by maximum likelihood, with the model moments computed exactly by enumerating all states in blocks, which is practical up to . An penalty of per bin keeps the couplings of unobserved triplets finite. Two sets of triplet terms are used. The full third-order model includes all triplets and is practical up to . The sparse set, of the kind used at large [13], keeps the triplets with the largest connected third-order correlation in the training data.
For each fitted model the energy is , and the fictitious-temperature family has specific heat per neuron
evaluated exactly over all states on a grid of spacing 0.02 in , with parabolic refinement of the maximum. The peak height and its position are the quantities studied in Refs. [4, 5]. The observable of this Letter is the shift of the peak produced by the triplet terms, its higher-order renormalization,
computed for the same cells and the same training data, so that the comparison is not confounded by the choice or number of cells [11]. A surrogate introduced below tests whether the structure behind comes from cells outside the recorded population. The shift produced by the spike-count constraint alone, , isolates the part set by the distribution of .
Fitting a third-order model to finite data biases even when the data contain no higher-order structure, because the extra parameters absorb sampling noise. That bias is measured directly. At each a second, equally large set of cell subsets is drawn. For each subset, one to three synthetic data sets of the same length are sampled from its fitted pairwise model . The entire procedure, including the selection of triplet terms, is repeated on these synthetic data, and their mean shift is . The synthetic data have no triplet interactions, so is the finite-sample bias under that null. The correction assumes that the bias is the same at the true distribution. A check on data generated from fitted third-order models with known supports this: the corrected estimate recovers it to within 0.006 (rms 0.003 over six subsets), erring toward smaller salamander magnitudes. The bias-corrected renormalization is a difference of independent means, quoted with the standard error (s.e.) of that difference. Throughout, is an estimate divided by its s.e., and a real subset is positive or negative when its shift lies above or below the mean bias. The bias of is below 0.003 in every reported condition and below 0.001 in both main natural-movie recordings.
Data and controls. The salamander data are the public recording of 160 retinal ganglion cells responding to a natural movie [3, 19], binarized in 20-ms bins into population words with a mean firing probability of 0.036 per bin. The marmoset data are the public recording of Refs. [20, 21], restricted to the 349 ganglion cells with a mean firing probability above 0.01 per bin. Their natural-movie responses are binarized in 23.5-ms bins into words with a mean firing probability of 0.091 per bin. Training and held-out bins are separated by whole stimulus repeats (salamander) or by contiguous time blocks (marmoset). Each fit uses random training bins, for ten random subsets of cells at each . The triplet and -pairwise models are scored against the pairwise model by their log-likelihood per bin on held-out bins. Means and standard errors of the mean (s.e.m.) are over ten subsets unless stated otherwise.
Four controls use the same fitting procedure, with the triplets in the white-noise case. The first is a natural-movie recording from a second retina of each species. For salamander this is the 93-cell population of Refs. [22, 23] in 16.7-ms bins (54 cells with mean firing probability above 0.005 per bin, mean 0.016). For marmoset it is a second retina of Ref. [20] in 23.5-ms bins (163 cells, mean 0.064, training bins). The second is white noise, under which the higher-order structure of the salamander code is weak [13]: the 93-cell salamander population in 33-ms bins ( training bins, mean firing probability 0.067 per bin) and the first marmoset recording ( bins). The third separates temporal resolution from species: the marmoset data rebinned at their native 11.8-ms frame, which lowers the mean firing probability per bin to 0.056, nearer the salamander 0.036. The fourth is a common-input surrogate for each salamander subset: a dichotomized Gaussian [24] with one shared input, matched to the measured rates and mean pairwise correlation ( training and held-out bins). Such models reproduce apparent criticality without explicit couplings [7, 8].
Results. Figure 1(a) and Figure 1(b) show the effect for one subset from each recording. In salamander the triplet terms lower the peak, and in marmoset they raise it. The difference has the same shape in both recordings [Fig. 1(c)]. It is positive in a window around the operating point , from up to a crossing at to 1.3, and negative above the crossing. In both recordings the triplet terms thus raise the specific heat at the operating point and pull the peak toward it. Since and , the shift is bounded by . It is negative whenever the third-order peak lies above the crossing, as both peaks do in salamander ( to 1.4 at ), and positive whenever the pairwise peak lies below it, as both do in marmoset (1.1 to 1.2). With all triplets the raw salamander shift is negative at every and grows in magnitude with [Fig. 1(d)], and so does the bias , which tracks the number of triplet parameters. The bias-corrected shift (Table I) stays negative at every , with between and . Pooled over all 66 subsets it is with (60 of 66 subsets negative). In marmoset the bias-corrected shift is small for and then grows, reaching at with the triplets. The pooled value is with (59 of 66 positive). The triplet terms are needed in both recordings, since their held-out log-likelihood gain is positive at every and largest at (Table I).

Figure 1. Higher-order interactions renormalize the specific-heat peak with recording-dependent sign. (a),(b) Fictitious-temperature specific heat per neuron, Eq. (2), of the exactly fitted pairwise (dashed) and third-order (solid) models of the subset whose is the median over the ten subsets, in salamander (a) and marmoset (b). The vertical line marks the operating point . (c) Difference between the third-order and pairwise specific heats, mean and s.e.m. over the ten subsets of each recording, with all triplets. (d) Bias-corrected peak renormalization versus population size for salamander with all triplets (blue circles) and triplets (light blue), and for marmoset with triplets (red squares). Mean and s.e. over ten subsets (thirteen for salamander at , eight for both series at and 20, six for salamander with all triplets at ). Open symbols: raw , Eq. (3).
Figure 2(a) shows the growth of the peak with , the quantity at the center of the debate. In salamander the bias-corrected third-order peak grows more slowly than the pairwise peak: the ratio of their slopes is 0.84, with a 95% bootstrap interval over subsets of 0.71 to 0.96. In marmoset it grows faster, with a ratio of 1.55 (95% interval 1.39 to 1.83) for the triplets over to 20 and 1.98 (1.4 to 5.5) for all triplets over to 16. Figure 2(b) shows the peak temperature. In salamander the triplet terms move it toward the operating point, with to 1.5 and to 1.4, while in marmoset both models give to 1.3. For the spike-count constraint, Ref. [4] gives the pairwise and -pairwise peaks for the salamander recording at to 120 (its Fig. S2). The -pairwise peak is lower at , as here, but higher from on. The sign of thus depends on as well, as expected when the pairwise errors in change with [3].

Figure 2. Growth of the peak with , controls, and dependence on the set of triplet terms. (a) Peak height versus for the pairwise (open, dashed) and bias-corrected third-order (filled, solid) models of salamander (blue, all triplets) and marmoset (red, triplets), with s.e.m. bands. (b) Peak temperature for the same models. The horizontal line marks the operating point . (c) Bias-corrected renormalization for the second salamander recording, salamander white noise ( triplets), and the common-input surrogate, offset horizontally for clarity. (d) The same for the second marmoset recording, marmoset white noise ( triplets), and the marmoset data rebinned at 11.8 ms. (e) Salamander renormalization at against the number of triplet terms, raw (open) and bias-corrected (filled), with the bias-corrected marmoset value at the same .
The controls in Figure 2(c) and Figure 2(d) locate the effect. The second marmoset recording reproduces the positive shift at every (pooled ). The second salamander recording is far sparser, and there the full third-order model is bias-limited: at the bias equals the raw shift. The spike-count constraint, whose bias is below 0.003, is the reliable probe there. It gives the salamander sign at every , with to , about twice the value in the first recording. The triplets give a large positive value (see below). Under white noise the bias-corrected shift with the triplets is at most +0.006 in either recording, against −0.013 to −0.005 for the salamander natural movie over the same . There the held-out gain of the triplet terms is at most 0.001 nats per bin. Rebinning the marmoset data at 11.8 ms reverses the sign, for the third-order model (pooled ) and for the spike-count constraint alike [Fig. 3(c)]. The common-input surrogate reproduces the salamander sign (pooled ), even though the triplet terms do not improve its held-out likelihood at all. In every natural-movie and surrogate condition, at has the shape of Figure 1(c): positive at by at least three standard errors, and crossing zero between and 1.4. Both mean peaks lie above the crossing in the four negative cases and below it in the two positive cases, as the bound requires.
Dependence on the set of triplet terms. In marmoset the triplets reproduce the full third-order shift within the combined s.e.m. at every . In salamander they do not. The shift falls from 100% of the full third-order shift at to 22% at and is consistent with zero beyond. At the bias-corrected salamander shift decreases monotonically with the number of triplet terms: −0.003 ± 0.008 with the triplets, −0.015 ± 0.008 with the triplets selected by the same criterion, and −0.031 ± 0.011 with all 816 triplets [Fig. 2(e)]. In the second salamander recording the triplets even reverse the sign. The salamander effect is spread over many weak terms that a sparse selection misses, whereas in marmoset the selected terms carry it.
| Salamander | Marmoset | |||||
| 8 | −0.013(3) | −0.011 | 0.002 | +0.007(4) | +0.004 | 0.003 |
| 10 | −0.009(5) | −0.011 | 0.006 | +0.000(5) | −0.005 | 0.004 |
| 12 | −0.017(6) | −0.015 | 0.011 | +0.007(6) | −0.003 | 0.009 |
| 14 | −0.030(8) | −0.028 | 0.010 | +0.031(9) | +0.016 | 0.018 |
| 16 | −0.022(7) | −0.026 | 0.019 | +0.040(8) | +0.024 | 0.027 |
| 18 | −0.031(11) | −0.028 | 0.027 | +0.035(7)† | +0.020 | 0.021 |
| 20 | −0.021(6)‡ | −0.026 | 0.031 | +0.048(7)† | +0.036 | 0.029 |
Table 1. Bias-corrected peak renormalization by the triplet terms, , with its s.e. in parentheses in units of the last digit, the shift produced by the spike-count constraint alone, , and the held-out log-likelihood gain of the third-order model over the pairwise model, , in nats per bin. Entries are means over ten subsets with all triplets, except that the marmoset entries in the rows marked † use triplets and eight subsets, and the salamander entries in the row marked ‡ use six subsets.

Figure 3. The renormalization is a change in the energy variance across spike counts. (a),(b) Summand of , Eq. (4), versus spike count for the pairwise (open) and third-order (filled) models at , mean over ten subsets with s.e.m. smaller than the symbols, each model at its own . (c) Shift from the spike-count constraint alone, , against the bias-corrected renormalization from the triplet terms, for every condition and , with the identity line. (d) Fraction of in the count term against the fraction of the Kullback–Leibler divergence between the models that lies in the count distribution, with the identity line. Blue, salamander. Red, marmoset. Violet, surrogate. Symbols as in the legend below.
Mechanism. The specific heat has an exact decomposition by population spike count. By the law of total variance,
where the averages are over . The first term is the spread of energy among patterns with the same number of active cells (which cells fire together), the second the variance of energy across spike counts (how many fire together). Evaluated at each model’s own , the decomposition splits into to within the accuracy of the peak refinement. The count term dominates the shift in every condition [Fig. 3(d)]. It accounts for 74 to 88% of the raw in salamander and 85 to 116% in marmoset (subset medians). In salamander the triplet terms lower the contribution of the high-count tail more than they raise that of to 3 [Fig. 3(a)]. In marmoset they raise the contributions of the silent state and of moderate counts [Fig. 3(b)]. Constraining the distribution of alone, with no triplet terms, reproduces the whole bias-corrected salamander shift (84 to 123% at every ) and 53 to 74% of the marmoset shift for [Fig. 3(c)].
The decomposition also explains why the thermodynamic effect is not proportional to the likelihood gain. Only 22 to 43% of the Kullback–Leibler divergence between the two models lies in the count distribution [Fig. 3(d)]. Most of the probability that the triplet terms move is redistributed among patterns of equal count, which barely changes the specific heat. The likelihood responds mainly to which cells fire together, the specific heat mainly to how many.
Discussion. Three conclusions follow. First, the thermodynamic signature read as criticality in pairwise models depends on the interaction order the code requires. The triplet terms change the peak height and its growth with by more than the finite-sample bias, and within the set the change nearly vanishes under white noise. Second, the change is dominated by the count term of Eq. (4), and its sign is set by whether the required higher-order terms reduce or increase the variance of the energy across spike counts. In salamander the pairwise model predicts synchronous events that the triplet terms remove. By the peak-height criterion of Ref. [4], the apparent criticality of the pairwise model is then overstated at these population sizes. By peak position, and at itself, the third-order model is nonetheless closer to criticality. In marmoset, by contrast, the apparent criticality is understated. The same marmoset cells rebinned at 11.8 ms show the salamander sign, and a common-input surrogate reproduces it. The sign thus belongs to the spike-count structure of a recording at its temporal resolution, not to a species. As the surrogate shows, this sign needs no explicit higher-order couplings, only a spike-count structure that the pairwise model cannot represent. Third, the spike-count constraint of the -pairwise model [3] captures the whole correction in salamander, so at these population sizes the -pairwise peak of Ref. [4] already includes it. In marmoset it captures only half to three quarters of the correction. Fourth-order terms were not fitted. Since the spike-count constraint contains cell-symmetric terms of every order, any effect beyond third order that it misses must be cell-specific, and the marmoset is where to look for it.
The pairwise-model thermodynamics of a neural population therefore cannot be interpreted without the higher-order terms the population requires. Beyond the reach of enumeration, sampling-based estimators of the partition function will be needed at the hundreds of cells where higher-order structure dominates the code.
The data that support the findings of this article are openly available in Refs. [19, 20, 22].
Acknowledgments
References
References
- [1]E. Schneidman, M. J. Berry II, R. Segev, and W. Bialek, Nature 440, 1007 (2006).
- [2]J. Shlens, G. D. Field, J. L. Gauthier, M. I. Grivich, D. Petrusca, A. Sher, A. M. Litke, and E. J. Chichilnisky, J. Neurosci. 26, 8254 (2006).
- [3]G. Tkačik, O. Marre, D. Amodei, E. Schneidman, W. Bialek, and M. J. Berry II, PLoS Comput. Biol. 10, e1003408 (2014).
- [4]G. Tkačik, T. Mora, O. Marre, D. Amodei, S. E. Palmer, M. J. Berry II, and W. Bialek, Proc. Natl. Acad. Sci. U.S.A. 112, 11508 (2015).
- [5]T. Mora and W. Bialek, J. Stat. Phys. 144, 268 (2011).
- [6]L. Mesulam, J. L. Gauthier, C. D. Brody, D. W. Tank, and W. Bialek, Phys. Rev. Lett. 123, 178103 (2019).
- [7]J. H. Macke, M. Opper, and M. Bethge, Phys. Rev. Lett. 106, 208102 (2011).
- [8]D. J. Schwab, I. Nemenman, and P. Mehta, Phys. Rev. Lett. 113, 068102 (2014).
- [9]L. Aitchison, N. Corradi, and P. E. Latham, PLoS Comput. Biol. 12, e1005110 (2016).
- [10]M. C. Morrell, A. J. Sederberg, and I. Nemenman, Phys. Rev. Lett. 126, 118302 (2021).
- [11]M. Nonnenmacher, C. Behrens, P. Berens, M. Bethge, and J. H. Macke, PLoS Comput. Biol. 13, e1005718 (2017).
- [12]I. Mastromatteo and M. Marsili, J. Stat. Mech. P10012 (2011).
- [13]E. Ganmor, R. Segev, and E. Schneidman, Proc. Natl. Acad. Sci. U.S.A. 108, 9679 (2011).
- [14]J. E. Ohiorhenuan, F. Mechler, K. P. Purpura, A. M. Schmid, Q. Hu, and J. D. Victor, Nature 466, 617 (2010).
- [15]S. Yu, H. Yang, N. Nakahara, G. S. Santos, D. Nikolić, and D. Plenz, J. Neurosci. 31, 17514 (2011).
- [16]G. Tkačik, O. Marre, T. Mora, D. Amodei, M. J. Berry II, and W. Bialek, J. Stat. Mech. P03011 (2013).
- [17]J. Humplik and G. Tkačik, PLoS Comput. Biol. 13, e1005763 (2017).
- [18]U. Rodríguez-Domínguez and H. Shimazaki, Neural Comput. 37, 2011 (2025).
- [19]O. Marre, G. Tkačik, D. Amodei, E. Schneidman, W. Bialek, and M. J. Berry II, Multi-electrode array recording from salamander retinal ganglion cells, IST Austria (2017), doi:10.15479/AT:ISTA:61.DOI
- [20]S. Sridhar and T. Gollisch, Marmoset retinal ganglion cell responses to naturalistic movies and spatiotemporal white noise, G-Node (2025), doi:10.12751/g-node.t43ph1.DOI
- [21]S. Sridhar, M. Vystrčilová, M. H. Khani, D. Karamanlis, H. M. Schreyer, V. Ramakrishna, S. Krüppel, S. J. Zapp, M. Mietsch, A. S. Ecker, and T. Gollisch, PLoS Comput. Biol. 22, e1014157 (2026).
- [22]S. E. Palmer, C. Holmes, B. Hoshal, K. Bojanek, J. Salisbury, M. J. Berry II, and O. Marre, Larval salamander retinal population data with response to natural movies from the Chicago Motion Database, Dryad (2024), doi:10.5061/dryad.4qrfi6jgm8.
- [23]B. D. Hoshal, C. M. Holmes, K. Bojanek, J. M. Salisbury, M. J. Berry II, O. Marre, and S. E. Palmer, Proc. Natl. Acad. Sci. U.S.A. 121, e2313676121 (2024).
- [24]J. H. Macke, P. Berens, A. S. Ecker, A. S. Tolias, and M. Bethge, Neural Comput. 21, 397 (2009).