paper-with-me

Papers

Linear Context Transform Block

2019-09-06 · Dongsheng Ruan, Jun Wen, Nenggan Zheng, Min Zheng

Squeeze-and-Excitation (SE) block presents a channel attention mechanism for modeling global context via explicitly capturing dependencies across channels. However, we are still far from understanding how the SE block works. In this work, we first revisit the SE block, and then present a detailed empirical study of the relationship between global context and attention distribution, based on which we propose a simple yet effective module, called Linear Context Transform (LCT) block. We divide all channels into different groups and normalize the globally aggregated context features within each channel group, reducing the disturbance from irrelevant channels. Through linear transform of the normalized context features, we model global context for each channel independently. The LCT block is extremely lightweight and easy to be plugged into different backbone models while with negligible parameters and computational burden increase. Extensive experiments show that the LCT block outperforms the SE block in image classification task on the ImageNet and object detection/segmentation on the COCO dataset with different backbone models. Moreover, LCT yields consistent performance gains over existing state-of-the-art detection architectures, e.g., 1.5$\sim$1.7% AP$^{bbox}$ and 1.0$\sim$1.2% AP$^{mask}$ improvements on the COCO benchmark, irrespective of different baseline models of varied capacities. We hope our simple yet effective approach will shed some light on future research of attention-based models.

📄 PDF Abstract BibTeX arXiv:1909.03834

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage Classificationobject-detectionObject Detection

Similar Papers 제목 키워드 기반

Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scaling

2026-04-27 · Parsa Ashrafi Fashi, Utkarsh Saxena, Mehdi Rezagholizadeh, Aref Jafari 외 arxiv

Hybrid sequence models that combine efficient Transformer components with linear sequence modeling blocks are a promising alternative to pure Transformers, but most are still pretrained from scratch and therefore fail to…

Common Sense Reasoning

Mixture of Layers with Hybrid Attention

2026-05-10 · Ivan Ternovtsii, Yurii Bilak arxiv

Standard Mixture-of-Experts (MoE) transformers route tokens to expert subnetworks within each layer, but the layer structure itself remains monolithic. We introduce Mixture of Layers (MoL), which replaces full-width tran…

On the Role of Transformer Feed-Forward Layers in Nonlinear In-Context Learning

2025-01-30 · Haoyuan Sun, Ali Jadbabaie, Navid Azizan

Transformer-based models demonstrate a remarkable ability for in-context learning (ICL), where they can adapt to unseen tasks from a few prompt examples without parameter updates. Notably, recent research has provided in…

In-Context Learning

A Simple Generalisation of the Implicit Dynamics of In-Context Learning

2025-12-12 · Francesco Innocenti, El Mehdi Achour arxiv

In-context learning (ICL) refers to the ability of a model to learn new tasks from examples in its input without any parameter updates. In contrast to previous theories of ICL relying on toy models and data settings, rec…

Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention

2024-04-10 · Tsendsuren Munkhdalai, Manaal Faruqui, Siddharth Gopal

This work introduces an efficient method to scale Transformer-based Large Language Models (LLMs) to infinitely long inputs with bounded memory and computation. A key component in our proposed approach is a new attention …

Book summarizationLanguage ModelingLanguage ModellingRetrieval