PrismSSL: One Interface, Many Modalities; A Single-Interface Library for Multimodal Self-Supervised Learning
Melika Shirian, Kianoosh Vadaei, Kian Majlessi, Audrina Ebrahimi, Arshia Hemmat, Peyman Adibi, Hossein Karshenas
TL;DR
Self-supervised learning across audio, vision, graphs, and cross-modal domains is fragmented across domain-specific repositories, hindering fair comparisons and reproducibility. PrismSSL offers a unified, modular Python library that provides a single interface to configure, train, and evaluate SSL methods across modalities, with a registry, a generic trainer, and optional UI, while supporting distributed training, LoRA, HPO, and W&B. Key contributions include a unified trainer and registry for decoupling method/data/runtime, a reproducible artifact with compact benchmarks, plug-ins for HuggingFace backbones and Optuna HPO, and an extensibility recipe for adding new SSL objectives. The framework enables reproducible, scalable cross-domain SSL experiments and accelerates method synthesis and benchmark development.
Abstract
We present PrismSSL, a Python library that unifies state-of-the-art self-supervised learning (SSL) methods across audio, vision, graphs, and cross-modal settings in a single, modular codebase. The goal of the demo is to show how researchers and practitioners can: (i) install, configure, and run pretext training with a few lines of code; (ii) reproduce compact benchmarks; and (iii) extend the framework with new modalities or methods through clean trainer and dataset abstractions. PrismSSL is packaged on PyPI, released under the MIT license, integrates tightly with HuggingFace Transformers, and provides quality-of-life features such as distributed training in PyTorch, Optuna-based hyperparameter search, LoRA fine-tuning for Transformer backbones, animated embedding visualizations for sanity checks, Weights & Biases logging, and colorful, structured terminal logs for improved usability and clarity. In addition, PrismSSL offers a graphical dashboard - built with Flask and standard web technologies - that enables users to configure and launch training pipelines with minimal coding. The artifact (code and data recipes) will be publicly available and reproducible.
