Ever searched for a word in a dictionary and hoped it wouldn't lead to a wild goose chase?
Image: Nandanupadhyay, CC BY-SA 3.0, via Wikimedia Commons
Ever searched for a word in a dictionary and hoped it wouldn't lead to a wild goose chase?
Imagine you're trying to find a specific word in a massive dictionary with limited memory on your computer.
You want to quickly check if a word is in the dictionary without loading the whole thing into memory. A Bloom filter helps by using less space and letting you know if a word might be there or definitely isn't.
Example
You have a Bloom filter with a memory capacity for 100 words. You add 90 words with simple rules and 10 with complex ones. When you search for a word, the filter tells you if it's possibly in the dictionary or definitely not, saving you from a memory overload.
Remember this
A Bloom filter lets you quickly guess if a word is in your dictionary without needing all the words stored in memory.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Likelihood function
Why can't we just guess probabilities correctly all the time?
Hierarchical navigable small world
HNSW is an efficient ANN search algorithm
classifier-free guidance does: interpolates between conditional and unconditional generation
"Classifies samples as either conditioned or unconditioned, guiding generation towards desired outcomes."
Large language model
LLMs can generate, summarize, translate, and analyze text in many contexts
Adversarial machine learning
Can you imagine a world where machines learn without seeing examples first?
WordPiece tokenization does: similar to BPE but uses likelihood instead of frequency
WordPiece tokenization splits words into subwords based on token likelihood rather than frequency
Swipe through more Machine Learning concepts
Open Pocket Polymath