paper-with-me

Papers

Dynamic Evaluation of Transformer Language Models

2019-04-17 · Ben Krause, Emmanuel Kahembwe, Iain Murray, Steve Renals

This research note combines two methods that have recently improved the state of the art in language modeling: Transformers and dynamic evaluation. Transformers use stacked layers of self-attention that allow them to capture long range dependencies in sequential data. Dynamic evaluation fits models to the recent sequence history, allowing them to assign higher probabilities to re-occurring sequential patterns. By applying dynamic evaluation to Transformer-XL models, we improve the state of the art on enwik8 from 0.99 to 0.94 bits/char, text8 from 1.08 to 1.04 bits/char, and WikiText-103 from 18.3 to 16.4 perplexity points.

📄 PDF Abstract BibTeX arXiv:1904.08378

Code (1)

benkrause/dynamiceval-transformer tf

Tasks

Language ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Meta-Learning Fast Weight Language Models

2022-12-05 · Kevin Clark, Kelvin Guu, Ming-Wei Chang, Panupong Pasupat 외

Dynamic evaluation of language models (LMs) adapts model parameters at test time using gradient information from previous tokens and substantially improves LM performance. However, it requires over 3x more compute than s…

Language ModelingLanguage ModellingMeta-Learning

Reconsidering the Past: Optimizing Hidden States in Language Models

2021-12-16 · Findings (EMNLP) 2021 11 · Davis Yoshida, Kevin Gimpel

We present Hidden-State Optimization (HSO), a gradient-based method for improving the performance of transformer language models at inference time. Similar to dynamic evaluation (Krause et al., 2018), HSO computes the gr…

Language ModelingLanguage Modelling

Comparing Generalization in Learning with Limited Numbers of Exemplars: Transformer vs. RNN in Attractor Dynamics

2023-11-15 · Rui Fukushima, Jun Tani

ChatGPT, a widely-recognized large language model (LLM), has recently gained substantial attention for its performance scaling, attributed to the billions of web-sourced natural language sentences used for training. Its …

Dynamic Time WarpingLanguage ModelingLanguage ModellingLarge Language Model

Efficient Transformers with Dynamic Token Pooling

2022-11-17 · Piotr Nawrot, Jan Chorowski, Adrian Łańcucki, Edoardo M. Ponti

Transformers achieve unrivalled performance in modelling language, but remain inefficient in terms of memory and time complexity. A possible remedy is to reduce the sequence length in the intermediate layers by pooling f…

Improving Transformers with Dynamically Composable Multi-Head Attention

2024-05-14 · Da Xiao, Qingye Meng, Shengping Li, Xingyuan Yuan

Multi-Head Attention (MHA) is a key component of Transformer. In MHA, attention heads work independently, causing problems such as low-rank bottleneck of attention score matrices and head redundancy. We propose Dynamical…

Language ModelingLanguage Modelling