Structured pruning with Weights & Biases | Model optimization made simple
Key Takeaways
The video discusses structured pruning with Weights & Biases, a technique for model optimization that reduces model size and improves efficiency by zeroing out or removing low-magnitude weights, and fine-tuning to restore performance.
Full Transcript
And then something that is near and dear to my heart because I'm um applying pruning methods right now in my work is pruning. And so the idea here is to take the lower magnitude weights and either zero them out or even just remove them completely from the model. And there's structured and unstructured techniques. With unstructured, you allow yourself to kind of remove them without any imposed constraint on the structure that you're moving. So you could imagine having like a weight matrix and being able to remove a weight at an arbitrary location. But one challenge when you're trying to deploy to the hardware is that um you need some mechanism to keep track of all of the remaining nonzero weights. And that's something that's right now more challenging to do given the hardware constraints that we are working with. Um, so I've been working with structured pruning where you're removing entire rows or columns of weight matrices or channels and um then in the end you fine-tune uh to restore the performance and have a smaller model to deploy. Um, but I think something I want everyone to take away is that this is a very iterative process as you've all mentioned. Sometimes we're trying like one or more of these methods at once and it results in a lot of different versions and experiments and we really want to have a good way to keep track of our learnings and the different experiments that were done and that's kind of where Weights and Biases has come and
Original Description
We dive into one of the most powerful techniques in model optimization: *pruning*. By zeroing out or removing low-magnitude weights, pruning reduces model size and improves efficiency. But it doesn’t stop there—*structured pruning* takes things further by eliminating entire rows, columns, or channels, making it far more hardware-friendly. This video explores not only how pruning works but also how tools like *Weights & Biases* completely transform the way we track and manage experiments.
#shorts
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Weights & Biases · Weights & Biases · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
0. What is machine learning?
Weights & Biases
1. Build Your First Machine Learning Model
Weights & Biases
Intro to ML: Course Overview
Weights & Biases
2. Multi-Layer Perceptrons
Weights & Biases
3. Convolutional Neural Networks
Weights & Biases
Weights & Biases at OpenAI
Weights & Biases
Why Experiment Tracking is Crucial to OpenAI
Weights & Biases
4. Autoencoders
Weights & Biases
5. Sentiment Analysis
Weights & Biases
6. Recurrent Neural Networks [RNNs]
Weights & Biases
7. Text Generation using LSTMs and GRUs
Weights & Biases
8. Text Classification Using Convolutional Neural Networks
Weights & Biases
9. Hybrid LSTMs [Long Short-Term Memory]
Weights & Biases
Toyota Research Institute on Experiment Tracking with Weights & Biases
Weights & Biases
Weights and Biases - Developer Tools for Deep Learning
Weights & Biases
Introducing Weights & Biases
Weights & Biases
10. Seq2Seq Models
Weights & Biases
11. Transfer Learning for Domain-Specific Image Classification with Small Datasets
Weights & Biases
12. One-shot learning for teaching neural networks to classify objects never seen before
Weights & Biases
13. Speech Recognition with Convolutional Neural Networks in Keras/TensorFlow
Weights & Biases
14. Data Augmentation | Keras
Weights & Biases
15. Batch Size and Learning Rate in CNNs
Weights & Biases
Applied Deep Learning Fellowship Overview and Project Selection with Josh Tobin (2019)
Weights & Biases
Grading Rubric for AI Applications with Sergey Karayev (2019)
Weights & Biases
16. Video Frame Prediction using CNNs and LSTMs (2019)
Weights & Biases
Image to LaTeX - Applied Deep Learning Fellowship (2019)
Weights & Biases
17. Build and Deploy an Emotion Classifier (2019)
Weights & Biases
Applied Deep Learning - Data Management with Josh Tobin (2019)
Weights & Biases
Snorkel: Programming Training Data with Paroma Varma of Stanford University (2019)
Weights & Biases
Applied Deep Learning - Troubleshooting and Debugging with Josh Tobin (2019)
Weights & Biases
Troubleshooting and Iterating ML Models with Lee Redden (2019)
Weights & Biases
Designing a Machine Learning Project with Neal Khosla (2019)
Weights & Biases
Lukas Beiwald on ML Tools and Experiment Management (2019)
Weights & Biases
Building Machine Learning Teams with Josh Tobin (2019)
Weights & Biases
Pieter Abeel on Potential Deep Learning Research Directions (2019)
Weights & Biases
Testing and Deployment of Deep Learning Models with Josh Tobin (2019)
Weights & Biases
Five Lessons for Team-Oriented Research with Peter Welder (2019)
Weights & Biases
Applied Deep Learning - Rosanne Liu on AI Research (2019)
Weights & Biases
Making the Mid-career Leap from Urban Design to Deep Learning/Data Science
Weights & Biases
Organizing ML projects — W&B walkthrough (2020)
Weights & Biases
Brandon Rohrer — Machine Learning in Production for Robots
Weights & Biases
Nicolas Koumchatzky — Machine Learning in Production for Self-Driving Cars
Weights & Biases
My experiments with Reinforcement Learning with Jariullah Safi
Weights & Biases
Applications of Machine Learning to COVID-19 Research with Isaac Godfried
Weights & Biases
Testing Machine Learning Models with Eric Schles
Weights & Biases
How Linear Algebra is not like Algebra with Charles Frye
Weights & Biases
Predicting Protein Structures using Deep Learning with Jonathan King
Weights & Biases
Rachael Tatman — Conversational AI and Linguistics
Weights & Biases
Reformer by Han Lee
Weights & Biases
Sequence Models with Pujaa Rajan
Weights & Biases
GitHub Actions & Machine Learning Workflows with Hamel Husain
Weights & Biases
Look Mom, No Indices! Vector Calculus with the Fréchet Derivative by Charles Frye
Weights & Biases
Jack Clark — Building Trustworthy AI Systems
Weights & Biases
Surprising Utility of Surprise: Why ML Uses Negative Log Probabilities - Charles Frye
Weights & Biases
Track your machine learning experiments locally, with W&B Local - Chris Van Pelt
Weights & Biases
Antipatterns in open source research code with Jariullah Safi
Weights & Biases
Attention for time series forecasting & COVID predictions - Isaac Godfried
Weights & Biases
Made with ML - Goku Mohandas
Weights & Biases
Angela & Danielle — Designing ML Models for Millions of Consumer Robots
Weights & Biases
Deep Learning Salon by Weights & Biases
Weights & Biases
More on: LLM Engineering
View skill →Related Reads
📰
📰
📰
📰
The Anatomy of a Cognitive Collapse: How One Specific Payload Could Trigger an End-to-End Google…
Medium · Data Science
The Anatomy of a Cognitive Collapse: How One Specific Payload Could Trigger an End-to-End Google…
Medium · Deep Learning
Deploying AI at Enterprise Scale: A Practical Security and Governance Blueprint
Medium · Cybersecurity
Generative Simulation Benchmarking for wildfire evacuation logistics networks across multilingual stakeholder groups
Dev.to AI
🎓
Tutor Explanation
DeepCamp AI