2024

Fourier Circuits in Neural Networks and Transformers: A Case Study of Modular Arithmetic with Multiple Inputs

Li, Chenyang, Liang, Yingyu, Shi, Zhenmei et al.

Understand

In the evolving landscape of machine learning, a pivotal challenge lies in deciphering the internal representations harnessed by neural networks and Transformers.

  • Building on recent progress toward comprehending how networks execute distinct target functions, our study embarks on an exploration of the underlying reasons behind networks adopting specific computational strategies.
  • We direct our focus to the complex algebraic learning task of modular addition involving $k$ inputs.
  • Our research presents a thorough analytical characterization of the features learned by stylized one-hidden layer neural networks and one-layer Transformers in addressing this task.

Reading the bibliography…