• bitcoinBitcoin(BTC)$77,286.00-0.53%
  • ethereumEthereum(ETH)$2,483.68-1.46%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$717.95-0.86%
  • rippleXRP(XRP)$1.401.06%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$100.91-0.62%
  • tronTRON(TRX)$0.337721-0.43%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.00%
  • zcashZcash(ZEC)$1,147.800.55%
  • HyperliquidHyperliquid(HYPE)$79.14-0.92%
  • dogecoinDogecoin(DOGE)$0.082867-1.74%
  • USDSUSDS(USDS)$1.000.01%
  • moneroMonero(XMR)$514.461.65%
  • RainRain(RAIN)$0.013415-11.34%
  • whitebitWhiteBIT Coin(WBT)$79.94-0.74%
  • chainlinkChainlink(LINK)$11.430.16%
  • leo-tokenLEO Token(LEO)$8.96-0.02%
  • cardanoCardano(ADA)$0.204845-2.14%
  • stellarStellar(XLM)$0.1927834.55%
  • Ethena USDeEthena USDe(USDE)$1.000.02%
  • daiDai(DAI)$1.00-0.02%
  • bitcoin-cashBitcoin Cash(BCH)$221.79-0.28%
  • USD1USD1(USD1)$1.000.00%
  • uniswapUniswap(UNI)$6.654.93%
  • litecoinLitecoin(LTC)$52.89-1.98%
  • CantonCanton(CC)$0.095331-0.39%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.34-0.70%
  • hedera-hashgraphHedera(HBAR)$0.0771890.70%
  • avalanche-2Avalanche(AVAX)$7.501.13%
  • Global DollarGlobal Dollar(USDG)$1.000.02%
  • nearNEAR Protocol(NEAR)$2.38-1.84%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.75%
  • suiSui(SUI)$0.71-1.80%
  • paypal-usdPayPal USD(PYUSD)$1.000.03%
  • crypto-com-chainCronos(CRO)$0.057138-1.69%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,288.50-0.74%
  • BittensorBittensor(TAO)$230.51-1.74%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • MemeCoreMemeCore(M)$1.130.00%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • okbOKB(OKB)$112.85-0.95%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.24%
  • aaveAave(AAVE)$127.290.82%
  • mantleMantle(MNT)$0.571.04%
  • BitwayBitway(BTW)$0.69-8.92%
  • AsterAster(ASTER)$0.69-1.35%
  • pax-goldPAX Gold(PAXG)$4,290.99-0.78%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.057221-0.31%
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

DiJiang: A Groundbreaking Frequency Domain Kernelization Method Designed to Address the Computational Inefficiencies Inherent in Traditional Transformer Models

April 3, 2024
in AI & Technology
Reading Time: 4 mins read
A A
DiJiang: A Groundbreaking Frequency Domain Kernelization Method Designed to Address the Computational Inefficiencies Inherent in Traditional Transformer Models
ShareShareShareShareShare

Outstanding results in various tasks, including document generation/summarization, machine translation, and speech recognition, have propelled the Transformer architecture to the forefront of Natural Language Processing (NLP). Large language models (LLMs) have recently emerged as the dominant model due to their ability to solve ever-increasingly difficult tasks by scaling up the Transformer structure. Nevertheless, the attention mechanism necessitates cross-correlation calculations between each token, increasing the processing needs associated with this scaling. These models’ processing needs, inference costs, and energy consumption pose substantial challenges when trying to deploy them in situations with limited resources, such as mobile devices and robotics.

Studies have focused on improving the Transformer architecture to meet the urgent demand for more efficient Transformer models. Model pruning, quantization, and the creation of more effective attention processes are just a few of the many approaches that have been proposed. Simplifying the attention process is one of the most promising of these initiatives. This method aims to simplify attention mechanisms from their quadratic complexity to a more tractable linear scale. However, most current optimization strategies for Transformers require extensive retraining, especially regarding their attention processes. This retraining procedure is quite difficult, particularly for models that have a huge number of parameters. The time and computational resources needed to complete it are substantial.

Researchers from Peking University and Huawei Noah’s Ark Lab carried out a comprehensive review of current linear attention techniques to tackle the problem of fast attention approximations in big language models. They found that Monte Carlo sampling is the major culprit in these approaches’ approximation errors.

The team introduces DiJiang, a Frequency Domain Kernelization method, a novel approach in Natural Language Processing. This method, a type of weighted Quasi-Monte Carlo sampling, uses the Discrete Cosine Transform (DCT) to efficiently and precisely transfer the Transformer’s queries and keys to the frequency domain. By doing so, it simplifies the attention computation by removing the softmax operation from the attention mechanism. This innovative approach ensures that training costs for the adaptation from a vanilla Transformer to a linear attention model are kept modest.

The team’s comprehensive trials confirm that DiJiang accomplishes performance comparable to traditional Transformers while simultaneously improving inference speeds and reducing training costs by approximately ten times. What’s more, this method also benefits from higher inference speeds, which can reach up to ten times faster. This frequency domain mapping is shown to be roughly equal to the original attention mechanism in their theoretical demonstration. Promising broader applicability and facilitating breakthroughs in different tasks within natural language processing and beyond, this technology marks a substantial advancement in the creation of efficient and scalable Transformer models. 


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 39k+ ML SubReddit


YOU MAY ALSO LIKE

Meta Introduces ZGateway: A Stateless Proxy Tier That Unifies ZippyDB Traffic and Handles Over 1 Billion Operations Per Second

How To Use Meta Display Glasses While Driving With The Audio Only Feature

Dhanshree Shenwai is a Computer Science Engineer and has a good experience in FinTech companies covering Financial, Cards & Payments and Banking domain with keen interest in applications of AI. She is enthusiastic about exploring new technologies and advancements in today’s evolving world making everyone’s life easy.


🐝 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

Meta Introduces ZGateway: A Stateless Proxy Tier That Unifies ZippyDB Traffic and Handles Over 1 Billion Operations Per Second
AI & Technology

Meta Introduces ZGateway: A Stateless Proxy Tier That Unifies ZippyDB Traffic and Handles Over 1 Billion Operations Per Second

September 15, 2026
How To Use Meta Display Glasses While Driving With The Audio Only Feature
AI & Technology

How To Use Meta Display Glasses While Driving With The Audio Only Feature

September 15, 2026
Can You Use An Apple Pencil With An iPhone?
AI & Technology

Can You Use An Apple Pencil With An iPhone?

September 15, 2026
Is The Samsung Galaxy S24 Still Worth Buying?
AI & Technology

Is The Samsung Galaxy S24 Still Worth Buying?

September 14, 2026
Next Post
Euro zone inflation March 2024

Euro zone inflation March 2024

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Breaking Down Apple’s First Foldable iPhone With Mark Gurman

Breaking Down Apple’s First Foldable iPhone With Mark Gurman

September 12, 2026
Hurricane carves path of destruction in Hawaii

Hurricane carves path of destruction in Hawaii

September 14, 2026
Moss Developer Polyarc Has Closed

Moss Developer Polyarc Has Closed

September 11, 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!