The adaptive linear neuron โ where the delta rule was invented and first built in hardware.
๐ Where this lives: Adaline was built as a physical machine in 1960, with weights implemented as electrochemical resistors called memistors that a training current could adjust. It was the first neural network deployed commercially โ as an adaptive filter for cancelling echo on telephone lines โ and that application is still the standard use of the algorithm today, in every noise-cancelling headphone and modem equaliser. Search "Widrow Adaline memistor adaptive filter history".
The architecture
ADALINE (ADAptive LInear NEuron, Widrow and Hoff, 1960) is a
single unit that looks almost identical to a perceptron and
differs in one decisive place.
THE STRUCTURE:
inputs xโ โฆ xโ, with a bias input xโ = 1
weights wโ โฆ wโ
net input net = ฮฃแตข wแตขxแตข
LINEAR OUTPUT a = net โ used for LEARNING
final output y = +1 if a โฅ 0, else โ1 โ used for
CLASSIFICATION
THE CRUCIAL POINT, and it is the whole of the difference from a
perceptron:
THE PERCEPTRON COMPUTES ITS ERROR FROM THE THRESHOLDED
OUTPUT.
ADALINE COMPUTES ITS ERROR FROM THE LINEAR OUTPUT, BEFORE
THE THRESHOLD.
So the error term is (t โ a) with a real-valued, rather than
(t โ y) with y โ {โ1, +1}. The threshold is still applied to
produce the final classification โ it is simply not involved
in learning.
xโ=1 โโwโโโโ
xโ โโโโwโโโโค โโโโโโโ a (linear) โโโโโโโโโโโโ
xโ โโโโwโโโโผโโโโถโ ฮฃ โโโโโโโโโฌโโโโโโโโโโโถโ thresholdโโโโถ y
โฎ โ โโโโโโโ โ โโโโโโโโโโโโ
xโ โโโโwโโโโ โ
โผ
LEARNING uses a,
via ฮด = t โ a
ADALINE USES BIPOLAR VALUES (โ1, +1) rather than binary (0, 1).
This matters for the same reason it did in Hebbian learning: a
zero input produces no weight change, so with 0/1 encoding half
the weights receive no updates from half the examples.
THE LEARNING RULE IS THE DELTA RULE, derived in the previous
topic:
ฮwแตข = ฮท (t โ a) xแตข
also called the WIDROW-HOFF rule or the LMS (least mean
squares) rule โ the names are interchangeable, and Adaline is
where they originate.
THE ERROR FUNCTION being minimised:
E = ยฝ ฮฃโ (tโ โ aโ)ยฒ the MEAN SQUARED ERROR
and because a is linear in the weights, THE ERROR SURFACE IS A
PARABOLOID with a single global minimum. Gradient descent on it
cannot get stuck, which is the guarantee the perceptron lacks.
A worked training, and the comparison
TRAINING ADALINE ON THE AND FUNCTION with bipolar encoding:
inputs and targets in {โ1, +1}, ฮท = 0.1, weights starting at 0.
Training set (with xโ = 1 for the bias):
(1, โ1, โ1) โ t = โ1
(1, โ1, +1) โ t = โ1
(1, +1, โ1) โ t = โ1
(1, +1, +1) โ t = +1
EPOCH 1, updating after each example:
example 1: a = 0 ฮด = โ1 โ 0 = โ1
wโ โ 0 + 0.1(โ1)(1) = โ0.1
wโ โ 0 + 0.1(โ1)(โ1) = +0.1
wโ โ 0 + 0.1(โ1)(โ1) = +0.1
w = (โ0.1, 0.1, 0.1)
example 2: a = โ0.1 + 0.1(โ1) + 0.1(1) = โ0.1
ฮด = โ1 โ (โ0.1) = โ0.9
wโ โ โ0.1 + 0.1(โ0.9)(1) = โ0.19
wโ โ 0.1 + 0.1(โ0.9)(โ1) = +0.19
wโ โ 0.1 + 0.1(โ0.9)(1) = +0.01
w = (โ0.19, 0.19, 0.01)
example 3: a = โ0.19 + 0.19(1) + 0.01(โ1) = โ0.01
ฮด = โ1 โ (โ0.01) = โ0.99
wโ โ โ0.289, wโ โ 0.091, wโ โ 0.109
example 4: a = โ0.289 + 0.091 + 0.109 = โ0.089
ฮด = 1 โ (โ0.089) = 1.089
wโ โ โ0.180, wโ โ 0.200, wโ โ 0.218
AFTER ONE EPOCH the weights are already moving toward a
sensible solution, and note that EVERY EXAMPLE PRODUCED AN
UPDATE โ including the ones already classified correctly,
because the linear output was not yet close to the target.
THAT IS THE DIFFERENCE FROM THE PERCEPTRON IN ONE OBSERVATION:
a perceptron would have made no change on a correctly
classified example, while Adaline continues to refine the
margin.
CONTINUING TO CONVERGENCE gives weights near
w โ (โ0.5, 0.5, 0.5)
which gives a = โ0.5 + 0.5xโ + 0.5xโ, so
(โ1,โ1): a = โ1.5 โ y = โ1 โ
(โ1,+1): a = โ0.5 โ y = โ1 โ
(+1,โ1): a = โ0.5 โ y = โ1 โ
(+1,+1): a = +0.5 โ y = +1 โ
ALL FOUR CORRECT, and the linear outputs are symmetric about
the boundary rather than sitting arbitrarily close to it.
THE COMPARISON โ PERCEPTRON versus ADALINE:
PERCEPTRON ADALINE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
error from the THRESHOLDED the LINEAR output a
output y
learning rule error correction DELTA RULE (gradient
descent)
error function none explicit mean squared error
encoding binary 0/1 BIPOLAR โ1/+1
updates on a
correct
example? NO YES, if a โ t
if not
separable never terminates converges to minimum MSE
solution
quality any separator the least-squares
separator, with a more
robust margin
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
THE ROW ABOUT UPDATING ON CORRECT EXAMPLES IS THE MOST
INSTRUCTIVE. Adaline keeps pushing outputs toward the targets
even when the classification is already right, which is why its
boundaries tend to sit further from the data and generalise
better โ it is minimising a distance, not counting mistakes.
Madaline, and where Adaline leads
MADALINE (Many ADALINEs) โ the multilayer extension, and the
first attempt at training a hidden layer.
THE ARCHITECTURE: a layer of Adaline units feeding a fixed
combining unit โ typically an AND, OR or MAJORITY gate โ whose
weights are NOT trained.
x โโโฌโโโถ [Adaline 1] โโโ
โโโโถ [Adaline 2] โโโผโโโถ [ MAJORITY ] โโโถ y
โโโโถ [Adaline 3] โโโ
MADALINE CAN SOLVE XOR, using two Adalines and an AND gate:
unit 1 learns one line, unit 2 learns another, and the fixed
gate combines them so that the region between the two lines
is classified differently from the regions outside. TWO
LINEAR BOUNDARIES CAN CARVE OUT A NON-LINEARLY-SEPARABLE
REGION, which is the geometric content of the hidden-layer
idea.
THE MADALINE TRAINING RULES:
MRI (Madaline Rule I, 1962): the output combiner is fixed, so
only the first layer is trained. When the output is wrong,
adjust the Adaline whose linear output is CLOSEST TO ZERO โ
the one whose decision was least confident and therefore
cheapest to flip. Adjust it just enough to change its sign,
then check whether the output is now correct.
THIS IS A HEURISTIC, NOT GRADIENT DESCENT โ it uses the
"minimum disturbance" principle rather than a derivative,
precisely because the threshold blocks the gradient.
MRII (1988): extends the trial-and-flip idea to multiple
layers.
MRIII: uses sigmoid units, at which point it becomes
essentially backpropagation.
WHY MADALINE MATTERED AND WHY IT WAS SUPERSEDED:
IT SHOWED THAT MULTIPLE ADAPTIVE UNITS COULD SOLVE
NON-SEPARABLE PROBLEMS, twenty-four years before
backpropagation became widely known. But MRI trains only one
layer and relies on a fixed combiner, so it does not solve
the general hidden-layer problem โ it works around it.
THE MISSING PIECE WAS STILL A DERIVATIVE, and getting one
required replacing the threshold with a differentiable
function.
ADALINE'S LASTING CONTRIBUTIONS:
1. THE DELTA RULE ITSELF, which is the foundation of
gradient-based learning and, with one added factor
fโฒ(net), becomes backpropagation's output-layer rule.
2. THE INSIGHT THAT LEARNING SHOULD USE THE PRE-THRESHOLD
OUTPUT. This is the step that made the error continuous
and therefore differentiable.
3. ADAPTIVE FILTERING as an engineering discipline โ echo
cancellation, noise cancellation, channel equalisation,
all still built on LMS.
4. It established that a network could be trained ONLINE, on
a live signal, adapting continuously rather than being
trained once โ which is what a telephone line requires.
THE PROGRESSION, restated with Adaline in place:
MP NEURON no learning
PERCEPTRON learns; error from the thresholded output;
fails if not separable
ADALINE learns by GRADIENT DESCENT on the linear
output; converges either way; still one layer
MADALINE several Adalines plus a fixed gate; solves XOR;
trains only one layer
MLP + BACKPROP differentiable units throughout, so every
layer gets a gradient
EACH STEP REMOVES ONE OBSTACLE, and Adaline's contribution was
to make the error differentiable โ without which none of what
follows is possible.
Adaline's contribution is one design decision: compute the error from the linear output rather than the thresholded one. That single change makes the error continuous, therefore differentiable, therefore susceptible to gradient descent โ and everything from backpropagation onward depends on it.
๐ Go further: Adaline's commercial descendant is worth appreciating for its longevity. The LMS adaptive filter in a noise-cancelling headphone runs the same update rule Widrow published in 1960, thousands of times a second, adjusting weights to predict and subtract ambient noise from what reaches your ear. It survives because of the property this topic emphasises โ it converges on a convex surface and adapts continuously to a changing target, which is exactly what a non-stationary signal demands. A learning rule from the year the first neural network hardware was built is still shipping in consumer electronics. Search "LMS algorithm active noise cancellation adaptive filter".
๐ก Exam angle: draw the Adaline architecture showing that the linear output a feeds the learning rule while the thresholded output y is the classification โ that distinction from the perceptron is the central examinable point. State the learning rule ฮwแตข = ฮท(t โ a)xแตข and its names (delta, Widrow-Hoff, LMS). Note that Adaline uses bipolar encoding and minimises mean squared error on a convex surface. Reproduce the perceptron versus Adaline comparison, especially that Adaline updates even on correctly classified examples. Describe Madaline โ several Adalines with a fixed combining gate โ explain that it can solve XOR, and know that MRI adjusts the unit whose output is closest to zero under the minimum-disturbance principle.
Syllabus points
Adaline architecture & training
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.