All models

Full (unrestricted) Boltzmann Machine

The original Boltzmann Machine: stochastic binary units, symmetric links and an energy to minimise.

Historical · 46 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (31 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
110
Operations
46
Framework
PyTorch
Recurrent
Yes
Published
1985, Cognitive Science
Cited by
3,299 (as of 4 October 2026)
Authors
David H. Ackley, Geoffrey E. Hinton, Terrence J. Sejnowski
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m1064
Graph hash
27f00785acd8fd589603b0ac6dfca52ebd02a4ca6ef700db22299fbdcaf4fccb
Skeleton hash
27f00785acd8fd589603b0ac6dfca52ebd02a4ca6ef700db22299fbdcaf4fccb
Architecture hash
12b57a9d60da769e051173c28168de4233d2a82d56882f5aa9336239e2895bf7
Diagram SHA-256
d07a4bbb1bbcea8a1d06cda1cf425fe9493295afd2ec54dbc6b0c115a7efaccb
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.boltzmann_machine:build: build({})

What it is

The Boltzmann Machine is a network of binary stochastic units joined by symmetric weighted links, introduced by Ackley, Hinton and Sejnowski as a parallel constraint satisfaction network that learns from examples. Each unit is always in one of two states, on or off, and chooses its state as a probabilistic function of its neighbours' states and the weights on its links.

Every global state of the network has a single number called its energy, and the units can be made to act so as to minimise that global energy. To escape local minima the network occasionally jumps to higher-energy configurations, using a form of the Metropolis algorithm suited to parallel computation, with a temperature-like parameter in the update rule. The units split into visible units, the interface to the environment, and hidden units, which are never clamped and exist to explain constraints that pairwise interactions among the visible units cannot capture.

The learning rule adjusts connection strengths so that the network becomes an internal generative model producing examples with the same probability distribution as the ones it was shown. Shown a partial example, the network can complete it by finding internal variable values that generate the visible part. The authors note that their simulations worked for some simple cases, but that the learning algorithm in this version was very slow.

Key idea. The key contribution is a learning rule for a stochastic, symmetrically connected network that builds an internal generative model matching the probability distribution of the examples it is shown.

  • Boltzmann machine
  • full Boltzmann machine
  • unrestricted Boltzmann machine
  • Ackley Hinton Sejnowski
  • energy-based model
  • simulated annealing network
  • stochastic binary units
  • constraint satisfaction network

AI-written summary, checked automatically against its sources; not reviewed by a person. Corrections welcome.

Cite the paper

@article{fullunrestrictedboltzmannmachine1985,
  title = {A Learning Algorithm for Boltzmann Machines*},
  author = {David H. Ackley and Geoffrey E. Hinton and Terrence J. Sejnowski},
  year = {1985},
  journal = {Cognitive Science}
}