learn/ways of learning
Zero-shot
Zero-shot means using a model on a task straight away, without first showing it any worked examples of that task.
What it is
Most machine learning works by example. A model is shown many cases where the answer is already known, and it adjusts itself until it gets them right. That adjusting is called training. Zero-shot use skips it. The model is taken as it comes, after whatever general training it already had, and pointed at the new job. For a language model, a program that reads and writes text, this usually means writing an instruction and reading off the answer. For a model that predicts protein shapes or finds objects in images, it means running the model on new data with its settings left as the maker shipped them.
The word shot refers to the examples. One-shot means a single example is supplied, few-shot a handful. Zero-shot means none at all, so the model must rely on patterns picked up during its earlier, broader training and on how clearly the request is phrased. In practice researchers often chain instructions instead: one request to pull out what is wanted, then further requests that check or tidy the result, each still given without examples.
Why scientists use it
The appeal is cost. Building a training set means someone must label a large number of cases correctly, which is slow, expensive and needs people who know the field. Many scientific questions are too narrow or too new for such a set to exist. Zero-shot use stands in for that missing labelled data. It also lets one general model serve many jobs: the same text model can read sentences from chemistry papers, and the same shape-prediction model can be run across thousands of unrelated sequences.
It is useful as a starting point too. A zero-shot result can be good enough for a rough pass, a filter, or a set of features fed into later analysis, even where it would not be trusted as a final answer. And because nothing is fitted to the data in hand, there is no risk of the model having quietly memorised the very cases it is later asked about.
In the record
Limits
Without examples, a model has no way of learning the conventions of a particular field, dataset or instrument, so it can misread unusual wording, odd units or edge cases that a trained model would handle. Accuracy is generally lower than fitting to good labelled data, and it varies with how the request is phrased, which makes results harder to reproduce. The model also gives no honest signal of when it is out of its depth, so zero-shot output usually needs checking, filtering or a human eye before it is relied on.
Written by AIxSci: the background from general knowledge, the examples from checked records.
Every article
aix-00210
Language models suggest ingredients and firing temperatures for inorganic materials recipes
aix-00162
Software splits coiled-coil proteins into short windows for AlphaFold to model
aix-00169
AlphaFold's confidence scores used to predict which disordered protein segments bind LC8
aix-00145
Repeating-coil proteins designed from random sequences using AlphaFold2 in an evolution loop
aix-00140
Model labels which protein residues are active sites and what job they do
aix-00180
Teaching protein language models to rank mutants from a few dozen lab measurements
aix-00189
Benchmarking AI tools that predict and design peptides for cell-surface receptors
aix-00190
A transformer model segments cryo-electron tomograms from three viewing directions at once
aix-00126
Pretrained potentials give a structure search a head start in finding atomic arrangements
aix-00115
A shared test set for predicting which enzyme carries out a reaction
aix-00096
Two protein design models redesigned T cell receptor contact points on solved structures
aix-00089
Neural networks trained on atomic surroundings score how mutations change proteins
aix-00063
Adding a term for the unfolded protein sharpens AI stability predictions
aix-00061
A search engine for radio galaxy shapes, built on a fine-tuned image-text model
aix-00035
GPT-4 reads band gap values from paper sentences to train better predictors
aix-00020
Neural network sifts Kepler signals and validates 301 new exoplanets
aix-00003
Researchers map the sixteen-part Commander complex using crystals, cryo-EM and AlphaFold2
aix-00001