Focus Your Attention (with Adaptive IIR Filters)

05/24/2023
by   Shahar Lutati, et al.
0

We present a new layer in which dynamic (i.e.,input-dependent) Infinite Impulse Response (IIR) filters of order two are used to process the input sequence prior to applying conventional attention. The input is split into chunks, and the coefficients of these filters are determined based on previous chunks to maintain causality. Despite their relatively low order, the causal adaptive filters are shown to focus attention on the relevant sequence elements. The layer performs on-par with state of the art networks, with a fraction of the parameters and with time complexity that is sub-quadratic with input size. The obtained layer is favorable to layers such as Heyna, GPT2, and Mega, both with respect to the number of parameters and the obtained level of performance on multiple long-range sequence problems.

READ FULL TEXT
research
07/26/2019

LinearConv: Regenerating Redundancy in Convolution Filters as Linear Combinations for Parameter Reduction

Convolutional Neural Networks (CNNs) show state-of-the-art performance i...
research
07/07/2020

Do Transformers Need Deep Long-Range Memory

Deep attention models have advanced the modelling of sequential data acr...
research
05/08/2023

Toeplitz Neural Network for Sequence Modeling

Sequence modeling has important applications in natural language process...
research
04/08/2019

Improving Image Classification Robustness through Selective CNN-Filters Fine-Tuning

Image quality plays a big role in CNN-based image classification perform...
research
05/31/2016

Dynamic Filter Networks

In a traditional convolutional layer, the learned filters stay fixed aft...
research
10/17/2022

What Makes Convolutional Models Great on Long Sequence Modeling?

Convolutional models have been widely used in multiple domains. However,...
research
12/07/2018

Removal of Parameter Adjustment of Frangi Filters in Case of Coronary Angiograms

Frangi Filters are one of the widely used filters for enhancing vessels ...

Please sign up or login with your details

Forgot password? Click here to reset