Machine Learning

Recurrent Neural Network

A type of neural network designed for sequential data where the output at each step depends on previous steps. RNNs have a form of memory that allows them to process sequences like text, time series, and audio.

Why It Matters

RNNs were pivotal in advancing NLP and time-series analysis before transformers. Understanding them provides context for why transformers were such a breakthrough.

Example

A language model using an RNN to predict the next word in a sentence by considering all the words that came before it.

Think of it like...

Like reading a book where your understanding of each sentence depends on remembering what you read in previous sentences — context builds over time.

Related Terms