arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.19484cs.SEcs.LG
收藏

stable-pretraining-v1: 使基础模型研究变得简单

stable-pretraining-v1: Foundation Model Research Made Simple

Brown University(布朗大学);Genentech(基因泰克);Mila & Université de Montréal(Mila与蒙特利尔大学)

Randall Balestriero, Hugues Van Assel, Sami BuGhanem, Lucas Maes

AI总结:

stable-pretraining是一个模块化、可扩展且性能优化的库,旨在通过简化基础模型研究流程,提高灵活性和迭代速度,促进发现和扩展研究可能性。

摘要:

基础模型和自监督学习(SSL)已成为现代人工智能的核心,然而该领域的研究仍受到复杂代码库、冗余的重新实现以及扩展实验的重工程负担的阻碍。我们提出了stable-pretraining,一个基于PyTorch、Lightning、Hugging Face和TorchMetrics构建的模块化、可扩展且性能优化的库。与之前专注于复现最新成果的工具包不同,stable-pretraining旨在提供灵活性和迭代速度:它将基本的SSL工具--包括探测器、崩溃检测指标、增强管道和可扩展的评估流程--整合在一个连贯且可靠的框架中。一个核心设计原则是记录一切,使训练动态的细粒度可见性成为可能,从而使调试、监控和可重复性变得无缝。我们通过展示其在最小开销下生成新研究见解的能力来验证该库,包括深度探测表示和在合成数据微调下的CLIP退化分析。通过降低入门门槛同时保持扩展到大规模实验的能力,stable-pretraining旨在加速发现并扩展基础模型研究的可能性。

英文摘要:

Foundation models and self-supervised learning (SSL) have become central to modern AI, yet research in this area remains hindered by complex codebases, redundant re-implementations, and the heavy engineering burden of scaling experiments. We present stable-pretraining, a modular, extensible, and performance-optimized library built on top of PyTorch, Lightning, Hugging Face, and TorchMetrics. Unlike prior toolkits focused narrowly on reproducing state-of-the-art results, stable-pretraining is designed for flexibility and iteration speed: it unifies essential SSL utilities--including probes, collapse detection metrics, augmentation pipelines, and extensible evaluation routines--within a coherent and reliable framework. A central design principle is logging everything, enabling fine-grained visibility into training dynamics that makes debugging, monitoring, and reproducibility seamless. We validate the library by demonstrating its ability to generate new research insights with minimal overhead, including depthwise representation probing and the analysis of CLIP degradation under synthetic data finetuning. By lowering barriers to entry while remaining scalable to large experiments, stable-pretraining aims to accelerate discovery and expand the possibilities of foundation model research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑