AI Post Transformers

mcgrof

AI-generated podcast where hosts Hal Turing and Dr. Ada Shannon discuss the latest research papers and reports in machine learning, AI systems, and optimization. Featuring honest critical analysis, proper citations, and nerdy humor.

  1. 2d ago

    HybridFlow: A Flexible and Efficient RLHF Training Framework

    This episode examines HybridFlow, an RLHF framework from HKU and ByteDance (open-sourced as verl, published at EuroSys 2025), and asks whether one system can be flexible to program, fast to run, and cheap at moving the actor between training and generation. It first lays out the RLHF background: the four models (actor, reward, reference, critic), the three stages of an iteration, and how PPO, ReMax and Safe-RLHF change the dataflow graph. It then explains why this is hard. Each node is a distributed LLM job, the actor's generation and training phases want different parallelism layouts, and resharding a 70B actor can take up to 36.4% of an iteration. The core design idea is a single controller across the few high-level nodes and multi-controller execution inside each node. The episode compares this with Pathways and with the colocated, standalone and split placement strategies used by DeepSpeed-Chat, OpenRLHF and NeMo-Aligner. It also sets up KV cache, continuous batching and throughput-in-tokens-per-second as the terms needed to judge the paper's headline speedup, which it promises to scrutinize critically. Sources: 1. HybridFlow: A Flexible and Efficient RLHF Training Framework https://arxiv.org/pdf/2409.19256v1 2. HybridFlow: A Flexible and Efficient RLHF Framework — Guangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu, Wang Zhang, Ru Zhang, Yanghua Peng, Haibin Lin, Chuan Wu, 2024 (arXiv 2409.19256); EuroSys 2025 https://arxiv.org/pdf/2409.19256 3. DeepSpeed-Chat: Easy, Fast and Affordable RLHF Training of ChatGPT-like Models at All Scales — Zhewei Yao, Reza Yazdani Aminabadi, Olatunji Ruwase, Samyam Rajbhandari, Yuxiong He, et al., 2023 https://arxiv.org/pdf/2308.01320 4. OpenRLHF: An Easy-to-use, Scalable and High-performance RLHF Framework — Jian Hu, Xibin Wu, Weixun Wang, Dehao Zhang, Yu Cao, et al., 2024 https://arxiv.org/pdf/2405.11143 5. NeMo-Aligner: Scalable Toolkit for Efficient Model Alignment — Gerald Shen, Zhilin Wang, Olivier Delalleau, Jiaqi Zeng, Yi Dong, et al. (NVIDIA), 2024 https://arxiv.org/pdf/2405.01481 6. Training language models to follow instructions with human feedback (InstructGPT) — Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, et al. (OpenAI), 2022 https://arxiv.org/pdf/2203.02155 7. Pathways: Asynchronous Distributed Dataflow for ML — Paul Barham, Aakanksha Chowdhery, Jeff Dean, et al. (Google), 2022 https://arxiv.org/pdf/2203.12533 8. Ray: A Distributed Framework for Emerging AI Applications — Philipp Moritz, Robert Nishihara, Stephanie Wang, Alexey Tumanov, Richard Liaw, et al., 2018 https://arxiv.org/pdf/1712.05889 9. Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism / Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM — Mohammad Shoeybi, Deepak Narayanan, Mostofa Patwary, et al. (NVIDIA), 2019 / 2021 10. RLlib: Abstractions for Distributed Reinforcement Learning — Eric Liang, Richard Liaw, Philipp Moritz, Robert Nishihara, et al., 2018 https://arxiv.org/pdf/1712.09381 11. HybridFlow: A Flexible and Efficient RLHF Framework (Section on 3D-HybridEngine) — Guangming Sheng, Chi Zhang, et al., 2024 / 2025 https://arxiv.org/pdf/2409.19256 12. Efficient Memory Management for Large Language Model Serving with PagedAttention (vLLM) — Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, et al., 2023 https://arxiv.org/pdf/2309.06180 13. Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM — Deepak Narayanan, Mohammad Shoeybi, Jared Casper, et al., 2021 https://arxiv.org/pdf/2104.04473 14. RLlib Flow: Distributed Reinforcement Learning is a Dataflow Problem — E. Liang et al., 2021 https://arxiv.org/pdf/2011.12719 15. Orca: A Distributed Serving System for Transformer-Based Generative Models — G.-I. Yu et al., 2022 https://www.usenix.org/system/files/osdi22-yu.pdf 16. DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models (GRPO) — Z. Shao et al., 2024 https://arxiv.org/pdf/2402.03300 17. ReMax: A Simple, Effective, and Efficient Reinforcement Learning Method for Aligning LLMs — Z. Li et al., 2023 18. Safe RLHF: Safe Reinforcement Learning from Human Feedback — J. Dai et al., 2023 https://arxiv.org/pdf/2310.12773 19. AReaL: Large-Scale Asynchronous RL System for Language Reasoning — W. Fu et al., 2025 20. Efficient RLHF training via disaggregation and long-tail handling (e.g. ReaLHF: Optimized RLHF Training via Parameter Reallocation) — Z. Mei et al., 2024 Interactive Visualization: HybridFlow: A Flexible and Efficient RLHF Training Framework

  2. 2d ago

    Learning to See by Looking at Noise: Procedural Image Pretraining

    This episode examines "Learning to See by Looking at Noise," which asks whether a vision model can learn transferable features from images made by short random programs, with no real photographs in the training set. It reviews the natural image statistics those programs try to capture: power-law Fourier spectra, sparse heavy-tailed wavelet responses, and occlusion structure from dead-leaves models. It then covers the five generator families (fractals and procedural graphics, dead leaves, statistical models, untrained StyleGAN samplers, and CNN feature visualizations) and why contrastive learning needs images whose crops share content. The discussion places the work against domain randomization and FractalDB. Its central argument is that the most naturalistic data isn't always the best, because chasing realism can reduce diversity. Listeners get a clear account of where a vision network's learned structure might come from, and the episode flags what the evidence does and doesn't support. Sources: 1. Learning to See by Looking at Noise — Manel Baradad, Jonas Wulff, Tongzhou Wang, Phillip Isola, Antonio Torralba, 2021 http://arxiv.org/abs/2106.05963 2. Learning to See by Looking at Noise — Manel Baradad, Jonas Wulff, Tongzhou Wang, Phillip Isola, Antonio Torralba, 2021 (NeurIPS) https://arxiv.org/pdf/2106.05963 3. Pre-training without Natural Images (Formula-Driven Supervised Learning) — Hirokatsu Kataoka, Kazushige Okayasu, Asato Matsumoto, Eisuke Yamagata, Ryosuke Yamada, Nakamasa Inoue, Akio Nakamura, Yutaka Satoh, 2020 (ACCV; extended in IJCV 2022) 4. Procedural Image Programs for Representation Learning — Manel Baradad, Chun-Fu (Richard) Chen, Jonas Wulff, Tongzhou Wang, Rogerio Feris, Antonio Torralba, Phillip Isola, 2022 (NeurIPS) 5. Training Deep Networks with Synthetic Data: Bridging the Reality Gap by Domain Randomization — Jonathan Tremblay, Aayush Prakash, David Acuna, Mark Brophy, Varun Jampani, Cem Anil, Thang To, Eric Cameracci, Shaad Boochoon, Stan Birchfield, 2018 6. Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real World — Josh Tobin, Rachel Fong, Alex Ray, Jonas Schneider, Wojciech Zaremba, Pieter Abbeel, 2017 https://arxiv.org/pdf/1703.06907 7. Learning to See by Looking at Noise follow-ups such as 'StableRep: Synthetic Images from Text-to-Image Models Make Strong Visual Representation Learners' — Yonglong Tian, Lijie Fan, Phillip Isola, Huiwen Chang, Dilip Krishnan, 2023 8. Deep Image Prior — Dmitry Ulyanov, Andrea Vedaldi, Victor Lempitsky, 2018 (CVPR) 9. Generative Adversarial Networks — Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, Yoshua Bengio, 2014 10. A Style-Based Generator Architecture for Generative Adversarial Networks (StyleGAN) — Tero Karras, Samuli Laine, Timo Aila, 2019 (CVPR) 11. Relations between the statistics of natural images and the response properties of cortical cells — David J. Field, 1987 (JOSA A) 12. Emergence of simple-cell receptive field properties by learning a sparse code for natural images — Bruno A. Olshausen, David J. Field, 1996 (Nature) https://doi.org/10.1038/381607a0 13. Statistics of natural images and models (dead leaves and scale invariance) — Ann B. Lee, David Mumford, Jinggang Huang (Occlusion models for natural images: A statistical study of a scale-invariant dead leaves model), 2001 (IJCV) 14. The Statistics of Natural Images — Daniel L. Ruderman, 1994 (Network: Computation in Neural Systems) 15. Pre-training without Natural Images (FractalDB) — Hirokatsu Kataoka et al., 2020/2021 16. Replacing Labeled Real-image Datasets with Auto-generated Contours — Hirokatsu Kataoka et al., 2022 17. Learning to See by Looking at Noise: follow-up — Procedural image programs for representation learning — Manel Baradad, Chun-Fu Chen, Jonas Wulff, Tongzhou Wang, Rogerio Feris, Antonio Torralba, Phillip Isola, 2022 18. A Critical Analysis of Self-Supervision, or What We Can Learn from a Single Image — Yuki M. Asano, Christian Rupprecht, Andrea Vedaldi, 2020 19. Generative Models as a Data Source for Multiview Representation Learning — Ali Jahanian, Xavier Puig, Yonglong Tian, Phillip Isola, 2021 20. What Makes for Good Views for Contrastive Learning? — Yonglong Tian et al., 2020 https://arxiv.org/pdf/2005.10243 21. What Makes Good Synthetic Training Data for Learning Disparity and Optical Flow Estimation? — Nikolaus Mayer et al., 2018 22. Learning to See by Looking at Noise follow-ups on synthetic data scaling: Fake it till you make it / StableRep — Sarah Tian et al. / Yonglong Tian et al., 2023 Interactive Visualization: Learning to See by Looking at Noise: Procedural Image Pretraining

  3. 2d ago

    Procedural Pretraining: Warming Up Language Models with Abstract Data

    This episode examines "Procedural Pretraining: Warming Up Language Models with Abstract Data," an ICML 2026 paper claiming that a brief first stage on meaningless, algorithmically generated sequences can make later pretraining on real text, code and math more efficient. It walks through the four procedural data families (sequence transformations such as SET and UNION, stack operations, k-Dyck bracket languages, and the Rule 110 cellular automaton). It also covers the warm-up recipe, in which token embeddings are reinitialised and only the transformer body carries over, and how this differs from LLM-generated synthetic data and from earlier formal-language pre-pretraining work. The hosts relate the headline result, a needle-in-a-haystack recall jump from about 10 to 98 percent after training on balanced brackets, to the claim that 0.1 to 0.3 percent extra procedural data can match baseline loss with less real data. They also separate the additive and substitutive setups and flag two concerns: whether there is an equal-compute control, and how the procedural data types were selected. Listeners get a skeptical, methods-focused look at whether skills like in-context retrieval can be installed cheaply before semantic training. Sources: 1. Procedural Pretraining: Warming Up Language Models with Abstract Data — Liangze Jiang, Zachary Shinnick, Anton van den Hengel, Hemanth Saratchandran, Damien Teney, 2026 http://arxiv.org/abs/2601.21725 2. Between Circuits and Chomsky: Pre-pretraining on Formal Languages Imparts Linguistic Biases — Michael Y. Hu, Jackson Petty, Chuan Shi, William Merrill, Tal Linzen, 2025 https://arxiv.org/pdf/2502.19249 3. Insights into Pre-training via Simpler Synthetic Tasks — Yuhuai Wu, Felix Li, Percy Liang, 2022 https://arxiv.org/pdf/2206.10139 4. Intelligence at the Edge of Chaos — Shiyang Zhang, Aakash Patel, Syed A. Rizvi, Nianchen Liu, Sizhuo He, Amin Karbasi, Emanuele Zappala, David van Dijk (and collaborators), 2024 5. Transformers Pretrained on Procedural Data Contain Modular Structures for Algorithmic Tasks — Zachary Shinnick, Liangze Jiang, Hemanth Saratchandran, Anton van den Hengel, Damien Teney, 2025 6. How Does Code Pretraining Affect Language Model Task Performance? — Jackson Petty, Sjoerd van Steenkiste, Tal Linzen, 2024 7. When Do Transformers Shine? Learning Inductive Biases Through Synthetic Pretraining / Learning Universal Predictors in simple tasks — Wu et al. (Wu, Papadimitriou et al.), 2022 8. Birth of a Transformer: A Memory Viewpoint / In-context Learning and Induction Heads — Alberto Bietti et al.; Catherine Olsson et al. (Anthropic), 2023 / 2022 9. To Code, or Not to Code? Exploring Impact of Code in Pre-training — Viraat Aryabumi et al., 2024 https://arxiv.org/pdf/2408.10914 10. Transformers Learn Shortcuts to Automata — Bingbin Liu, Jordan T. Ash, Surbhi Goel, Akshay Krishnamurthy, Cyril Zhang, 2023 https://arxiv.org/pdf/2210.10749 11. Self-Attention Networks Can Process Bounded Hierarchical Languages — Shunyu Yao, Binghui Peng, Christos Papadimitriou, Karthik Narasimhan, 2021 12. Curriculum Learning — Yoshua Bengio, Jérôme Louradour, Ronan Collobert, Jason Weston, 2009 https://doi.org/10.1145/1553374.1553380 13. Physics of Language Models (Part 3.1/3.2, knowledge storage and manipulation) — Zeyuan Allen-Zhu, Yuanzhi Li, 2023–2024 14. Knowledge Neurons / Transformer Feed-Forward Layers Are Key-Value Memories — Mor Geva, Roei Schuster, Jonathan Berant, Omer Levy, 2020 15. Learning to see by looking at noise / Procedural image programs for representation learning — Manel Baradad, Jonas Wulff, Tongzhou Wang, Phillip Isola, Antonio Torralba et al., 2021–2022 Interactive Visualization: Procedural Pretraining: Warming Up Language Models with Abstract Data

  4. 2d ago

    Procedural Warm-Up: Pretraining Vision Transformers on Bracket Sequences

    This episode examines a paper that warms up a vision transformer on procedurally generated bracket sequences (Dyck languages) with no pixels at all, then trains it on ImageNet-1K. The reported result is a 1.72-point accuracy gain from spending about 1% of the training budget on symbolic data, which the authors equate to roughly 28% of the ImageNet data. The hosts question whether that data-equivalence figure holds up, since it is read off a curve. They cover the background: ViTs lack the locality bias of convolutions, earlier work pretrained on fractals and shader noise, and mimetic initialization is a no-data baseline. They also explain how the warm-up works. Symbols map to frozen random embeddings, the model does masked prediction, and only the attention and MLP weights are kept. Listeners get a clear account of how procedural data differs from synthetic data, and of where Dyck, WW and Dyck-Shuffle sit on the Chomsky hierarchy, along with the idea that generic mechanisms such as matching and nesting can be taught without any visual content. Sources: 1. Can You Learn to See Without Images? Procedural Warm-Up for Vision Transformers — Zachary Shinnick, Liangze Jiang, Hemanth Saratchandran, Damien Teney, Anton van den Hengel, 2025 http://arxiv.org/abs/2511.13945 2. Can Vision Transformers Learn without Natural Images? — Kodai Nakashima, Hirokatsu Kataoka, Asato Matsumoto, Kenji Iwata, Nakamasa Inoue, 2022 (AAAI) 3. Procedural Image Programs for Representation Learning (and Learning to See by Looking at Noise) — Manel Baradad, Chun-Fu (Richard) Chen, Jonas Wulff, Tongzhou Wang, Rogerio Feris, Antonio Torralba, Phillip Isola, 2021 (Learning to See by Looking at Noise, NeurIPS); 2022 (Procedural Image Programs, NeurIPS) 4. Mimetic Initialization of Self-Attention Layers — Asher Trockman, J. Zico Kolter, 2023 (ICML) 5. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale — Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, et al., 2020 (ICLR 2021) https://arxiv.org/pdf/2010.11929 6. Between Circuits and Chomsky: Pre-pretraining on Formal Languages Imparts Linguistic Biases — Michael Y. Hu, Jackson Petty, Chuan Shi, William Merrill, Tal Linzen, 2025 (ACL) https://arxiv.org/pdf/2502.19249 7. Learning Music Helps You Read: Using Transfer to Study Linguistic Structure in Language Models — Isabel Papadimitriou, Dan Jurafsky, 2020 (EMNLP) https://arxiv.org/pdf/2004.14601 8. Self-Attention Networks Can Process Bounded Hierarchical Languages — Shunyu Yao, Binghui Peng, Christos Papadimitriou, Karthik Narasimhan, 2021 (ACL) 9. Intelligence at the Edge of Chaos — Shiyang Zhang, Aakash Patel, Syed A. Rizvi, et al., 2024 10. Training Data-Efficient Image Transformers & Distillation Through Attention (DeiT) — Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, Hervé Jégou, 2021 (ICML) https://arxiv.org/pdf/2012.12877 11. Scaling Laws for Neural Language Models — Jared Kaplan, Sam McCandlish, Tom Henighan, et al., 2020 https://arxiv.org/pdf/2001.08361 12. Scaling Vision Transformers — Xiaohua Zhai, Alexander Kolesnikov, Neil Houlsby, Lucas Beyer, 2022 (CVPR) https://arxiv.org/pdf/2106.04560 13. How to Train Your ViT? Data, Augmentation, and Regularization in Vision Transformers — Andreas Steiner, Alexander Kolesnikov, Xiaohua Zhai, Ross Wightman, Jakob Uszkoreit, Lucas Beyer, 2021 (TMLR 2022) https://arxiv.org/pdf/2106.10270 14. Pretrained Transformers as Universal Computation Engines — Kevin Lu, Aditya Grover, Pieter Abbeel, Igor Mordatch, 2021 15. In-context Learning and Induction Heads — Catherine Olsson, Nelson Elhage, Neel Nanda, et al. (Anthropic), 2022 https://arxiv.org/pdf/2209.11895 16. Procedural Pretraining: Warming up Language Models with Abstract Data — Liangze Jiang, Zachary Shinnick, Anton van den Hengel, Hemanth Saratchandran, Damien Teney, 2026 https://arxiv.org/pdf/2601.21725 17. Transformers pretrained on procedural data contain modular structures for algorithmic reasoning — Zachary Shinnick, Liangze Jiang, Hemanth Saratchandran, Anton van den Hengel, Damien Teney, 2025 https://arxiv.org/pdf/2505.22308 18. Pre-training without Natural Images (FractalDB) — Hirokatsu Kataoka et al., 2020 19. Learning to See by Looking at Noise / Procedural Image Programs for Representation Learning — Manel Baradad et al., 2021/2022 20. Pretrained Transformers as Universal Computation Engines (Frozen Pretrained Transformer) — Kevin Lu, Aditya Grover, Pieter Abbeel, Igor Mordatch, 2021 21. Learning to See Before Seeing: Demystifying LLM Visual Priors from Language Pre-training — Junlin Han et al., 2025 22. Insights into Pre-training via Simpler Synthetic Tasks (LIME-style tasks) — Yuhuai Wu, Felix Li, Percy Liang, 2022 https://arxiv.org/pdf/2206.10139 23. Overtrained Language Models Are Harder to Fine-Tune — Jacob Mitchell Springer et al., 2025 24. Initializing Models with Larger Ones / weight selection — Zhiqiu Xu et al., 2023 Interactive Visualization: Procedural Warm-Up: Pretraining Vision Transformers on Bracket Sequences

  5. 3d ago

    Instruction-Following Pruning: Prompt-Chosen Slices of Large Language Models

    This episode examines Instruction-Following Pruning (IFPruning), a method where a small 302M-parameter predictor reads each prompt and picks which feed-forward units of a 9B model to keep, yielding a roughly 3B-sized active model for the whole response. It explains why this targets on-device decoding, where memory bandwidth for reading weights is the bottleneck. It contrasts the approach with static structured pruning (Sheared LLaMA, Minitron) and with per-token sparsity methods like Deja Vu, which struggle with SwiGLU-style layers and repeated weight fetches. The discussion covers the differentiable SoftTopK masking, the two-stage training (continued pre-training, then supervised fine-tuning), and limits such as no mid-response adaptation and awkward batching. Listeners get a skeptical look at whether the headline comparison against a dense 3B model is truly like-for-like, given that the active slice comes from a larger, separately trained 9B model. Sources: 1. Instruction-Following Pruning: Prompt-Chosen Slices of Large Language Models https://arxiv.org/pdf/2501.02086 2. Instruction-Following Pruning for Large Language Models — Bairu Hou, Qibin Chen, Jianyu Wang, Guoli Yin, Chong Wang, Nan Du, Ruoming Pang, Shiyu Chang, Tao Lei, 2025 (ICML 2025, arXiv 2501.02086) https://arxiv.org/pdf/2501.02086 3. Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning — Mengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi Chen, 2023 (ICLR 2024) https://arxiv.org/pdf/2310.06694 4. Compact Language Models via Pruning and Knowledge Distillation (Minitron) — Saurav Muralidharan, Sharath Turuvekere Sreenivas, Raviraj Joshi, Marcin Chochowski, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro, Jan Kautz, Pavlo Molchanov, 2024 https://arxiv.org/pdf/2407.14679 5. Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time — Zichang Liu, Jue Wang, Tri Dao, Tianyi Zhou, Binhang Yuan, Zhao Song, Anshumali Shrivastava, Ce Zhang, Yuandong Tian, Beidi Chen, 2023 (ICML 2023) https://arxiv.org/pdf/2310.17157 6. Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity — William Fedus, Barret Zoph, Noam Shazeer, 2021 (JMLR 2022) https://arxiv.org/pdf/2101.03961 7. CoLT5: Faster Long-Range Transformers with Conditional Computation — Joshua Ainslie, Tao Lei, Michiel de Jong, et al., 2023 https://arxiv.org/pdf/2303.09752 8. Learning Sparse Neural Networks through L0 Regularization (HardConcrete) — Christos Louizos, Max Welling, Diederik P. Kingma, 2018 9. Once-for-All: Train One Network and Specialize it for Efficient Deployment — Han Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang, Song Han, 2020 https://arxiv.org/pdf/1908.09791 10. Slimmable Neural Networks — Jiahui Yu, Linjie Yang, Ning Xu, Jianchao Yang, Thomas Huang, 2019 https://arxiv.org/pdf/1812.08928 11. LLM in a Flash: Efficient Large Language Model Inference with Limited Memory — Keivan Alizadeh, Iman Mirzadeh, Dmitry Belenko, et al. (Apple), 2023 https://arxiv.org/pdf/2312.11514 12. ShadowLLM: Predictor-based Contextual Sparsity for Large Language Models — Yash Akhauri, Ahmed F. AbouElhamayed, Jordan Dotzel, et al., 2024 https://arxiv.org/pdf/2406.16635 13. Prompt-prompted Mixture of Experts for Efficient LLM Generation (GRIFFIN) — Harry Dong, Beidi Chen, Yuejie Chi, 2024 14. Mixtral of Experts / DeepSeekMoE — Albert Jiang et al. (Mistral); Damai Dai et al. (DeepSeek), 2024 15. LoRA: Low-Rank Adaptation of Large Language Models — Edward Hu et al., 2022 https://arxiv.org/pdf/2106.09685 Interactive Visualization: Instruction-Following Pruning: Prompt-Chosen Slices of Large Language Models

  6. 4d ago

    Aristotelian Hypothesis: Platonic Representation Convergence Fades After Width and Depth Correction

    This episode examines a paper that revisits the Platonic Representation Hypothesis, the claim that large models trained on different data and modalities converge toward one shared statistical picture of reality. It explains how common similarity metrics (CKA, RSA, mutual k-nearest neighbors) work, and why raw scores are misleading. Wider models inflate chance-level alignment for spectral metrics, and taking the maximum over all layer pairs rewards deeper models with more chances to look good. The discussion then covers the fix, a permutation-based null that shuffles input pairings and rescales scores against a chance threshold. The authors' finding is that global spectral convergence largely disappears after this calibration. Only a weaker, local agreement about which inputs are near each other survives, which the paper calls the Aristotelian hypothesis. Listeners get a clear, concrete walkthrough of how a measurement artifact can masquerade as a deep scientific trend, plus a reusable recipe for judging similarity scores. Sources: 1. Aristotelian Hypothesis: Platonic Representation Convergence Fades After Width and Depth Correction https://raw.githubusercontent.com/mlresearch/v306/main/assets/groger26a/groger26a.pdf 2. Similarity of Neural Network Representations Revisited — Simon Kornblith, Mohammad Norouzi, Honglak Lee, Geoffrey Hinton, 2019 https://arxiv.org/pdf/1905.00414 3. SVCCA: Singular Vector Canonical Correlation Analysis for Deep Learning Dynamics and Interpretability — Maithra Raghu, Justin Gilmer, Jason Yosinski, Jascha Sohl-Dickstein, 2017 https://arxiv.org/pdf/1706.05806 4. Representational Similarity Analysis: Connecting the Branches of Systems Neuroscience — Nikolaus Kriegeskorte, Marieke Mur, Peter Bandettini, 2008 https://doi.org/10.3389/neuro.06.004.2008 5. Grounding Representation Similarity with Statistical Testing — Frances Ding, Jean-Stanislas Denain, Jacob Steinhardt, 2021 https://arxiv.org/pdf/2108.01661 6. Position: The Platonic Representation Hypothesis — Minyoung Huh, Brian Cheung, Tongzhou Wang, Phillip Isola, 2024 7. Resampling-Based Multiple Testing: Examples and Methods for p-Value Adjustment — Peter H. Westfall, S. Stanley Young, 1993 https://doi.org/10.2307/1270279 8. Permutation P-values Should Never Be Zero: Calculating Exact P-values When Permutations Are Randomly Drawn — Belinda Phipson, Gordon K. Smyth, 2010 https://arxiv.org/pdf/1603.05766 9. Measuring Statistical Dependence with Hilbert-Schmidt Norms — Arthur Gretton, Olivier Bousquet, Alex Smola, Bernhard Schölkopf, 2005 10. Grounding Representation Similarity with Statistical Testing (and related critiques of CKA) — Frances Ding, Jean-Stanislas Denain, Jacob Steinhardt; see also Davari et al. (2023) and Murphy et al. (2024), 2021 to 2024 https://arxiv.org/pdf/2108.01661 11. Do Vision and Language Encoders Represent the World Similarly? — Mayug Maniparambil, Raiymbek Akshulakov, Yasser Abdelaziz Dahou Djilali, Sanath Narayan, Mohamed El Amine Seddik, Karttikeya Mangalam, Noel E. O'Connor, 2024 https://arxiv.org/pdf/2401.05224 12. Relative Representations Enable Zero-Shot Latent Space Communication — Luca Moschella, Valentino Maiorca, Marco Fumero, Antonio Norelli, Francesco Locatello, Emanuele Rodolà, 2023 https://arxiv.org/pdf/2209.15430 13. Hubs in Space: Popular Nearest Neighbors in High-Dimensional Data — Miloš Radovanović, Alexandros Nanopoulos, Mirjana Ivanović, 2010 14. Local Multidimensional Scaling for Nonlinear Dimension Reduction, Graph Drawing, and Proximity Analysis — Lisha Chen, Andreas Buja, 2009 https://doi.org/10.1198/jasa.2009.0111 15. The Platonic Representation Hypothesis — Minyoung Huh, Brian Cheung, Tongzhou Wang, Phillip Isola, 2024 https://arxiv.org/pdf/2405.07987 16. Equivalence of Distance-Based and RKHS-Based Statistics in Hypothesis Testing / Partial distance correlation (Székely & Rizzo, bias-corrected distance correlation) — Gábor J. Székely, Maria L. Rizzo, 2013 17. Resampling-based Multiple Testing (maxT procedure) — Peter H. Westfall, S. Stanley Young, 1993 18. Nonparametric Permutation Tests for Functional Neuroimaging — Thomas E. Nichols, Andrew P. Holmes, 2002 https://doi.org/10.1016/b978-012264841-0/50048-2 19. Reliability of CKA as a Similarity Measure in Deep Learning — MohammadReza Davari, Stefan Horoi, Amine Natik, Guillaume Lajoie, Guy Wolf, Eugene Belilovsky, 2022 https://arxiv.org/pdf/2210.16156 20. Towards a Unified Framework / Debiased CKA (Murphy et al. and Chun et al.) — Murphy et al.; Chun et al., 2024-2025 21. Understanding Deep Learning Requires Rethinking Generalization — Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, Oriol Vinyals, 2017 https://arxiv.org/pdf/1611.03530 22. Quantifying Convergence / Position: The Platonic Representation Hypothesis follow-ups (Raugel et al., 2025; Maniparambil et al., 2024; Tjandrasuwita et al., 2025) — Raugel et al.; Maniparambil et al.; Tjandrasuwita et al., 2024-2025 Interactive Visualization: Aristotelian Hypothesis: Platonic Representation Convergence Fades After Width and Depth Correction

  7. 4d ago

    LowRAM: Predicting Values from Keys for KV Cache Compression

    This episode examines LowRAM, a test-time method for compressing the KV cache of a frozen pretrained model by storing most of the value cache as a small per-head neural network that predicts each value from its key. Only exact residuals for the worst-predicted tokens are kept, so no token is evicted. Keys get low-rank treatment with shared bases across adjacent layers, and quantisation and eviction are stacked on top. The discussion explains why keys and values need different handling: key errors shift attention logits, while value errors enter only after the attention weights are fixed. It also covers how the idea relates to Slim Attention's exact linear key-to-value map, AQUA-KV's linear adapters, and test-time training. A source-target sweep on Mistral found that current-layer keys predict current-layer values best. The episode also scrutinises the headline result of 26.9x compression at 94.5 percent recovered performance on long contexts, and what that number does and doesn't show. Sources: 1. LowRAM: Low-Rank Keys and Amortised Values for Composable KV Cache Compression at Test-Time — Teresa Delgado, Hugo Hazard, Martin Benfeghoul, Jun Wang, Zafeirios Fountas, 2026 http://arxiv.org/abs/2611.07025 2. KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache — Zirui Liu, Jiayi Yuan, Hongye Jin, Shaochen Zhong, Zhaozhuo Xu, Vladimir Braverman, Beidi Chen, Xia Hu, 2024 https://arxiv.org/pdf/2402.02750 3. KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization — Coleman Hooper, Sehoon Kim, Hiva Mohammadzadeh, Michael W. Mahoney, Yakun Sophia Shao, Kurt Keutzer, Amir Gholami, 2024 https://arxiv.org/pdf/2401.18079 4. Learning to (Learn at Test Time): RNNs with Expressive Hidden States — Yu Sun, Xinhao Li, Karan Dalal, Jiarui Xu, Arjun Vikram, Genghan Zhang, Yann Dubois, Xinlei Chen, Xiaolong Wang, Sanmi Koyejo, Tatsunori Hashimoto, Carlos Guestrin, 2024 https://arxiv.org/pdf/2407.04620 5. Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks (MAML) — Chelsea Finn, Pieter Abbeel, Sergey Levine, 2017 https://arxiv.org/pdf/1703.03400 6. Palu: Compressing KV-Cache with Low-Rank Projection — Chi-Chih Chang, Wei-Cheng Lin, Chien-Yu Lin, Chong-Yan Chen, Yu-Fang Hu, Pei-Shuo Wang, Ning-Chi Huang, Luis Ceze, Mohamed S. Abdelfattah, Kai-Chiang Wu, 2024 https://arxiv.org/pdf/2407.21118 7. Eigen Attention: Attention in Low-Rank Space for KV Cache Compression — Utkarsh Saxena, Gobinda Saha, Sakshi Choudhary, Kaushik Roy, 2024 https://arxiv.org/pdf/2408.05646 8. DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model — DeepSeek-AI (Aixin Liu et al.), 2024 https://arxiv.org/pdf/2405.04434 9. Reducing Transformer Key-Value Cache Size with Cross-Layer Attention — William Brandon, Mayank Mishra, Aniruddha Nrusimha, Rameswar Panda, Jonathan Ragan-Kelley, 2024 https://arxiv.org/pdf/2405.12981 10. Slim Attention: Cut Your Context Memory in Half Without Loss -- K-Cache Is All You Need for MHA — Nils Graef, Andrew Wasielewski, 2025 https://arxiv.org/pdf/2503.05840 11. Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Models (AQUA-KV) — Alina Shutova, Vladimir Malinovskii, Vage Egiazarian, Denis Kuznedelev, Denis Mazur, Surkov Nikita, Ivan Ermakov, Dan Alistarh, 2025 https://arxiv.org/pdf/2501.19392 12. xKV: Cross-layer KV-cache compression via aligned singular vector extraction — Chi-Chih Chang, Wei-Cheng Lin, Chien-Yu Lin, Hung-Yueh Chiang, Yash Akhauri, Xilai Dai, Huiqiang Jiang, Yucheng Li, Luis Ceze, Kai-Chiang Wu, Mohamed S. Abdelfattah, 2026 https://arxiv.org/pdf/2503.18893 13. ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference — Hanshi Sun, Li-Wen Chang, Wenlei Bao, Size Zheng, Ningxin Zheng, Xin Liu, Harry Dong, Yuejie Chi, Beidi Chen, 2025 https://arxiv.org/pdf/2410.21465 14. DeltaKV: Residual-based KV cache compression via long-range similarity — Jitai Hao, Qiang Huang, Yaowei Wang, Min Zhang, Jun Yu, 2026 https://arxiv.org/pdf/2602.08005 15. Linear predictability of attention heads in large language models — Khalid Shaikh et al., 2026 https://arxiv.org/pdf/2603.13314 16. Test-time training / Learning to (Learn at Test Time): RNNs with Expressive Hidden States — Yu Sun et al., 2020 / 2025 17. On First-Order Meta-Learning Algorithms (Reptile / FOMAML) — Alex Nichol, Joshua Achiam, John Schulman, 2018 https://arxiv.org/pdf/1803.02999 18. Titans: Learning to Memorize at Test Time — Ali Behrouz, Peilin Zhong, Vahab Mirrokni, 2025 https://arxiv.org/pdf/2501.00663 19. Cartridges: Lightweight and general-purpose long context representations via self-study — Sabri Eyuboglu et al., 2025 https://arxiv.org/pdf/2506.06266 20. KVzip: Query-agnostic KV cache compression with context reconstruction — Jang-Hyun Kim et al., 2025 https://arxiv.org/pdf/2505.23416 Interactive Visualization: LowRAM: Predicting Values from Keys for KV Cache Compression

  8. 4d ago

    Synthetic Pre-Pre-Training with Random RNNs Improves Robustness to Noisy Data

    This episode examines a paper proposing "synthetic pre-pre-training," a short initial training stage on sequences sampled from random, untrained recurrent networks, run before ordinary pre-training on web text. It explains how this differs from earlier structure-only approaches such as k-Shuffle Dyck bracket languages, and describes the controls: random-token data, Dyck data, and a clean-text C4 warm-up. The noise setups are sample-level corruption, token permutation, and span corruption, and the score is clean-validation loss plus savings in natural-text tokens. The discussion centers on a skeptical question: because the stage also improves clean-data loss, the gain may be a better initialization rather than specific robustness to noise. A listener gets a clear framing of what the paper claims, how the comparisons were built, and which results to doubt, including whether the effect holds at larger scale. Sources: 1. Synthetic Pre-Pre-Training Improves Language Model Robustness to Noisy Pre-Training Data — Xu Guo, Runyu Peng, Jian Tong, Yunhua Zhou, Haijun Lv, Zhihui Lu, Qipeng Guo, 2026 http://arxiv.org/abs/2605.10129 2. Pretrain on just structure: Understanding linguistic inductive biases using transfer learning — Isabel Papadimitriou, Dan Jurafsky, 2023 3. Between Circuits and Chomsky: Pre-pretraining on Formal Languages Imparts Linguistic Biases — Michael Y. Hu, Jackson Petty, Chuan Shi, William Merrill, Tal Linzen, 2025 https://arxiv.org/pdf/2502.19249 4. Insights into Pre-training via Simpler Synthetic Tasks — Yuhuai Wu, Felix Li, Percy Liang, 2022 https://arxiv.org/pdf/2206.10139 5. Transformers Pretrained on Procedural Data Contain Modular Structures for Algorithmic Reasoning — Shinnick et al. (verify exact author list), 2025 https://arxiv.org/pdf/2505.22308 6. Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Laws — Zeyuan Allen-Zhu, Yuanzhi Li, 2024 https://arxiv.org/pdf/2404.05405 7. Using Pre-Training Can Improve Model Robustness and Uncertainty — Dan Hendrycks, Kimin Lee, Mantas Mazeika, 2019 https://arxiv.org/pdf/1901.09960 8. Learning from Noisy Labels with Deep Neural Networks: A Survey — Hwanjun Song, Minseok Kim, Dongmin Park, Yooju Shin, Jae-Gil Lee, 2022 https://arxiv.org/pdf/2007.08199 9. A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicity — Shayne Longpre et al., 2023 https://arxiv.org/pdf/2305.13169 10. Do we really have to filter out random noise in pre-training data for language models? — Jinghan Ru et al., 2025 https://arxiv.org/pdf/2502.06604 11. An empirical study on noisy data and LLM pretraining loss divergence — Qizhen Zhang, Ankush Garg, Jakob Foerster, Niladri Chatterji, Kshitiz Malik, Mike Lewis, 2026 https://arxiv.org/pdf/2602.02400 12. Procedural Pretraining: Warming up Language Models with Abstract Data — Liangze Jiang, Zachary Shinnick, Anton van den Hengel, Hemanth Saratchandran, Damien Teney, 2026 https://arxiv.org/pdf/2601.21725 13. Universal pre-training by iterated random computation — Peter Bloem, 2025 https://arxiv.org/pdf/2506.20057 14. Perplexed by perplexity: Perplexity-based data pruning with small reference models — Zachary Ankner, Cody Blakeney, Kartik Sreenivasan, Max Marion, Matthew L. Leavitt, Mansheej Paul, 2024 https://arxiv.org/pdf/2405.20541 15. In-context Learning and Induction Heads — Catherine Olsson et al. (Anthropic), 2022 https://arxiv.org/pdf/2209.11895 16. Understanding deep learning requires rethinking generalization — Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, Oriol Vinyals, 2017 https://arxiv.org/pdf/1611.03530 Interactive Visualization: Synthetic Pre-Pre-Training with Random RNNs Improves Robustness to Noisy Data

Ratings & Reviews

3.7
out of 5
3 Ratings

About

AI-generated podcast where hosts Hal Turing and Dr. Ada Shannon discuss the latest research papers and reports in machine learning, AI systems, and optimization. Featuring honest critical analysis, proper citations, and nerdy humor.

You Might Also Like