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

· Source: cs.AI updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Expert, extended

Summary

SLORR, a novel framework for in-training low-rank regularization, offers a simple, stateless, and architecture-preserving approach to enhance neural network compressibility. It avoids expensive Singular Value Decompositions (SVDs) by employing GPU-friendly approximations for Hoyer sparsity and nuclear norm regularizers. Empirical evaluations demonstrated SLORR's effectiveness across diverse models and tasks. On ImageNet-1K, it improved post-training compressibility for ResNet-50, ViT-B/16, and ViT-L/16 during continued training, and for ResNet-18 pretraining, with less than 8% training overhead. For LLM pretraining at 135M and 560M scales, SLORR-Hoyer-trained compressed models preserved performance substantially better than unregularized counterparts, adding less than 1% average training overhead.

Key takeaway

For Machine Learning Engineers optimizing model size and inference costs, SLORR provides an efficient method to enhance compressibility. You should integrate SLORR-Hoyer or SLORR-Nuc into your training pipelines. For LLMs, this adds less than 1% overhead, significantly preserving performance post-compression. This enables aggressive model size reductions without substantial accuracy degradation.

Key insights

SLORR efficiently induces low-rank structure in neural networks during training without SVDs or architectural changes, improving post-compression performance.

Principles

Method

SLORR approximates spectral quantities for Hoyer sparsity and nuclear norm regularizers using GPU-efficient polar factor approximations (e.g., Polar Express) for forward and backward passes, applied directly to original weight matrices.

In practice

Topics

Code references

Best for: Research Scientist, AI Engineer, NLP Engineer, AI Scientist, Machine Learning Engineer, AI Architect

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.