Share from 0:00
0:00
/

Photon: Federated LLM Pre-Training

The podcast on this paper is generated with Google's Illuminate.

Democratize LLM training by connecting distributed GPUs worldwide

Train LLMs across global internet-connected GPUs without moving data from source.

Photon: First system to enable collaborative LLM training over regular internet connections

https://arxiv.org/abs/2411.02908

🎯 Original Problem:

Training LLMs traditionally requires massive data centers with high-bandwidth connections, making it expensive and limiting collaboration. Current distributed training methods can't effectively work across low-bandwidth internet connections.

-----

πŸ”§ Solution in this Paper:

β†’ Photon enables federated training of LLMs across geographically distributed GPUs connected via regular internet

β†’ Uses cross-silo Federated Learning to minimize communication overhead by 64x-512x compared to standard methods

β†’ Implements adaptive local parallelism to optimize training based on each client's connectivity

β†’ Exploits small batch sizes with high learning rates for better model generalization

β†’ Provides three-component architecture: Aggregator (central server), LLM Client (local training), and Data Sources

-----

πŸ’‘ Key Insights:

β†’ Federated Learning can match or exceed centralized training performance for LLMs

β†’ Small batch sizes with high learning rates work better in federated settings

β†’ Communication frequency can be drastically reduced without sacrificing model quality

β†’ Data can stay at source while enabling global collaboration

-----

πŸ“Š Results:

β†’ Successfully trained 7B parameter models with 16.9% lower perplexity than centralized training

β†’ Reduced communication by 64x-512x while achieving 35% better wall-time performance

β†’ Converged twice as fast as previous methods like DiLoCo

β†’ Achieved 20% higher throughput than centralized distributed training

Discussion about this video

User's avatar

Ready for more?