SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2408.07919 · 2024

Advancing Multi-grained Alignment for Contrastive Language-Audio Pre-training

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2408.07919.json · badge: /api/ran/2408.07919.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
ming-er/mga-clap canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
FunctionStatusWhere it lives
binarize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ming-er/mga-clap/zero_shot_grounding.py
pointer only (licence: NONE) · get_code("d54701181d5e77fb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ming-er/mga-clap 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.

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ming-er/mga-clap/models/htsat.py
pointer only (licence: NONE); the stored copy get_code serves, from fudan-zvg/SeaFormer, is pointer only (licence: NONE) · get_code("3ac6b7d76e8e3584")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ming-er/mga-clap 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.

find_contiguous_regions Ran
ran, honoured the contract we drafted
ming-er/mga-clap/zero_shot_grounding.py
pointer only (licence: NONE) · get_code("53d22b3aae5396d5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ming-er/mga-clap 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.

interpolate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ming-er/mga-clap/models/htsat.py
pointer only (licence: NONE) · get_code("b922b8ae79864faa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ming-er/mga-clap 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.

median_filter Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ming-er/mga-clap/zero_shot_grounding.py
pointer only (licence: NONE) · get_code("bdd9d19a6f1c01cd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ming-er/mga-clap 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.

trunc_normal_ Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ming-er/mga-clap/models/htsat.py
pointer only (licence: NONE); the stored copy get_code serves, from LHDuan/ConDaFormer, is pointer only (licence: NONE) · get_code("5436174f8c0e64e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ming-er/mga-clap 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.

train Not yet run
unverified (harvested, no recorded run)
ming-er/mga-clap/pretrain.py
pointer only (licence: NONE) · get_code("2570f2ac20b362fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ming-er/mga-clap 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. No invocation recorded.

validate_re Not yet run
unverified (harvested, no recorded run)
ming-er/mga-clap/pretrain.py
pointer only (licence: NONE) · get_code("7935ca405cc8fdff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ming-er/mga-clap 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. No invocation recorded.

validate_sed Not yet run
unverified (harvested, no recorded run)
ming-er/mga-clap/pretrain.py
pointer only (licence: NONE) · get_code("a4131b23db52bc67")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ming-er/mga-clap 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. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 3 later) and 6 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
drop_path 224 other papers
177 dated earlier, 2 the same month, 37 later, 7 same year, order not determinable, 1 undated · 38 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2007.09384 (2020-07)
Multi-Scale Positive Sample Refinement for Few-Shot Object Detection
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
and 221 more not named here
trunc_normal_ 160 other papers
118 dated earlier, 1 the same month, 39 later, 2 same year, order not determinable · 36 only as an assembly brick
1911.10194 (2019-11)
Panoptic-DeepLab: A Simple, Strong, and Fast Baseline for Bottom-Up Panoptic Segmentation
2005.10242 (2020-05)
Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
2007.12911 (2020-07)
Tighter risk certificates for neural networks
and 157 more not named here
interpolate 8 other papers
5 dated earlier, 3 later
1912.04761 (2019-12)
Sound Event Detection of Weakly Labelled Data with CNN-Transformer and Automatic Threshold Optimization
2305.11834 (2023-05)
Pengi: An Audio Language Model for Audio Tasks
2309.05767 (2023-09)
Natural Language Supervision for General-Purpose Audio Representations
and 5 more not named here

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-22.

Repositories linked to this paper

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

Abstract

Recent advances have been witnessed in audio-language joint learning, such as CLAP, that shows much success in multi-modal understanding tasks. These models usually aggregate uni-modal local representations, namely frame or word features, into global ones, on which the contrastive loss is employed to reach coarse-grained cross-modal alignment. However, frame-level correspondence with texts may be ignored, making it ill-posed on explainability and fine-grained challenges which may also undermine performances on coarse-grained tasks. In this work, we aim to improve both coarse- and fine-grained audio-language alignment in large-scale contrastive pre-training. To unify the granularity and latent distribution of two modalities, a shared codebook is adopted to represent multi-modal global features with common bases, and each codeword is regularized to encode modality-shared semantics, bridging the gap between frame and word features. Based on it, a locality-aware block is involved to purify local patterns, and a hard-negative guided loss is devised to boost alignment. Experiments on eleven zero-shot coarse- and fine-grained tasks suggest that our model not only surpasses the baseline CLAP significantly but also yields superior or competitive results compared to current SOTA works.

For agents

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

get_harvested_code_for_paper("2408.07919")
get_code_for_paper("2408.07919")
have("2408.07919")

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

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

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

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

Connect an agent — have() is free.