Papers › OmniNet: Omnidirectional Representations from Transformers

OmniNet: Omnidirectional Representations from Transformers

1 Mar 2021arXiv:2103.01075archive 2025-07-28

Yi Tay, Mostafa Dehghani, Vamsi Aribandi, Jai Gupta, Philip Pham, Zhen Qin, Dara Bahri, Da-Cheng Juan, Donald Metzler

This paper proposes Omnidirectional Representations from Transformers (OmniNet). In OmniNet, instead of maintaining a strictly horizontal receptive field, each token is allowed to attend to all tokens in the entire network. This process can also be interpreted as a form of extreme or intensive attention mechanism that has the receptive field of the entire width and depth of the network. To this end, the omnidirectional attention is learned via a meta-learner, which is essentially another self-attention based model. In order to mitigate the computationally expensive costs of full receptive field attention, we leverage efficient self-attention models such as kernel-based (Choromanski et al.), low-rank attention (Wang et al.) and/or Big Bird (Zaheer et al.) as the meta-learner. Extensive experiments are conducted on autoregressive language modeling (LM1B, C4), Machine Translation, Long Range Arena (LRA), and Image Recognition. The experiments show that OmniNet achieves considerable improvements across these tasks, including achieving state-of-the-art performance on LM1B, WMT'14 En-De/En-Fr, and Long Range Arena. Moreover, using omnidirectional representation in Vision Transformers leads to significant improvements on image recognition tasks on both few-shot learning and fine-tuning setups.

PaperPDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

lucidrains/omninet-pytorch mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Few-Shot LearningLanguage ModelingLanguage ModellingMachine TranslationTranslationde-en

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Language Modelling One Billion Word OmniNetT (Large) Number of params 100M #2 of 27 Archive leaderboard report
Language Modelling One Billion Word OmniNetT (Large) PPL 21.5 #2 of 27 Archive leaderboard report
Language Modelling One Billion Word OmniNetP (Large) Number of params 100M #3 of 27 Archive leaderboard report
Language Modelling One Billion Word OmniNetP (Large) PPL 21.6 #3 of 27 Archive leaderboard report
Language Modelling One Billion Word OmniNetB (Large) PPL 22 #5 of 27 Archive leaderboard report
Machine Translation WMT2014 English-French OmniNetP BLEU score 42.6 #17 of 57 Archive leaderboard report
Machine Translation WMT2014 English-German OmniNetP BLEU score 29.8 #17 of 91 Archive leaderboard report
Machine Translation WMT2017 Chinese-English OmniNetP BLEU 23.0 #3 of 3 Archive leaderboard report
Machine Translation WMT2017 English-Finnish OmniNetP BLEU 20.9 #1 of 1 Archive leaderboard report
Machine Translation WMT2017 English-French OmniNetP BLEU 43.1 #1 of 1 Archive leaderboard report
Machine Translation WMT2017 English-German OmniNetP BLEU 29.0 #1 of 1 Archive leaderboard report
Machine Translation WMT2017 Russian-English OmniNetP BLEU 36.2 #1 of 1 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections