SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.05466 · NeurIPS · 2020

Discriminative Sounding Objects Localization via Self-supervised Audiovisual Matching

Dejing Dou, Di Hu, Rui Qian, Minyue Jiang, Xiao Tan, Shilei Wen, Errui Ding, Weiyao Lin

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 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 1 has no contract verdict; 2 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2010.05466.json · badge: /api/ran/2010.05466.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
dtaoo/discriminative-sounding-objects-localization canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
DTaoo/Discriminative-Sounding-Objects-Localization marked official in Papers with Code
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
Location_Net_stage_one Ran
ran on a synthesized input
DTaoo/Discriminative-Sounding-Objects-Localization/audioset-instrument/model/location_model.py
code served (permissive licence) · get_code("f36436df524b530d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned tuple. 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
import torch.nn as nn
import numpy as np

# Stand-in modules for visual_net and audio_net
class DummyVisualNet(nn.Module):
    def __init__(self):
        super(DummyVisualNet, self).__init__()
        self.conv = nn.Conv2d(3, 512, kernel_size=3, padding=1)

    def forward(self, x):
        return self.conv(x)

class DummyAudioNet(nn.Module):
    def __init__(self):
        super(DummyAudioNet, self).__init__()
        self.conv = nn.Conv2d(1, 512, kernel_size=3, padding=1)

    def forward(self, x):
        return self.conv(x)

INIT_ARGS = {
    'visual_net': DummyVisualNet(),
    'audio_net': DummyAudioNet()
}

# Create input tensors
v_input = torch.randn(2, 3, 8, 6)  # batch=2, channels=3, height=8, width=6
a_input = torch.randn(2, 1, 4, 3)  # batch=2, channels=1, height=4, width=3

ARGS = {
    'v_input': v_input,
    'a_input': a_input
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
batch_organize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dtaoo/discriminative-sounding-objects-localization/music-exp/training_stage_one.py
code served (permissive licence) · get_code("305858167dad390a")
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) and returned tuple. 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

torch.manual_seed(0)

# Create small tensors with distinct dimensions
batch_size = 2
audio_channels = 4
audio_length = 3
img_channels = 5
img_height = 6
img_width = 7

audio_data = torch.randn(batch_size, audio_channels, audio_length, 1)
posi_img_data = torch.randn(batch_size, img_channels, img_height, img_width)
nega_img_data = torch.randn(batch_size, img_channels, img_height, img_width)
posi_label = torch.randint(0, 10, (batch_size,))
nega_label = torch.randint(0, 10, (batch_size,))

ARGS = {
    "audio_data": audio_data,
    "posi_img_data": posi_img_data,
    "nega_img_data": nega_img_data,
    "posi_label": posi_label,
    "nega_label": nega_label,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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
eva_metric Ran
ran, honoured the contract we drafted
dtaoo/discriminative-sounding-objects-localization/music-exp/training_stage_one.py
code served (permissive licence) · get_code("1b255d3d05a68d2d")
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) and returned float64, 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 numpy as np

# Create small numpy arrays for predict and gt
# predict should be float values that can be rounded
# gt should be integer ground truth labels
predict = np.array([0.1, 0.9, 0.4, 0.6, 0.2, 0.8])
gt = np.array([0, 1, 0, 1, 0, 1])

ARGS = {
    "predict": predict,
    "gt": gt,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, 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
location_dilation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dtaoo/discriminative-sounding-objects-localization/music-exp/training_stage_one.py
code served (permissive licence) · get_code("898dfd8d38003e43")
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) and returned ndarray, ndim 3, dtype family int, shape (1, 4, 5) 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

# Create a small location map with shape (1, 4, 5)
# The function expects a 3D array with batch dimension first
location_map = np.zeros((1, 4, 5), dtype=np.uint8)

# Add some 1s to create interesting dilation patterns
location_map[0, 1, 1] = 1
location_map[0, 2, 3] = 1

ARGS = {
    "location_map": location_map
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 3, dtype family int, shape (1, 4, 5) — shape (1, 4, 5) 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

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 1 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
batch_organize 1 other paper
1 later
2112.11749 (2021-12)
Class-aware Sounding Objects Localization via Audiovisual Correspondence
eva_metric 1 other paper
1 later
2112.11749 (2021-12)
Class-aware Sounding Objects Localization via Audiovisual Correspondence
location_dilation 1 other paper
1 later
2112.11749 (2021-12)
Class-aware Sounding Objects Localization via Audiovisual Correspondence

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

Repositories linked to this paper

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

Abstract

Discriminatively localizing sounding objects in cocktail-party, i.e., mixed sound scenes, is commonplace for humans, but still challenging for machines. In this paper, we propose a two-stage learning framework to perform self-supervised class-aware sounding object localization. First, we propose to learn robust object representations by aggregating the candidate sound localization results in the single source scenes. Then, class-aware object localization maps are generated in the cocktail-party scenarios by referring the pre-learned object knowledge, and the sounding objects are accordingly selected by matching audio and visual object category distributions, where the audiovisual consistency is viewed as the self-supervised signal. Experimental results in both realistic and synthesized cocktail-party videos demonstrate that our model is superior in filtering out silent objects and pointing out the location of sounding objects of different classes. Code is available at https://github.com/DTaoo/ Discriminative-Sounding-Objects-Localization.

For agents

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

get_harvested_code_for_paper("2010.05466")
get_code_for_paper("2010.05466")
have("2010.05466")

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

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

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

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

Connect an agent — have() is free.