Natural language processing
Computers processing human language: tokenisation, tagging, translation, question answering and generation.
Edited by Alex C, EduAlx · Sources cited below
Explanation
Early NLP used rules and statistical n-gram models. Word embeddings (word2vec, 2013) represent words as vectors where similar words are close. Sequence-to-sequence RNNs with attention improved translation; transformers (2017) and pretrained models (BERT, GPT) now dominate.
Example
How it works, step by step
- Tokenise text
- Map tokens to vectors
- Model context (RNN or transformer)
- Predict labels or next tokens
- Evaluate with metrics such as BLEU or accuracy
Open the interactive page with diagrams →
People behind it
- Noam Chomsky
- Tomas Mikolov
- Christopher Manning
- Ashish Vaswani, Artificial intelligence, India / USA: Lead author of 'Attention Is All You Need' (2017), introducing the transformer, while at Google Brain.
References
- T. Mikolov et al., arXiv:1301.3781, 2013.
- J. Devlin et al., Proc. NAACL 2019, 4171–4186.
Textbooks
- Deep Learning, Ian Goodfellow, Yoshua Bengio, Aaron Courville (MIT Press, 2016; free online). Foundational deep learning text.
- Artificial Intelligence: A Modern Approach, Stuart Russell, Peter Norvig (Pearson, 4th ed. 2020). The standard AI text.
Related topics
Reinforcement learningComputer vision and convolutional neural networksMachine learningArtificial intelligence: search and the Turing testNeural networks and backpropagationTransformers and large language modelsDecision trees and ensemble methodsSearch engines and PageRankClustering and unsupervised learningWeb development: front end and back end