SLORR: Simple and Efficient In-Training Low-Rank Regularization

· Source: Artificial Intelligence · Field: Technology & Digital — Artificial Intelligence & Machine Learning · Depth: Expert, quick

Summary

SLORR is a novel, simple, stateless, and architecture-preserving framework designed for in-training low-rank regularization of neural networks. It addresses limitations of existing methods by directly regularizing original weight matrices using GPU-friendly approximations, avoiding SVDs of large matrices, architectural modifications, or stateful cached quantities. SLORR offers two main variants based on the Hoyer sparsity metric and the nuclear norm. Evaluations on ImageNet-1K, involving continued training of ResNet-50, ViT-B/16, and ViT-L/16, and pretraining of ResNet-18, demonstrated that SLORR induces compressibility with less than 8% training overhead. Furthermore, SLORR-Hoyer applied to LLM pretraining at 135M and 560M scales showed that SLORR-trained compressed models substantially preserve performance compared to unregularized models, adding less than 1% average training overhead.

Key takeaway

For Machine Learning Engineers optimizing large neural networks for deployment, SLORR offers a compelling solution to enhance model compressibility during training. If you are struggling with significant accuracy loss from post-training factorization, integrating SLORR can preserve performance substantially better than unregularized models. You should consider implementing SLORR, especially for LLM pretraining, as it adds less than 1% average training overhead while yielding more compressible and performant models.

Key insights

SLORR enables efficient in-training low-rank regularization for neural networks, improving compressibility with minimal overhead.

Principles

Method

SLORR directly regularizes original weight matrices using GPU-friendly approximations for forward and backward passes, instantiated via Hoyer sparsity or nuclear norm.

In practice

Topics

Best for: AI Engineer, NLP Engineer, Computer Vision Engineer, AI Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.