paper-with-me

홈 › Papers

Breaking Free Transformer Models: Task-specific Context Attribution Promises Improved Generalizability Without Fine-tuning Pre-trained LLMs

2024-01-30 · Stepan Tytarenko, Mohammad Ruhul Amin

Fine-tuning large pre-trained language models (LLMs) on particular datasets is a commonly employed strategy in Natural Language Processing (NLP) classification tasks. However, this approach usually results in a loss of models generalizability. In this paper, we present a framework that allows for maintaining generalizability, and enhances the performance on the downstream task by utilizing task-specific context attribution. We show that a linear transformation of the text representation from any transformer model using the task-specific concept operator results in a projection onto the latent concept space, referred to as context attribution in this paper. The specific concept operator is optimized during the supervised learning stage via novel loss functions. The proposed framework demonstrates that context attribution of the text representation for each task objective can improve the capacity of the discriminator function and thus achieve better performance for the classification task. Experimental results on three datasets, namely HateXplain, IMDB reviews, and Social Media Attributions, illustrate that the proposed model attains superior accuracy and generalizability. Specifically, for the non-fine-tuned BERT on the HateXplain dataset, we observe 8% improvement in accuracy and 10% improvement in F1-score. Whereas for the IMDB dataset, fine-tuned state-of-the-art XLNet is outperformed by 1% for both accuracy and F1-score. Furthermore, in an out-of-domain cross-dataset test, DistilBERT fine-tuned on the IMDB dataset in conjunction with the proposed model improves the F1-score on the HateXplain dataset by 7%. For the Social Media Attributions dataset of YouTube comments, we observe 5.2% increase in F1-metric. The proposed framework is implemented with PyTorch and provided open-source on GitHub.

📄 PDF Abstract BibTeX arXiv:2401.16638

Code (1)

stepantita/space-model 공식 구현 pytorch

Tasks

Sentiment AnalysisSentiment ClassificationText ClassificationWord EmbeddingsZero-Shot Text Classification

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
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…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
WordPiece 설명 없음
Weight Decay 설명 없음
BERT BERT, or Bidirectional Encoder Representations from Transformers, improves upon standard Transformers by removing the…

Similar Papers 제목 키워드 기반

Symmetry Breaking in Transformers for Efficient and Interpretable Training

2026-01-29 · Eva Silverstein, Daniel Kunin, Vasudev Shyam arxiv

The attention mechanism in its standard implementation contains extraneous rotational degrees of freedom that are carried through computation but do not affect model activations or outputs. We introduce a simple symmetry…

Logical Reasoning

UltraViCo: Breaking Extrapolation Limits in Video Diffusion Transformers

2025-11-25 · Min Zhao, Hongzhou Zhu, Yingze Wang, Bokai Yan 외 arxiv

Despite advances, video diffusion transformers still struggle to generalize beyond their training length, a challenge we term video length extrapolation. We identify two failure modes: model-specific periodic content rep…

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

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

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 le…

In-Context LearningRepresentation Learning

Context Representation via Action-Free Transformer encoder-decoder for Meta Reinforcement Learning

2025-12-16 · Amir M. Soufi Enayati, Homayoun Honari, Homayoun Najjaran arxiv

Reinforcement learning (RL) enables robots to operate in uncertain environments, but standard approaches often struggle with poor generalization to unseen tasks. Context-adaptive meta reinforcement learning addresses the…

Reinforcement Learning

Efficient Multi-modal Long Context Learning for Training-free Adaptation

2025-05-26 · Zehong Ma, Shiliang Zhang, Longhui Wei, Qi Tian

Traditional approaches to adapting multi-modal large language models (MLLMs) to new tasks have relied heavily on fine-tuning. This paper introduces Efficient Multi-Modal Long Context Learning (EMLoC), a novel training-fr…