Member-only story

Understanding the Hopfield Network with Examples

Changsin Lee
8 min readOct 28, 2024

--

How the eponymous network contributed to AI development

Hopfield network with six neurons

The Hopfield network played an important role in the development of AI. The contribution was awarded with a Nobel Prize in Physics for John Hopfield.

In this article, I want to explain the Hopfield network in simple terms and show how it works with actual examples.

I will conclude by acknowledging its contribution to the modern neural networks that are the current AI boom.

1. Hebbian Learning

Donald Hebb in his 1949 book The Organization of Behavior described a learning theory that laid the foundation of neural networks.

https://en.wikipedia.org/wiki/Neural_network_(machine_learning)

The theory is often summarized as “Neurons that fire together, wire together.” To be precise, the Hebbian learning theory says that the activation of one neuron reinforces the firing of another connected neuron.

The weight change between the two neurons xᵢ and xⱼcan be expressed as:

  • Δwᵢⱼ:​ the change in the weight between input xᵢ​ and xⱼ.
  • η: the learning rate.
  • xᵢ: the input from the…

--

--

Changsin Lee
Changsin Lee

Written by Changsin Lee

AI/ML Enthusiast | Software Engineer | ex-Microsoftie | ex-Amazonian

No responses yet