• bitcoinBitcoin(BTC)$80,406.004.68%
  • ethereumEthereum(ETH)$2,419.456.91%
  • tetherTether(USDT)$1.000.06%
  • binancecoinBNB(BNB)$714.033.58%
  • rippleXRP(XRP)$1.313.16%
  • usd-coinUSDC(USDC)$1.000.02%
  • solanaSolana(SOL)$96.024.66%
  • tronTRON(TRX)$0.319503-0.51%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.051.52%
  • zcashZcash(ZEC)$1,314.788.82%
  • HyperliquidHyperliquid(HYPE)$83.14-0.28%
  • moneroMonero(XMR)$638.311.61%
  • dogecoinDogecoin(DOGE)$0.0767184.04%
  • USDSUSDS(USDS)$1.000.05%
  • whitebitWhiteBIT Coin(WBT)$77.795.28%
  • chainlinkChainlink(LINK)$11.536.22%
  • leo-tokenLEO Token(LEO)$9.350.54%
  • cardanoCardano(ADA)$0.1979015.97%
  • stellarStellar(XLM)$0.1675654.87%
  • bitcoin-cashBitcoin Cash(BCH)$281.924.48%
  • nearNEAR Protocol(NEAR)$4.015.16%
  • uniswapUniswap(UNI)$7.697.00%
  • daiDai(DAI)$1.000.02%
  • Ethena USDeEthena USDe(USDE)$1.000.06%
  • litecoinLitecoin(LTC)$56.035.23%
  • RainRain(RAIN)$0.005954-5.92%
  • CantonCanton(CC)$0.1025046.41%
  • avalanche-2Avalanche(AVAX)$8.763.61%
  • suiSui(SUI)$0.935.49%
  • USD1USD1(USD1)$1.000.04%
  • tether-goldTether Gold(XAUT)$4,118.224.52%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.160.67%
  • hedera-hashgraphHedera(HBAR)$0.0728106.09%
  • quant-networkQuant(QNT)$206.788.51%
  • Global DollarGlobal Dollar(USDG)$1.000.03%
  • shiba-inuShiba Inu(SHIB)$0.0000053.75%
  • BittensorBittensor(TAO)$235.005.29%
  • paypal-usdPayPal USD(PYUSD)$1.000.04%
  • crypto-com-chainCronos(CRO)$0.0522675.48%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • EthenaEthena(ENA)$0.1805275.10%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.16%
  • okbOKB(OKB)$111.894.64%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • pepePepe(PEPE)$0.0000051.83%
  • aaveAave(AAVE)$132.384.52%
  • OndoOndo(ONDO)$0.4099206.20%
  • Pump.funPump.fun(PUMP)$0.0043122.40%
  • MemeCoreMemeCore(M)$0.840.52%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

GROKFAST: A Machine Learning Approach that Accelerates Grokking by Amplifying Slow Gradients

June 6, 2024
in AI & Technology
Reading Time: 4 mins read
A A
GROKFAST: A Machine Learning Approach that Accelerates Grokking by Amplifying Slow Gradients
ShareShareShareShareShare

Grokking is a newly developed phenomenon where a model starts to generalize well long after it has overfitted to the training data. It was first seen in a two-layer Transformer trained on a simple dataset. In grokking, generalization occurs only after many more training iterations than overfitting. This requires high computational resources, making it less practical for most machine learning practitioners with limited resources. To fully understand this unusual behavior, there is a need for faster generalization in these overfitting systems. The main aim is to speed up the grokking phenomenon.

An existing method, grokking is a newly discovered phenomenon that shows that overparameterized neural networks can generalize and reason beyond just memorizing the dataset. Most research focuses on understanding this mechanism, linking grokking to the double descent phenomenon, where validation error first increases and then decreases as model parameters grow. Apart from this method, optimization techniques are used in which a model’s generalization patterns vary significantly with different optimization methods like mini-batch training, choice of optimizer, weight decay, noise injection, dropout, and learning rate all affect the model’s grokking pattern.

Researchers from the Seoul National University, Korea introduced GROKFAST, an algorithm that accelerated grokking by amplifying slow gradients. Researchers proved through experiments that GROKFAST algorithms have the potential to solve a wide variety of tasks that contain images, languages, and graphs. This makes the unique artifact of immediate generalization practically useful. Further, the parameter trajectories under gradient descent are split into two components: the fast-varying, overfitting-yielding component and the slow-varying, generalization-inducing component. This analysis helps the grokking method to become 50 times faster with only a few lines of code. 

During the experiment, the idea of the algorithmic dataset used in the first report on grokking is shown, where the network is a two-layer decoder-only transformer trained to predict the answer of a modular binary multiplication operation. Comparing the time to reach an accuracy of 0.95, the validation accuracy keeps improving longer. It reaches its peak 97.3 times later than the training accuracy, which quickly reaches its maximum and starts overfitting. Further, hyperparameters are selected from a simple grid search, and found that the filter works best when λ(scalar factor) = 5 and w(window size) = 100. Also, there is a reduction of 13.57 times in the number of iterations to reach the validation accuracy of 0.95, which is a good result.  

The proposed method is based on the idea that slow gradients (low-pass filtered gradient updates) help in generalization. The training dynamics of a model are interpreted under grokking as a state transition, where the model goes through three stages: 

  • Initialized, where both the training and validation losses are not saturated
  • Overfitted, where the training loss is completely saturated but validation loss is not saturated
  • Generalized, where both losses are saturated. 

Moreover, research suggests that the weight decay hyperparameter significantly plays a critical role in the grokking phenomenon.

In conclusion, researchers from the Seoul National University, Korea have proposed an algorithm, GROKFAST, that accelerated grokking phenomenon by amplifying slow gradients. The analysis of how each model parameter changes into a random signal during training iteration helps to separate gradient updates into fast-varying and slow-varying components. Despite showing outstanding results, there is a limit in the utilization by GROKFAST that needs w times more memory to store all the previous gradients. Also replication of the model parameters also makes the training slower.


Check out the Paper and GitHub. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our 43k+ ML SubReddit | Also, check out our AI Events Platform


YOU MAY ALSO LIKE

Cat Wu to Lead Product Management for OpenAI’s Core Products – Unite.AI

Snap Has More Than 30 Million Paid Subscribers Across Snapchat+ And Other Plans

Sajjad Ansari is a final year undergraduate from IIT Kharagpur. As a Tech enthusiast, he delves into the practical applications of AI with a focus on understanding the impact of AI technologies and their real-world implications. He aims to articulate complex AI concepts in a clear and accessible manner.


🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

Cat Wu to Lead Product Management for OpenAI’s Core Products – Unite.AI
AI & Technology

Cat Wu to Lead Product Management for OpenAI’s Core Products – Unite.AI

November 5, 2026
Snap Has More Than 30 Million Paid Subscribers Across Snapchat+ And Other Plans
AI & Technology

Snap Has More Than 30 Million Paid Subscribers Across Snapchat+ And Other Plans

November 4, 2026
Atmospheric AI Secures M Seed for Procurement Modeling Push – Unite.AI
AI & Technology

Atmospheric AI Secures $10M Seed for Procurement Modeling Push – Unite.AI

November 4, 2026
Perplexity Adds Live Web Grounding to Its Decisions API – Unite.AI
AI & Technology

Perplexity Adds Live Web Grounding to Its Decisions API – Unite.AI

November 4, 2026
Next Post
At least 4 killed, 2 injured in Michigan house explosion

At least 4 killed, 2 injured in Michigan house explosion

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Cuban animals lovers struggle to care for pets as economic crisis continues

Cuban animals lovers struggle to care for pets as economic crisis continues

October 30, 2026
Paladin Energy: Positive Results, But Short-Term Risks Persist

Paladin Energy: Positive Results, But Short-Term Risks Persist

October 29, 2026
TOP 5 STOCKS TO WATCH THIS WEEK | NOVEMBER 2026

TOP 5 STOCKS TO WATCH THIS WEEK | NOVEMBER 2026

November 2, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!