paper-with-me

Papers

You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNet

2024-05-31 · Zhen Qin, Yuxin Mao, Xuyang Shen, Dong Li, Jing Zhang, Yuchao Dai, Yiran Zhong

Linear attention mechanisms have gained prominence in causal language models due to their linear computational complexity and enhanced speed. However, the inherent decay mechanism in linear attention presents challenges when applied to multi-dimensional sequence modeling tasks, such as image processing and multi-modal learning. In these scenarios, the utilization of sequential scanning to establish a global receptive field necessitates multiple scans for multi-dimensional data, thereby leading to inefficiencies. This paper identifies the inefficiency caused by a multiplicative linear recurrence and proposes an efficient alternative additive linear recurrence to avoid the issue, as it can handle multi-dimensional data within a single scan. We further develop an efficient multi-dimensional sequential modeling framework called LightNet based on the new recurrence. Moreover, we present two new multi-dimensional linear relative positional encoding methods, MD-TPE and MD-LRPE to enhance the model's ability to discern positional information in multi-dimensional scenarios. Our empirical evaluations across various tasks, including image classification, image generation, bidirectional language modeling, and autoregressive language modeling, demonstrate the efficacy of LightNet, showcasing its potential as a versatile and efficient solution for multi-dimensional sequential modeling.

📄 PDF Abstract BibTeX arXiv:2405.21022

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage ClassificationImage GenerationLanguage ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Reconstruction for Sparse View Tomography of Long Objects Applied to Imaging in the Wood Industry

2024-03-05 · Buda Bajić, Johannes A. J. Huber, Benedikt Neyses, Linus Olofsson 외

In the wood industry, logs are commonly quality screened by discrete X-ray scans on a moving conveyor belt from a few source positions. Typically, two-dimensional (2D) slice-wise measurements are obtained by a sequential…

Theoretically-Efficient and Practical Parallel DBSCAN

2019-12-12 · Yiqiu Wang, Yan Gu, Julian Shun

The DBSCAN method for spatial clustering has received significant attention due to its applicability in a variety of data analysis tasks. There are fast sequential algorithms for DBSCAN in Euclidean space that take $O(n\…

Clustering

Sequential-Scanning Dual-Energy CT Imaging Using High Temporal Resolution Image Reconstruction and Error-Compensated Material Basis Image Generation

2024-08-27 · Qiaoxin Li, Ruifeng Chen, Peng Wang, Guotao Quan 외

Dual-energy computed tomography (DECT) has been widely used to obtain quantitative elemental composition of imaged subjects for personalized and precise medical diagnosis. Compared with DECT leveraging advanced X-ray sou…

Image GenerationImage ReconstructionMedical Diagnosis

Reconstruction and segmentation from sparse sequential X-ray measurements of wood logs

2022-06-20 · Sebastian Springer, Aldo Glielmo, Angelina Senchukova, Tomi Kauppi 외

In industrial applications, it is common to scan objects on a moving conveyor belt. If slice-wise 2D computed tomography (CT) measurements of the moving object are obtained we call it a sequential scanning geometry. In t…

Computed Tomography (CT)

ACCELERATION: Sequentially-scanning DECT Imaging Using High Temporal Resolution Image Reconstruction And Temporal Extrapolation

2024-08-12 · Qiaoxin Li, Dong Liang, Yinsheng Li

Dual-energy computed tomography (DECT) has been widely used to obtain quantitative elemental composition of imaged subjects for personalized and precise medical diagnosis. Compared with existing high-end DECT leveraging …

Image ReconstructionMedical Diagnosis