• bitcoinBitcoin(BTC)$78,388.000.85%
  • ethereumEthereum(ETH)$2,292.831.22%
  • tetherTether(USDT)$1.00-0.05%
  • binancecoinBNB(BNB)$710.340.73%
  • rippleXRP(XRP)$1.250.08%
  • usd-coinUSDC(USDC)$1.00-0.05%
  • solanaSolana(SOL)$94.95-0.54%
  • tronTRON(TRX)$0.3140521.04%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.081.11%
  • zcashZcash(ZEC)$1,275.982.50%
  • HyperliquidHyperliquid(HYPE)$87.72-0.18%
  • dogecoinDogecoin(DOGE)$0.0759580.25%
  • moneroMonero(XMR)$608.820.54%
  • USDSUSDS(USDS)$1.00-0.06%
  • whitebitWhiteBIT Coin(WBT)$75.300.84%
  • chainlinkChainlink(LINK)$11.39-2.19%
  • leo-tokenLEO Token(LEO)$9.39-0.10%
  • cardanoCardano(ADA)$0.192608-0.31%
  • stellarStellar(XLM)$0.168909-0.07%
  • bitcoin-cashBitcoin Cash(BCH)$283.33-0.68%
  • nearNEAR Protocol(NEAR)$4.26-2.59%
  • daiDai(DAI)$1.00-0.06%
  • uniswapUniswap(UNI)$7.261.05%
  • Ethena USDeEthena USDe(USDE)$1.00-0.05%
  • litecoinLitecoin(LTC)$55.60-0.93%
  • RainRain(RAIN)$0.005611-8.72%
  • USD1USD1(USD1)$1.00-0.02%
  • CantonCanton(CC)$0.096185-1.41%
  • avalanche-2Avalanche(AVAX)$8.66-3.02%
  • suiSui(SUI)$0.90-0.49%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.21-0.75%
  • hedera-hashgraphHedera(HBAR)$0.071355-0.98%
  • tether-goldTether Gold(XAUT)$3,909.671.05%
  • Global DollarGlobal Dollar(USDG)$1.00-0.04%
  • quant-networkQuant(QNT)$199.17-0.42%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.03%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.43%
  • BittensorBittensor(TAO)$232.49-2.07%
  • crypto-com-chainCronos(CRO)$0.051076-0.24%
  • EthenaEthena(ENA)$0.181798-3.13%
  • Ripple USDRipple USD(RLUSD)$1.00-0.05%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.10%
  • okbOKB(OKB)$113.722.59%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • pepePepe(PEPE)$0.000005-1.67%
  • aaveAave(AAVE)$133.77-4.04%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • MemeCoreMemeCore(M)$0.85-6.05%
  • OndoOndo(ONDO)$0.400481-3.12%
  • Pump.funPump.fun(PUMP)$0.004152-1.60%
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

Lean, Mean, AI Dream Machine: DejaVu Cuts AI Chit-Chat Costs Without Losing Its Wits

November 4, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Lean, Mean, AI Dream Machine: DejaVu Cuts AI Chit-Chat Costs Without Losing Its Wits
ShareShareShareShareShare

Training a large language model requires significant computational resources, including powerful GPUs and TPUs, as well as specialized hardware such as AI accelerators. These resources can be expensive to acquire and maintain. Gathering and preparing the vast amounts of data needed to train large language models can be a costly and time-consuming process. High-quality, diverse, and representative datasets are essential for model performance.

Training large language models can take weeks or even months, depending on the model’s size and complexity. Sparsity is a natural approach to reducing this cost. The existing methods require costly retraining or do not yield wall-clock time speedup on modern hardware. The researchers have developed a new input-dependent set of attention heads and MLP parameters that yield approximately the same output as the dense models with a given input for a longer time. 

They hypothesize that contextual sparsity exists, and when they are accurately predicted, they can speed up the LLM inference in wall-clock time without compromising LLM’s quality or in-context learning ability. They propose “DEJAVU“, a system that uses a low-cost algorithm to predict contextual sparsity on the fly given inputs to each layer, along with an asynchronous and hardware implementation that speeds up LLM inference. 

Even if contextual sparsity exists, it is challenging to predict the sparsity for a given input in advance. It is nontrivial to verify if such contextual sparsity exists, and naive verification can be prohibitively expensive. It might also be difficult to achieve end-to-end wall-clock time speedup. The team has verified the existence of such sparsity with a simple approach. Contextual sparsity depends not only on individual input tokens but also on their interactions. Only with token embeddings with sufficient contextual information, they predict sparsity accurately.

The contextual sparsity in the MLP block can be identified after computing the activation. However, this only demonstrates the existence of contextual sparsity but brings no benefits in terms of efficiency. A fast and precise prediction is needed to exploit contextual sparsity for end-to-end efficiency.

DEJAVU uses lookahead predictors to side-step prediction costs. Given the input to the attention layer at block k, they asynchronously predict the contextual sparsity for the MLP at block k and provide the information to the MLP at block k. They then predict the sparsity for the attention head at the next layer. They also claim that contextual sparsity can be accurately predicted with lightweight learning-based algorithms. 

Researchers find that DEJAVU achieves over two times reduction in token generation latency compared to the state-of-the-art FasterTransformer and over six times compared to Hugging Face with no accuracy loss. The MLP sparse predictor introduces no accuracy loss on both zero-shot tasks and language modeling. In the training of the MLP sparse predictor, they observed that the sparse predictor achieves high validation accuracy.


Check out the Paper and Github. All Credit For This Research Goes To the Researchers on This Project. Also, don’t forget to join our 32k+ ML SubReddit, 40k+ Facebook Community, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more.

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

We are also on Telegram and WhatsApp.


YOU MAY ALSO LIKE

How Long Is A New Apple TV Actually Supposed To Last?

6 Google Maps Features That Work Better On Android Auto Vs. CarPlay

Arshad is an intern at MarktechPost. He is currently pursuing his Int. MSc Physics from the Indian Institute of Technology Kharagpur. Understanding things to the fundamental level leads to new discoveries which lead to advancement in technology. He is passionate about understanding the nature fundamentally with the help of tools like mathematical models, ML models and AI.


🔥 Meet Retouch4me: A Family of Artificial Intelligence-Powered Plug-Ins for Photography Retouching

Credit: Source link

ShareTweetSendSharePin

Related Posts

How Long Is A New Apple TV Actually Supposed To Last?
AI & Technology

How Long Is A New Apple TV Actually Supposed To Last?

November 2, 2026
6 Google Maps Features That Work Better On Android Auto Vs. CarPlay
AI & Technology

6 Google Maps Features That Work Better On Android Auto Vs. CarPlay

November 2, 2026
This Is The Right Way To Clean Your Vinyl Records
AI & Technology

This Is The Right Way To Clean Your Vinyl Records

November 1, 2026
Aramco Acquires 49% HUMAIN Stake With .6B Cash, AI Assets – Unite.AI
AI & Technology

Aramco Acquires 49% HUMAIN Stake With $2.6B Cash, AI Assets – Unite.AI

November 1, 2026
Next Post
Finding Value Stocks Using the Stock Screener

Finding Value Stocks Using the Stock Screener

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Christa Pike’s lawyer says she’s ‘very aware’ of failed execution

Christa Pike’s lawyer says she’s ‘very aware’ of failed execution

October 30, 2026
What Is Chunking in RAG? How Document Splitting Shapes Answer Quality – Unite.AI

What Is Chunking in RAG? How Document Splitting Shapes Answer Quality – Unite.AI

November 1, 2026
Emergency management official explains how Alabama is preparing for Hurricane Isaias

Emergency management official explains how Alabama is preparing for Hurricane Isaias

October 28, 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!