
How many bits do we need to perfectly copy a song?
Image: Robert Delaunay, Public domain, via Wikimedia Commons
How many bits do we need to perfectly copy a song?
Imagine you want to send a song to a friend, but you have limited data storage. How can you send it without losing too much quality?
It's like trying to copy a painting. You want to keep the colors and shapes as true to the original as possible, but you can't use the exact same amount of paint. The goal is to use just enough paint to get close to the original painting.
Example
If the original song is 5 MB and you can only send 2 MB, you need to find the best way to reduce the size while keeping the song sounding good.
Remember this
The key insight is finding the balance between how much data you use (rate) and how much quality you lose (distortion).
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Shannon's source coding theorem: you can't compress below entropy
Can you squeeze endless text into fewer bits without losing anything?
Triton auto-tunes BLOCK_SIZE: different sizes optimize for different hardware
Rate-distortion optimization balances video quality and file size
AI content watermarking
AI content watermarking embeds imperceptible signals
the mel scale is: a nonlinear frequency scale that models human pitch perception
Mel scale: a nonlinear frequency scale modeling human pitch perception
Matrix (mathematics)
Ever wondered how computers can predict your favorite songs?
Huffman coding
Huffman coding is an entropy-optimal prefix code for lossless data compression
Swipe through 100 ML concepts daily
Open Pocket Polymath