Search topics and sections

Connectionism is an approach in cognitive science that explains mental abilities with artificial neural networks. These networks are made of many simple units, loosely based on neurons, joined by connections whose strengths, called weights, play the role of synapses.[1] Its methods are the roots of modern deep learning.[1]

Connectionism grew into a major movement in the 1980s. It offered an alternative to the classical view that the mind works like a digital computer following rules over symbols (marks or tokens that stand for things).[1]

The basic idea

In connectionism, what a network knows is stored in its weights, and learning means changing them.[1] Connectionist models have learned skills such as recognizing faces, reading aloud, and detecting simple grammar.[1]

A connectionist explains an ability by building a network that learns it:

  1. Choose the units, the pattern of connections, and a learning rule (instructions for how the network changes its weights during training).[1]
  2. Train the network on examples.[1]
  3. Compare the trained network with people, including its errors and how its skill develops during training.[1][2]

The two views differ most in where knowledge lives and how it is used.[1]

Classical view Connectionist view
Where information is stored Strings of symbols, as in computer memory Weights on the connections between units
How processing works A program produces symbols one step at a time Activity spreads through the network, each unit responding to its neighbors

Connectionism belongs to the wider study of computational cognition, which treats thinking as a kind of computation. Connectionists and classicists disagree about what kind.[1]

Units, connections, and weights

Units come in three kinds:[1]

  • Input units receive information.
  • Hidden units sit between the input and output units.
  • Output units hold the result.

In a model of the whole nervous system, input units would match sensory neurons, output units motor neurons, and hidden units all the rest.[1]

A feedforward neural networkInput unitsHidden unitsOutput unitsweight wDirection of activity
A feedforward network with 4 input units, 3 hidden units and 2 output units. Each unit connects to every unit in the next layer, and activity flows one way from input to output along connections that each carry a weight ww.

Each unit has a number called its activation, and it sends that number along its connections. A weight can be positive or negative, and a negative weight means the sending unit inhibits the receiving unit.[1] A receiving unit adds up its inputs, each multiplied by its weight, and then passes the sum through an activation function:

aj=f(∑iwji ai)a_j = f\Big(\sum_i w_{ji}\, a_i\Big)

Here aia_i is the activation of sending unit ii, wjiw_{ji} is the weight on the connection from unit ii to unit jj, and ff is the activation function. A common ff squeezes the sum into the range 0 to 1, or sets the activation to zero unless the sum passes a threshold (a cutoff value).[1]

Computation in one connectionist unit a1 a2 a3 wj1 wj2 wj3 < 0 Σ sum of weight × activation f aj negative weight = inhibition
Receiving unit jj multiplies each incoming activation aia_i by its connection weight wjiw_{ji} and sums the products. It then passes the sum through an activation function ff to get its output aja_j. A negative weight, such as wj3w_{j3} here, makes the sending unit inhibit unit jj.

Because all units do much the same simple job, what a network can do depends mainly on its weights.[1] Finding the right weights for a task is the central goal of connectionist research.[1]

How networks learn

Learning rules fall into two broad groups:[1]

Hebbian learning

Hebbian learning strengthens connections between units that are active together. It comes from the neuroscientist Donald Hebb's 1949 proposal that the link between two neurons grows stronger when both are active at once, often put as "neurons that fire together, wire together".[3] In its simplest form:[3]

Δwui=η ai au\Delta w_{ui} = \eta\, a_i\, a_u

Here Δwui\Delta w_{ui} is the change in the weight from unit ii to unit uu, aia_i and aua_u are the two activations, and η\eta is a learning rate that sets how big each change is. Hebbian learning is the best-known unsupervised rule and is useful for sorting inputs into categories.[1]

In 1982 Erkki Oja analyzed a linear unit (one whose output is simply the weighted sum of its inputs) trained with a restricted form of Hebbian learning, now called Oja's rule.[4] A unit trained this way comes to pick out the first principal component of its inputs, the direction along which they vary most.[5]

Error-correcting learning

Error-correcting rules change each weight by an amount based on how wrong the output was. The delta rule does this for a connection from input unit ii to output unit uu:[3]

Δwui=η (tu−au) ai\Delta w_{ui} = \eta\,(t_u - a_u)\, a_i

Here tut_u is the target (desired) activation of uu and aua_u is its actual activation, so tu−aut_u - a_u is the error. If a weight set that solves all the training examples exists, this kind of training will slowly find one.[3] Frank Rosenblatt called networks of this kind perceptrons and proved this result, now called the perceptron convergence theorem.[3]

The guarantee only helps when a solution exists, and for networks with no hidden units some tasks have none. The simplest is exclusive or (XOR), which is true when exactly one of two inputs is true. No set of weights lets a network with only input and output units compute it.[3]

AND is linearly separable, XOR is notANDXORx2x20101One line worksNeeds two boundaries(hidden units)0101x1x1Output 1Output 0
In the AND plot, one straight line separates the single output-1 point from the three output-0 points. In the XOR plot, the output is 1 when exactly one input is 1, so no single line can separate the classes, and two parallel boundaries are needed, as a hidden layer provides.

Backpropagation

Backpropagation extends error correction to networks with hidden units. It repeatedly adjusts every weight to shrink a measure of the difference between the actual and desired outputs.[6] The usual measure is the squared error, and the weights move by gradient descent, which needs the derivative of the error with respect to every weight (how much the error changes when that weight changes a little):[7]

E=12∑u(tu−au)2,Δw=−η ∂E∂wE = \frac{1}{2}\sum_u (t_u - a_u)^2, \qquad \Delta w = -\eta\,\frac{\partial E}{\partial w}

The error signal is computed at the output units and passed backward, layer by layer, to tell each hidden connection how much it added to the total error.[3] As a result, hidden units learn to stand for useful features of the task, which earlier methods such as the perceptron procedure could not do.[6]

In a typical supervised run, the weights start at random values and the training examples are shown many times.[1] If training goes well, the network also handles new inputs it never saw, which is called generalization.[1]

How knowledge is represented

A network can store a concept in one unit or spread it across many:[3]

  • Local code: each unit stands for one thing.
  • Distributed code: each thing is a pattern of activity across many units, and each unit takes part in many patterns.
Local and distributed codingweakstrongLocal codeDistributed codecatdogcatdogcarone unit per conceptsimilar concepts, similar patterns
Local coding gives each concept its own unit, while distributed coding spreads each concept over graded activations across many units. In the distributed code the similar concepts cat and dog activate overlapping patterns, and car activates a mostly different set of units.

Trained networks tend to form distributed codes on their own. The NETtalk network, which learned to read English text aloud, came to separate vowels from consonants with two different patterns across all its hidden units, not with one unit for each.[1]

Distributed codes have several useful properties:

  • Similar things get similar patterns, so the code itself carries information about how concepts relate.[1]
  • Damage or noise causes graceful degradation: the network's answer gets less accurate but stays sensible, where a classical computer might fail outright.[1]
  • Category membership can be graded, as with similarity to a typical example, instead of all or nothing.[1]
  • Networks suit problems that need many conflicting demands met at once, called parallel constraint satisfaction.[1]

Because no single unit stands for a symbol, these codes are often called subsymbolic.[1]

On this view, the brain's activity can be treated as a long list of numbers (a vector). Psychology then becomes the study of which operations on such vectors explain thought.[1]

Network architectures

Connectionist models differ in how their units are wired. The main families are compared below.

Architecture How activity flows Weights Typical use
Feedforward network One way, input to output Learned, often by backpropagation Mapping inputs to outputs, such as spelling to sound
Simple recurrent network Hidden activity is copied back as extra input on the next step Learned Sequences, such as sentences
Interactive activation and competition Back and forth between groups of units until it settles Usually set by hand Perception and memory
Hopfield network Every unit linked to others by symmetric weights Set by a Hebbian rule Memory that fills in missing parts
Boltzmann machine Like a Hopfield network, with random updates and hidden units Learned Learning the statistics of patterns

Sources for the table: feedforward and recurrent nets[1][3], interactive activation[3], Hopfield networks[7][8], and Boltzmann machines.[7]

Simple recurrent networks

A recurrent network has loops, which give it a memory of earlier inputs. A feedforward net gives the same output every time it sees the same input, while even simple animals learn to ignore something they sense over and over, so models of short-term memory need such loops.[1]

Jeffrey Elman's simple recurrent network, described in 1990, adds a layer of context units. At each step the hidden activity is copied into the context units and fed back to the hidden layer with the next input, so the hidden layer reflects both the current item and what came before.[3][9] Elman built on an earlier proposal by Michael Jordan from 1986.[9]

Elman simple recurrent networkOutput units(prediction)Hidden unitsInput units(word at time t)Context units(copy of hidden at t−1)learned weightslearned weightslearned weightscopy
Elman simple recurrent network. At each time step the hidden activity is copied into the context units (dashed arrow), and the context units feed back into the hidden layer together with the next input; the solid arrows are learned weights.

Training recurrent networks over long sequences proved hard because the error signal fades as it flows back through many time steps. This is now called the vanishing gradient problem. Sepp Hochreiter analyzed it in 1991.[10]

In 1997 Hochreiter and Jürgen Schmidhuber introduced long short-term memory (LSTM), which can bridge time lags of more than 1,000 steps.[10]

Interactive activation

Interactive activation networks let groups of units excite and inhibit each other in both directions. Units usually have fixed meanings and hand-set weights, and activity shifts until the units' competition settles into a stable state, which is the network's answer.[3]

Two well-known models use this design:

  • The letter perception model of James McClelland and David Rumelhart (1981) explained the word superiority effect: people identify a letter more accurately inside a word than inside a string that cannot be pronounced, such as AOE.[11] In the model, partly active word units send activity back down to their letters, which also explains why the effect appears for pronounceable nonwords such as ZOG.[11]
  • The TRACE model of speech perception (McClelland and Elman, 1986) is built on the same principles of interactive activation.[12]

Attractor networks

John Hopfield's 1982 network stores memories as stable states that the network falls into. It has binary units (0 or 1) that update one at a time, and symmetric weights set from stored patterns by a Hebbian rule.[7] With thresholds at zero, each state has an energy:

E=−∑i<jwij si sjE = -\sum_{i<j} w_{ij}\, s_i\, s_j

Here sis_i is the state of unit ii and wij=wjiw_{ij} = w_{ji} is the weight between units ii and jj. No update can raise the energy, so the network slides into a valley, and each valley is a stored memory.[7]

Energy landscape of a Hopfield network partial or noisy pattern updates lower E stored memory stored memory stored memory network state energy E
In a Hopfield network each stored memory sits at the bottom of a valley in the energy EE. A partial or noisy input pattern starts on a slope, and each update lowers EE or leaves it unchanged until the state settles into the nearest valley.

This makes the network a content-addressable memory: it can recover a whole memory from a large enough part of it.[8]

Its behavior also changes only a little when details of the model change or single units fail.[8]

From 1983 to 1985, Geoffrey Hinton, Terrence Sejnowski, and coworkers developed the Boltzmann machine, a version with random updates and hidden units.[7]

History

Timeline of connectionism, 1940 to 2025 1940 1950 1960 1970 1980 1990 2000 2010 2020 McCulloch and Pittsthreshold logic units Rosenblattperceptron paper Werbos thesisbackpropagation Hopfieldnetwork Fodor and Pylyshyncritique Deep networkstake off Hebblearning rule Minsky and PapertPerceptrons Interactiveactivation model Backpropagationand PDP volumes Elman simplerecurrent network LSTM Nobel Prize toHopfield and Hinton fundingdecline golden age
The main events in connectionism from 1943 to 2024. The decade of reduced funding after 1969 and the revival from 1980 to 1995 are shaded.

Early ideas

The word itself came before neural networks, and the key early steps came well before computers could train large networks:

  • Thorndike's "new connectionism". The psychologist Edward Thorndike set his theory of learning, built on connections that experience strengthens or weakens, apart from associationism, the older view that ideas become linked through experience.[13] In 1949 he gathered his main work as Selected Writings from a Connectionist's Psychology.[13]
  • Logical neurons (1943). Warren McCulloch, who studied the nervous system, and the logician Walter Pitts proposed a model of how neurons work together.[7] Their units were all-or-none and fired when excitation (incoming signals that push a unit to fire) passed a threshold, and networks of them can compute logical functions such as "and", "or", and "not".[3]
  • Hebb's rule (1949). Hebb proposed that connections change with experience, as described in How networks learn.[3][7]

McCulloch and Pitts also proposed that such a network, given an infinite tape and a way to read and write it, could compute anything a Turing machine can.[3]

Perceptrons and their critics

The first wave of trainable networks rose and then stalled:

  • 1957 to 1958. Rosenblatt proposed the perceptron and built it in hardware. It had three layers of units, but only the weights between the middle and output layers could be adjusted.[7] His 1958 paper described it as a model of how the brain stores and organizes information.[14]
    1. Marvin Minsky and Seymour Papert published *Perceptrons*. It showed that perceptrons without hidden units cannot learn some tasks, including XOR, and its authors doubted that networks with hidden units could ever be trained.[3]
    1. Paul Werbos described backpropagation for neural networks in his Harvard PhD thesis, by his own account the first explicit statement of it in the field, but it drew little interest at the time.[15]

Funding for neural network research fell sharply for over a decade after the book.[3][7] Historians disagree on whether the book caused the decline or only happened at the same time as it.[13]

The 1980s revival

Connectionism returned in the 1980s, while classical AI was stalling.[3] Key events came quickly:

  • 1981: McClelland and Rumelhart's interactive activation model of letter perception.[11]
  • 1982: Hopfield's network.[8]
  • 1983 to 1985: the Boltzmann machine.[7]
  • 1986: Rumelhart, Hinton, and Ronald Williams published "Learning representations by back-propagating errors" in Nature.[6] They reinvented a method others had used for related problems, and showed that networks with hidden layers could learn tasks impossible without them.[7]
  • 1986: Rumelhart, McClelland, and the PDP Research Group published the two volumes of Parallel Distributed Processing (PDP).[3]

The first PDP volume covered modeling methods. The second applied them to schemas (mental frameworks for organizing knowledge), speech recognition, memory, language comprehension, spatial reasoning, and past-tense learning.[3]

A flood of further models followed.[3] The period from about 1980 to 1995 is often called connectionism's golden age.[1]

From connectionism to deep learning

The recent wave of neural network research has three main features:

  • Revival. Neural networks came back to wide attention after 2012, when new techniques made it practical to train networks with many hidden layers.[1]
  • Depth. Golden age networks usually had one or two hidden layers, while deep networks have from five to several hundred.[1]
  • Hardware. Fast parallel graphics processors (GPUs) made this training possible.[1]

In 2024 Hopfield and Hinton received the Nobel Prize in Physics "for foundational discoveries and inventions that enable machine learning with artificial neural networks".[7]

Another trend that grew out of connectionism is predictive coding, in which higher levels predict the input and only the prediction error is passed upward.[1]

Landmark models

A few models shaped how psychologists judge connectionism:

  • NETtalk (Sejnowski and Rosenberg, 1987) learned to turn English text into speech sounds. Its output went from noise to babble to fairly good pronunciation, and it worked fairly well on text it had not seen.[1] See NETtalk.
  • The past-tense model (Rumelhart and McClelland, 1986) learned English past tenses, first from a set with many irregular verbs, then from 460 verbs that were mostly regular.[1] Like children, it went through a stage of overregularizing, producing forms such as "broked", which more training corrected.[1]
  • Seidenberg and McClelland's 1989 reading model learned to pronounce written words with backpropagation and no pronunciation rules.[2] Early in training it acted like children learning to read, and with fewer hidden units it acted like many readers with dyslexia.[2]
  • Elman's grammar networks (1991) learned to predict the next word in sentences from a 23-word vocabulary.[1] The grammar allowed relative clauses (clauses that describe a noun, such as "that chases dogs") placed inside one another. It also required each verb to agree with its head noun, the main noun it goes with, as in "Any man that chases dogs that chase cats ... runs".[1]

The reading model is the core of the triangle model of reading. Its framework links spelling, sound, and meaning, but the 1989 version left out meaning and linked spelling and sound through hidden units.[2]

Debates with classical cognitive science

Symbols or networks

Connectionists disagree among themselves about how much they reject the classical view. There are two main positions:[1]

  • Implementational connectionists hold that the brain's network carries out symbol processing at a higher level of description.
  • Radical connectionists hold that symbol processing was a wrong guess about how the mind works.

Hybrid models blur this line by building symbol-like operations into networks. Paul Smolensky's tensor product method (1990), for example, lets a network bind values to roles, much as a program stores data in named slots.[1] Whether the brain uses symbols may therefore turn out to be a matter of degree.[1]

Systematicity

A widely cited critique is by Jerry Fodor and Zenon Pylyshyn in 1988. They noted that anyone who can understand "John loves Mary" can also understand "Mary loves John", a property called systematicity.[1] Classical models explain it by building sentences from reusable parts, as in the language of thought hypothesis.[1]

Fodor and Brian McLaughlin argued in 1990 that a network can be trained to be systematic but can also be trained not to be. So, they argued, connectionism does not explain why systematicity is so widespread in people.[1]

Replies take several forms:[1]

  • David Chalmers argued in 1993 that the argument proves too much: since the brain is a neural network, it would make systematic thought impossible.
  • Others argued that classical models do no better, since they too can be programmed to handle one sentence and not the other.
  • Robert Hadley asked for stronger tests, such as understanding "Mary loves John" when "Mary" never appeared as a subject in training.

The question remains open. In 2018, recurrent networks trained on simple commands handled some new combinations but failed on commands longer or shorter than those seen in training.[1]

Rules and the past tense

The past-tense model sparked the past tense debate. Steven Pinker and Alan Prince argued in 1988 that the model generalized poorly to some new regular verbs, a sign to them that networks are good at associations but not at general rules such as adding "-ed".[1]

Many connectionists still hold that networks can generalize in the right way.[1]

Gary Marcus later raised a similar objection to Elman's networks, arguing that they fail on sentences with new words.[1]

Innateness

Connectionism also enters the debate over how much knowledge is inborn. Networks that learn complex tasks from random starting weights support the empiricist view that general learning can build intelligence from experience, as argued in Rethinking Innateness (Elman and colleagues, 1996).[1]

The fit is not exact, since a network's starting weights can also stand for inborn knowledge shaped by evolution.[1]

Limits and open problems

Several known problems remain active research topics.

  • Catastrophic interference. Michael McCloskey and Neal Cohen showed in 1989 that when a network learns new items one set after another, new learning can wipe out old learning.[16] Their analysis implies some interference whenever new learning changes weights that store old knowledge.[16] One proposed answer, the theory of complementary learning systems, holds that the hippocampus (a brain area that helps form new memories) learns new items fast and replays them so the neocortex (the brain's outer layer) can learn them slowly, mixed in with older ones.[17]
  • Biological realism. Most models leave out the many types of neurons and the effects of hormones and neurotransmitters (chemicals that nerve cells use to send signals).[1] It is unclear whether the brain has the backward connections that backpropagation needs, and the huge number of training repetitions seems unrealistic.[1] Researchers have proposed alternatives that come close to backpropagation's results, such as using random feedback weights.[1]
  • Learning from one example. A child shown one new vehicle and told its name knows right away what it is, which methods such as backpropagation are far from explaining.[1]
  • Explaining the network. Deep networks are hard to interpret, and they can be fooled by small changes to an image that people cannot see.[1]

References

  1. Connectionism, Stanford Encyclopedia of Philosophy (Cameron Buckner and James Garson), 2019.
  2. A distributed, developmental model of word recognition and naming, Psychological Review (Seidenberg and McClelland), 1989.
  3. Connectionism, Internet Encyclopedia of Philosophy.
  4. Simplified neuron model as a principal component analyzer, Journal of Mathematical Biology (Erkki Oja), 1982.
  5. ODE-Inspired Analysis for the Biological Version of Oja's Rule in Solving Streaming PCA, arXiv, 2019.
  6. Learning representations by back-propagating errors, Nature (Rumelhart, Hinton, and Williams), 1986.
  7. Scientific Background to the Nobel Prize in Physics 2024, The Nobel Committee for Physics, Royal Swedish Academy of Sciences, 2024.
  8. Neural networks and physical systems with emergent collective computational abilities, Proceedings of the National Academy of Sciences (J. J. Hopfield), 1982.
  9. Finding Structure in Time, Cognitive Science (Jeffrey L. Elman), 1990.
  10. Long short-term memory, Neural Computation (Hochreiter and Schmidhuber), 1997.
  11. Context Effects in Letter Perception, University of Queensland, Connectionist Models of Cognition course notes.
  12. The TRACE model of speech perception, Cognitive Psychology (McClelland and Elman), 1986.
  13. A Brief History of Connectionism, Neural Computing Surveys (David A. Medler), 1998.
  14. The perceptron: a probabilistic model for information storage and organization in the brain, Psychological Review (F. Rosenblatt), 1958.
  15. Backwards Differentiation in AD and Neural Nets: Past Links and New Opportunities, Paul J. Werbos, 2004.
  16. Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem, Psychology of Learning and Motivation (McCloskey and Cohen), 1989.
  17. Why there are complementary learning systems in the hippocampus and neocortex, Psychological Review (McClelland, McNaughton, and O'Reilly), 1995.

Figure