[KongchangAI]
ConceptTransformers

Transformer

Transformer is a deep learning model architecture based on the self-attention mechanism, proposed by Google in 2017. It processes sequence data in parallel and captures long-range dependencies, overcoming the limitations of traditional recurrent neural networks. The architecture is widely applied in natural language processing, computer vision, speech recognition, and other domains, and serves as the foundational structure for large-scale pretrained language models such as BERT and the GPT series.

Core Facts

Timeline (last 90 days)

Nov 27

After AlexNet in 2012, paradigms such as convolutional networks, attention mechanisms, Transformers, and large-scale pretraining succeeded one another.

Unverified50%
Nov 27

Traditional coreference resolution methods rely on syntactic rules and statistical features, whereas modern Transformer-based models (such as SpanBERT and CorefQA) achieve it through context encoding and span prediction.

Unverified50%
Nov 26

Residual space refers to the representation space formed in the Transformer architecture where the output of each sublayer (such as the attention layer and the feedforward layer) is added to its input.

Unverified50%
Nov 25

The research team pretrained language models with up to 1.2B parameters on up to 100B tokens and embedded a sleep mechanism into training.

Unverified50%
Nov 25

This study decouples the sleep mechanism from SSM-attention hybrid models and long-context reasoning, verifying its transferability to general Transformers and general tasks.

Unverified50%
Nov 25

After SketchRNN, Transformers gradually replaced RNNs thanks to their stronger long-range modeling capability, giving rise to Sketchformer as well as multimodal work that aligns handwriting with text.

Unverified50%
Nov 25

PenGPT is a generative Transformer model for handwriting and sketch generation that processes serialized representations of strokes rather than pixel matrices.

Unverified50%
Nov 25

The study used BLEU scores for evaluation, showing that Transformer-based models significantly outperform traditional statistical machine translation methods.

Unverified50%
Nov 25

In MDLM, hidden states change smoothly between adjacent Transformer layers.

Unverified50%
Nov 25

When some Transformer blocks in MDLM are removed, model performance gradually degrades.

Unverified50%

40 more timeline events

All Facts (20)

Verified

The KV cache is a core data structure in Transformer autoregressive inference, and its size is approximately 2 × number of layers × number of attention heads × head dimension × sequence length × precision bytes.

90%
Verified

Mixture of Experts (MoE) is a model architecture composed of multiple expert sub-networks that each specialize in different sub-tasks, together with a gating network that decides which expert receives a given input.

90%
Verified

KV Cache avoids redundant computation by caching already-computed Key and Value matrices, and advanced techniques such as PagedAttention further optimize cache memory management efficiency.

90%
Verified

KV Cache reduces the computational complexity of self-attention from O(N²) to O(N) by caching already-computed Key-Value pairs in GPU memory, but memory usage grows linearly with sequence length.

90%
Verified

Rerankers are typically implemented using cross-encoders, which concatenate the query and document and feed them jointly into a Transformer model, achieving significantly higher ranking precision than the initial retrieval stage

90%
Verified

The self-attention mechanism maps inputs into three sets of vectors—Query, Key, and Value—computes dot-product similarity followed by softmax normalization, and then performs a weighted sum of the Values to generate a representation that incorporates global context.

90%
Verified

The Transformer architecture was proposed by Google in the 2017 paper "Attention Is All You Need," and its core self-attention mechanism can capture dependencies between any positions in a sequence.

90%
Verified

The Transformer's core innovation is the self-attention mechanism, which allows models to attend to all positions in the input simultaneously rather than processing step-by-step like RNNs or LSTMs

90%
Verified

The Transformer was originally proposed by Vaswani et al. in the 2017 paper "Attention Is All You Need" for machine translation tasks.

90%
Verified

A pre-trained model refers to a model that has been trained in advance on large-scale datasets, which users can directly fine-tune or call to complete specific tasks.

90%
Verified

The computational complexity of the self-attention mechanism grows approximately quadratically with sequence length, with the attention matrix computation being proportional to n² for a sequence of length n.

90%
Verified

The core innovation of FlashAttention is to reduce the memory access complexity of standard attention computation from O(N²) to near-linear by controlling the data transfer pattern between the GPU's SRAM and HBM

90%
Verified

Set Transformer models interactions between row vectors based on the self-attention mechanism and maintains permutation invariance by removing positional encodings.

90%
Verified

Mainstream LLMs are based on the Transformer architecture proposed by Google in 2017, whose core innovation is the Self-Attention mechanism.

90%
Verified

BERT was proposed by Google in 2018 and is a pre-trained language model based on the Transformer architecture.

90%
Verified

KV Cache caches previously computed key-value matrices in memory, reducing the complexity of autoregressive generation from quadratic growth with sequence length to linear.

90%
Verified

Architectures based on State Space Models (SSM) such as Mamba achieve sequence modeling with linear complexity, making them more suitable for real-time inference.

90%
Verified

At inference time, TabPFN concatenates the entire training set as the Transformer input sequence and completes prediction in a single forward pass without any gradient updates.

90%
Verified

The Prefill phase is a compute-intensive operation, while the Decode phase is a memory-bandwidth-intensive operation.

90%
Verified

The VRAM usage of KV Cache grows linearly with sequence length; for a 70-billion-parameter model using GQA, the KV Cache usage can reach tens of GB when processing 100,000 tokens.

90%

Source Articles