paper-with-me

홈 › Papers

Breaking through the learning plateaus of in-context learning in Transformer

2023-09-12 · Jingwen Fu, Tao Yang, Yuwang Wang, Yan Lu, Nanning Zheng

In-context learning, i.e., learning from context examples, is an impressive ability of Transformer. Training Transformers to possess this in-context learning skill is computationally intensive due to the occurrence of learning plateaus, which are periods within the training process where there is minimal or no enhancement in the model's in-context learning capability. To study the mechanism behind the learning plateaus, we conceptually seperate a component within the model's internal representation that is exclusively affected by the model's weights. We call this the "weights component", and the remainder is identified as the "context component". By conducting meticulous and controlled experiments on synthetic tasks, we note that the persistence of learning plateaus correlates with compromised functionality of the weights component. Recognizing the impaired performance of the weights component as a fundamental behavior drives learning plateaus, we have developed three strategies to expedite the learning of Transformers. The effectiveness of these strategies is further confirmed in natural language processing tasks. In conclusion, our research demonstrates the feasibility of cultivating a powerful in-context learning ability within AI systems in an eco-friendly manner.

📄 PDF Abstract BibTeX arXiv:2309.06054

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningRepresentation Learning

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Adam 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Barren plateaus are amplified by the dimension of qudits

2024-05-13 · Lucas Friedrich, Tiago de Souza Farias, Jonas Maziero

Variational Quantum Algorithms (VQAs) have emerged as pivotal strategies for attaining quantum advantage in diverse scientific and technological domains, notably within Quantum Neural Networks. However, despite their pot…

Learning In-context n-grams with Transformers: Sub-n-grams Are Near-stationary Points

2025-08-18 · Aditya Varre, Gizem Yüce, Nicolas Flammarion arxiv

Motivated by empirical observations of prolonged plateaus and stage-wise progression during training, we investigate the loss landscape of transformer models trained on in-context next-token prediction tasks. In particul…

Dendritic Learning-incorporated Vision Transformer for Image Recognition

2024-02-01 · IEEE/CAA Journal of Automatica Sinica 2024 2 · Zhiming Zhang, Zhenyu Lei, Masaaki Omura, Hideyuki Hasegawa 외

DVT is a groundbreaking Biomimetic Vision Transformer that combines dendritic learning and Vision Transformer architecture, showcasing superior image recognition performance through biologically inspired structures.

Image Classification

Breaking the Reclustering Barrier in Centroid-based Deep Clustering

2024-11-04 · Lukas Miklautz, Timo Klein, Kevin Sidak, Collin Leiber 외

This work investigates an important phenomenon in centroid-based deep clustering (DC) algorithms: Performance quickly saturates after a period of rapid early gains. Practitioners commonly address early saturation with pe…

ClusteringDeep ClusteringImage ClusteringUnsupervised Image Classification

Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking

2026-02-24 · Ravi Ghadia, Maksim Abraham, Sergei Vorobyov, Max Ryabinin arxiv

Efficiently processing long sequences with Transformer models usually requires splitting the computations across accelerators via context parallelism. The dominant approaches in this family of methods, such as Ring Atten…