2021

LambdaNetworks: Modeling Long-Range Interactions Without Attention

Bello, Irwan

Understand

We present lambda layers -- an alternative framework to self-attention -- for capturing long-range interactions between an input and structured contextual information (e.g.

  • a pixel surrounded by other pixels).
  • Lambda layers capture such interactions by transforming available contexts into linear functions, termed lambdas, and applying these linear functions to each input separately.
  • Similar to linear attention, lambda layers bypass expensive attention maps, but in contrast, they model both content and position-based interactions which enables their application to large structured inputs such as images.

Reading the bibliography…