paper-with-me

홈 › Papers

Laughing Hyena Distillery: Extracting Compact Recurrences From Convolutions

2023-10-28 · NeurIPS 2023 11

Recent advances in attention-free sequence models rely on convolutions as alternatives to the attention operator at the core of Transformers. In particular, long convolution sequence models have achieved state-of-the-art performance in many domains, but incur a significant cost during auto-regressive inference workloads -- naively requiring a full pass (or caching of activations) over the input sequence for each generated token -- similarly to attention-based models. In this paper, we seek to enable $\mathcal O(1)$ compute and memory cost per token in any pre-trained long convolution architecture to reduce memory footprint and increase throughput during generation. Concretely, our methods consist in extracting low-dimensional linear state-space models from each convolution layer, building upon rational interpolation and model-order reduction techniques. We further introduce architectural improvements to convolution-based layers such as Hyena: by weight-tying the filters across channels into heads, we achieve higher pre-training quality and reduce the number of filters to be distilled. The resulting model achieves 10x higher throughput than Transformers and 1.5x higher than Hyena at 1.3B parameters, without any loss in quality after distillation.

📄 PDF Abstract BibTeX arXiv:2310.18780

Code (1)

togethercomputer/stripedhyena pytorch

Tasks

State Space Models

Methods 이 논문이 사용한 방법론

Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…

Similar Papers 제목 키워드 기반

HyEnA: A Hybrid Method for Extracting Arguments from Opinions

2021-12-17 · ACL ARR December 2022 12 · Anonymous

The key arguments underlying a large and noisy set of opinions help understand the opinions quickly and accurately. Fully automated methods can extract arguments but (1) require large labeled datasets and (2) work well f…

A Hybrid Intelligence Method for Argument Mining

2024-03-11 · Michiel van der Meer, Enrico Liscio, Catholijn M. Jonker, Aske Plaat 외

Large-scale survey tools enable the collection of citizen feedback in opinion corpora. Extracting the key arguments from a large and noisy set of opinions helps in understanding the opinions quickly and accurately. Fully…

Argument Mining

HyenaPixel: Global Image Context with Convolutions

2024-02-29 · Julian Spravil, Sebastian Houben, Sven Behnke

In computer vision, a larger effective receptive field (ERF) is associated with better performance. While attention natively supports global context, its quadratic complexity limits its applicability to tasks that benefi…

Image ClassificationObject DetectionSemantic Segmentation

scHyena: Foundation Model for Full-Length Single-Cell RNA-Seq Analysis in Brain

2023-10-04 · Gyutaek Oh, Baekgyu Choi, Inkyung Jung, Jong Chul Ye

Single-cell RNA sequencing (scRNA-seq) has made significant strides in unraveling the intricate cellular diversity within complex tissues. This is particularly critical in the brain, presenting a greater diversity of cel…

DiversityImputation

How do Hyenas deal with Human Speech? Speech Recognition and Translation with ConfHyena

2024-02-20 · Marco Gaido, Sara Papi, Matteo Negri, Luisa Bentivogli

The attention mechanism, a cornerstone of state-of-the-art neural models, faces computational hurdles in processing long sequences due to its quadratic complexity. Consequently, research efforts in the last few years foc…

Automatic Speech Recognitionimage-classificationImage ClassificationLanguage Modeling+3