atlas

Research map / Architectures and efficiency / Attention and transformers

Perceiving Longer Sequences With Bi-Directional Cross-Attention Transformers

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Linear attention approximations · 5 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 BiXT, a linear-scaling Transformer that replaces Perceiver's iterative cross-attention with a bi-directional cross-attention where latents and tokens attend to each other using one shared similarity matrix.

Problem

Quadratic cost of full self-attention limits Transformers on long inputs, while Perceiver-style latent bottleneck architectures scale linearly but lag in performance and efficiency.

Approach

Latents and input tokens refine each other simultaneously in every layer via bi-directional cross-attention, exploiting an approximately symmetric attention pattern that lets one similarity matrix (computed once, using shared reference projections) serve both row- and column-wise softmax, cutting projections by about one third and keeping cost linear in input length.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace sequential cross-attention with bi-directional cross-attention at 12 layers (ablation)BiXT · ImageNet1K, 120 epochsTop-1 accuracy: 73.79{\scriptstyle~\pm~0.32} -> 73.86{\scriptstyle~\pm~0.39}No clear effect
Use bi-directional rather than sequential cross-attention with one additional layer at similar FLOPs (ablation)BiXT · ImageNet1K, 120 epochsTop-1 accuracy: 73.10{\scriptstyle~\pm~0.53} -> 74.10{\scriptstyle~\pm~0.14}Helped
Replace Perceiver-style iterative attention with bi-directional cross-attention (ablation)BiXT · ImageNet1K, 120 epochsTop-1 accuracy: 60.61{\scriptstyle~\pm~1.11} -> 74.10{\scriptstyle~\pm~0.14}Helped
Add affine grouping to BiXT (ablation)BiXT · ModelNet40OAHelped
Add hierarchical point reduction to affine grouping (ablation)BiXT · ModelNet40OAHelped
Add local token refinement (ablation)BiXT · ADE20KmIoUHelped
Add modality-specific token refinement and decoder (ablation)BiXT · ShapeNetPartclass mIoU: 83.5% -> 84.7%Helped
Increase image feature resolution using smaller patches (ablation)BiXT-Ti · ImageNet1KTop-1 accuracy: 80.1 -> 82.7Helped
Increase input resolution from 224² to 384² (ablation)BiXT · ImageNet1KTop-1 accuracy: +2.1%Helped
Increase the number of latent vectors (ablation)BiXT · ImageNet1KAccuracyHelped
Increase embedding dimension (ablation)BiXT · ImageNet1KAccuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet1K ModelNet40 ShapeNetPart ADE20K ListOps (LRA) AAN (LRA)

Benchmarks: ImageNet1K ModelNet40 ShapeNetPart ADE20K Long ListOps AAN document retrieval

Metrics: top-1 accuracy overall accuracy mIoU FLOPs throughput (samples/s) memory

Baselines: Perceiver Perceiver v2 Perceiver-IO DeiT DeiT3 PointNet PointMLP PVTv2 BiFormer Transformer on LRA

Builds on: Perceiver Perceiver-IO DeiT PointMLP Long Range Arena

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