Thursday, June 26, 2025
News PouroverAI
Visit PourOver.AI
No Result
View All Result
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing
News PouroverAI
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
0 0
A A
0
Share on FacebookShare on Twitter


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.

\"\"

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



Source link

Tags: ChitChatCostsCutsDejaVuDreamLeanLosingMachineWits
Previous Post

UAW says GM outlines EV investment plans, will raise wages for US workers By Reuters

Next Post

Doritos offers gamers software to cancel out crunching sounds

Related Posts

How insurance companies can use synthetic data to fight bias
AI Technology

How insurance companies can use synthetic data to fight bias

June 10, 2024
From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset
AI Technology

From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

June 10, 2024
Decoding Decoder-Only Transformers: Insights from Google DeepMind’s Paper
AI Technology

Decoding Decoder-Only Transformers: Insights from Google DeepMind’s Paper

June 9, 2024
How Game Theory Can Make AI More Reliable
AI Technology

How Game Theory Can Make AI More Reliable

June 9, 2024
Buffer of Thoughts (BoT): A Novel Thought-Augmented Reasoning AI Approach for Enhancing Accuracy, Efficiency, and Robustness of LLMs
AI Technology

Buffer of Thoughts (BoT): A Novel Thought-Augmented Reasoning AI Approach for Enhancing Accuracy, Efficiency, and Robustness of LLMs

June 9, 2024
Deciphering Doubt: Navigating Uncertainty in LLM Responses
AI Technology

Deciphering Doubt: Navigating Uncertainty in LLM Responses

June 9, 2024
Next Post
Doritos offers gamers software to cancel out crunching sounds

Doritos offers gamers software to cancel out crunching sounds

Diffusion Models: How do They Diffuse? | by Onur Yuce Gun, PhD | Nov, 2023

Diffusion Models: How do They Diffuse? | by Onur Yuce Gun, PhD | Nov, 2023

This Machine Learning Research Develops an AI Model for Effectively Removing Biases in a Dataset

This Machine Learning Research Develops an AI Model for Effectively Removing Biases in a Dataset

Leave a Reply Cancel reply

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

  • Trending
  • Comments
  • Latest
23 Plagiarism Facts and Statistics to Analyze Latest Trends

23 Plagiarism Facts and Statistics to Analyze Latest Trends

June 4, 2024
How ‘Chain of Thought’ Makes Transformers Smarter

How ‘Chain of Thought’ Makes Transformers Smarter

May 13, 2024
Is C.AI Down? Here Is What To Do Now

Is C.AI Down? Here Is What To Do Now

January 10, 2024
The Importance of Choosing a Reliable Affiliate Network and Why Olavivo is Your Ideal Partner

The Importance of Choosing a Reliable Affiliate Network and Why Olavivo is Your Ideal Partner

October 30, 2023
Managing PDFs in Node.js with pdf-lib

Managing PDFs in Node.js with pdf-lib

November 16, 2023
How To Build A Quiz App With JavaScript for Beginners

How To Build A Quiz App With JavaScript for Beginners

February 22, 2024
Can You Guess What Percentage Of Their Wealth The Rich Keep In Cash?

Can You Guess What Percentage Of Their Wealth The Rich Keep In Cash?

June 10, 2024
AI Compared: Which Assistant Is the Best?

AI Compared: Which Assistant Is the Best?

June 10, 2024
How insurance companies can use synthetic data to fight bias

How insurance companies can use synthetic data to fight bias

June 10, 2024
5 SLA metrics you should be monitoring

5 SLA metrics you should be monitoring

June 10, 2024
From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

June 10, 2024
UGRO Capital: Targeting to hit milestone of Rs 20,000 cr loan book in 8-10 quarters: Shachindra Nath

UGRO Capital: Targeting to hit milestone of Rs 20,000 cr loan book in 8-10 quarters: Shachindra Nath

June 10, 2024
Facebook Twitter LinkedIn Pinterest RSS
News PouroverAI

The latest news and updates about the AI Technology and Latest Tech Updates around the world... PouroverAI keeps you in the loop.

CATEGORIES

  • AI Technology
  • Automation
  • Blockchain
  • Business
  • Cloud & Programming
  • Data Science & ML
  • Digital Marketing
  • Front-Tech
  • Uncategorized

SITEMAP

  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2023 PouroverAI News.
PouroverAI News

No Result
View All Result
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing

Copyright © 2023 PouroverAI News.
PouroverAI News

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In