News for hackers. Stuff that matters.
Re:Kolmogorov-Arnold Networks by diwank on Wednesday May 01, 2024 @12:53AM (#40219640)
It’d be really cool to see a transformer with the MLP layers swapped for KANs and then compare its scaling properties with vanilla transformers
Re:Kolmogorov-Arnold Networks by gautam5669 on Wednesday May 01, 2024 @01:58AM (#40219995)
This is the first thought came to my mind too.

Given its sparse, Will this be just replacement for MoE.

Re:Kolmogorov-Arnold Networks by samus on Thursday May 02, 2024 @10:02AM (#40236445)
MoE is mostly used to enable load balancing since it makes it possible to put experts on different GPUs. This isn't so easy to do with a monolithic, but sparse layer.
Re:Kolmogorov-Arnold Networks by mp187 on Wednesday May 01, 2024 @04:57AM (#40220987)
Why was this your first thought? Is a limiting factor to transformers the MLP layer? I thought the bottleneck was in the renormalization part.
Re:Kolmogorov-Arnold Networks by brrrrrm on Wednesday May 01, 2024 @09:10AM (#40222676)
At small input size, yes the MLP dominates compute. At large input attention matters more
Re:Kolmogorov-Arnold Networks by bart1ett on Wednesday May 01, 2024 @11:18AM (#40224506)
After trying this out with the fourier implementation above, swapping MLP/Attention Linear layers for KANs (all, or even a few layers) produces diverging loss. KANs don't require normalization for good forward pass dynamics, but may be trickier to train in a deep net.
Re:Kolmogorov-Arnold Networks by thesz on Saturday May 04, 2024 @03:18PM (#40259682)
Note that KANs use LBFGS, which is second-order optimization method. My experience with the use of second-order features suggests that simple gradient descent often leads to divergence.