paper-with-me

홈 › Papers

What's Hidden in a One-layer Randomly Weighted Transformer?

2021-09-08 · Sheng Shen, Zhewei Yao, Douwe Kiela, Kurt Keutzer, Michael W. Mahoney

We demonstrate that, hidden within one-layer randomly weighted neural networks, there exist subnetworks that can achieve impressive performance, without ever modifying the weight initializations, on machine translation tasks. To find subnetworks for one-layer randomly weighted neural networks, we apply different binary masks to the same weight matrix to generate different layers. Hidden within a one-layer randomly weighted Transformer, we find that subnetworks that can achieve 29.45/17.29 BLEU on IWSLT14/WMT14. Using a fixed pre-trained embedding layer, the previously found subnetworks are smaller than, but can match 98%/92% (34.14/25.24 BLEU) of the performance of, a trained Transformer small/base on IWSLT14/WMT14. Furthermore, we demonstrate the effectiveness of larger and deeper transformers in this setting, as well as the impact of different initialization methods. We released the source code at https://github.com/sIncerass/one_layer_lottery_ticket.

📄 PDF Abstract BibTeX arXiv:2109.03939

Code (1)

sincerass/one_layer_lottery_ticket 공식 구현 pytorch

Tasks

Machine TranslationTranslation

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
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 설명 없음
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…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
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$…

Similar Papers 제목 키워드 기반

What’s Hidden in a One-layer Randomly Weighted Transformer?

2021-11-01 · EMNLP 2021 11 · Sheng Shen, Zhewei Yao, Douwe Kiela, Kurt Keutzer 외

We demonstrate that, hidden within one-layer randomly weighted neural networks, there exist subnetworks that can achieve impressive performance, without ever modifying the weight initializations, on machine translation t…

Machine TranslationTranslation

What's Hidden in a Randomly Weighted Neural Network?

2019-11-29 · CVPR 2020 6 · Vivek Ramanujan, Mitchell Wortsman, Aniruddha Kembhavi, Ali Farhadi 외

Training a neural network is synonymous with learning the values of the weights. By contrast, we demonstrate that randomly weighted neural networks contain subnetworks which achieve impressive performance without ever tr…

Image Classification

Half-Layered Neural Networks

2025-06-04 · Ethem Alpaydin

We propose a ``half'' layer of hidden units that has some of its weights randomly set and some of them trained. A half unit is composed of two stages: First, it takes a weighted sum of its inputs with fixed random weight…

Asymptotic Study of In-context Learning with Random Transformers through Equivalent Models

2025-09-18 · Samet Demir, Zafer Dogan arxiv

We study the in-context learning (ICL) capabilities of pretrained Transformers in the setting of nonlinear regression. Specifically, we focus on a random Transformer with a nonlinear MLP head where the first layer is ran…

The Strong Lottery Ticket Hypothesis for Multi-Head Attention Mechanisms

2025-11-06 · Hikari Otsuka, Daiki Chijiwa, Yasuyuki Okoshi, Daichi Fujiki 외 arxiv

The strong lottery ticket hypothesis (SLTH) conjectures that high-performing subnetworks, called strong lottery tickets (SLTs), are hidden in randomly initialized neural networks. Although recent theoretical studies have…