Analogy between Boltzmann machines and Feynman path integrals
Pith reviewed 2026-05-24 10:06 UTC · model grok-4.3
The pith
Hidden layers in Boltzmann machines correspond to discrete versions of Feynman path elements.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The formal connections between Boltzmann machines and Feynman's description of quantum statistical mechanics allow the interpretation that the hidden layers in Boltzmann machines and other neural network formalisms are discrete versions of path elements present within the Feynman path-integral formalism. Feynman paths thereby supply a natural depiction of interference phenomena, implying that machine learning seeks an appropriate combination of paths along with accumulated path-weights through a network that cumulatively capture the correct mapping. As a direct consequence, general quantum circuit models applicable to both Boltzmann machines and Feynman path integral descriptions can be set,
What carries the argument
The path-element interpretation that equates hidden layers in Boltzmann machines with discrete Feynman path elements and thereby yields quantum circuit models.
Load-bearing premise
The formal structures of Boltzmann machines and Feynman path integrals are sufficiently isomorphic that the path-element interpretation and derived quantum-circuit models follow directly.
What would settle it
A concrete calculation on a small Boltzmann machine showing that its probability distribution over configurations does not match the distribution obtained by summing the corresponding discrete Feynman paths with the same weights.
Figures
read the original abstract
We provide a detailed exposition of the connections between Boltzmann machines commonly utilized in machine learning problems and the ideas already well known in quantum statistical mechanics through Feynman's description of the same. We find that this equivalence allows the interpretation that the hidden layers in Boltzmann machines and other neural network formalisms are in fact discrete versions of path elements that are present within the Feynman path-integral formalism. Since Feynman paths are the natural and elegant depiction of interference phenomena germane to quantum mechanics, it appears that in machine learning, the goal is to find an appropriate combination of ``paths'', along with accumulated path-weights, through a network that cumulatively capture the correct $x \rightarrow y$ map for a given mathematical problem. As a direct consequence of this analysis, we are able to provide general quantum circuit models that are applicable to both Boltzmann machines and to Feynman path integral descriptions. Connections are also made to inverse quantum scattering problems which allow a robust way to define ``interpretable'' hidden layers.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript provides an expository analogy between Boltzmann machines (and related neural networks) and Feynman path integrals in quantum statistical mechanics. It interprets hidden layers as discrete versions of path elements, argues that machine learning seeks appropriate combinations of such paths with accumulated weights to realize x→y maps, and derives general quantum circuit models applicable to both formalisms, with additional links to inverse quantum scattering for interpretability of hidden units.
Significance. If the structural mapping can be made rigorous, the work could usefully bridge classical machine-learning architectures with quantum path-integral techniques, potentially motivating quantum-circuit realizations of probabilistic models and new interpretive tools for neural-network layers. The paper is credited for explicitly connecting the two domains and for highlighting the inverse-scattering route to interpretability; however, because the central step remains interpretive rather than a derivation with controlled approximations or numerical checks, the immediate technical impact is modest.
major comments (2)
- [Abstract] Abstract and the paragraph introducing the path-element interpretation: the claim that hidden layers 'are in fact discrete versions of path elements' is asserted to follow directly from the equivalence, yet the manuscript does not supply an explicit isomorphism that maps the real Boltzmann factor exp(−E) onto the complex Feynman amplitude exp(iS/ℏ) while preserving interference phases; without this step the subsequent quantum-circuit constructions risk capturing only classical summation.
- [Quantum circuit models] Section presenting the general quantum circuit models: these models are presented as immediate consequences of the analogy, but the text does not demonstrate how real-valued RBM weights are promoted to complex path weights or how the discrete-path discretization avoids uncontrolled errors in the dynamics; the skeptic concern that the mapping may omit phases therefore remains unaddressed and is load-bearing for the claimed equivalence.
minor comments (2)
- Notation for the energy/action functionals is introduced without a consolidated table comparing the Boltzmann and Feynman conventions side-by-side; this would improve readability.
- [Abstract] The abstract states that the analysis 'allows' the path-element interpretation but does not distinguish this interpretive step from any new theorem or derivation; a single clarifying sentence would help.
Simulated Author's Rebuttal
We thank the referee for their careful review and for noting the expository nature of the work. The manuscript draws a structural analogy between the two formalisms rather than claiming a rigorous isomorphism. We address each major comment below and will revise the manuscript to clarify the interpretive character of the connection.
read point-by-point responses
-
Referee: [Abstract] Abstract and the paragraph introducing the path-element interpretation: the claim that hidden layers 'are in fact discrete versions of path elements' is asserted to follow directly from the equivalence, yet the manuscript does not supply an explicit isomorphism that maps the real Boltzmann factor exp(−E) onto the complex Feynman amplitude exp(iS/ℏ) while preserving interference phases; without this step the subsequent quantum-circuit constructions risk capturing only classical summation.
Authors: We agree that no explicit isomorphism is supplied that maps real Boltzmann factors onto complex amplitudes while preserving phases. The manuscript presents the link as an expository analogy that permits interpreting hidden units as discrete path elements; it does not assert a direct mathematical equivalence that incorporates quantum interference. The quantum-circuit constructions follow from this structural view but remain illustrative. We will revise the abstract and the relevant introductory paragraph to state explicitly that the connection is interpretive rather than a phase-preserving isomorphism, thereby removing any implication of a stronger equivalence. revision: yes
-
Referee: [Quantum circuit models] Section presenting the general quantum circuit models: these models are presented as immediate consequences of the analogy, but the text does not demonstrate how real-valued RBM weights are promoted to complex path weights or how the discrete-path discretization avoids uncontrolled errors in the dynamics; the skeptic concern that the mapping may omit phases therefore remains unaddressed and is load-bearing for the claimed equivalence.
Authors: The referee correctly observes that the manuscript does not demonstrate promotion of real RBM weights to complex path weights, nor does it analyze discretization errors or phase factors. Because the paper focuses on the conceptual analogy rather than a quantitative derivation, these technical steps are absent. We will add a clarifying paragraph to the quantum-circuit section that acknowledges these limitations, states that the models are motivated by the analogy but do not constitute a controlled mapping, and notes that phases are not automatically retained. revision: yes
Circularity Check
No circularity: interpretive analogy between independent formalisms
full rationale
The paper advances an interpretive mapping: hidden layers in Boltzmann machines are viewed as discrete versions of Feynman path elements. The abstract and reader's summary indicate this follows from structural equivalence of the two formalisms without introducing fitted parameters, self-referential equations, or load-bearing self-citations that reduce the central claim to its own inputs. No derivation step equates a prediction to a fitted quantity by construction, and the real-vs-complex distinction raised by the skeptic is a correctness concern rather than a circularity reduction. The derivation chain remains self-contained against external benchmarks.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption The partition function of a Boltzmann machine can be identified with a discretized Feynman path integral without loss of the essential probabilistic interpretation.
Reference graph
Works this paper leans on
-
[1]
from machine learning is palpable. These connections will be further explored in the following sections. |x⟩ |h1⟩ · · · |hP ⟩ FIG. 2. Neural network depiction of Eq. (8). |x⟩ |h1⟩ · · · |hP ⟩ |y⟩ FIG. 3. Neural network depiction of Eq. (8). Similar to Figure 2, but now |x′⟩ is assumed to be a different space from |x⟩. This figure is elaborated in Figure 4 t...
- [2]
- [3]
-
[4]
R. G. Melko, G. Carleo, J. Carrasquilla, and J. I. Cirac, Nature Physics 15, 887 (2019), ISSN 17452481, URL http://dx.doi.org/10.1038/s41567-019-0545-1
- [5]
-
[6]
Y. Nomura, A. S. Darmawan, Y. Yamaji, and M. Imada, Phys. Rev. B 96, 205152 (2017), URL https://link. aps.org/doi/10.1103/PhysRevB.96.205152
-
[7]
C. K. Lee, P. Patil, S. Zhang, and C. Y. Hsieh, Phys. Rev. Research 3, 023095 (2021), URL https://link. aps.org/doi/10.1103/PhysRevResearch.3.023095
- [8]
- [9]
- [10]
- [11]
-
[12]
C. Ciliberto, M. Herbster, A. D. Ialongo, M. Pon- til, A. Rocchetto, S. Severini, and L. Wossnig, Pro- ceedings of the Royal Society A: Mathematical, Phys- ical and Engineering Sciences 474, 20170551 (2018), URL https://royalsocietypublishing.org/doi/abs/ 10.1098/rspa.2017.0551
-
[13]
D.-L. Deng, X. Li, and S. Das Sarma, Phys. Rev. X 7, 021021 (2017), URL https://link.aps.org/doi/10. 1103/PhysRevX.7.021021
work page 2017
-
[14]
P. M. Long and R. A. Servedio, ICML 2010 - Proceed- ings, 27th International Conference on Machine Learning pp. 703–710 (2010)
work page 2010
- [15]
-
[16]
J. H. Zhang and S. S. Iyengar, J. Chem. Theory Comput. 18, 2885 (2022)
work page 2022
- [17]
- [18]
-
[19]
R. P. Feynman and A. R. Hibbs, Quantum Mechanics and Path Integrals (McGraw-Hill Book Company, New York, 1965)
work page 1965
-
[20]
R. P. Feynman, Statistical Mechanics (Addison-Wesley, MA, 1972), chap. 3
work page 1972
-
[21]
J. R. Klauder, in A Garden of Quanta (World Scien- tific, 2003), pp. 55–76, URL https://doi.org/10.1142% 2F9789812795106_0005
work page 2003
-
[22]
H. Kleinert, Path Integrals in Quantum Mechanics, Statistics, Polymer Physics, and Financial Markets 9 (World Scientific, 2009), 5th ed
work page 2009
- [23]
-
[24]
D. J. Kouri, W. Zhu, X. Ma, B. M. Pettitt, and D. K. Hoffman, J. Phys. Chem. 96, 9622 (1992)
work page 1992
-
[25]
B. J. Berne and D. Thirumalai, Annu. Rev. Phys. Chem. 37, 401 (1986)
work page 1986
- [26]
-
[27]
M. E. Tuckerman, D. Marx, M. L. Klein, and M. Par- rinello, J. Chem. Phys. 104, 5579 (1996)
work page 1996
-
[28]
M. E. Tuckerman and D. Marx, Phys. Rev. Lett. 86, 4946 (2001)
work page 2001
- [29]
- [30]
- [31]
-
[32]
S. Habershon, D. E. Manolopoulos, T. E. Markland, and T. F. Miller, Ann. Rev. Phys. Chem. 64, 387 (2013)
work page 2013
- [33]
- [34]
-
[35]
B. Yan, S. A. Moses, B. Gadway, J. P. Covey, K. R. Hazzard, A. M. Rey, D. S. Jin, and J. Ye, Nature 501, 521 (2013)
work page 2013
- [36]
-
[37]
R. Barends, A. Shabani, L. Lamata, J. Kelly, A. Mezza- capo, U. L. Heras, R. Babbush, A. G. Fowler, B. Camp- bell, Y. Chen, et al., Nature 534, 222 (2016)
work page 2016
-
[38]
R. G. Newton, Scattering Theory of Waves and Particles (Springer-Verlag, New York, 1982)
work page 1982
-
[39]
A. Bj¨ orklund, T. Husfeldt, and M. Koivisto, SIAM J. Comput. 39, 546 (2009)
work page 2009
-
[40]
J. S. Yedidia, W. T. Freeman, and Y. Weiss,Understand- ing Belief Propagation and Its Generalizations (Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 2003), p. 239–269, ISBN 1558608117
work page 2003
- [41]
-
[42]
T. K. Dey and N. R. Shah, Comput. Geom. 8, 267 (1997)
work page 1997
-
[43]
M. A. Armstrong, Basic topology (Springer Science & Business Media, 2013)
work page 2013
-
[44]
T. C. Ricard and S. S. Iyengar, J. Chem. Theory Com- put. 16, 4790 (2020)
work page 2020
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.