• bitcoinBitcoin(BTC)$75,673.00-3.67%
  • ethereumEthereum(ETH)$2,399.15-5.30%
  • tetherTether(USDT)$1.00-0.05%
  • binancecoinBNB(BNB)$713.85-1.16%
  • rippleXRP(XRP)$1.29-10.34%
  • usd-coinUSDC(USDC)$1.00-0.02%
  • solanaSolana(SOL)$97.17-5.52%
  • tronTRON(TRX)$0.332926-1.70%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.01-3.46%
  • zcashZcash(ZEC)$1,120.25-4.20%
  • HyperliquidHyperliquid(HYPE)$76.95-3.94%
  • dogecoinDogecoin(DOGE)$0.080236-4.56%
  • RainRain(RAIN)$0.014044-1.96%
  • USDSUSDS(USDS)$1.00-0.03%
  • moneroMonero(XMR)$505.71-1.72%
  • whitebitWhiteBIT Coin(WBT)$77.80-4.38%
  • chainlinkChainlink(LINK)$10.91-5.77%
  • leo-tokenLEO Token(LEO)$8.83-1.84%
  • cardanoCardano(ADA)$0.195457-6.80%
  • stellarStellar(XLM)$0.176879-8.75%
  • Ethena USDeEthena USDe(USDE)$1.00-0.07%
  • daiDai(DAI)$1.000.00%
  • bitcoin-cashBitcoin Cash(BCH)$216.61-3.57%
  • USD1USD1(USD1)$1.00-0.03%
  • litecoinLitecoin(LTC)$51.27-3.93%
  • uniswapUniswap(UNI)$6.36-2.82%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.32-2.39%
  • CantonCanton(CC)$0.090911-6.80%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • hedera-hashgraphHedera(HBAR)$0.074494-4.06%
  • avalanche-2Avalanche(AVAX)$7.29-4.40%
  • nearNEAR Protocol(NEAR)$2.34-6.47%
  • shiba-inuShiba Inu(SHIB)$0.000005-5.95%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.04%
  • suiSui(SUI)$0.69-5.55%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.055365-6.99%
  • tether-goldTether Gold(XAUT)$4,290.68-0.14%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • MemeCoreMemeCore(M)$1.133.66%
  • BittensorBittensor(TAO)$218.37-6.36%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$110.05-3.17%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.02%
  • aaveAave(AAVE)$122.20-5.15%
  • pax-goldPAX Gold(PAXG)$4,293.72-0.18%
  • BitwayBitway(BTW)$0.6911.74%
  • AsterAster(ASTER)$0.68-3.24%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056975-1.48%
  • mantleMantle(MNT)$0.54-6.11%
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

Google Releases Gemini 3.8 Live and 3.8 Live Extended Thinking for Production Grade Voice Agents

How To Improve The Audio Quality On Your iPhone

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

Google Releases Gemini 3.8 Live and 3.8 Live Extended Thinking for Production Grade Voice Agents
AI & Technology

Google Releases Gemini 3.8 Live and 3.8 Live Extended Thinking for Production Grade Voice Agents

September 15, 2026
How To Improve The Audio Quality On Your iPhone
AI & Technology

How To Improve The Audio Quality On Your iPhone

September 15, 2026
Ferrovalle Taps INFORM for AI Smart Yard at Mexico City Rail Hub – Unite.AI
AI & Technology

Ferrovalle Taps INFORM for AI Smart Yard at Mexico City Rail Hub – Unite.AI

September 15, 2026
Google’s Latest Pixel Drop Will Keep You More Connected To Your VIPs
AI & Technology

Google’s Latest Pixel Drop Will Keep You More Connected To Your VIPs

September 15, 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
Dire warning that A.I. could end humanity

Dire warning that A.I. could end humanity

September 14, 2026
Helena Foulkes wins Rhode Island Democratic governor primary, NBC News projects

Helena Foulkes wins Rhode Island Democratic governor primary, NBC News projects

September 14, 2026
Virginia mom convicted after 5-year-old son walks alone

Virginia mom convicted after 5-year-old son walks alone

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