UNBOXING: Lottery Ticket Hypothesis

This week I read papers that blows my mind. I write this blog to share my understanding about Lottery Ticket Hypothesis. As always, suggestions and corrections are always welcome 😃 Drawing Winning Tickets Model pruning is a commonly used practice to reduce the number of parameters in a model while still maintaining performance. The question is, if a smaller model with fewer parameters can achieve good evaluation results, why do we need to train the entire model?...

February 27, 2023 · 7 min · 1326 words · Sulthan Abiyyu

UNBOXING: FNet, Mixing Tokens with Fouriers Transforms

Last Sunday, I was waiting for my order at the food court with my family. That second I decided to skim the FNet paper to kill time. In this article, I will explain everything I know about FNet: Mixing Tokens with Fourier Transforms. Please correct me if you find something incorrect 😀 Introduction In the FNet paper, the author uses the fourier transform as a sublayer that replaces the multi head attention sublayer in transformer....

January 24, 2023 · 6 min · 1147 words · Sulthan Abiyyu

UNBOXING: Transformer Encoder and Decoder

I always forget things I’ve learned; It doesn’t seem right. I wrote this blog mainly to refresh my own knowledge about transformer. I hope someone who reads this blog will find it useful. If something isn’t correct, please let me know 😀 Architecture The transformer architecture from the famous “Attention Is All You Need” paper looks like this: Basically, it has two main parts: the encoder block (left) and the decoder block (right)....

January 22, 2023 · 8 min · 1578 words · Sulthan Abiyyu

UNBOXING: Batch Gradient Descent

If you familiar with linear regression, we need to define the slope and intercept to make the regression. What if we want to fit our linear regression model to numerical data? How do we get the best combination of slope and intercept with the least errors among the data? One of the answers is through gradient descent. Gradient descent may be one of the most important concepts that machine learning practitioners or enthusiasts must understand....

December 14, 2022 · 6 min · 1230 words · Sulthan Abiyyu

The Long Journey of Solving Gradient Problem

Introduction In neural networks, we use gradients to examine and tweak our weight so it can converge and hopefully have a good general performance. Neural networks were invented around 1944 by Warren McCullough and Walter Pitts. But why is it just trending recently? In the early 2000s, deep neural networks were considered as abandoned technology because they tend to have unstable gradients. This problem is known as vanishing gradient or the opposite, exploding gradient problem....

February 13, 2022 · 7 min · 1283 words · Sulthan Abiyyu