A new training method aims to help hybrid language models retrieve information from context more reliably. The study describes how recurrence layers and softmax attention can compete while learning the same function.
Hybrid architectures combine both mechanisms: recurrence can compress contextual information into a fixed-size state, enabling high throughput. But the researchers say it performs worse than softmax attention at retrieving information from context. Their analysis finds that, under typical data distributions, recurrence learns retrieval functions faster. This suppresses the learning signal for attention layers, which consequently often fail to learn retrieval.
As a countermeasure, the authors propose a staged training procedure. During training, weight updates to recurrence are stopped so that attention layers can learn retrieval functions. In experiments with models of up to one billion parameters, the researchers report improvements in language modeling loss, commonsense reasoning, and a range of retrieval tasks across different context lengths.
The findings concern the models and tasks examined in the study. The paper provides further detail on its analyses and reports the empirical results. Source: arXiv