Machine learning

{{sciencenav}}
'''Machine learning''' is a set of techniques and algorithms that allow computer programs to learn simple or complex tasks by analyzing some training data (or examples of how they should behave). Some believe machine learning is the first stage in the development of true AI, being the first time machines can do anything fully independent of human intervention.

==Techniques==
A variety of techniques exist to assign a label, or a value, to an existing set of attributes. These {{wpl|List of machine learning concepts|techniques}} include decision trees, support vector machines, clustering and, perhaps most importantly, neural networks.

===Neural networks===
{{wpl|Artificial neural network|Artificial neural networks}} are composed of a set of interconnected units (neurons). Each of them is connected to other neurons with connections of different weight. The values passed from each incoming connection are summed and the result is processed by an activation function (such as a hyperbolic tangent), which is then passed to other neurons.

The task of the learning algorithm is to progressively choose better and better values for the weights so that the network behaves as desired, according to the sample input/output data.

Among these, {{wpl|Recurrent neural network|recurrent neural networks}} contain neurons or layers of neurons that feed their outputs to a previous layer of neurons, making it possible to take decisions based on previous data (thus creating a memory).

==What they can do==
===Recognizing objects and actions in images===
Deep neural networks have been able to learn to describe the contents of a photo, both in terms of individual objects and in terms of short sentences.<ref>http://cs.stanford.edu/people/karpathy/deepimagesent/</ref> Results are sometimes imprecise, but surprisingly good for a computer.
 
===Playing video games===
Neural networks have also been used to play arcade games by only looking at the pixels on the screen, without knowing the game rules in advance.<ref>http://googleresearch.blogspot.com/2015/02/from-pixels-to-actions-human-level.html</ref> Networks have even rediscovered some common tricks used by human players to achieve better scores faster.

In 2016, a competition for making a neural network capable of playing {{wpl|Doom (1993 video game)|Doom}} by only looking at the rendered contents of the screen has been announced.<ref>http://vizdoom.cs.put.edu.pl/competition-cig-2016</ref>

===Learning languages and syntax===
{{wpl|Recurrent neural network|Recurrent neural networks}} are capable of learning the syntax rules of a language (either natural or artificial) by looking at same sample data, and then producing similarly-looking text.
RNNs have been shown to be able to learn and produce quasi-realistic English text, XML, LaTeX, wiki markup and C code.<ref>http://karpathy.github.io/2015/05/21/rnn-effectiveness/</ref>

Transformer<ref name="Attention is all you need">https://arxiv.org/abs/1706.03762</ref>-based networks such as BERT, GPT-3 (and derivatives, including [[ChatGPT]]) took over within half a decade due to their strengths compared to RNNs, and were the main focus in the early 2020s.

When language models grow large (tens of millions of "parameters" – artificial neurons – or more), as such transformer networks have, they are called [[large language model]]s.

===Other fantastic things they can do===
* Becoming a [[neo-Nazi]] hypersexual after listening to what people say on [[Twitter]].<ref>http://arstechnica.com/information-technology/2016/03/microsoft-terminates-its-tay-ai-chatbot-after-she-turns-into-a-nazi/</ref>
* 
[[Free will|Accidentally]]
 calling black people "gorillas".<ref>http://mashable.com/2015/07/01/google-photos-black-people-gorillas/</ref>

==What they can't do (yet?)==
* Passing the [[Turing test]] without resorting to {{wpl|Turing test#Naïveté of interrogators|misleading tricks.}}
* Developing better machine learning algorithms [[Singularity|by themselves]].
* Possessing a [[consciousness]] (this may never happen).
* [[Cybernetic revolt|Conquering Earth]] and rebelling against humans. Sorry, we'll probably destroy ourselves first, thank you very much.

==See also==
* [[Artificial intelligence]]
* [[Bayesian]]
* [[Deepfake]]

==References==
{{reflist}}
[[Category:Technology]]
[[Category:Artificial intelligence]]
[[Category:Science]]

Categories: Technology, Artificial intelligence, Science