Skip navigation
In deep learning, we often overparameterize, then guide training toward simple functions that…
0:00 / 0:53

In deep learning, we often overparameterize, then guide training toward simple functions that…

Jyo Pari

@jyo_pari3.3K followers

Visit on X
550 likesDownloadOriginal post

42,703 views

In deep learning, we often overparameterize, then guide training toward simple functions that generalize. We find that linear and softmax attention favor different tasks. Instead of choosing between them, we let the model learn its attention function through a more general polynomial parameterization.

9 Comments

Comments from the original post on X (Twitter)

  • Jyo Pari's profile picture

    @jyo_pari

    This is a small-scale study. Scaling up needs more work, particularly on stability, but also efficiency. Predicting coefficients per token could unify hybrid models by letting attention vary within a sequence. Blog: Thanks to @ShivamDuggal4 , Rafael, @ltorroba1 , @pulkitology & Yoon!

    28 likes

  • Jyo Pari's profile picture

    @jyo_pari

    Also Rafael has a account I forgot to tag: @HanashiroRafael

    6 likes

  • deep Manifold's profile picture

    @BetaTomorrow

    Polynomial functions are attractive for their approximation capability, but higher-order terms can make numerical convergence more difficult. please see ** The Myth of Overparameterization ** ** Single Token Geometry 03: Data Complexity **

    2 likes

  • Nikola Yordanov's profile picture

    @NikolaYord17250

    Like KAN

    1 like

  • Daniel Lenton's profile picture

    @DanielLenton1

    What do the learned attention functions look like for regression vs lookup?

  • Jyo Pari's profile picture

    @jyo_pari

    We tried interpreting the learned attention functions but didn’t find a clear distinction between the two tasks.

    3 likes

  • Victor Butoi's profile picture

    @ion_barrel

    How does this relate to PReLUs?

  • The SI Maximalist 🎬💙's profile picture

    @thesimaximalist

    Which tasks did linear and softmax each favor?

  • Brandon Amos's profile picture

    @brandondamos

    nice, congrats! curious if you also thought about other parametizations? like a scalar more directly interpolating between the linear and softmax values instead of the polynomial