learn/model families
Recurrent neural network
A recurrent neural network is a learning model that reads a sequence one step at a time and carries a running memory of what it has already seen into the next step.
What it is
Most learning models take a fixed bundle of numbers and return an answer. A recurrent neural network instead works through a sequence, such as a run of measurements over time or the letters in a chemical formula. At each step it combines the new item with a store of numbers it is already holding, called its state, and updates that state. The state is the model's memory: it is the only route by which earlier parts of the sequence can affect later ones. After the last step, the final state, or the whole run of states, is passed on to another part of the model that produces the prediction.
Plain recurrent networks tend to forget the distant past, because repeated updating either washes the old state out or lets it grow out of control. Common variants, with names such as LSTM and GRU, add small learned gates that decide at each step what to keep, what to overwrite and what to let through. Some versions also handle sequences with gaps, where measurements arrive at uneven times or are missing altogether, by letting the state decay as time passes. The weights are the same at every step, so one trained model can read sequences of any length.
Why scientists use it
Scientists reach for these models when order and history carry the meaning. A brightness measurement from a distant object tells you little on its own; its place in a long record of rises and falls tells you much more. The same is true of a written chemical structure, where which atom follows which is the structure. A recurrent network is a way of turning such a sequence into a compact summary that a later stage can use, without the researcher having to decide in advance which stretches of the sequence matter. It stands in for hand-built summaries of a time series, such as averages or chosen peaks, which fix those choices up front.
In the record
Limits
The memory is a fixed pot of numbers, so long sequences still lose detail, and gates only soften the loss. Reading strictly in order makes training slow, because the steps cannot be done at once. The model learns which parts of a sequence matter from the training data alone, so it can latch onto an artefact of how the data were gathered rather than the process under study, and nothing in the state says which it did. The summary it produces is not interpretable: you cannot read off what the model remembered, or why.
Written by AIxSci: the background from general knowledge, the examples from checked records.
By field
- Recurrent neural networks in structural biology and protein science
- Recurrent neural networks in materials and computational chemistry
- Recurrent neural networks in astronomy and astrophysics
- Recurrent neural networks in weather, climate and oceans
Every article
aix-00285
Neural network forecasts freak waves minutes ahead from a single buoy's record
aix-00286
AI fills gaps in river temperature records to track overlapping heatwaves
aix-00282
Neural network trained on a decade of records forecasts typhoon strength and position
aix-00294
Neural network trained on simple equations spots tipping points in real data
aix-00298
Generative AI model forecasts UK rainfall 90 minutes ahead from radar images
aix-00273
Deep learning model flags bacterial proteins likely to drive infection
aix-00254
Neural networks read a fast radio burst's dispersion straight from its spectrum
aix-00153
Neural networks pick amino acid sequences for short peptides in protein binding sites
aix-00152
Neural networks trained to find the cutting site on serpin proteins
aix-00138
AI-labelled protein pairs used to test how well function predictors handle unknown proteins
aix-00181
Protein language model embeddings used to predict succinylation sites in proteins
aix-00184
Machine learning scores short protein stretches that mark proteins for destruction
aix-00129
Neural networks sort supernovae and estimate their distances from brightness alone
aix-00110
Deep learning trained on robotic peptide mapping predicts where antibody proteins degrade
aix-00058
Deep-learning model designs petrol blends from octane and soot targets
aix-00050
Machine learning tool flags protein helices likely to bind DNA or RNA
aix-00049
Eight machine learning methods sorted supernova gravitational wave signals by nuclear physics model
aix-00045
Neural network reads simulated quasar light curves to estimate black hole properties
aix-00036