SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.12222 · ICLR · 2025

SSLAM: Enhancing Self-Supervised Models with Audio Mixtures for Polyphonic Soundscapes

Muhammad Awais, Armin Mustafa, Tony Alex, Sara Ahmed, Philip Jackson

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2506.12222.json · badge: /api/ran/2506.12222.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ta012/SSLAM canonical (classifier label)
classifier basis not recorded on the link
5 ran · 2 no recorded run
FunctionStatusWhere it lives
get_2d_sincos_pos_embed Ran
ran, honoured the contract we drafted
ta012/SSLAM/SSLAM_Inference/models/mae.py
pointer only (licence: MIT); the stored copy get_code serves, from lluosi/RDB-CL, is pointer only (licence: NONE) · get_code("77e8a3ac46f3afec")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from lluosi/RDB-CL, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_2d_sincos_pos_embed_flexible Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ta012/SSLAM/SSLAM_Inference/models/mae.py
code served (permissive licence) · get_code("68fc090d0a502993")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (12, 8) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct arguments for get_2d_sincos_pos_embed_flexible
embed_dim = 8  # must be even
grid_size = (4, 3)  # (height, width) - distinct dimensions
cls_token = False

ARGS = {
    "embed_dim": embed_dim,
    "grid_size": grid_size,
    "cls_token": cls_token,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (12, 8) — shape (12, 8) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_annealed_rate Ran
ran, honoured the contract we drafted
ta012/SSLAM/SSLAM_Inference/models/base.py
code served (permissive licence) · get_code("5d5be3c7916a67cb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - start: numeric value (used in arithmetic)
# - end: numeric value (used in arithmetic)
# - curr_step: numeric value (used in comparison and division)
# - total_steps: numeric value (used in division)
# All parameters are used in simple arithmetic operations

ARGS = {
    "start": 0.1,
    "end": 1.0,
    "curr_step": 25,
    "total_steps": 100
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_layer_id_for_vit Ran
ran, honoured the contract we drafted
ta012/SSLAM/SSLAM_Inference/models/EAT_audio_classification.py
code served (permissive licence) · get_code("3f903f847b8f7f28")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function get_layer_id_for_vit takes two parameters:
# 1. name: a string representing a parameter name
# 2. num_layers: an integer representing the number of layers

# Let's construct valid test cases
name = "blocks.5.attn.qkv.weight"
num_layers = 12

ARGS = {
    "name": name,
    "num_layers": num_layers,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
random_masking Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ta012/SSLAM/SSLAM_Inference/models/base.py
code served (permissive licence) · get_code("ee9ac852b4eb7975")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned MaskInfo. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from collections import namedtuple

torch.manual_seed(0)

MaskSeed = namedtuple('MaskSeed', ['seed', 'update', 'ids'])

# Create input tensor: (batch_size=2, sequence_length=8, embedding_dim=4)
x = torch.randn(2, 8, 4)

# Create mask_ratio parameter
mask_ratio = 0.5

# Create mask_seed parameter with required fields
mask_seed_ids = torch.tensor([1, 2, 3])
mask_seed = MaskSeed(seed=42, update=1, ids=mask_seed_ids)

ARGS = {
    'x': x,
    'mask_ratio': mask_ratio,
    'mask_seed': mask_seed
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MaskInfo — a MaskInfo output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
gather_unmasked Not yet run
unverified (harvested, no recorded run)
ta012/SSLAM/SSLAM_Inference/models/base.py
code served (permissive licence) · get_code("3a95f65cb24c84e6")
How it ran

no invocation recorded.

modify_relative_position_bias Not yet run
unverified (harvested, no recorded run)
ta012/SSLAM/SSLAM_Inference/models/mae.py
code served (permissive licence) · get_code("915281feeb90ee5a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 1 the same month, 2 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_2d_sincos_pos_embed 95 other papers
87 dated earlier, 1 the same month, 6 later, 1 same year, order not determinable · 33 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 92 more not named here
get_2d_sincos_pos_embed_flexible 5 other papers
4 dated earlier, 1 later
2207.06405 (2022-07)
Masked Autoencoders that Listen
2401.03497 (2024-01)
EAT: Self-Supervised Pre-Training with Efficient Audio Transformer
2403.07815 (2024-03)
Chronos: Learning the Language of Time Series
and 2 more not named here
get_layer_id_for_vit 3 other papers
3 dated earlier
2212.07525 (2022-12)
Efficient Self-supervised Learning with Contextualized Target Representations for Vision, Speech and Language
2401.03497 (2024-01)
EAT: Self-Supervised Pre-Training with Efficient Audio Transformer
2410.13179 (2024-10)
EH-MAM: Easy-to-Hard Masked Acoustic Modeling for Self-Supervised Speech Representation Learning
modify_relative_position_bias 3 other papers
3 dated earlier
2212.07525 (2022-12)
Efficient Self-supervised Learning with Contextualized Target Representations for Vision, Speech and Language
2401.03497 (2024-01)
EAT: Self-Supervised Pre-Training with Efficient Audio Transformer
2410.13179 (2024-10)
EH-MAM: Easy-to-Hard Masked Acoustic Modeling for Self-Supervised Speech Representation Learning
gather_unmasked 2 other papers
2 dated earlier
2312.15185 (2023-12)
emotion2vec: Self-Supervised Pre-Training for Speech Emotion Representation
2401.03497 (2024-01)
EAT: Self-Supervised Pre-Training with Efficient Audio Transformer
get_annealed_rate 2 other papers
2 dated earlier
2312.15185 (2023-12)
emotion2vec: Self-Supervised Pre-Training for Speech Emotion Representation
2401.03497 (2024-01)
EAT: Self-Supervised Pre-Training with Efficient Audio Transformer
random_masking 2 other papers
2 dated earlier
2312.15185 (2023-12)
emotion2vec: Self-Supervised Pre-Training for Speech Emotion Representation
2401.03497 (2024-01)
EAT: Self-Supervised Pre-Training with Efficient Audio Transformer

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Self-supervised pre-trained audio networks have seen widespread adoption in realworld systems, particularly in multi-modal large language models. These networks are often employed in a frozen state, under the assumption that the selfsupervised pre-training has sufficiently equipped them to handle real-world audio. However, a critical question remains: how well do these models actually perform in real-world conditions, where audio is typically polyphonic and complex, involving multiple overlapping sound sources? Current audio self-supervised learning (SSL) methods are often benchmarked on datasets predominantly featuring monophonic audio, such as environmental sounds, and speech. As a result, the ability of SSL models to generalize to polyphonic audio, a common characteristic in natural scenarios, remains underexplored. This limitation raises concerns about the practical robustness of SSL models in more realistic audio settings. To address this gap, we introduce Self-Supervised Learning from Audio Mixtures (SSLAM), a novel direction in audio SSL research, designed to improve the model's ability to learn from polyphonic data while maintaining strong performance on monophonic data. We thoroughly evaluate SSLAM on standard audio SSL benchmark datasets which are predominantly monophonic and conduct a comprehensive comparative analysis against state-of-the-art (SOTA) methods using a range of high-quality, publicly available polyphonic datasets. SS-LAM not only improves model performance on polyphonic audio, but also maintains or exceeds performance on standard audio SSL benchmarks. Notably, it achieves up to a 3.9% improvement on the AudioSet-2M(AS-2M), reaching a mean average precision (mAP) of 50.2. For polyphonic datasets, SSLAM sets new SOTA in both linear evaluation and fine-tuning regimes with performance improvements of up to 9.1%(mAP). These results demonstrate SSLAM's effectiveness in both polyphonic and monophonic soundscapes, significantly enhancing the performance of audio SSL models. Code and pre-trained models are available at https://github.com/ta012/SSLAM.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2506.12222")
get_code_for_paper("2506.12222")
have("2506.12222")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2506.12222.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2506.12222.svg)](https://syntology.ai/paper/2506.12222)

Connect an agent — have() is free.