ArticleslgStudy

computer science

ADALINE

ADALINE is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ADALINE rather than just read about it. In short: ADALINE (Adaptive Linear Neuron or later Adaptive Linear Element) is an early single-layer artificial neural network and the name of the physical device that implemented it. It was developed by professor Bernard Widrow and his doctoral student Marcian Hoff at Stanford University in 1960.

ADALINE — main illustration
ADALINE — illustration

Key takeaways

  • ADALINE belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ADALINE to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ADALINE from memory before moving on to harder problems.

Reference excerpt

ADALINE (Adaptive Linear Neuron or later Adaptive Linear Element) is an early single-layer artificial neural network and the name of the physical device that implemented it. It was developed by professor Bernard Widrow and his doctoral student Marcian Hoff at Stanford University in 1960. It is based on the perceptron and consists of weights, a bias, and a summation function. The weights and biases were implemented by rheostats (as seen in the "knobby ADALINE"), and later, memistors. It found extensive use in adaptive signal processing, especially of adaptive noise filtering. The difference between Adaline and the standard (Rosenblatt) perceptron is in how they learn. Adaline unit weights are adjusted to match a teacher signal, before applying the Heaviside function (see figure), but the standard perceptron unit weights are adjusted to match the correct output, after applying the Heaviside function. A multilayer network of ADALINE units is known as a MADALINE.

Definition Adaline is a single-layer neural network with multiple nodes, where each node accepts multiple inputs and generates one output. Given the following variables:

𝒙, the input vector 𝒘, the weight vector N, the number of inputs b, some bias o, the output of the model, the output is:

o=∑n=1Nxnwn+b If we further assume that x0=1 and w0=b, then the output further reduces to:

o=∑n=0Nxnwn

Learning rule The learning rule used by ADALINE is the LMS ("least mean squares") algorithm, a special case of gradient descent. Given the following:

η, the learning rate o, the model output y, the desired target E=(y−o)2, the square of the error, the LMS algorithm updates the weights as follows:

𝒘←𝒘+η(y−o)𝒙 This update rule minimizes E, the square of the error, and is in fact the stochastic gradient descent update for linear regression.

MADALINE MADALINE (Many ADALINE) is a three-layer (input, hidden, output), fully connected, feedforward neural network architecture for classification that uses ADALINE units in its hidden and output layers. I.e., its activation function is the sign function. The three-layer network uses memistors. As the sign function is non-differentiable, backpropagation cannot be used to train MADALINE networks. Hence, three different training algorithms have been suggested, called Rule I, Rule II and Rule III. Despite many attempts, they never succeeded in training more than a single layer of weights in a MADALINE model. This was until Widrow saw the backpropagation algorithm in a 1985 conference in Snowbird, Utah. MADALINE Rule 1 (MRI) - The first of these dates back to 1962. It consists of two layers: the first is made of ADALINE units (let the output of the ith ADALINE unit be oi); the second layer has two units. One is a majority-voting unit that takes in all oi, and if there are more positives than negatives, outputs +1, and vice versa. Another is a "job assigner": suppose the desired output is -1, and different from the majority-voted output, then the job assigner calculates the minimal number of ADALINE units that must change their outputs from positive to negative, and picks those ADALINE units that are closest to being negative, and makes them update their weights according to the ADALINE learning rule. It was thought of as a form of "minimal disturbance principle". The largest MADALINE machine built had 1000 weights, each implemented by a memistor. It was built in 1963 and used MRI for learning. Some MADALINE machines were demonstrated to perform tasks including inverted pendulum balancing, weather forecasting, and speech recognition. MADALINE Rule 2 (MRII) - The second training algorithm, described in 1988, improved on Rule I. The Rule II training algorithm is based on a principle called "minimal disturbance". It proceeds by looping over training examples, and for each example, it:

finds the hidden layer unit (ADALINE classifier) with the lowest confidence in its prediction, tentatively flips the sign of the unit, accepts or rejects the change based on whether the network's error is reduced, stops when the error is zero. MADALINE Rule 3 - The third "Rule" applied to a modified network with sigmoid activations instead of sign; it was later found to be equivalent to backpropagation. Additionally, when flipping single units' signs does not drive the error to zero for a particular example, the training algorithm starts flipping pairs of units' signs, then triples of units, etc.

See also Multilayer perceptron

References

Widrow; Stearns, S. D. (1985). Adaptive Signal Processing. Englewood Cliffs, N.J.: Prentice Hall.

External links widrowlms (2012-07-29). The LMS algorithm and ADALINE. Part II - ADALINE and memistor ADALINE. Retrieved 2024-08-17 – via YouTube. Widrow demonstrating both a working knobby ADALINE machine and a memistor ADALINE machine. "Delta Learning Rule: ADALINE". Artificial Neural Networks. Universidad Politécnica de Madrid. Archived from the original on 2002-06-15. "Memristor-Based Multilayer Neural Networks With Online Gradient Descent Training". Implementation of the ADALINE algorithm with memristors in analog computing.

Illustrations

ADALINE: Learning inside a single-layer ADALINE
Learning inside a single-layer ADALINE
ADALINE: Photo of an ADALINE machine, with hand-adjustable weights implemented by rheostats
Photo of an ADALINE machine, with hand-adjustable weights implemented by rheostats
ADALINE: Schematic of a single ADALINE unit[1]
Schematic of a single ADALINE unit[1]

Worked examples

Example 1 — a first encounter with ADALINE

Start with the simplest possible case. Write down what ADALINE claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ADALINE before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ADALINE ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ADALINE

In research
ADALINE appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ADALINE in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ADALINE is common in secondary-school and first-year university syllabi. It links to neighbouring topics Artificial neural networks, so understanding it makes those chapters shorter.
In everyday life
Look for ADALINE outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ADALINE” →

How to study ADALINE in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ADALINE means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ADALINE out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ADALINE in simple terms?

ADALINE (Adaptive Linear Neuron or later Adaptive Linear Element) is an early single-layer artificial neural network and the name of the physical device that implemented it. It was developed by professor Bernard Widrow and his doctoral student Marcian Hoff at Stanford University in 1960.

Why does ADALINE matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ADALINE?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ADALINE.

Tags

  • Artificial neural networks

Keep exploring