Selected papers, notes, and write-ups.
This is a book about large language models. As indicated by the title, it primarily focuses on foundational concepts rather than comprehensive coverage of all cutting-edge technologies. The book is structured into five main chapters, each exploring a key area: pre-training, generative models, prompting, alignment, and inference. It is intended for college students, professionals, and practitioners in natural language processing and related fields, and can serve as a reference for anyone interested in large language models.
Implication: architecture + objective strongly constrain what the model is naturally good at.
Handling long sequences becomes a systems + modeling problem:
RLHF decomposes into:
So alignment isn’t just “fine-tune again”; it’s a different optimization game with different failure modes (reward model quality becomes the keystone).
Direct Preference Optimization is positioned as simplifying the RLHF pipeline by avoiding explicit reward-model training complexity (still preference-driven, but closer to supervised optimization machinery).
A critical practical distinction:
Decode is often more expensive and becomes memory-bound because KV cache access dominates.
The core trick:
This can significantly increase throughput without changing final distribution (when done correctly).
The book frames retrieval as a way to inject external information (and related mechanisms like kNN-LM-style augmentation) rather than “mystical new training”.
Delong Chen, Mustafa Shukor, Theo Moutakanni, Willy Chung, Jade Yu, Tejaswi Kasarla, Allen Bolourchi, Yann LeCun, Pascale Fung • 2025
VL-JEPA, a vision-language model built on a Joint Embedding Predictive Architecture (JEPA). Instead of autoregressively generating tokens as in classical VLMs, VL-JEPA predicts continuous embeddings of the target texts. By learning in an abstract representation space, the model focuses on task-relevant semantics while abstracting away surface-level linguistic variability. In a strictly controlled comparison against standard token-space VLM training with the same vision encoder and training data, VL-JEPA achieves stronger performance while having 50% fewer trainable parameters. At inference time, a lightweight text decoder is invoked only when needed to translate VL-JEPA predicted embeddings into text. We show that VL-JEPA natively supports selective decoding that reduces the number of decoding operations by 2.85x while maintaining similar performance compared to non-adaptive uniform decoding. Beyond generation, the VL-JEPA's embedding space naturally supports open-vocabulary classification, text-to-video retrieval, and discriminative VQA without any architecture modification. On eight video classification and eight video retrieval datasets, the average performance VL-JEPA surpasses that of CLIP, SigLIP2, and Perception Encoder. At the same time, the model achieves comparable performance as classical VLMs (InstructBLIP, QwenVL) on four VQA datasets: GQA, TallyQA, POPE and POPEv2, despite only having 1.6B parameters.
| Task / Benchmark | VL-JEPA (1.6B params) | CLIP / SigLIP2 | InstructBLIP | Qwen-VL | Notes |
|---|---|---|---|---|---|
| Zero-shot Video Classification | ✅ Outperforms CLIP & SigLIP2 | ❌ Lower accuracy | ❌ Not optimized | ❌ Not optimized | Embedding prediction improves efficiency |
| Text-to-Video Retrieval | ✅ Superior results | ❌ Weaker retrieval | ❌ Limited | ❌ Limited | VL-JEPA excels in semantic abstraction |
| Visual Question Answering (VQA) | ⚖️ Comparable to InstructBLIP & Qwen-VL | ❌ Not designed | ✅ Strong | ✅ Strong | Despite smaller size, VL-JEPA matches performance |
| WorldPrediction-WM Benchmark | 🏆 65.7% (SOTA) | ❌ Lower | ❌ Lower | ❌ Lower | Surpasses GPT-4o & Gemini-2 |
| Efficiency (Params & Latency) | ✅ ~50% fewer params, faster inference | ❌ Larger & slower | ❌ Larger | ❌ Larger | Selective decoding reduces ops by ~2.85× |
| Architecture Type | Non-generative, embedding prediction | Token-generative | Token-generative | Token-generative | VL-JEPA avoids redundancy in token generation |
Jonathan Richard Shewchuk • University of California at Berkeley • 2025
This report contains lecture notes for UC Berkeley’s introductory class on Machine Learning. It covers
many methods for classification and regression, including five and a half lectures on neural networks, and
a few methods for clustering and dimensionality reduction. It is concise because nothing is included that
cannot be written or spoken in a single semester’s lectures (with whiteboard lectures and almost no slides!)
and because the choice of topics is limited to a small selection of particularly useful, popular algorithms.
A fast-track introduction to machine learning: distills essentials of classification, regression, neural networks, and unsupervised learning into a concise, mathematically grounded format. Perfect for readers seeking a practical overview without full textbooks.
31st Conference on Neural Information Processing Systems • 2017
The dominant sequence transduction models are based on complex recurrent or
convolutional neural networks that include an encoder and a decoder. The best
performing models also connect the encoder and decoder through an attention
mechanism. We propose a new simple network architecture, the Transformer,
based solely on attention mechanisms, dispensing with recurrence and convolutions
entirely. Experiments on two machine translation tasks show these models to
be superior in quality while being more parallelizable and requiring significantly
less time to train. Our model achieves 28.4 BLEU on the WMT 2014 English-
to-German translation task, improving over the existing best results, including
ensembles, by over 2 BLEU. On the WMT 2014 English-to-French translation task,
our model establishes a new single-model state-of-the-art BLEU score of 41.0 after
training for 3.5 days on eight GPUs, a small fraction of the training costs of the
best models from the literature.