# Winner-take-all (computing)

This article includes a list of references, related reading or external links,
but its sources remain unclear because it lacks inline citations. (October 2012) |

**Winner-take-all** is a computational principle applied in computational models of neural networks by which neurons in a layer compete with each other for activation. In the classical form, only the neuron with the highest activation stays active while all other neurons shut down, however other variations that allow more than one neuron to be active do exist, for example the soft winner take-all, by which a power function is applied to the neurons.

## Neural networks

In the theory of artificial neural networks, **winner-take-all** networks are a case of competitive learning in recurrent neural networks. Output nodes in the network mutually inhibit each other, while simultaneously activating themselves through reflexive connections. After some time, only one node in the output layer will be active, namely the one corresponding to the strongest input. Thus the network uses nonlinear inhibition to pick out the largest of a set of inputs. Winner-take-all is a general computational primitive that can be implemented using different types of neural network models, including both continuous-time and spiking networks (Grossberg, 1973; Oster et al. 2009).

Winner-take-all networks are commonly used in computational models of the brain, particularly for distributed decision-making or action selection in the cortex. Important examples include hierarchical models of vision (Riesenhuber et al. 1999), and models of selective attention and recognition (Carpenter and Grossberg, 1987; Itti et al. 1998). They are also common in artificial neural networks and neuromorphic analog VLSI circuits. It has been formally proven that the winner-take-all operation is computationally powerful compared to other nonlinear operations, such as thresholding (Maass 2000).

In many practical cases, there is not only a single neuron which becomes the only active one but there are exactly *k* neurons which become active for a fixed number *k*. This principle is referred to as **k-winners-take-all**.

## Circuit example

A simple, but popular CMOS winner-take-all circuit is shown on the right. This circuit was originally proposed by Lazzaro et al. (1989) using MOS transistors biased to operate in the weak-inversion or subthreshold regime. In the particular case shown there are only two inputs (*I*_{IN,1} and *I*_{IN,2}), but the circuit can be easily extended to multiple inputs in a straightforward way. It operates on continuous-time input signals (currents) in parallel, using only two transistors per input. In addition, the bias current *I*_{BIAS} is set by a single global transistor that is common to all the inputs.

The largest of the input currents sets the common potential *V*_{C}. As a result, the corresponding output carries almost all the bias current, while the other outputs have currents that are close to zero. Thus, the circuit selects the larger of the two input currents, i.e., if *I*_{IN,1} > *I*_{IN,2}, we get *I*_{OUT,1} = *I*_{BIAS} and *I*_{OUT,2} = 0. Similarly, if *I*_{IN,2} > *I*_{IN,1}, we get *I*_{OUT,1} = 0 and *I*_{OUT,2} = *I*_{BIAS}.

A SPICE-based DC simulation of the CMOS winner-take-all circuit in the two-input case is shown on the right. As shown in the top subplot, the input *I*_{IN,1} was fixed at 6nA, while *I*_{IN,2} was linearly increased from 0 to 10nA. The bottom subplot shows the two output currents. As expected, the output corresponding to the larger of the two inputs carries the entire bias current (10nA in this case), forcing the other output current nearly to zero.

## Other uses

In **stereo matching** algorithms, following the taxonomy proposed by Scharstein et al. (IJCV 2002), winner-take-all is a local method for disparity computation. Adopting a winner-take-all strategy, the disparity associated with the minimum or maximum cost value is selected at each pixel.

It is axiomatic that in the electronic commerce market, early dominant players such as AOL or Yahoo! get most of the rewards. By 1998, one study^{[clarification needed]} found the top 5% of all web sites garnered more than 74% of all traffic.

The **winner take all hypothesis** suggests that once a technology or a firm gets ahead, it will do better and better over time, whereas lagging technology and firms will fall further behind.

## See also

## References

- G.A. Carpenter and S. Grossberg, [1] A massively parallel architecture for a self-organizing neural pattern recognition machine, "Computer Vision, Graphics, and Image Processing", "'37:54"', 1987.
- S. Grossberg, [2] Contour enhancement, short-term memory, and constancies in reverberating neural networks, "Studies in Applied Mathematics", "'52:213"', 1973.
- M. Oster, R. Douglas and S.-C. Liu, Computation with spikes in a winner-take-all network,
*Neural Computation*,**21:9**, 2009. - M. Riesenhuber and T. Poggio, Hierarchical models of object recognition in cortex,
*Nature Neuroscience*,**2:11**, 1999. - L. Itti, C. Koch and E. Niebur, A model of saliency-based visual attention for rapid scene analysis,
*IEEE Transactions on Pattern Analysis and Machine Intelligence*,**20:11**, 1998. - W. Maass, On the computational power of winner-take-all,
*Neural Computation*,**12:11**, 2000. - J. Lazzaro, S. Ryckebusch, M. A. Mahowald and C. A. Mead, Winner-take-all networks of O(N) complexity, in Advances in Neural Information Processing Systems 1, Morgan Kaufmann Publishers, San Francisco, CA, 1989. Also available online at John Lazzaro's website.
- CMOS winner-take-all circuits: A tutorial article on various types of winner-take-all transistor-level circuits fabricated in the CMOS technology.
- D. Scharstein, R. Szeliski, A taxonomy and evaluation of dense two-frame stereo correspondence algorithms,
*International Journal of Computer Vision*,**47:1**, 2002.