mlsanityData to 7 Oct 2026

Orchid: Flexible and Data-Dependent Convolution for Sequence Modeling

arXiv 2402.18508 ↗First posted 28 Feb 2024cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

In the rapidly evolving field of deep learning, the demand for models that are both expressive and computationally efficient has never been more critical. This paper introduces Orchid, a novel architecture designed to address the quadratic complexity of traditional attention mechanisms without compromising the ability to capture long-range dependencies and in-context learning. At the core of this architecture lies a new data-dependent global convolution layer, which contextually adapts its kernel conditioned on input sequence using a dedicated conditioning neural network. We design two simple conditioning networks that maintain shift equivariance in our data-dependent convolution operation. The dynamic nature of the proposed convolution kernel grants Orchid high expressivity while maintaining quasilinear scalability for long sequences. We evaluate the proposed model across multiple domains, including language modeling and image classification, to highlight its performance and generality. Our experiments demonstrate that this architecture not only outperforms traditional attention-based architectures such as BERT and Vision Transformers with smaller model sizes, but also extends the feasible sequence length beyond the limitations of the dense attention layers. This achievement represents a significant step towards more efficient and scalable deep learning models for sequence modeling. The code is available at https://github.com/Karami-m/orchid.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 58 of its 78 references that are in the map. First posted on arXiv 28 Feb 2024.

Builds on

58 of 78 references.

References · 58

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  9. 2020Longformer: The Long-Document Transformercited by 3,362
  10. 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,806
  11. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  12. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
38 more
  1. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  2. 2020Reformer: The Efficient Transformercited by 1,658
  3. 2020Rethinking Attention with Performerscited by 1,584
  4. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  5. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  6. 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,131
  7. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  8. 2022In-context Learning and Induction Headscited by 930
  9. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
  10. 2020Efficient Transformers: A Surveycited by 784
  11. 2018Image Transformercited by 770
  12. 2018Tensor field networks: Rotation- and translation-equivariant neural networks for 3D point cloudscited by 735
  13. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  14. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  15. 2020A Generalization of Transformer Networks to Graphscited by 653
  16. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  17. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
  18. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  19. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  20. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  21. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
  22. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  23. 2019Dynamic Convolution: Attention over Convolution Kernelscited by 355
  24. 2021Random Feature Attentioncited by 350
  25. 2022Long Range Language Modeling via Gated State Spacescited by 265
  26. 2020Sparse Sinkhorn Attentioncited by 250
  27. 2021Adaptive Fourier Neural Operators: Efficient Token Mixers for Transformerscited by 237
  28. 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
  29. 2019Blockwise Self-Attention for Long Document Understandingcited by 158
  30. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
  31. 2021CKConv: Continuous Kernel Convolution For Sequential Datacited by 117
  32. 2021An Attention Free Transformercited by 111
  33. 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
  34. 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 100
  35. 2022Better plain ViT baselines for ImageNet-1kcited by 97
  36. 2020ConvBERT: Improving BERT with Span-based Dynamic Convolutioncited by 88
  37. 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 86
  38. 2021How to Train BERT with an Academic Budgetcited by 80

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 3.

6 papers.