Mastering Long-Context Multi-Task Reasoning with Transformers and Recurrent Memory

Recent advancements have significantly improved the skills and performance of language models, but have also increased computational demands due to the increasing number of parameters and the quadratic complexity of the attention mechanism. As context sizes expand into millions of tokens, making long-context processing more accessible and efficient becomes a critical challenge. Furthermore, modern benchmarks such as BABILong [1] underscore the inefficiency of even the most powerful LLMs in long context reasoning. In this paper, we employ finetuning and multi-task learning to train a model capable of mastering multiple BABILong long-context reasoning skills. We demonstrate that even models with fewer than 140 million parameters can outperform much larger counterparts by learning multiple essential tasks simultaneously. By conditioning Recurrent Memory Transformer [2] on task description, we achieve state-of-the-art results on multi-task BABILong QA1–QA5 set for up to 32k tokens. The proposed model also shows generalization abilities to new lengths and tasks, along with increased robustness to input perturbations.

Authors

Institutions

Publication Details

Journal
Optical Memory and Neural Networks
Published
2024-12-01
DOI
https://doi.org/10.3103/s1060992x24700735
Citations
1
Primary Topic
Bayesian Modeling and Causal Inference
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Mastering Long-Context Multi-Task Reasoning with Transformers and Recurrent Memory

Aleksandr Bulatov, Yuri Kuratov, Mikhail Burtsev
1 citations
Optical Memory and Neural Networks
Bayesian Modeling and Causal Inference
0.35
article

Mastering Long-Context Multi-Task Reasoning with Transformers and Recurrent Memory

Aleksandr Bulatov, Yuri Kuratov, Mikhail Burtsev
article en
1 citations

Abstract

Recent advancements have significantly improved the skills and performance of language models, but have also increased computational demands due to the increasing number of parameters and the quadratic complexity of the attention mechanism. As context sizes expand into millions of tokens, making long-context processing more accessible and efficient becomes a critical challenge. Furthermore, modern benchmarks such as BABILong [1] underscore the inefficiency of even the most powerful LLMs in long context reasoning. In this paper, we employ finetuning and multi-task learning to train a model capable of mastering multiple BABILong long-context reasoning skills. We demonstrate that even models with fewer than 140 million parameters can outperform much larger counterparts by learning multiple essential tasks simultaneously. By conditioning Recurrent Memory Transformer [2] on task description, we achieve state-of-the-art results on multi-task BABILong QA1–QA5 set for up to 32k tokens. The proposed model also shows generalization abilities to new lengths and tasks, along with increased robustness to input perturbations.

Optical Memory and Neural NetworksVol. 33(S3)
Moscow Institute of Physics and Technology (RU), United States Air Force (US), London Institute for Mathematical Sciences (GB)
Openalex Percentile: Top 30%
Bayesian Modeling and Causal Inference
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Mastering Long-Context Multi-Task Reasoning with Transformers and Recurrent Memory — Aleksandr Bulatov, Yuri Kuratov, et al. · Optical Memory and Neural Networks (2024) | TGRS Research Map | TGRS