atlas

Research map / Architectures and efficiency / Attention and transformers

Orchid: Flexible and Data-Dependent Convolution for Sequence Modeling

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: State space and recurrent sequence models · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Orchid, a sub-quadratic sequence-mixing architecture whose core is a data-dependent global convolution with an input-conditioned kernel (shift-invariant conditioning networks), evaluated on associative recall, BERT-style language modeling (GLUE), and ViT image classification.

Problem

Attention has quadratic cost in sequence length, while static long convolutions lack data-dependent expressivity needed for in-context recall and long-context tasks.

Approach

Replace the static long-convolution kernel with one generated from the input by a conditioning network built from shift-invariant operations (magnitude of frequency-domain features, or frequency-domain cross-correlation of two short-convolved projections), so the data-dependent convolution stays shift-equivariant and runs in O(L log L) via FFT, combined with gating (element-wise multiplications) i

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace attention layers with Orchid layers in BERT-baseBERT-base · GLUEaverage GLUE score: 79.6 -> 80.6Helped
Replace attention layers with Orchid layers in BERT-largeBERT-large · GLUEaverage GLUE score: 82.1 -> 82.7Helped
Replace ViT attention with OrchidViT-b · ImageNet-1Ktop-1 accuracy: 78.5 -> 80.2Helped
Replace ViT attention with OrchidViT · CIFAR-10 (4 × 4 patches)top-1 accuracy: 78.6 -> 88.5Helped
Use Type II cross-correlation conditioning instead of Type I (ablation)Orchid-s · CIFAR-10 (2 × 2 patches)top-1 accuracy: 92.2 -> 92.3Helped
Use 2 × 2 patches instead of 4 × 4 patchesOrchid · CIFAR-10top-1 accuracyHelped
Use spatial-then-spectral Conv1D conditioning instead of spatial-only or spectral-only conditioning (ablation)Orchid conditioning network · Associative Recalltest accuracyHelped
Remove the nonlinearity from Type II cross-correlation conditioning (ablation)Type II Orchid conditioning network · Associative Recalltest accuracyHelped
Use Type I phase-suppression conditioning instead of Type II cross-correlation conditioning (ablation)Orchid conditioning network · Associative Recallconvergence speedMixed
Use DCT instead of DFT (ablation)Orchid conditioning network · Associative Recalllearning speedHelped
Use orthonormal Fourier transforms instead of non-orthonormal transforms (ablation)Orchid conditioning network · Associative Recalllearning speedHelped

Surprising findings

Limitations

Experimental setup

Datasets: C4 GLUE ImageNet-1K CIFAR-10 Speech Commands SC10 Associative recall (synthetic)

Benchmarks: GLUE ImageNet-1K CIFAR-10 Speech Commands SC10 Associative recall

Metrics: accuracy GLUE average score top-1 accuracy top-5 accuracy forward and backward runtime

Baselines: H3 CKConv Hyena BERT-base BERT-large M2-BERT-base M2-BERT-large ViT-b Hyena-ViT-b M2-ViT-b S4 FlashAttention

Builds on: Hyena CKConv Monarch Mixer BERT Vision Transformer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy