统一CLIP-based持续学习方法,解决代码分散难复现问题
C3Box: A CLIP-based Class-Incremental Learning Toolbox
- 整合多种类增量学习方法到统一框架,支持配置化运行
- 基于JSON配置与标准流程,实现实验可复现性
- 适合持续学习研究者快速对比新算法,降低开发门槛
传统机器学习系统通常针对静态数据分布设计,面对不断变化的数据流时容易产生灾难性遗忘。类增量学习(CIL)通过在保留旧知识的同时持续学习新类别来应对这一挑战。随着预训练模型(如CLIP)的兴起,利用其强大的泛化能力和语义对齐能力成为CIL的重要方向。然而,现有基于CLIP的CIL方法分散在不同代码库中,配置不一致,阻碍了公平比较、可复现性和实际应用。为此,我们提出C3Box(CLIP-based Class-inCremental learning toolBOX),一个模块化且全面的Python工具箱。C3Box将代表性传统CIL方法、ViT-based CIL方法和最先进的CLIP-based CIL方法集成到统一的CLIP框架中。借鉴PyCIL的简洁设计,C3Box采用JSON配置和标准化执行流程,实现低工程开销的可复现实验,成为持续学习研究的可靠基准平台。工具箱用户友好,仅依赖常用开源库,支持主流操作系统。代码已开源:https://github.com/LAMDA-CL/C3Box。
原文摘要 · Abstract (English)
Traditional machine learning systems are typically designed for static data distributions, which suffer from catastrophic forgetting when learning from evolving data streams. Class-Incremental Learning (CIL) addresses this challenge by enabling learning systems to continuously learn new classes while preserving prior knowledge. With the rise of pre-trained models (PTMs) such as CLIP, leveraging their strong generalization and semantic alignment capabilities has become a promising direction in CIL. However, existing CLIP-based CIL methods are often scattered across disparate codebases, rely on inconsistent configurations, hindering fair comparisons, reproducibility, and practical adoption. Therefore, we propose C3Box (CLIP-based Class-inCremental learning toolBOX), a modular and comprehensive Python toolbox. C3Box integrates representative traditional CIL methods, ViT-based CIL methods, and state-of-the-art CLIP-based CIL methods into a unified CLIP-based framework. By inheriting the streamlined design of PyCIL, C3Box provides a JSON-based configuration and standardized execution pipeline. This design enables reproducible experimentation with low engineering overhead and makes C3Box a reliable benchmark platform for continual learning research. Designed to be user-friendly, C3Box relies only on widely used open-source libraries and supports major operating systems. The code is available at https://github.com/LAMDA-CL/C3Box.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。