paper-with-me

홈 › Papers

Transformer Language Models Handle Word Frequency in Prediction Head

2023-05-29 · Goro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, Kentaro Inui

Prediction head is a crucial component of Transformer language models. Despite its direct impact on prediction, this component has often been overlooked in analyzing Transformers. In this study, we investigate the inner workings of the prediction head, specifically focusing on bias parameters. Our experiments with BERT and GPT-2 models reveal that the biases in their word prediction heads play a significant role in the models' ability to reflect word frequency in a corpus, aligning with the logit adjustment method commonly used in long-tailed learning. We also quantify the effect of controlling the biases in practical auto-regressive text generation scenarios; under a particular setting, more diverse text can be generated without compromising text quality.

📄 PDF Abstract BibTeX arXiv:2305.18294

Code (0)

등록된 구현이 없습니다.

Tasks

PredictionText Generation

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 &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Linear Warmup With Cosine Annealing Linear Warmup With Cosine Annealing is a learning rate schedule where we increase the learning rate linearly for $n$ updates and then anneal according to a cosine schedule…
Discriminative Fine-Tuning Discriminative Fine-Tuning is a fine-tuning strategy that is used for ULMFiT type models. Instead of using the same learning rate…
WordPiece 설명 없음
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

Ferryman at SemEval-2020 Task 3: Bert with TFIDF-Weighting for Predicting the Effect of Context in Word Similarity

2020-12-01 · SEMEVAL 2020 · Weilong Chen, Xin Yuan, Sai Zhang, Jiehui Wu 외

Word similarity is widely used in machine learning applications like searching engine and recommendation. Measuring the changing meaning of the same word between two different sentences is not only a way to handle comple…

PositionSentenceWord Similarity

Transformers perform adaptive partial pooling

2026-02-03 · Vsevolod Kapatsinski arxiv

Any language model must decide what to say in novel contexts based on information from similar contexts. But what about contexts that are not novel but merely infrequent? In hierarchical regression, the model's predictio…

Frequency Explains the Inverse Correlation of Large Language Models' Size, Training Data Amount, and Surprisal's Fit to Reading Times

2024-02-03 · Byung-Doh Oh, Shisen Yue, William Schuler

Recent studies have shown that as Transformer-based language models become larger and are trained on very large amounts of data, the fit of their surprisal estimates to naturalistic human reading times degrades. The curr…

Language Modelling

Transformers versus LSTMs for electronic trading

2023-09-20 · SSRN 2023 9 · Paul Bilokon, Yitao Qiu

With the rapid development of artificial intelligence, long short term memory (LSTM), one kind of recurrent neural network (RNN), has been widely applied in time series prediction. Like RNN, Transformer is designed to ha…

PredictionTime SeriesTime Series ForecastingTime Series Prediction

FAME: Feature-Based Adversarial Meta-Embeddings for Robust Input Representations

2020-10-23 · EMNLP 2021 11 · Lukas Lange, Heike Adel, Jannik Strötgen, Dietrich Klakow

Combining several embeddings typically improves performance in downstream tasks as different embeddings encode different information. It has been shown that even models using embeddings from transformers still benefit fr…

NERPOSPOS TaggingSentence+2