Abstract
In this paper, we consider the problem of estimating the interaction parameter p of a p-spin Curie–Weiss model at inverse temperature , given a single observation from this model. We show, by a contiguity argument, that joint estimation of the parameters and p is impossible, which implies that the estimation of p is impossible if is unknown. These impossibility results are also extended to the more general p-spin Erdös–Rényi Ising model. The situation is more delicate when is known. In this case, we show that there exists an increasing threshold function , such that for all , consistent estimation of p is impossible when , and for almost all , consistent estimation of p is possible for .
1. Introduction
The Ising model [1] was originally introduced in Physics as a model for ferromagnetism, and has since then found numerous interesting applications in diverse areas, such as image processing [2], neural networks [3], spatial statistics [4], and disease mapping in epidemiology [5]. The classical (2-spin) Ising model is a discrete probability measure on the set of all binary strings of a fixed length, given by the following:
where the Hamiltonian is given by
is the interaction matrix (often taken as the scaled adjacency matrix of some graph), denotes the interaction strength (called inverse temperature in the physics literature), and is the normalizing constant, needed to ensure that the probabilities in (1) add up to 1 (referred to as the partition function in Physics). The Hamiltonian of the model (1) only captures pairwise dependence between the binary variables, arising from an underlying network/interaction structure. Unfortunately, in most real-life scenarios, pairwise interactions are not enough to explain all of the complex dependencies arising in network data, and one has to take into account higher-order interactions arising from peer-group effects. Multi-body interactions are also common in many other branches of science; for example in Chemistry [6], it is known that the atoms on a crystal surface do not just interact in pairs, but in triangles, quadruples, and higher-order tuples. A natural extension of the classical 2-spin Ising model with a focus on capturing higher-order dependencies is the p-spin Ising model [7,8,9,10], where the quadratic interaction term in the sufficient statistic is replaced by a multilinear polynomial of degree . The probability mass function of this model is given by the following:
where the Hamiltonian is given by the following:
is the interaction tensor (often taken as the scaled adjacency tensor of a hypergraph), denotes the interaction strength (or inverse temperature), p is the interaction order, and is the normalizing constant (or partition function).
The p-spin Ising models have applications, including their role in explaining the microscopic theory of magnetism in solid and fluid 3He films absorbed on the surface of graphite (see [11]). They also serve as important resources for analog quantum simulation and quantum computation, contribute to the mapping of fermions to artificial spin systems in quantum algorithms for quantum chemistry, and appear in spin models of cuprate superconductor Hamiltonians (see [12] and the references therein). Furthermore, they play crucial roles in error suppression schemes for quantum annealers, adiabatic topological quantum computation, and other related areas. p-spin Ising and spin glass models have also appeared in a number of classical and recent works, such as [7,8,10,13,14,15,16,17,18] and p-spin versions of the closely related Potts model have appeared in [19,20,21].
The estimation of the parameter in the model (2), assuming that the interaction order p is known, has been studied exptensively in the past (see, for example, [22,23,24] for the case and [9,10,16] for the case ). For the case, -consistency of the so called maximum pseudolikelihood estimator (MPLE) of under some general assumptions on the model (2) was first established in [23]. These assumptions can be verified easily for Ising models on many dense graphs at low temperatures (high values of ), and for Ising models on bounded-degree graphs as well as popular spin-glass models such as the Sherrington-Kirkpatrick model at all temperatures. Some of these results were extended in [22] where different rates of consistency were obtained for Ising models on sparse graphs, such as the sparse Erdös–Rényi graphs or sparse regular graphs, even at high temperatures. In addition, inestimability of was established in [22] for Ising models on a sequence of dense graphs converging to a graphon for all below a certain threshold, given by the inverse spectral norm of the limiting graphon. Precise central limit theorems for the maximum likelihood estimator (MLE) of were derived for the 2-spin Ising model on complete graphs (also known as the Curie–Weiss model) in [25]. Some of these results have been extended in [9,10,16] for the case .
Now, suppose that one is given a sample from a p-spin Ising model (2), with no other information on any of the parameters. A natural question is whether it is possible to estimate the interaction order p of the model. This is highly relevant from a practical perspective, as in many real-life applications such as recommender systems, strong peer-group effects exist, and two-interaction models are known to fit the data much worse than higher-order interaction models. For example, in [26], it was empirically shown that the 3-spin Ising model fitted the Last.fm music (accessed on 9 December 2020) (http://millionsongdataset.com/lastfm/) much better than the classical 2-spin model, thereby indicating the presence of complex peer-group effects in this dataset. This is a fan network database for a number of popular artists and bands, and the data consist of a list of binary opinions from the fan base for each artist, indicating whether each user is a fan of that artist or not as well as the user friendship network. The exact procedure involved first estimating the parameter assuming a 2-spin Ising model from the data using the maximum pseudolikelihood estimator, followed by simulating a number of samples from the corresponding 2-spin Ising model with the estimated as the parameter. It was observed that for most artists under consideration, the true Hamiltonian from the data lies outside the and quantiles of the histogram of the sampled Hamiltonians, thereby suggesting misfit. When a 3-spin Ising model was fit with the triangles in the user network as the hyperedges, the true Hamiltonian actually fell comfortably within the bulk of the histogram, thereby suggesting a good fit. In a different context, in [11], the authors mentioned that experimental and theoretical data indicated the relevance of three, four, five and six-spin exchange processes over a wide density range in adsorbed 3He films.
One might, in such situations, be interested in figuring out a systematic way of determining the value of the interaction order p for which the corresponding p-tuple interaction model fits the data best. To the best of our knowledge, this reverse problem of estimating the interaction order p given a single observation from the model (2) even with known has not been addressed in the literature before. This question may be quite difficult for arbitrary underlying interaction tensors , which necessitates some convenient structural assumptions on this tensor.
In this paper, we assume that tensor has all entries equal to , which corresponds to the p-spin Curie–Weiss model [7,9,27], given by the following:
where . Even under this structural assumption, the possibility of estimating p depends on whether the interaction strength is known or not. We will show that consistent estimation of p is impossible if is unknown, which will be a consequence of our argument on the impossibility of the joint consistent estimation of and p. At the heart of these impossibility results is the fact that the sufficient statistic in the model (3) converges to a mixture of point masses at the maximizers of a certain function , and that these maximizers do not uniquely determine the tuple . This idea is formalized by a contiguity argument between the Curie–Weiss measures and N-fold products of Rademacher distributions, with the largest maximizer of as the mean. It should be mentioned here that the related problem of joint inestimability of for the classical 2-spin Curie–Weiss model with an additional magnetic field parameter h was addressed in [24] using similar contiguity arguments. We also extend these impossibility results to the more general p-spin Erdös–Rényi Ising models.
The situation is more intricate when is known. In this case, we will show that there exists a strictly increasing threshold function , such that the consistent estimation of p is impossible for . However, for almost all (to be precise, for all but possibly countably many ), p can be estimated consistently whenever . The question of exactly describing the exceptional set of countably many s for which the region is inestimable for p, is still open. Finally, we want to mention that although joint consistent estimation of and p is impossible using just one sample from the p-spin Curie–Weiss model (3), we still hope to do so using multiple samples.
2. Impossibility of Jointly Estimating ()
We start by showing that joint consistent estimation of and p using only one sample from the model (3) is, in general, impossible. Towards this, for every , define a set:
where D denotes the set of all integers , and
Theorem 1.
For every , such that , there does not exist any sequence of estimators (measurable functions of ), which is consistent for under the model (3).
The following lemma is crucial for proving Theorem 1.
Lemma 1.
For every , denote the distribution of a Rademacher random variable with mean m by μ. Then, the product measure is contiguous to for all , and all .
Proof.
To begin with, note that on the event , we have:
Now, by Lemma 3.2 and Lemma 3.4 in [9], we have:
Also, by Taylor expansion, we have:
Hence, we have:
for some constant . Hence, for any event , we have:
thereby providing the following:
Now, suppose that . Then, for every , we have the following:
Taking the limit as throughout the above inequality, we can conclude that , which completes the proof of Lemma 1. □
With Lemma 1 in hand, we are now ready to prove Theorem 1.
Proof of Theorem 1
Suppose that there exists a sequence of consistent estimators of on . Fixing two different points and , we can construct disjoint neighborhoods and around them, respectively. Through the consistency of on , we have the following:
From Lemma 1, we have the following:
which contradicts the facts that , are disjointed, and is a probability measure. □
Remark 1.
Our argument implies that the consistent estimation of p is impossible if β is unknown. Because, if there were such a consistent estimator , then we could choose and from some ; construct disjoint open intervals and around and , respectively; and argue from contiguity that for , which is a contradiction.
The question is how do the sets look for different values of ? To answer this, let us define for each ,
It follows from [9] that for , the function has a unique postitive maximizer if . By convention, we define .
Proposition 1.
The sequence as , which can be sorted in ascending order as . Further, if we denote to be the projection of onto the p-coordinate, then
The proof of Proposition 1 is technical, and is given in Appendix A. Note that for , the set is uniquely determined by its projection , because every uniquely corresponds to the element , where . Proposition 1 thus provides a complete description of the family of sets for all values of , and states that although each of these sets is finite, we can choose sets as large as possible from this family. The following proposition describes the set .
Proposition 2.
.
The proof of Proposition 2 follows from the following three facts proved in [9]:
- If , then 0 is the unique global maximizer of .
- If , then has two different non-negative global maximizers.
- If , then has a unique non-negative global maximizer, which happens to be positive.
Remark 2.
All of the results in this section also hold almost surely for the somewhat more general p-spin Erdös–Rényi Ising model [27], where the interaction tensor in (2) is given by , with the entries of the tensor being i.i.d. Bernoulli random variables with a mean α, for some fixed . This follows from the fact that the Erdös–Rényi Ising and Curie–Weiss measures are mutually contiguous, which follows from Lemma 6.6 in [28].
3. Estimation of When Is Known
Throughout this section, we assume that the parameter is known. To begin with, for every , let us define the following two sets:
For Lemma A.1 in [10], the set is empty if , and is of the form for some integer otherwise.
Theorem 2.
When β is known, no sequences of estimators that are consistent with exist.
Proof.
It follows from Proposition 2 and Lemma 1, that the N-fold product measure of the mean-0 Rademacher distribution is contiguous to for all . The proof now follows from the argument given in Remark 1. □
Remark 3.
One can consider an extension of the model (3) by adding an external magnetic field parameter h as follows:
It has been shown in [9] that the consistent estimation of h is always possible when β is known. Proposition 2 shows that this is not the case for estimating p, which is impossible if . This inestimability region also coincides with that for estimating β when p is known (see [10]).
Now, we turn our attention to the set , and we break it down to the following two parts:
where is defined as the largest non-negative maximizer of .
Theorem 3.
When β is known, there does not exist any sequence of estimators that is consistent for .
Proof.
Once again, from Lemma 1, we know that the N-fold product of the Rademacher distribution with a mean of is contiguous to both and , where and is such that . Clearly, . Once again, the rest of the proof follows from the arguments of Remark 1. □
We now show that it is possible to estimate p consistently on the set , if is known. Towards this, let us define the following estimator of p:
The intuition behind constructing our estimator, is that as ; hence, the distance between and is expected to be minimized at for large N. The next theorem shows that with a high probability, this is indeed the case.
Theorem 4.
For every and , we have
for some constant not depending on N.
Proof.
Suppose that for some . It follows from Lemma A.1 in [10] and the proof of Proposition 1 that as , if and otherwise. Hence, in any case, is not an accumulation point of the sequence . This shows that there exists , such that for all not equal to p.
Now, it follows from the proofs of Lemma 3.1 and Lemma 3.3 in [9] that
for some constant not depending on N. Also, it follows from the proofs of Lemma 3.1 and Lemma 3.3 in [9] and the proof of Proposition 1, that
for some constant not depending on N. Define and . It is clear that on the event . Theorem 4 now follows, as . □
Remark 4.
In the reverse problem of estimating with known p, consistent estimation is possible for all (see [9]). In contrast, a further challenging inestimability region arises in our problem of estimating p with known . The next proposition shows that for almost all , the set is actually empty, i.e., the entire region is estimable.
Proposition 3.
There exists a countable set , such that for .
The proof of Proposition 3 is given in Appendix B. However, in the proof we provide an exact enumeration of one countable set satisfying Proposition 3, namely:
our analysis did not allow us to dig in any further. In particular, the following question is open:
- Open Problem: Give an exact enumeration of the minimal countable set satisfying Proposition 3.
Note that if for some integers , then is a stationary point of both and . We can actually say that if this stationary point turns out to be a global maximizer of both these functions. However, checking the last condition will likely involve more intricate analysis, and is left as an open question.
Funding
This research was funded by the FoS Tier 1 grant WBS A-8001449-00-00 and the FRC Tier 1 grant WBS A-8002932-00-00.
Institutional Review Board Statement
Not applicable.
Data Availability Statement
No data were used in this work.
Acknowledgments
The author thanks Paul Switzer for bringing to notice the problem of estimating p, and Luc Devroye for several interesting discussions related to this problem.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A. Proof of Proposition 1
To show that the sequence as , note that with a Taylor expansion, we have the following:
Hence, for all , and so, if , then . Thus, for every , we have . As is arbitrary, we thus have:
It is now easy to see that the right-hand side of (A1) converges to 1 as , whereas the left-hand side is bounded above by 1. This proves our claim.
Now, as the sequence is convergent to its supremum, it can be arranged in increasing order as . Also, by (A1) and Lemma A.1 in [10], . Suppose that for some . It follows from [9] that . By Lemma 11 in [28], the function is strictly increasing in on ; hence,
It follows from (A2), that for .
Let us now assume that . If , then, by (A2), we have ; hence, . Conversely, suppose that for some . Then, ; hence, there exists , such that . By Lemma B.3 in [28], we know that , which implies the existence of , such that . Finally, Lemma B.3 in [28] also states that the function is continuous in on , which in view of the intermediate value theorem, implies the existence of , such that , i.e., . This completes the proof of Proposition 1. □
Appendix B. Proof of Proposition 3
For every pair of integers , define:
and let . Clearly, is a countable set. Suppose that . Then, there exist such that both the functions and are maximized at the same point . Hence, we have , i.e.,
From the first equality, we have , and from the last equality, we have:
Hence, if , which completes the proof of Proposition 3. □
References
- Ising, E. Beitrag zur theorie der ferromagnetismus. Z. für Phys. 1925, 31, 253–258. [Google Scholar] [CrossRef] [Scilit]
- Geman, S.; Graffigne, C. Markov random field image models and their applications to computer vision. In Proceedings of the International Congress of Mathematicians, Berkeley, CA, USA, 3–11 August 1986; pp. 1496–1517. [Google Scholar]
- Hopfield, J.J. Neural networks and physical systems with emergent collective computational abilities. Proc. Natl. Acad. Sci. USA 1982, 79, 2554–2558. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Banerjee, S.; Carlin, B.P.; Gelfand, A.E. Hierarchical Modeling and Analysis for Spatial Data; Chapman and Hall/CRC: Boca Raton, FL, USA, 2014. [Google Scholar]
- Green, P.J.; Richardson, S. Hidden Markov models and disease mapping. J. Am. Stat. Assoc. 2002, 97, 1055–1070. [Google Scholar] [CrossRef] [Scilit]
- Aslanov, L.A. Crystal symmetry and atomic interactions model. Comput. Math. Appl. 1988, 16, 443–451. [Google Scholar] [CrossRef] [Scilit]
- Barra, A. Notes on ferromagnetic p-spin and REM. Math. Methods Appl. Sci. 2009, 32, 783–797. [Google Scholar] [CrossRef] [Scilit]
- Derrida, B. Random-energy model: Limit of a family of disordered models. Phys. Lett. 1980, 45, 79. [Google Scholar] [CrossRef] [Scilit]
- Mukherjee, S.; Son, J.; Bhattacharya, B.B. Phase transitions of the maximum likelihood estimates in the p-spin Curie-Weiss model. Bernoulli 2025, 31, 1502–1526. [Google Scholar] [CrossRef] [Scilit]
- Mukherjee, S.; Son, J.; Bhattacharya, B.B. Estimation in tensor Ising models. Inf. Inference J. IMA 2022, 11, 1457–1500. [Google Scholar] [CrossRef] [Scilit]
- Ananikyan, L.N. The hexagonal recursive approximation with multisite-interaction Ising model for the solid and fluid 3He system. Int. J. Mod. Phys. B 2007, 21, 755–772. [Google Scholar] [CrossRef] [Scilit]
- Bergamaschi, T.R.; Menke, T.; Banner, W.P.; Paolo, A.D.; Weber, S.J.; Hirjibehedin, C.F.; Kerman, A.J.; Oliver, W.D. Distinguishing multi-spin interactions from lower-order effects. Phys. Rev. Appl. 2022, 18, 044018. [Google Scholar] [CrossRef] [Scilit]
- Contucci, P.; Mingione, E.; Osabutey, G. Limit theorems for the cubic mean-field Ising model. arXiv 2023, arXiv:2303.14578. [Google Scholar] [CrossRef] [Scilit]
- Eichelsbacher, P. Stein’s method and a cubic mean-field model. arXiv 2024, arXiv:2404.07587. [Google Scholar] [CrossRef] [Scilit]
- Gardner, E. Spin glasses with p-spin interactions. Nucl. Phys. B 1985, 257, 747–765. [Google Scholar] [CrossRef] [Scilit]
- Mukherjee, S.; Son, J.; Bhattacharya, B. Fluctuations of the magnetization in the p-Spin Curie-Weiss model. Communinations Math. Phys. 2021, 387, 681–728. [Google Scholar] [CrossRef] [Scilit]
- Osabutey, G. Phase properties of the mean-field Ising model with three-spin interaction. J. Math. Phys. 2024, 65, 061901. [Google Scholar] [CrossRef] [Scilit]
- Sherrington, D.; de Almeida, J.R.L. Beyond Ising SK. arXiv 2022, arXiv:2208.07309. [Google Scholar]
- Bhowal, S.; Mukherjee, S. Limit theorems and phase transitions in the tensor Curie-Weiss Potts model. arXiv 2023, arXiv:2307.01052. [Google Scholar]
- Bhowal, S.; Mukherjee, S. Rates of convergence of the magnetization in the tensor Curie-Weiss Potts model. J. Stat. Phys. 2025, 192, 2. [Google Scholar] [CrossRef] [Scilit]
- Wu, F.Y. The Potts model. Rev. Mod. Phys. 1982, 54, 235–268. [Google Scholar] [CrossRef] [Scilit]
- Bhattacharya, B.B.; Mukherjee, S. Inference in Ising models. Bernoulli 2018, 24, 493–525. [Google Scholar] [CrossRef] [Scilit]
- Chatterjee, S. Estimation in spin glasses: A first step. Ann. Stat. 2007, 35, 1931–1946. [Google Scholar] [CrossRef] [Scilit]
- Ghosal, P.; Mukherjee, S. Joint estimation of parameters in Ising model. Ann. Stat. 2020, 18, 785–810. [Google Scholar] [CrossRef] [Scilit]
- Comets, F.; Gidas, B. Asymptotics of Maximum Likelihood Estimators for the Curie-Weiss Model. Ann. Stat. 1991, 19, 557–578. [Google Scholar] [CrossRef] [Scilit]
- Mukherjee, S. Limit Theorems for Dependent Combinatorial Data, with Applications in Statistical Inference. arXiv 2021, arXiv:2108.12233v2. [Google Scholar]
- Agliar, E.; Barra, A.; Camboni, F. Notes on ferromagnetic diluted p-spin model. Rep. Math. Phys. 2011, 68, 1–22. [Google Scholar] [CrossRef] [Scilit]
- Mukherjee, S.; Ghosh, S.; Son, J.; Mukherjee, S. Efficient estimation in tensor Curie-Weiss and Erdös-Rényi Ising models. Electron. J. Stat. 2024, 18, 2405–2449. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).