01medium.com
Safe and Efficient Multi-Epoch Embedding Training
Pinterest enabled safe, efficient multi-epoch fine-tuning for Homefeed ranking by decoupling ID embedding-table optimization from the rest of the model. Unrestricted two-epoch training caused nearly a 6% offline save-metric decline through embedding overfitting. Freezing embeddings initially and enabling adaptation later preserved task-specific learning and improved results. A semi-synchronous pipeline overlapped distributed lookup with computation, while fused lookups and optimizer communication reduced overhead. The production approach delivered a +1.09% online saves gain.