Representation learning
Representation learning is the set of machine learning techniques in which a system works out for itself, from raw data, which features or internal descriptions of that data are useful.
A machine learning model never sees a photo or a sentence as such. It sees numbers, and how those numbers describe the input matters enormously. For decades engineers designed those descriptions by hand, a job called feature engineering: edge detectors for images, word counts for documents. Representation learning, also called feature learning, lets the system discover useful descriptions directly from raw data, replacing much of that manual work.
The idea was set out influentially by Yoshua Bengio, Aaron Courville and Pascal Vincent in a 2012 review, Representation Learning: A Review and New Perspectives. They argued that how well a model performs depends heavily on its representation, because a good one makes the underlying factors in the data easier to pick out. Deep neural networks are representation learners by design: each layer turns the output of the one below into a more abstract description.
A concrete example is word2vec, published by Tomas Mikolov and colleagues in 2013. It learned a list of numbers for each word by looking at which words appear near each other, training on a 1.6 billion word dataset in under a day. Words with related meanings ended up with similar vectors. In vision, a 2014 study by Jason Yosinski and colleagues found that the first layer of image networks learns general features, such as edge-like filters and colour blobs, while higher layers become specific to the task they were trained on.
Representations can be learned with labels (supervised), without them (unsupervised), or by setting puzzles built from the data itself, such as predicting a hidden word (self-supervised). The embeddings used in search and retrieval systems today are learned representations, and so are the internal activations of large language models. Their practical value is that a representation learned on one large dataset can be reused for many other tasks, which is the basis of transfer learning and of foundation models.
In feature engineering, people decide by hand which measurements of the data a model should use. In representation learning, the model learns those features from the data itself. Representation learning has largely replaced hand-built features for images, audio and text, though feature engineering remains common for tabular business data. Yes. An embedding is a learned list of numbers that represents a word, sentence, image or other item so that similar items sit close together. Training a model to produce useful embeddings is a direct example of representation learning. Not exactly, but they overlap heavily. Deep learning refers to neural networks with many layers, and those layers learn successively more abstract representations of the input. Representation learning is the broader goal, which can also be pursued with other methods such as clustering or matrix factorisation.Common questions
What is the difference between representation learning and feature engineering?
Are embeddings a form of representation learning?
Is deep learning the same as representation learning?
Search for "representation learning", "feature learning" or "learned embeddings" to find introductions and research. The review by Bengio, Courville and Vincent on arXiv is a standard starting point, and university course notes on deep learning cover the topic well. Look for sources that show how a representation was tested on real tasks rather than simply describing it as meaningful.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.