Architectures
Network designs such as the Transformer: background, theory, and implementation.
ALBERTALBERT is a language model that drastically reduces the parameters of BERT by factorizing the embeddings into a smaller dimension and sharing weights across all layers. With the same shape as BERT-Large it has about 1/18 of the parameters, and a wider model built with the savings, combined with sentence-order prediction, achieved state-of-the-art results at the time on GLUE, SQuAD, and RACE.
AlexNetAlexNet is a CNN of 5 convolutional layers and 3 fully connected layers, trained on the 1.2 million images of ImageNet using ReLU, dropout, data augmentation, and two GPUs. At ILSVRC 2012, an image recognition competition, it achieved a top-5 error rate of 15.3% and won by a wide margin over the second-place 26.2%.
AutoencoderAn autoencoder is a neural network trained to compress its input into a small code with an encoder and to reconstruct the input from that code with a decoder. It extracts the important features of data without labels and is used for dimensionality reduction, feature learning, and similarity search.
AutoformerAutoformer is a long-term forecasting model that builds series decomposition into trend and seasonal parts into every encoder and decoder layer, and replaces attention with auto-correlation, which aggregates sub-series shifted by a period. Its complexity is O(L log L), and it lowered MSE by 38% on average relative to the previous best on six benchmarks.
BARTBART is a language model pretrained by corrupting documents, for example by masking spans or shuffling sentence order, and having an encoder-decoder Transformer rewrite the original document. It matches RoBERTa on classification while achieving state-of-the-art results at the time on summarization, dialogue, and abstractive question answering.
BEiTBEiT is a BERT-style self-supervised pre-training method that masks about 40% of an image's patches in blocks, feeds the image to a ViT, and has the model predict the visual tokens at the masked positions (codes from 8,192 classes produced by a pre-trained image tokenizer). A ViT-B pre-trained only on unlabeled ImageNet reaches 83.2% after fine-tuning (84.6% at 384×384).
BERTBERT is a language model that stacks only Transformer encoders and is pre-trained with a "masked language model," which predicts hidden words from the context on both sides, and "next sentence prediction." Simply adding one output layer and fine-tuning produced state-of-the-art results on 11 natural language processing tasks at the time.
Bidirectional RNNA bidirectional RNN places an RNN that reads a sequence from the start alongside an RNN that reads it from the end, and computes the output at each time step from both hidden states. Because it uses both past and future context without delaying the output, it improves accuracy on tasks where the whole sequence is available, such as phoneme classification and part-of-speech tagging.
BigVGANBigVGAN is a GAN vocoder that replaces the activation functions in the HiFi-GAN generator with a combination of the periodic Snake function and a filter that removes high frequencies, and scales the model up to 112 million parameters. Trained only on clean English speech (LibriTTS), it produces high-quality waveforms without fine-tuning even for unseen languages, noisy recordings, singing voices, and musical instruments.
C3DC3D is a network that stacks eight layers of 3 × 3 × 3 3D convolutions, which convolve along time as well as height and width, to learn appearance and motion jointly from 16-frame clips. Its intermediate outputs serve as general-purpose video features, and simply attaching a linear classifier to them achieved state-of-the-art accuracy at the time on many tasks, including action recognition.
ChinchillaChinchilla is a 70-billion-parameter language model built on the analysis that, for a fixed training compute budget, model size and the number of training tokens should be scaled in equal proportion. Using the same compute as Gopher, a model one quarter the size was trained on 1.4 trillion tokens, and it outperformed Gopher and GPT-3 on most tasks.
ChronosChronos is a pre-trained probabilistic time series forecasting model that turns time series values into "tokens" by dividing them by their mean and binning them, and then trains a language model such as T5 as is on next-token classification. On 27 datasets not used in training, it achieved zero-shot accuracy on par with deep learning models trained on each dataset.
CLIPCLIP is a model that jointly trains an image encoder and a text encoder on 400 million image-caption pairs collected from the internet, using contrastive learning to predict which image goes with which text. Simply turning class names into sentences lets it classify datasets it was never trained on (zero-shot), and it reached 76.2% accuracy on ImageNet without using any ImageNet training data.
ConformerConformer is a speech recognition encoder that builds a convolution module into the Transformer block, capturing relations to distant time steps in speech with self-attention and fine local features with convolution. It reached word error rates of 1.9 / 3.9% (with a language model) on LibriSpeech, and even a small 10M-parameter model achieved high accuracy.
ConvNeXtConvNeXt is a purely convolutional model obtained by moving a standard ResNet step by step toward the design of vision Transformers (a patchify stem, 7×7 depthwise convolution, inverted bottleneck, GELU and layer normalization, and more). Without any attention, it matches or exceeds Swin Transformer at the same compute on classification, detection, and segmentation.
Convolutional Neural Network (CNN)A CNN (convolutional neural network) is a neural network that stacks convolutional layers, which slide small kernels over an image and multiply them with it, and pooling layers, which reduce the height and width. Local receptive fields and weight sharing build the properties of images into the architecture, so it can learn from images efficiently with few parameters.
CrossformerCrossformer is a long-horizon forecasting model that embeds a multivariate time series into per-variable segments and captures both the relations between time steps and the relations between variables with a two-stage attention split into a time direction and a variable direction. The variable direction goes through a small number of routers to keep the cost down, and the model was best in 36 of 58 settings across six benchmarks.
DCGANDCGAN builds the generator and discriminator of a GAN as convolutional networks without pooling or fully connected hidden layers, and stabilizes training with rules such as batch normalization. It generates images stably, and the features learned by its discriminator can also be used for image classification.
DDIMDDIM is a method that generates images quickly by reusing a trained DDPM as is and skipping generation steps while going back deterministically without adding random noise. With 20-100 steps it reaches quality close to a 1000-step DDPM and runs 10-50 times faster in wall-clock time.
DDPMDDPM (Denoising Diffusion Probabilistic Models) is a generative model that creates images by using a neural network to reverse, one step at a time, a process that gradually adds noise to an image. It trains stably with a simple squared error that has the network predict the added noise, and it showed high image quality with an FID of 3.17 on CIFAR-10.
DeBERTaDeBERTa improves BERT with "disentangled attention," which keeps the content and relative position of each word in separate vectors, and an "enhanced mask decoder" that adds absolute positions at the end. With about half of RoBERTa's training data it outperforms RoBERTa on GLUE, SQuAD, and RACE, and its 1.5-billion-parameter version was the first to surpass the human score on SuperGLUE.
Decision TransformerDecision Transformer is a model that treats a reinforcement learning trajectory as a sequence of "return-to-go, state, action" tokens and predicts the next action with a causally masked Transformer like GPT. Without learning a value function, it obtains policies from offline data that match TD learning, and it is especially strong on tasks where rewards arrive late.
Deep Speech 2Deep Speech 2 is Baidu's end-to-end speech recognition model that passes a spectrogram through convolutions and a deep bidirectional RNN and outputs characters directly with CTC. It trains deep models stably with sequence-wise batch normalization and SortaGrad, and with about 10,000 hours of speech it approached the accuracy of human transcribers in both English and Mandarin.
DeepARDeepAR is a model that trains a single LSTM jointly on many related time series and forecasts the values of the forecast window as a probability distribution, sampling one step at a time. On data such as Amazon sales, it improved accuracy by about 15% over the strongest previous methods, and it can give forecast ranges even for items with short histories.
DeepLab v3DeepLab v3 is a semantic segmentation method that replaces downsampling in the later stages of an image classification network with atrous convolution to keep feature maps at high resolution, and gathers context for objects of various sizes with ASPP, which runs convolutions at different atrous rates in parallel with image-level features. Without CRF post-processing, it reaches 85.7% mIoU on the PASCAL VOC 2012 test set.
DeepLab v3+DeepLab v3+ is a semantic segmentation method that uses DeepLab v3 as an encoder and adds a simple decoder that refines its output together with low-level features at 1/4 of the image resolution. Atrous separable convolution and Xception keep the computation low while sharpening object boundaries, and it reaches 89.0% mIoU on the PASCAL VOC 2012 test set without post-processing.
DeiTDeiT is an image Transformer that keeps the ViT architecture unchanged but, through a training recipe with strong data augmentation and regularization plus a "distillation token" that targets the predictions of a CNN teacher, matches CNN accuracy using ImageNet alone. DeiT-B reaches 81.8% accuracy, and up to 85.2% with distillation, after a few days of training on a single machine.
DenseNetDenseNet is a CNN in which each layer inside a block receives the outputs of all preceding layers concatenated along the channel dimension. Because earlier features can be reused as they are, each layer can be kept narrow, and it matches the accuracy of ResNet with about one third of the parameters.
DETRDETR is an object detection method that passes CNN features through a Transformer encoder-decoder and outputs the set of detections at once from a fixed number of object queries. Because it is trained by matching predictions to ground truth one-to-one with bipartite matching, it needs neither anchors nor non-maximum suppression, and it matches the accuracy of a well-tuned Faster R-CNN on COCO.
DistilBERTDistilBERT is a language model with half the layers of BERT-base, obtained by knowledge distillation during pretraining with a pretrained BERT-base as the teacher. It has 40% fewer parameters and runs inference 60% faster while retaining 97% of BERT-base's performance on GLUE.
DiTDiT (Diffusion Transformer) replaces the noise-predicting network of a latent diffusion model, previously a U-Net, with a Transformer built like ViT. Image quality improves steadily as computation increases, and the largest model, DiT-XL/2, achieved an FID of 2.27 on class-conditional ImageNet 256 × 256 generation.
DLinearDLinear is a long-term forecasting model that splits the look-back window into a trend and a remainder with a moving average, applies one linear layer along the time axis to each, and adds the results. On nine benchmarks it beat most Transformer-based models of its time by 20–50%, and it has since become the standard baseline in time series forecasting.
EfficientNetEfficientNet is a family of convolutional neural networks built by taking a small searched model, B0, and scaling it up to B1–B7 with "compound scaling," which grows network depth, width, and input resolution together at fixed ratios set by a single coefficient. On ImageNet it matches the accuracy of other models with roughly an order of magnitude fewer parameters and less computation.
EfficientNetV2EfficientNetV2 is the successor to EfficientNet, redesigned through an architecture search that targets both training speed and parameter count, so that its early stages use Fused-MBConv. Combined with "progressive learning," which enlarges the images step by step while strengthening regularization, it matches the ImageNet accuracy of EfficientNet-B7 with roughly one eleventh of the training time.
ELECTRAELECTRA is a language model pre-trained on a task in which a small masked language model replaces some words with plausible alternatives and the main model predicts, at every position, whether the word was replaced. Because it learns from every position rather than only the 15% that were masked, it outperforms BERT at the same compute.
Elman Network (Simple RNN)The Elman network is the simplest RNN: it just feeds the hidden layer's values back as input at the next time step. By carrying information from earlier time steps forward in a hidden state, it showed that a network can learn the temporal structure of sequences, and it became the foundation for later RNNs such as LSTM and GRU.
EnCodecEnCodec is a neural audio codec that turns audio into a low-bitrate sequence of indices using a convolutional and LSTM encoder-decoder with residual vector quantization. It reduces the discriminators to a single multi-scale STFT discriminator and stabilizes training with a balancer that sets loss weights as shares of the gradient, and at 24 kHz and 3 kbps it scored higher in listening tests than Opus at 12 kbps.
Faster R-CNNFaster R-CNN is an object detection method that generates candidate object regions with a small network (the RPN) that shares convolutional layers with the detector. It makes proposal computation nearly free, running at 0.2 seconds per image (5 fps) with VGG-16, about 9× faster than with Selective Search, while also improving accuracy.
FastSpeechFastSpeech is a non-autoregressive speech synthesis model that predicts the duration of each phoneme and stretches the phoneme representations by repeating them for that duration, generating all mel-spectrogram frames in parallel. With nearly the same quality as autoregressive Transformer TTS (MOS 3.84 vs. 3.88), it generates mel-spectrograms about 270× faster and eliminates word skipping and repetition on difficult sentences.
FastSpeech 2FastSpeech 2 is a non-autoregressive text-to-speech model that drops FastSpeech's teacher model and knowledge distillation, trains directly on real mel spectrograms, and predicts not only phoneme durations but also pitch and energy, adding them to its input. It cut training time to about one third and outperformed FastSpeech and autoregressive models in MOS.
Feature Pyramid Network (FPN)FPN (Feature Pyramid Network) is an architecture that takes the feature maps of different resolutions inside a CNN, upsamples them from the top level down and adds them together, producing a pyramid of semantically strong features at every resolution. Added to Faster R-CNN, it substantially improved accuracy on small objects with little extra computation.
FEDformerFEDformer is a long-term forecasting model that builds on Autoformer's design of forecasting while splitting series into trend and seasonal parts, adding components that apply a Fourier (or wavelet) transform to the series and work only on a randomly selected subset of frequency components. Its complexity grows linearly with sequence length, and it reduced error relative to Autoformer by 14.8% in multivariate and 22.6% in univariate forecasting.
Fully Convolutional Network (FCN)FCN (Fully Convolutional Network) is a semantic segmentation method that replaces the fully connected layers of an image classification network with convolutions and upsamples inside the network to output a per-pixel class map at the same size as the input. A skip architecture that sums predictions from deep and shallow layers recovers fine detail, reaching 62.2% mean IU on PASCAL VOC 2012, a 20% relative improvement over previous methods.
Gated Recurrent Unit (GRU)GRU is an RNN that uses two gates, an update gate and a reset gate, to decide how much of the hidden state to keep and how much to renew. It has fewer parts and lighter computation than LSTM, yet it can learn long-range dependencies that are hard for a simple RNN, and it performs close to LSTM on many tasks.
GemmaGemma is a family of 2-billion and 7-billion-parameter language models released by Google DeepMind in 2024, built from Gemini research and technology. It combines a LLaMA-style decoder with GeGLU, a large shared 256k-token embedding, and multi-query attention in the 2B model, and it outperformed open models of similar size on 11 of 18 benchmarks.
Generative Adversarial Network (GAN)A GAN (generative adversarial network) is a generative model trained by pitting a generator, which turns random noise into data, against a discriminator, which tells real data from fake. It trains with backpropagation alone, and once trained it produces data resembling the training set simply by passing noise through the generator.
GhostNetGhostNet is a lightweight convolutional neural network built by stacking "Ghost modules," which produce only half of a convolution's output with an ordinary convolution and generate the rest by cheaply transforming that half with depthwise convolutions. On ImageNet it achieves 0.5 points higher accuracy than MobileNetV3 at about the same computational cost.
GlowGlow is a generative model (normalizing flow) that stacks many "flow steps," each made of actnorm, an invertible 1×1 convolution, and an affine coupling layer, to map images invertibly to Gaussian noise. By replacing RealNVP's fixed channel permutation with a learned 1×1 convolution, it improved log-likelihood and made it possible to generate and edit attributes of 256 × 256 face images.
Glow-TTSGlow-TTS is a non-autoregressive text-to-speech model that uses a normalizing-flow decoder to map mel spectrograms to latent variables and learns while finding, by itself, the most likely monotonic alignment with the text via dynamic programming (monotonic alignment search). It trains without an external aligner or teacher model and generates speech about 15.7 times faster than Tacotron 2 with comparable quality.
gMLPgMLP is an MLP model that mixes information across tokens with a "Spatial Gating Unit (SGU)," which uses the output of a linear layer along the token dimension as a multiplicative gate in place of self-attention. It performs about as well as DeiT on ImageNet classification and as well as a Transformer under BERT-style pretraining.
GoogLeNet (Inception)GoogLeNet is a 22-layer CNN built by stacking Inception modules, which place convolutions and pooling of different sizes side by side and combine their outputs. It keeps computation down by reducing the number of channels with 1×1 convolutions, and took first place in ILSVRC-2014 image classification (top-5 error rate 6.67%) with one twelfth of AlexNet's parameters.
GopherGopher is a language model that scales a GPT-2-style decoder-only Transformer up to 280 billion parameters and trains it on English text collected with an emphasis on quality. Studying the effect of scale across 152 tasks, it showed that knowledge and reading comprehension improve greatly with size, while mathematics and logical reasoning improve much less.
GPT (Generative Pre-Training)GPT is a method that pre-trains a model of 12 stacked Transformer decoder layers on unlabeled text by next-word prediction and then fine-tunes it for each task. Simply rearranging the input into a single token sequence lets it be used for many tasks, and it achieved state-of-the-art results at the time on 9 of 12 tasks.
GPT-2GPT-2 is a language model that scales the same decoder-only Transformer as GPT up to 1.5 billion parameters and is trained only on next-word prediction over web text (WebText). Without any fine-tuning, simply instructing it in text, it achieved state-of-the-art results at the time on 7 of 8 language modeling datasets.
GPT-3GPT-3 is a language model that scales a decoder-only Transformer, nearly identical to GPT-2, up to 175 billion parameters. It showed that simply writing a few examples of a task into the input text lets the model solve translation, question answering, arithmetic, and more without updating its weights (in-context learning).
Graph Attention Network (GAT)GAT (Graph Attention Network) is a graph neural network that computes, with attention over a node's own features and those of its neighbors, the weights used to aggregate features from neighboring nodes. Because it can weigh each neighbor differently, it improves accuracy at about the same computational cost as GCN, and it applies as is to graphs not seen during training.
Graph Convolutional Network (GCN)A GCN (Graph Convolutional Network) stacks layers that average each node's features with those of its neighbors, normalized by degree, and then apply a weight matrix shared by all nodes. By using the graph structure and node features together, it clearly outperformed earlier methods on node classification in citation networks with very few labels.
Graph Isomorphism Network (GIN)GIN (Graph Isomorphism Network) is a graph neural network that stacks layers which scale a node's own features by (1 + ε), add its neighbors' features as they are, and pass the result through an MLP. It was proven to be the most expressive of the neighbor-aggregation approaches, distinguishing exactly as many graphs as the Weisfeiler-Lehman procedure, and it achieved high accuracy on graph classification.
GraphSAGEGraphSAGE is a model that builds node embeddings by repeatedly sampling a fixed number of neighbors, aggregating their features, concatenating the result with the node's own features, and passing it through a fully connected layer. Because it learns a function that produces embeddings rather than a vector per node, it can be applied directly to nodes unseen during training and even to other graphs.
HiFi-GANHiFi-GAN is a GAN vocoder that produces high-quality waveforms from mel spectrograms, using a discriminator that reshapes the waveform by period (MPD) and a generator with parallel residual blocks of different receptive fields (MRF). On LJ Speech it narrows the MOS gap to human recordings to 0.09 and synthesizes speech about 168 times faster than real time on a GPU.
Highway NetworksHighway Networks make each layer's output a weighted sum of a transformed value and the input itself, with the proportion set by a learned gate. By initializing the gate bias to a negative value so that the input is easily carried through, the paper showed that networks deeper than 100 layers can be trained with plain SGD.
HuBERTHuBERT is a speech model pre-trained by clustering untranscribed speech with k-means to create pseudo-labels and then predicting the labels of masked segments, as in BERT. Training while rebuilding the labels with the trained model, it matched or surpassed wav2vec 2.0 in word error rate in every fine-tuning setting.
HyenaHyena is an operator that replaces attention by interleaving convolutions as long as the input, built by a small FFN, with element-wise gates determined by the input. It runs in O(L log L) with the FFT, matches Transformers on language modeling without mixing in attention, and is about 100 times faster than FlashAttention at length 64,000.
I3DI3D is a video recognition model that inflates the filters and pooling of an image-classification 2D CNN (Inception-v1) along the time axis into 3D, and also reuses the weights trained on ImageNet. Used with two streams, RGB and optical flow, and combined with pre-training on Kinetics, it achieved 98.0% on UCF-101 and 80.9% on HMDB-51.
InformerInformer is a model that makes the Transformer usable for long time-series forecasting through ProbSparse self-attention, which computes attention only for important queries; distilling, which halves the sequence at each layer; and a decoder that outputs the future window in one pass. It keeps computation and memory at O(L log L) and forecast further ahead more stably than LSTM and DeepAR on ETT and other datasets.
iTransformeriTransformer is a long-term forecasting model that reuses the Transformer encoder's components as they are and switches the tokens from "time steps" to "variables." It turns the entire past window of one variable into a single token, learns relationships between variables with attention and change over time with the feed-forward layer, and achieved the best accuracy of its time on datasets with many variables, such as electricity and traffic.
JasperJasper is NVIDIA's end-to-end speech recognition model that stacks only 1D convolution, batch normalization, ReLU, dropout, and residual connections, up to 54 layers, and outputs characters directly with CTC. Because it uses no RNN, it runs fast on GPUs, and it achieved a word error rate of 2.95% on LibriSpeech test-clean (with an external language model).
Latent Diffusion (Stable Diffusion)Latent Diffusion is a method that compresses images into a small latent representation with an autoencoder and trains and samples a diffusion model in that latent space. It greatly reduces computation with almost no loss in image quality and can generate images from conditions such as text via cross-attention. It is the basis of Stable Diffusion, which generates images from text.
LeNet-5LeNet-5 is a CNN for handwritten character recognition that alternates convolutional and subsampling layers and ends with fully connected layers. Local receptive fields and weight sharing keep its trainable parameters to about 60,000, and it achieved a test error rate of 0.95% on MNIST (0.8% with training data augmented by distortions).
LGSS (Movie Scene Segmentation)LGSS is a method that decides which shot boundaries in a movie are scene boundaries, using four cues (place, cast, action, and audio) in three stages, from the vicinity of a shot to the whole movie. On MovieScenes, it raised AP from 28.1 for the previous best method to 47.1.
LightSpeechLightSpeech is a lightweight, fast text-to-speech model that analyzes the heavy parts of FastSpeech 2, builds a search space containing only lightweight operation candidates, and determines the encoder and decoder shapes automatically with neural architecture search (NAS). It keeps audio quality on par with FastSpeech 2 while cutting parameters to 1/15 (1.8M) and making CPU inference 6.5 times faster.
Listen, Attend and SpellListen, Attend and Spell (LAS) is an encoder-decoder model for speech recognition: a pyramidal bidirectional LSTM compresses the audio into a short sequence of features, and an attention-based LSTM reads those features to emit characters one at a time. It learns without assuming characters are independent, and reached a 14.1% word error rate on Google voice search without any dictionary or language model.
LLaMALLaMA is a family of language models with 7 to 65 billion parameters released by Meta AI in 2023. It adds three modifications to the Transformer decoder (RMSNorm, SwiGLU, and RoPE) and is trained on 1.0 to 1.4 trillion tokens of publicly available data only. By training smaller models for longer, LLaMA-13B outperforms GPT-3, which is more than 10 times larger, on most benchmarks.
Llama 2Llama 2 is a family of language models with 7 to 70 billion parameters released by Meta in 2023. It inherits the LLaMA architecture, is trained on 2 trillion tokens, extends the context to 4096 tokens, and adds GQA to the larger models. The chat model, Llama 2-Chat, is tuned with SFT and reinforcement learning from human preferences (RLHF), and scored on par with ChatGPT in human evaluations.
Long Short-Term Memory (LSTM)LSTM is an RNN with a memory cell that holds information for a long time and three gates that control writing, reading, and forgetting. It creates a path along which the error travels back in time without shrinking, allowing it to learn dependencies more than 1000 steps apart that simple RNNs could not learn.
MambaMamba is a sequence model built on a "selective SSM" that computes the Δ, B, and C of a state space model from the input, so it can choose what to remember and what to ignore depending on the content. Without any attention, it outperforms Transformers of the same size in language modeling while combining computation linear in sequence length with about 5× higher generation throughput.
Mamba-2Mamba-2 is a sequence model built on the SSD layer, which restricts the state decay of Mamba's selective SSM to a scalar so that the SSM can also be computed as "linear attention with a decay mask". Because it splits the sequence into chunks and computes them with matrix multiplications, it is 2–8× faster than Mamba, and as a language model it matches or exceeds Mamba and Transformers.
Mask R-CNNMask R-CNN is an instance segmentation method that adds, in parallel, a branch to Faster R-CNN that outputs the shape (mask) of the object in each region proposal, combined with RoIAlign, which removes misalignment. On COCO, a single model outperforms the previous competition winners, and it also improves box detection accuracy.
Matcha-TTSMatcha-TTS is a non-autoregressive text-to-speech model that learns, with optimal-transport conditional flow matching (OT-CFM), a vector field that follows straight paths from noise to mel spectrograms. It produces high-quality speech in fewer steps (2–10) than diffusion models, and among the models compared it had the lowest training memory and the highest MOS.
MelGANMelGAN is a vocoder that trains a convolutional generator, which produces waveforms from mel spectrograms, as a GAN with discriminators at three scales and feature matching. With only 4.26 M parameters, it generates speech more than 100 times faster than real time on a GPU.
Mistral 7BMistral 7B is a 7-billion-parameter language model released by Mistral AI in 2023. It adds grouped-query attention (GQA) and sliding window attention, which looks only at the preceding 4096 tokens, to a LLaMA-style decoder to make inference faster and lighter, and it outperformed Llama 2 13B, nearly twice its size, on every benchmark.
MixtralMixtral (Mixtral 8x7B) is a language model released by Mistral AI in 2024. It replaces the feed-forward block in every layer of Mistral 7B with a mixture-of-experts (MoE) layer that picks 2 of 8 experts for each token. The model has 47 billion parameters in total but uses only 13 billion to process each token, and it matches or exceeds Llama 2 70B and GPT-3.5.
MLP-MixerMLP-Mixer is an image classification architecture built only from MLPs (fully connected layers), using neither convolution nor attention.
MnasNetMnasNet is a lightweight convolutional neural network found by reinforcement-learning-based neural architecture search that includes latency measured on a real smartphone in its reward and chooses the layer type block by block. On ImageNet it is 3.2 points more accurate than MobileNetV2 at nearly the same latency.
MobileNetMobileNet is a lightweight convolutional neural network for smartphones and similar devices that replaces standard convolutions with depthwise separable convolutions. It reaches nearly the same ImageNet accuracy as VGG-16 with about 1/32 of the parameters and about 1/27 of the computation, and its size can be tuned with two multipliers: width and resolution.
MobileNetV2MobileNetV2 is a lightweight convolutional neural network built from "inverted residual blocks", which expand a small number of channels with a 1×1 convolution, apply a depthwise convolution, and project back to a narrow layer without an activation. Compared with MobileNet (V1), it achieves higher ImageNet accuracy with about half the computation and needs less memory at inference.
MobileNetV3MobileNetV3 is a lightweight convolutional neural network that adds SE and the fast activation function h-swish to MobileNetV2 blocks, with a structure found by automated search guided by latency measured on a smartphone. The Large model is 3.2 points more accurate than MobileNetV2 on ImageNet with about 20% lower latency.
MobileOneMobileOne is a convolutional neural network for smartphones that adds several branches to both the depthwise convolution and the 1×1 convolution of MobileNet during training only, then merges them into one after training (reparameterization), so the network has no branches at inference. It reaches 75.9% top-1 accuracy on ImageNet with a latency under 1 millisecond on an iPhone 12.
MS-TCNMS-TCN is a model that assigns an action label to every frame of a video by stacking four temporal convolutional networks built only from dilated convolutions, with each stage refining the predictions of the previous one. It processes the video without downsampling in time and, together with a smoothing loss, greatly reduces errors where segments are split into many small pieces.
mT5mT5 is a multilingual version of T5, the model that handles every task in a text-to-text format, pretrained on web text in 101 languages (mC4). Even when fine-tuned only on English data, it achieved state-of-the-art results at the time on entailment and question answering in other languages.
Multilayer Perceptron (MLP)The multilayer perceptron (MLP) is the most basic neural network, built by alternating fully connected layers and activation functions.
N-BEATSN-BEATS is a univariate time series forecasting model that stacks many blocks made only of fully connected layers. Each block adds part of the forecast window prediction and subtracts the part of the lookback window it can explain before passing the rest on. It outperforms statistical methods and the M4 winner on M4, M3, and TOURISM, and with polynomial and Fourier bases it can split the forecast into trend and seasonality.
Network In NetworkNetwork In Network (NIN) is a CNN that replaces the linear filters of convolutional layers with small MLPs (stacks of 1×1 convolutions) and replaces the final fully connected layers with global average pooling. Its parameter-free classification layer curbs overfitting, and it achieved state-of-the-art results at the time, with a 10.41% error rate on CIFAR-10 (8.81% with data augmentation).
Neural Attention Memory Models (NAMMs)NAMMs are small networks that decide which tokens to drop from the KV cache of a pretrained Transformer by looking only at attention values, trained with an evolution strategy. They shrink the cache while improving scores on long-context tasks, and NAMMs trained on language transfer as-is to video and reinforcement learning models.
PaLMPaLM is a language model that scales a decoder-only Transformer combining SwiGLU, parallel layers, multi-query attention, and RoPE to 540 billion parameters, trained on 6,144 TPUs. Combined with chain-of-thought prompting, it outperformed the fine-tuned state of the art at the time on reasoning tasks such as math word problems.
PatchTSTPatchTST is a long-term forecasting model that splits a multivariate time series into per-variable series, cuts each into short patches, and feeds them to a Transformer encoder. With fewer tokens it can read long lookback windows, lowering MSE by about 20% compared with earlier Transformer-based models and also outperforming the linear model DLinear.
PerceiverPerceiver is a modality-agnostic classification model in which a small learned latent array repeatedly reads information from a huge input (pixels, audio waveforms, point clouds, and so on) through cross-attention, and a deep Transformer runs on that small array. Because its cost does not grow with the square of the input size, it can take 50,000 pixels directly, and it reached 78.0% on ImageNet without convolutions.
phi-1phi-1 is a 1.3-billion-parameter Python code generation model released by Microsoft Research in 2023. Trained on fewer than 7 billion tokens of web code filtered for "textbook quality" plus textbooks and exercises written by GPT-3.5, it reaches 50.6% on HumanEval, a benchmark where most competing models are more than 10 times larger.
Phi-3Phi-3 is a family of small language models released by Microsoft in 2024. Keeping the same decoder design as Llama 2, it is trained on web data heavily filtered for educational value plus synthetic data, so that even the 3.8-billion-parameter phi-3-mini reaches 68.8% on MMLU, close to Mixtral 8x7B and GPT-3.5, while running on a smartphone.
PointNetPointNet is a network that takes 3D point clouds directly as input, without converting them to grids or images, applies the same MLP to every point, and aggregates the results with a max, producing features that do not depend on the order of the points. A single architecture handles both classification and segmentation, reaching 89.2% overall accuracy on ModelNet40 with far less computation than voxel-based 3D CNNs.
PyraformerPyraformer is a forecasting model that arranges a time series into a pyramid stacked from fine to coarse resolutions, and lets each node attend only to its neighbors on the same level, its children, and its parent, so that long sequences are handled with computation proportional to the sequence length. It captures relations between distant time steps via the coarse levels and outputs the whole forecast window at once.
QuartzNetQuartzNet is a CTC-trained speech recognition model that replaces Jasper's 1D convolutions with time-channel separable convolutions, which split each convolution into a depthwise convolution and a pointwise convolution. With 18.9 million parameters, about 1/18 of Jasper, it achieves a similar word error rate on LibriSpeech.
R-CNNR-CNN is an object detection method that extracts about 2,000 candidate regions likely to contain objects from an image, passes each through a CNN, and classifies the resulting features with per-class linear SVMs. It improved on the previous best result on PASCAL VOC 2012 by more than 30% relative and became the starting point of two-stage detectors.
RealNVPRealNVP is a generative model (a normalizing flow) that stacks many affine coupling layers, each of which transforms half of the input using a scale and a shift computed from the other half, to map images invertibly to standard normal noise of the same dimension. It is trained on the exact log-likelihood with no approximation, and both generation and inference compute all dimensions in parallel in a single pass.
RegNetRegNet is a family of convolutional neural networks built by progressively narrowing down a "design space in which good models are concentrated", instead of searching for a single good model, and discovering a rule that sets the width and depth of each stage with a single quantized line. Under the same training settings, it is more accurate than ResNet and ResNeXt, and matches EfficientNet's accuracy while running up to 5× faster on GPUs.
RepVGGRepVGG is a convolutional neural network that trains with blocks summing three branches (a 3×3 convolution, a 1×1 convolution, and an identity mapping), then after training adds the weights together into a single 3×3 convolution. Through this "structural reparameterization", the inference-time model becomes a VGG-style stack of only 3×3 convolutions and ReLUs. It was the first plain, branch-free architecture to exceed 80% top-1 accuracy on ImageNet, and it runs faster than ResNet on GPUs.
Residual Network (ResNet)ResNet is a convolutional neural network that uses shortcut connections, which add the input directly to the output every few layers, so that the layers learn "the difference from the input (the residual)". It solved the degradation problem, where making a network deeper worsens even the training error, and a 152-layer model won first place in ILSVRC 2015 image classification.
ResMLPResMLP is a residual network that replaces ViT's self-attention with "a single linear layer across patches" and classifies images using only fully connected layers and GELU. Instead of normalization it uses Aff, a transformation with only a scale and a shift. Trained on ImageNet-1K alone, ResMLP-B24 reaches 81.0% accuracy, and with knowledge distillation the accuracy rises to as much as 83.6%.
ResNeXtResNeXt is a CNN that replaces ResNet's bottleneck block with a block that sums many thin paths of the same shape (implemented as a group convolution). It showed that increasing the number of paths, called "cardinality", improves accuracy without changing computation, and that doing so is more effective than going deeper or wider.
RetNetRetNet is a language model built on "retention", which removes the softmax from attention and multiplies by a decay mask based on distance, so that training runs in parallel with matrix multiplications while generation runs as a recurrence that updates a fixed-size state. At 6.7 billion parameters it matches or exceeds Transformer, and it generates sequences of length 8,000 8.4× faster with 70% less memory.
RNN-TransducerRNN-Transducer (RNN-T) is a speech recognition model that combines a network reading the audio with a network predicting the next output from the previous ones, and decides at each time step whether to emit a label or emit a blank and move on. Unlike CTC, it can also learn dependencies between outputs, and it lowered the phoneme error rate on TIMIT from 25.5% for CTC to 23.2%.
RoBERTaRoBERTa is a language model that keeps the architecture of BERT unchanged but pretrains longer, with larger batches and 10 times more data, drops next sentence prediction, and re-selects the masked positions every time. With the same objective and architecture as BERT, it achieved state-of-the-art results at the time on GLUE, SQuAD, and RACE.
RWKVRWKV is a language model built on WKV, a weighted average that decays past tokens exponentially per channel, so that it trains in parallel like a Transformer and generates with constant memory like an RNN. It has been trained up to 14 billion parameters and performs on par with Transformers of the same compute.
S4S4 is a sequence model that initializes a state space model (SSM) with the HiPPO matrix and represents it in "normal minus low-rank" form, so that it can be computed quickly and stably even on sequences tens of thousands of steps long. It trains as a convolution and generates like an RNN, and achieved state-of-the-art results at the time on every task of the Long Range Arena.
Score SDEScore SDE is a framework that describes the process of adding noise to data as a continuous-time stochastic differential equation and generates images by running time backward using a score (the gradient of the log probability density) learned by a network. It unifies DDPM and SMLD and enables generation with predictor-corrector samplers and the probability flow ODE, exact likelihood computation, and conditional generation.
SENetSENet is a CNN that incorporates the "SE block", which summarizes each channel of a convolution's output with global average pooling, produces per-channel weights with small fully connected layers and a sigmoid function, and rescales the channels with them. It improves the accuracy of networks such as ResNet with almost no extra computation, and won first place in image classification at ILSVRC 2017.
Sequence to SequenceSequence to Sequence is a model that compresses an input sequence into a fixed-length vector with one LSTM and then generates the output sequence from that vector one word at a time with another LSTM. The input and output may differ in length, and it was the first to show that purely neural machine translation can outperform conventional statistical translation on a large-scale task.
ShuffleNetShuffleNet is a lightweight convolutional neural network that reduces computation by making even the 1×1 convolutions grouped convolutions, and compensates for the resulting lack of information flow between groups with a channel shuffle (a reordering of channels). At about 40 MFLOPs, its ImageNet error is 7.8 points lower than MobileNet's.
ShuffleNet V2ShuffleNet V2 derives four guidelines for designing lightweight networks based on actual speed on real hardware rather than FLOPs, and redesigns the ShuffleNet unit so that it splits the channels in half and convolves only one half. It achieves lower ImageNet error than ShuffleNet and MobileNetV2 at the same FLOPs and also runs faster on GPUs.
SlowFastSlowFast is a video recognition network that processes the same video clip with a Slow pathway, which captures appearance at a low frame rate, and a lightweight Fast pathway with fewer channels at a high frame rate, passing information from Fast to Slow through lateral connections. Without optical flow or pre-training, it reaches 79.8% on Kinetics-400 and also greatly improves accuracy in human action detection.
SoundStreamSoundStream is a neural audio codec that compresses a waveform with a convolutional encoder, turns it into a low-bitrate sequence of indices with residual vector quantization, and reconstructs the waveform with a decoder. The encoder, quantizer, and decoder are trained jointly with GAN losses; at 3 kbps it outperforms Opus at 12 kbps, and a single model can switch between 3 and 18 kbps.
Speech-TransformerSpeech-Transformer is a speech recognition model that subsamples speech features with convolutions and feeds them into a Transformer encoder–decoder, converting speech into a character sequence without recurrence. It also proposes 2D-Attention, which applies attention along both time and frequency, and achieved a word error rate of 10.9% on WSJ with 1.2 days of training on a single GPU.
SqueezeNetSqueezeNet is a small CNN that stacks "Fire modules", which squeeze channels with 1×1 convolutions and then expand them with parallel 1×1 and 3×3 convolutions, and drops fully connected layers entirely. It matches AlexNet-level ImageNet accuracy with 50x fewer parameters, and together with model compression it fits in under 0.5MB.
SSDSSD is a one-stage object detector that places default boxes at every location of several feature maps of different sizes and predicts class scores and box offsets for each box directly with a single convolution. By removing the region proposal stage, it reached 74.3% mAP on PASCAL VOC 2007 at 59 fps, outperforming Faster R-CNN.
StyleGANStyleGAN is a GAN generator that maps a random latent through a mapping network to an intermediate latent w, uses styles derived from w to modulate the feature maps of every generator layer via AdaIN, and adds per-layer noise to produce images. It improved FID on face images and disentangled coarse attributes such as pose and hairstyle from fine stochastic variation, making them controllable at each resolution.
Swin TransformerSwin Transformer is a hierarchical vision Transformer that splits an image into small windows, computes self-attention only within each window, and connects windows by shifting them from layer to layer. Its computation grows linearly with image size and it outputs four stages of feature maps like a CNN, so it achieved state-of-the-art accuracy at the time not only in classification but also in object detection and segmentation.
TacotronTacotron is an attention-based seq2seq speech synthesis model that predicts speech spectrograms directly from character sequences. With CBHG, pre-nets, and emitting multiple frames per step, it learns the alignment between characters and speech stably; converting to waveforms with Griffin-Lim, it reached a MOS of 3.82, beating a production parametric system (3.69).
Tacotron 2Tacotron 2 is a speech synthesis model that predicts a mel spectrogram from a character sequence with an attention-based seq2seq network and then generates the waveform with a WaveNet conditioned on it. It achieved a MOS of 4.526, close to the 4.582 of professionally recorded human speech.
TCNTCN is a model that stacks temporal convolutions hierarchically on per-frame video features to assign an action label to every frame. The encoder-decoder ED-TCN reduces errors where segments are chopped into small pieces, and it outperformed Bi-LSTM while training about 30 times faster.
TimesFMTimesFM is a forecasting foundation model based on a decoder-only Transformer, pretrained on hundreds of billions of time points. It uses 32-point patches as input tokens and learns to predict the next 128 points as an output patch, which lets it make zero-shot forecasts on unseen data with accuracy close to models trained for that data.
TimeSformerTimeSformer is a convolution-free video recognition model that splits each video frame into patches, feeds them into a ViT, and computes "time attention" and "space attention" separately in sequence within each block. On Kinetics-400, it matched or exceeded 3D CNNs with far less training time and inference compute.
TimesNetTimesNet finds the dominant periods in a time series with the FFT, rearranges the series into 2D tables folded by each period, and uses 2D convolutions to capture intraperiod and interperiod variation simultaneously. With the same backbone, it achieved state-of-the-art results at the time on all five tasks: long- and short-term forecasting, imputation, classification, and anomaly detection.
TinyLlamaTinyLlama is an open language model that scales Llama 2's architecture and tokenizer down to 1.1 billion parameters and trains it on up to 3 trillion tokens, a very large amount of data for its size. Combined with training speedups, it can be trained on 16 A100s, and it outperformed similarly sized OPT-1.3B and Pythia-1.4B on average across commonsense reasoning tasks.
TransformerThe Transformer is a neural network made of an encoder and a decoder that computes the relationships between words in a sentence with attention alone, without RNNs or convolutions.
Transformer TTSTransformer TTS is a speech synthesis model that replaces the RNNs and attention of Tacotron 2 with Transformer multi-head attention to predict mel spectrograms from phoneme sequences. By making training parallelizable, it speeds up each step by about 4.25 times and achieves the same naturalness as Tacotron 2 with a MOS of 4.39 (and 0.048 higher in a side-by-side CMOS comparison).
TransNet V2TransNet V2 is a network that shrinks video frames to 48 × 27 and predicts whether each frame is a shot transition, using 3D convolutions factorized into spatial and temporal parts together with frame-to-frame similarities. Trained on synthetically generated transitions, it achieved higher F1 scores than the compared methods on ClipShots and BBC.
TSMTSM is a module that shifts part of the channels of 2D CNN features by one frame forward and backward along the time axis, mixing information between neighboring frames. It achieves temporal modeling close to a 3D CNN without adding any multiplications or parameters, raises the accuracy of a 2D CNN on Something-Something from 20.5% to 47.3%, and runs about 10 times faster than I3D.
TSMixer (Google)TSMixer (Google) is an all-MLP model that treats a multivariate time series as a "time × variable" table and forecasts by alternately applying an MLP along the time axis and an MLP along the variable axis. On long-term forecasting benchmarks it is on par with PatchTST, and on retail demand forecasting (M5), where relations between variables matter, it outperformed Transformer-based models as well as DeepAR and TFT.
TSMixer (IBM)TSMixer (IBM) is a lightweight forecasting model based on MLP-Mixer that splits a time series into patches and alternately mixes across patches and within patches with MLPs. It matches or slightly beats PatchTST in accuracy with one-half to one-third of the training time and memory, and later became a building block of the pretrained model TTM.
TSNTSN is a framework that splits a video into segments of equal length, samples one short snippet from each segment, and trains at the video level on the average (consensus) of the scores of a shared CNN. It makes the flow of an entire video usable for training at low cost, and together with training practices such as partial BN it achieved state-of-the-art accuracy at the time on UCF-101 and HMDB-51.
TTM (Tiny Time Mixers)TTM (Tiny Time Mixers) is an MLP-based architecture that is effective for time series data.
Two-Stream ConvNetsTwo-Stream ConvNets is an action recognition model that splits a video into the appearance of a single frame and the motion between consecutive frames (optical flow), classifies each with a separate CNN, and combines the scores at the end. By making motion an explicit input, it matched the accuracy of hand-crafted features even with limited video data.
U-NetU-Net is a segmentation network that places a contracting path, which shrinks the image to gather context, and an expanding path, which enlarges it to recover precise locations, in a symmetric arrangement, concatenates features from matching levels, and outputs a class for every pixel. With elastic-deformation data augmentation and a weighted loss, it separates cells down to their boundaries from only a few dozen training images, and it won the ISBI cell tracking challenge by a wide margin over the runner-up.
Universal TransformerThe Universal Transformer passes inputs through a single Transformer layer many times with the same weights and can also vary the number of passes per position. It keeps the parallelism of the Transformer while adopting the recurrence of RNNs, and it improved accuracy on reasoning and algorithmic tasks.
VALL-EVALL-E is a speech synthesis model that turns speech into sequences of EnCodec indices (tokens) and, conditioned on phonemes and the tokens of a 3-second recording, predicts the continuation as a language model. Trained on 60,000 hours of speech, it reads text aloud in the voice of a speaker never heard during training, imitating that voice from only a 3-second recording.
Variational Autoencoder (VAE)The VAE (variational autoencoder) is a generative model whose encoder maps an input to a normal distribution over latent variables and whose decoder reconstructs the data from a value drawn from that distribution. It is trained by differentiating a lower bound on the log-likelihood directly through reparameterization, and it can generate new data from random numbers drawn from a standard normal distribution.
VGGVGG is a CNN that stacks only small 3×3 convolutions, 16 to 19 layers deep. It showed that simply making a uniformly designed network deeper improves accuracy, achieving a top-5 error of 7.3% (later 6.8%) in ILSVRC-2014 image classification.
Video Swin TransformerThe Video Swin Transformer is a video recognition model that extends the windows of the image Swin Transformer along the time axis as well and computes self-attention only within small 3D windows spanning time × height × width. With less computation and fewer parameters than Transformers that attend over the whole video, it achieved the state-of-the-art accuracy of its time on Kinetics and Something-Something v2.
Vision Transformer (ViT)ViT (Vision Transformer) is a model that cuts an image into patches such as 16×16, lines them up like words, and classifies the image with a Transformer encoder. When pre-trained on large data, it matched or exceeded the best CNNs of the time with less pre-training compute.
VITSVITS is a speech synthesis model that combines a conditional VAE, normalizing flows, and adversarial training to learn and generate everything from text to the speech waveform in a single model. Its stochastic duration predictor also captures variation in speaking rate and rhythm, and on LJ Speech it achieved a MOS nearly equal to that of human recordings (4.43 versus 4.46).
ViViTViViT is a video recognition model that cuts a video into small spatio-temporal boxes (tubelets), turns them into tokens, and classifies them with the same Transformer as ViT. It compares four ways of factorising space and time, and the design that places a temporal encoder after a spatial encoder set the state of the art at the time on five datasets, including Kinetics.
Wasserstein GAN (WGAN)WGAN (Wasserstein GAN) is a generative model that replaces the GAN discriminator with a "critic" that outputs real-valued scores, and trains the generator while measuring the EM distance between two distributions through the difference between the scores of real and fake samples. It yields gradients even when the distributions do not overlap, so training is stable, and its loss value corresponds to the quality of the generated images.
wav2vec 2.0wav2vec 2.0 is a speech model pretrained by masking segments of untranscribed audio and having a Transformer identify the sound of each masked segment (its quantized representation) from a set of candidates. Fine-tuning on only a small amount of transcribed data yields high accuracy; on LibriSpeech it reaches word error rates of 4.8 / 8.2% with just 10 minutes of transcriptions.
WaveGlowWaveGlow is a vocoder that turns Gaussian noise into a speech waveform through invertible transformations (a normalizing flow), conditioned on a mel spectrogram. It trains a single network with only a likelihood loss, generates all samples in parallel, and achieves audio quality comparable to WaveNet far faster than real time.
WaveNetWaveNet is an autoregressive generative model that stacks dilated causal convolutions and predicts an audio waveform one sample at a time, conditioned on all previous samples. In speech synthesis, it achieved naturalness closer to human recordings than the best systems of its time.
WhisperWhisper is a speech recognition model that trains a single Transformer encoder-decoder jointly on multilingual speech recognition, translation into English, language identification, and more, using 680,000 hours of transcribed audio collected from the internet. Even without fine-tuning, its accuracy holds up across diverse recording conditions; compared with a model of equal accuracy on LibriSpeech, it cut errors on other datasets by 55.2% on average.
X3DX3D is a lightweight video recognition network built by starting from a tiny 2D image network and expanding six axes, such as frame count, frame interval, resolution, width, and depth, one at a time. On Kinetics-400 it matches SlowFast accuracy with about 1/5 the compute and about 1/5.5 the parameters.
XceptionXception is a CNN that replaces every Inception module with depthwise separable convolutions and connects them with residual connections. By learning spatial and cross-channel correlations completely separately, it improves accuracy on ImageNet and the large-scale JFT dataset with almost the same number of parameters as Inception V3.
XLNetXLNet is a pretrained model that learns bidirectional context without [MASK] by training an autoregressive language model over randomly permuted prediction orders. Combining two-stream attention, which tells the model which position to predict, with the Transformer-XL mechanisms, it outperformed BERT under the same conditions on a wide range of tasks, including question answering and classification.
YOLOYOLO is a one-stage object detection method that divides an image into a 7×7 grid and regresses each cell's boxes and class probabilities all at once with a single CNN. It detects objects by looking at the image only once, without generating region proposals, and reached 63.4% mAP on PASCAL VOC 2007 at 45 fps.
