Published May 26, 2020

Rethinking Model Size: Train Large, Then Compress with Joseph Gonzalez - #378

Joseph Gonzalez from UC Berkeley delves into the complexities of training and compressing large AI models, exploring strategies to enhance efficiency, interpretability, and transparency. This episode covers the evolution of research on transformers, touching on the balance between model and batch size, and the economic impacts of model scaling.
Episode Highlights
The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence) logo

Popular Clips

Episode Highlights

  • Training Strategies

    Joseph Gonzalez explores innovative training strategies for large models, focusing on balancing batch size and model size. He highlights the importance of utilizing parallelism to enhance GPU efficiency, noting that larger models can expose more parallelism without a linear increase in runtime. This approach allows for faster convergence and better hardware utilization, leading to more sample-efficient models 1.

    The more samples it sees, the faster it reduces the test error, and it also lets us better utilize our hardware.

    ---

    By increasing both model and batch sizes, Gonzalez demonstrates that it's possible to achieve significant improvements in training efficiency 2.

       

    Inference Challenges

    Addressing the challenges of inference with large models, Gonzalez discusses the need for compression techniques post-training. While larger models improve training speed, they pose significant inference costs, necessitating methods like weight pruning and quantization to reduce size without sacrificing accuracy 3.

    We train a really large model and then we chop it up.

    ---

    These techniques allow for efficient deployment of models, maintaining high accuracy while minimizing resource usage 4.

       

    Utilization & Economics

    Gonzalez examines the economic implications of model training, emphasizing the need to maximize GPU utilization. He notes that efficient resource use is crucial, especially in academic settings where resources are limited 5.

    The underlying economics would sort of suggest that if you bought the device, you should really try to find ways to maximize its usage.

    ---

    By optimizing training processes, researchers can innovate more rapidly, making machine learning more cost-effective and accessible 6.

Related Episodes