Skip to content

Glossary

Machine learning

Machine learning is a method in which a program learns its behavior from example data rather than from rules written by hand. Google's glossary defines it as a program or system that trains a model from input data.

Updated October 17, 20263 cited facts, each traced to its source

Also called ML.

Machine learning (ML) is a way of building software whose behavior comes from data. Instead of writing a rule for every case, an engineer supplies many examples, and a training procedure adjusts a model until its outputs match them. Google's Machine Learning Glossary defines it as a program or system that trains a model from input data 1. The trained model then makes predictions about new input it has not seen before.

Training replaces hand-written rules

Imagine a program that must tell a spoken "yes" from a spoken "no". A rule-based program needs someone to list the sound patterns of each word and every exception to them. A machine learning system is shown thousands of recordings labeled with the right word. It adjusts its internal numbers, called parameters, until it gets most of them right, and then it applies what it learned to recordings it has never heard.

Three steps: data, training, prediction

  1. Collect examples with the correct answers, such as recordings paired with verified transcripts.
  2. Train the model by repeatedly comparing its output with the answer and adjusting its parameters to reduce the error.
  3. Predict on new input, such as the sentence you dictate today.

The result depends mostly on the examples. A model trained on clean studio recordings may struggle in a noisy kitchen, and a model trained mostly on one accent may miss others. That is why the same dictation software can work well for one speaker and poorly for another.

Why it matters for dictation

Modern speech recognition is machine learning. In a 2012 review, a deep neural network reduced the word error rate of an older statistical baseline from 27.4 to 18.5 percent on a Switchboard telephone task 2. That was a telephone test, not everyday dictation, but it shows why the field moved to learned models.

Machine learning also affects where your audio is processed. Apple says on-device machine learning benefits privacy because the data for inference workloads stays on the device rather than on a server 3. A cloud dictation service runs a similar kind of model on its own servers, so your audio leaves your device. When you compare dictation apps, the model's training data is hidden from you, so judge the result instead: test the same paragraph in each app and compare the errors, using word error rate.

How it relates to the other terms

Machine learning is the broad field. Generative AI refers to the models that create new content, and most of them are built with machine learning. A large language model is a very large text model trained with the same methods. Speech recognizers use machine learning to map sound to words, and the hidden Markov model was the statistical method that older recognizers used before neural networks took over.

Related terms

Guides that cover it

Evidence

Every number on this page, with where it comes from. Open a fact to see the exact words in its source.

  1. 1.
  2. 2.
  3. 3.

The data behind these numbers

Related terms

Pages that use this term