paper-with-me

Papers

Pretrained Transformers as Universal Computation Engines

2021-03-09 · Kevin Lu, Aditya Grover, Pieter Abbeel, Igor Mordatch

We investigate the capability of a transformer pretrained on natural language to generalize to other modalities with minimal finetuning -- in particular, without finetuning of the self-attention and feedforward layers of the residual blocks. We consider such a model, which we call a Frozen Pretrained Transformer (FPT), and study finetuning it on a variety of sequence classification tasks spanning numerical computation, vision, and protein fold prediction. In contrast to prior works which investigate finetuning on the same modality as the pretraining dataset, we show that pretraining on natural language can improve performance and compute efficiency on non-language downstream tasks. Additionally, we perform an analysis of the architecture, comparing the performance of a random initialized transformer to a random LSTM. Combining the two insights, we find language-pretrained transformers can obtain strong performance on a variety of non-language tasks.

📄 PDF Abstract BibTeX arXiv:2103.05247

Code (4)

kzl/universal-computation 공식 구현 pytorch
bozeklab/lmagp pytorch
elipugh/tilt-transfer-transformers pytorch
sberbank-ai/fusion_brain_aij2021 pytorch

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
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…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Adversarially Pretrained Transformers may be Universally Robust In-Context Learners

2025-05-20 · Soichiro Kumano, Hiroshi Kera, Toshihiko Yamasaki

Adversarial training is one of the most effective adversarial defenses, but it incurs a high computational cost. In this study, we show that transformers adversarially pretrained on diverse tasks can serve as robust foun…

In-Context Learning

General Image Descriptors for Open World Image Retrieval using ViT CLIP

2022-10-20 · Marcos V. Conde, Ivan Aerlic, Simon Jégou

The Google Universal Image Embedding (GUIE) Challenge is one of the first competitions in multi-domain image representations in the wild, covering a wide distribution of objects: landmarks, artwork, food, etc. This is a …

Image RetrievalRetrievalZero-Shot Image ClassificationZero-shot Image Retrieval+1

Transformer Layers as Painters

2024-07-12 · Qi Sun, Marc Pickett, Aakash Kumar Nain, Llion Jones

Despite their nearly universal adoption for large language models, the internal workings of transformers are not well understood. We aim to better understand the impact of removing or reorganizing information throughout …

Universality and Limitations of Prompt Tuning

2023-05-30 · NeurIPS 2023 11

Despite the demonstrated empirical efficacy of prompt tuning to adapt a pretrained language model for a new task, the theoretical underpinnings of the difference between "tuning parameters before the input" against "the …

Language Modelling

Mastering Chess with a Transformer Model

2024-09-18 · Daniel Monroe, Philip A. Chalmers

Transformer models have demonstrated impressive capabilities when trained at scale, excelling at difficult cognitive tasks requiring complex reasoning and rational decision-making. In this paper, we explore the applicati…

Decision MakingmodelPosition