AI · Latest articles

12 new today · 776 articles · from 22 blogs

Lil'Log·

Learning with not Enough Data Part 3: Data Generation

AI summaryThis article, Part 3 of a series on learning with not enough data, explores two approaches for synthetic training data generation: data augmentation and new data creation. Data augmentation applies modifications like distortions and transformations to existing samples to derive new data points while preserving their key attributes and semantic meaning. Alternatively, new data can be generated using powerful pretrained language models, where few-shot prompting has proven effective for in-context learning without additional training.

Andrej Karpathy·

Deep Neural Nets: 33 years ago and 33 years from now

AI summaryThe author reproduces Yann LeCun et al.'s 1989 paper on handwritten zip code recognition—the earliest known neural net trained end-to-end with backpropagation—in PyTorch, roughly matching the original results with a ~3000x training speedup, though an exact reproduction was impossible because the original dataset has been lost. Applying 33 years of modern advances (cross-entropy loss, AdamW, data augmentation, dropout, and ReLU activations) cut the test error from ~4% to ~1.5%, and further scaling up the training data with MNIST brought it down to ~1.25%. The exercise shows that at the macro level deep learning has changed remarkably little in 33 years, with remaining gains likely requiring larger models or datasets rather than fundamentally new techniques.

Lil'Log·

Learning with not Enough Data Part 2: Active Learning

This is part 2 of what to do when facing a limited amount of labeled data for supervised learning tasks. This time we will get some amount of human labeling work involved, but within a budget limit, and therefore we need to be smart when se

Jay Alammar·

The Illustrated Retrieval Transformer

AI summaryThe article explains DeepMind's RETRO (Retrieval-Enhanced Transformer), a language model that performs on par with GPT-3 despite being only 4% of its size (7.5 billion vs. 185 billion parameters) by augmenting its input with information retrieved from a database containing 2 trillion tokens. The model uses BERT sentence embeddings to look up nearest neighbors in a key-value database and incorporates the retrieved text through an encoder-decoder architecture that employs chunked cross-attention in special RETRO decoder blocks. This approach demonstrates that continuously scaling up model size is not the only way to improve performance, since separating factual world knowledge from language processing allows for smaller, cheaper, and faster models.