Abstract
Recent advancements in audio understanding rely on massive centralized datasets, raising significant privacy concerns. This paper introduces FASSL, a framework for Federated Audio Self-Supervised Learning. FASSL enables the training of general-purpose audio models on decentralized, non-IID data without requiring manual labels. Our systematic evaluation reveals that federated training can match or exceed centralized performance. Furthermore, we identify a distinct performance split: predictive SSL tasks excel in semantic audio (speech), while contrastive tasks are superior for non-semantic audio (environmental sounds and music).
1. Introduction
The development of robust audio understanding models—capable of recognizing everything from spoken keywords to environmental events—traditionally requires the collection of vast amounts of raw audio data in central repositories. However, audio data is inherently sensitive, often containing private conversations or identifiable acoustic signatures of a user's environment.
To mitigate privacy risks, two paradigms have emerged: Self-Supervised Learning (SSL), which learns representations from unlabeled data, and Federated Learning (FL), which keeps data on local devices. While both have been studied independently, their combination for general-purpose audio understanding remains under-explored. This paper presents a systematic study of Federated Audio SSL (FASSL), addressing how different SSL pretext tasks and FL aggregation methods interact in realistic, heterogeneous data environments.
2. The FASSL Framework
The FASSL framework is designed to navigate the complexities of decentralized audio training. It focuses on three primary dimensions:
2.1 SSL Pretext Tasks
We evaluate two dominant paradigms of SSL:
- Predictive SSL (e.g., ACOP): The model learns by predicting specific features or masked portions of the audio signal.
- Contrastive/Feature-matching SSL (e.g., SimCLR, Barlow Twins): The model learns by ensuring that different augmented versions of the same audio clip have similar representations, while distinct clips are pushed apart in the embedding space.
2.2 Federated Aggregation and Communication
Beyond the standard FedAvg algorithm, FASSL incorporates advanced strategies like FairAvg, FedU, and L-DAWA to manage data heterogeneity (non-IID data). A key innovation is Backbone-only Transceiving, where only the weights of the feature extractor (the "backbone") are shared with the server. The task-specific "heads" remain local, preventing the global model from being corrupted by noise from highly specialized local layers.
2.3 Dynamic Model Selection
Because different audio tasks (e.g., speech vs. music) may reach optimal performance at different stages of training, FASSL employs a "radar" mechanism. The server monitors the global model's performance across a suite of downstream tasks using a small validation set, selecting the best-performing checkpoint for each specific application.
3. Experimental Setup
To simulate a realistic federated environment, we used the VGG Sound dataset (200k clips) for pretraining. The data was partitioned into 100 client shards using a Dirichlet distribution ($\alpha=0.1$), creating a highly unbalanced and non-IID distribution.
Models were evaluated on four diverse downstream tasks:
- Keyword Spotting (KS2): Speech Commands V2.
- Spatial Audio (DOV): Direction of Voice.
- Event Detection (EPIC-Sound): Environmental audio.
- Musical Classification (NSYNTH): Instrument identification.
4. Key Insights
4.1 The Semantic vs. Non-Semantic Split
Our findings reveal a fundamental divergence in SSL effectiveness. Predictive SSL (ACOP) is significantly more effective for semantic tasks like speech recognition. Conversely, contrastive SSL (SimCLR/BT) demonstrates superior performance on non-semantic tasks, such as environmental sounds and musical instruments. This suggests that the choice of pretext task should be dictated by the intended downstream application.
4.2 Federated vs. Centralized Performance
One of the most striking results is that FASSL models often achieve performance parity with, or even outperform, centralized baselines. For instance, in audio retrieval (Top-1%), FASSL-ACOP reached 12.92%, compared to the centralized baseline of 12.39%. This suggests that the inherent diversity and "noise" of federated training can act as a form of regularization, improving model generalization.
4.3 Impact of Local Training
The number of local epochs significantly affects convergence. For predictive models (ACOP) on speech tasks, increasing local training from 1 to 10 epochs boosted performance to 22.61% on KS2. However, for feature-matching models, excessive local training often led to overfitting on local data distributions, degrading global performance.
5. Conclusion
FASSL demonstrates that privacy-preserving, decentralized training is a viable and effective path for general-purpose audio understanding. By strategically selecting SSL pretext tasks and utilizing backbone-only weight sharing, we can build models that respect user privacy without sacrificing accuracy. Future work will focus on performing model selection without the need for a centralized validation set and scaling these methods to larger, "in-the-wild" datasets.
Summary updated