paper-with-me

Papers

FIT: Far-reaching Interleaved Transformers

2023-05-22 · Ting Chen, Lala Li

We present FIT: a transformer-based architecture with efficient self-attention and adaptive computation. Unlike original transformers, which operate on a single sequence of data tokens, we divide the data tokens into groups, with each group being a shorter sequence of tokens. We employ two types of transformer layers: local layers operate on data tokens within each group, while global layers operate on a smaller set of introduced latent tokens. These layers, comprising the same set of self-attention and feed-forward layers as standard transformers, are interleaved, and cross-attention is used to facilitate information exchange between data and latent tokens within the same group. The attention complexity is $O(n^2)$ locally within each group of size $n$, but can reach $O(L^{{4}/{3}})$ globally for sequence length of $L$. The efficiency can be further enhanced by relying more on global layers that perform adaptive computation using a smaller set of latent tokens. FIT is a versatile architecture and can function as an encoder, diffusion decoder, or autoregressive decoder. We provide initial evidence demonstrating its effectiveness in high-resolution image understanding and generation tasks. Notably, FIT exhibits potential in performing end-to-end training on gigabit-scale data, such as 6400$\times$6400 images, or 160K tokens (after patch tokenization), within a memory capacity of 16GB, without requiring specific optimizations or model parallelism.

📄 PDF Abstract BibTeX arXiv:2305.12689

Code (1)

google-research/pix2seq 공식 구현 tf

Tasks

Decoder

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

SIGMA: Selective-Interleaved Generation with Multi-Attribute Tokens

2026-02-07 · Xiaoyan Zhang, Zechen Bai, Haofan Wang, Yiren Song arxiv

Recent unified models such as Bagel demonstrate that paired image-edit data can effectively align multiple visual tasks within a single diffusion transformer. However, these models remain limited to single-condition inpu…

Using Interleaved Ensemble Unlearning to Keep Backdoors at Bay for Finetuning Vision Transformers

2024-10-01 · Zeyu Michael Li

Vision Transformers (ViTs) have become popular in computer vision tasks. Backdoor attacks, which trigger undesirable behaviours in models during inference, threaten ViTs' performance, particularly in security-sensitive t…

nnFormer: Interleaved Transformer for Volumetric Segmentation

2021-09-07 · Hong-Yu Zhou, Jiansen Guo, Yinghao Zhang, Lequan Yu 외

Transformer, the model of choice for natural language processing, has drawn scant attention from the medical imaging community. Given the ability to exploit long-term dependencies, transformers are promising to help atyp…

Image SegmentationInductive BiasMedical Image SegmentationSegmentation+2

Improving Transformer Models by Reordering their Sublayers

2019-11-10 · ACL 2020 6 · Ofir Press, Noah A. Smith, Omer Levy

Multilayer transformer networks consist of interleaved self-attention and feedforward sublayers. Could ordering the sublayers in a different pattern lead to better performance? We generate randomly ordered transformers a…

Language ModelingLanguage ModellingMachine TranslationTranslation

Mixture-of-Mamba: Enhancing Multi-Modal State-Space Models with Modality-Aware Sparsity

2025-01-27 · Weixin Liang, Junhong Shen, Genghan Zhang, Ning Dong 외

State Space Models (SSMs) have emerged as efficient alternatives to Transformers for sequential modeling, but their inability to leverage modality-specific features limits their performance in multi-modal pretraining. He…

Computational EfficiencyMambaState Space Models