Related Experiment Video
Updated: Jun 14, 2025

03:14
Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
523
StochCA: A novel approach for exploiting pretrained models with cross-attention
Seungwon Seo1, Suho Lee1, Sangheum Hwang2
1Department of Data Science, Seoul National University of Science and Technology, Seoul 01811, South Korea.
Summary
We introduce stochastic cross-attention (StochCA), a novel fine-tuning method for Transformer models. StochCA enhances knowledge transfer from pretrained models, outperforming existing methods in transfer learning and domain generalization.
Area of Science:
- Artificial Intelligence
- Machine Learning
- Deep Learning
Background:
- Large-scale pretrained models are crucial for improving performance on downstream tasks.
- Standard fine-tuning may not fully exploit the knowledge within these pretrained models.
- Transformer architectures are widely used but require effective fine-tuning strategies.
Purpose of the Study:
- Introduce a novel fine-tuning method, stochastic cross-attention (StochCA), for Transformer models.
- Enable selective utilization of knowledge from pretrained models during fine-tuning.
- Improve performance in transfer learning and domain generalization tasks.
Main Methods:
- Modified the Transformer's self-attention mechanism to incorporate cross-attention.
- Stochastically performed cross-attention using keys and values from a pretrained model's corresponding block.
- Fine-tuned queries and channel-mixing layers of the target model to exploit pretrained representations.
Main Results:
- Stochastic cross-attention (StochCA) demonstrated superior performance over state-of-the-art methods.
- Achieved significant improvements in both transfer learning and domain generalization benchmarks.
- Showed that StochCA is complementary to existing fine-tuning approaches and can be combined for further gains.
Conclusions:
- StochCA effectively enhances knowledge exploitation from pretrained models in Transformer architectures.
- The proposed method offers a significant advancement for fine-tuning strategies.
- StochCA provides a flexible and effective approach for improving model performance across various tasks.
Related Concept Videos
Stereotype Content Model
14.0K
The Stereotype Content Model (SCM) was first proposed by Susan Fiske and her colleagues (Fiske, Cuddy, Glick & Xu, 2002; see also Fiske, 2012 and Fiske, 2017). The SCM specifies that when someone encounters a new group, they will stereotype them based on two metrics: warmth—or that group’s perceived intent, and how likely they are to provide help or inflict harm—and competence—or their ability to carry out that objective. Depending on the warmth-competence...
14.0K
Improving Translational Accuracy
2.5K
2.5K
Crossing Over
4.2K
Crossing over is the exchange of genetic information between homologous chromosomes during prophase I of meiosis I. Genetic recombination gives rise to allelic diversity in the newly formed daughter cells. In humans, crossing over produces genetically distinct haploid egg and sperm cells that undergo fertilization to produce unique offspring. Before cell division starts, the germ cell’s chromosome(s) undergo duplication in the S phase of the cell cycle. As the cells enter prophase I,...
4.2K
Test Cross
41.8K
Alleles are different forms of the same gene. Humans and other diploid organisms inherit two alleles of every gene, one from each parent.
41.8K
Crossover Experiments
2.7K
Crossover experiments, also called the repeated-measurements design, is a study design in which all experimental units are exposed to all treatments in different periods. Crossover experiments are generally used in psychology, the pharmaceutical industry, agriculture, and medicine.
Crossover designs are performed even with smaller sample sizes since the samples can act as their controls. These are better than simple randomized trials since patients are exposed to all the treatments.
Crossover designs are performed even with smaller sample sizes since the samples can act as their controls. These are better than simple randomized trials since patients are exposed to all the treatments.
2.7K
Cross-reactivity
31.0K
Overview
31.0K

