SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.18572 · 2024

ACES: Evaluating Automated Audio Captioning Models on the Semantics of Sounds

arXiv · PDF · Open in the Atlas

Code that ran

10 of 15 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 5 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/2403.18572.json · badge: /api/ran/2403.18572.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
gljs/aces canonical (classifier label)
classifier basis: census
10 ran · 5 no recorded run
FunctionStatusWhere it lives
align_labels_with_tokens Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gljs/aces/training/utils.py
code served (permissive licence) · get_code("8f4749fab50eb0c6")
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 list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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)

# labels should be a list or tensor of label values
# In this function, labels[word_id] is accessed when word_id is not None
# So labels needs to support indexing with integers
labels = [0, 1, 2, 1]

# word_ids should be a list or iterable of word IDs or None values
# The function iterates through word_ids and uses them as indices into labels
# or checks if they are None
word_ids = [0, 0, 1, None, 2, 2, 3]

ARGS = {
    "labels": labels,
    "word_ids": word_ids,
}
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 list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
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
cook_refs Ran
ran; our contract draft was wrong, not the code
gljs/aces/evaluation/coco_caption/pycocoevalcap/bleu/bleu_scorer.py
code served (permissive licence) · get_code("7586e1d32f7325f7")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.

from collections import defaultdict

ARGS = {
    'refs': [
        'the quick brown fox jumps over the lazy dog',
        'a quick brown fox leaps over a lazy dog'
    ],
    'eff': 'shortest',
    'n': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
cook_refs Ran
ran; our contract draft was wrong, not the code
gljs/aces/evaluation/coco_caption/pycocoevalcap/cider/cider_scorer.py
code served (permissive licence) · get_code("b458d0c75fe390a0")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.

from collections import defaultdict

# Call torch.manual_seed for reproducibility if needed
import torch
torch.manual_seed(0)

# Define test data
refs_1 = ["the cat sat on the mat", "a cat is sitting on a mat"]
refs_2 = ["hello world", "world hello"]

ARGS = {
    "refs": refs_1,
    "n": 4
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
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
cook_test Ran
ran; our contract draft was wrong, not the code
gljs/aces/evaluation/coco_caption/pycocoevalcap/bleu/bleu_scorer.py
code served (permissive licence) · get_code("e1dd2bb001729dde")
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 dict. 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.

from collections import defaultdict

# Construct the arguments for cook_test function

# First, we need to create a test sentence (string)
test = "the cat sat on the mat"

# Second, we need to create reflen_refmaxcounts which is a tuple of (reflen, refmaxcounts)
# reflen should be a list or iterable of reference lengths
# refmaxcounts should be a dict mapping ngrams to their maximum counts

# Create reference sentences and precook them
ref1 = "the cat is sitting on the mat"
ref2 = "the cat sat on a mat"

# Precook references to get their stats
def precook(s, n=4, out=False):
    """Takes a string as input and returns an object that can be given to
    either cook_refs or cook_test. This is optional: cook_refs and cook_test
    can take string arguments as well."""
    words = s.split()
    counts = defaultdict(int)
    for k in range(1, n + 1):
        for i in range(len(words) - k + 1):
            ngram = tuple(words[i:i + k])
            counts[ngram] += 1
    return (len(words), counts)

# Process references
ref1_len, ref1_counts = precook(ref1, n=4)
ref2_len, ref2_counts = precook(ref2, n=4)

# Create refmaxcounts by taking the max count for each ngram across all references
refmaxcounts = defaultdict(int)
for ngram, count in ref1_counts.items():
    refmaxcounts[ngram] = max(refmaxcounts[ngram], count)
for ngram, count in ref2_counts.items():
    refmaxcounts[ngram] = max(refmaxcounts[ngram], count)

# Create reflen as a list of reference lengths
reflen = [ref1_len, ref2_len]

# Create the reflen_refmaxcounts tuple
reflen_refmaxcounts = (reflen, refmaxcounts)

# Build the ARGS dictionary with all parameters for cook_test
ARGS = {
    'test': test,
    'reflen_refmaxcounts': reflen_refmaxcounts,
    'eff': None,
    'n': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
cook_test Ran
ran; our contract draft was wrong, not the code
gljs/aces/evaluation/coco_caption/pycocoevalcap/cider/cider_scorer.py
code served (permissive licence) · get_code("486bccc796451075")
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 defaultdict. 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.

from collections import defaultdict

# Define ARGS dict mapping every parameter of cook_test to a value
ARGS = {
    "test": "the quick brown fox jumps over the lazy dog",
    "n": 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type defaultdict — a defaultdict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a defaultdict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
get_data_home Ran
ran; our contract draft was wrong, not the code
gljs/aces/src/aces/fense/download_utils.py
code served (permissive licence) · get_code("2ce7c8fe03ef29c6")
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 str. 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 os
import tempfile
from os import environ, makedirs
from os.path import exists, expanduser, join

# Create a temporary directory to use as test data_home
temp_dir = tempfile.mkdtemp()

# Test case 1: with explicit path
explicit_path = join(temp_dir, 'test_fense_data')

# Test case 2: with None (will use environment variable or default)
# We'll set the environment variable to control behavior
test_data_home = join(temp_dir, 'fense_test')

ARGS = {
    'data_home': explicit_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
infer_preprocess Ran
ran; our contract draft was wrong, not the code
gljs/aces/src/aces/fense/data.py
code served (permissive licence) · get_code("e77be74719a260e0")
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 dict. 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 re

torch.manual_seed(0)

class MockTokenizer:
    def __call__(self, texts, truncation=True, padding='max_length', max_length=128):
        if isinstance(texts, str):
            texts = [texts]
        
        batch_size = len(texts)
        return {
            'input_ids': [[101] + [1000 + i for i in range(max_length - 2)] + [102] for _ in range(batch_size)],
            'attention_mask': [[1] * max_length for _ in range(batch_size)],
            'token_type_ids': [[0] * max_length for _ in range(batch_size)],
        }

tokenizer = MockTokenizer()
texts = ["Hello world!", "Test text."]
max_len = 128

ARGS = {
    'tokenizer': tokenizer,
    'texts': texts,
    'max_len': max_len,
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
precook Ran
ran; our contract draft was wrong, not the code
gljs/aces/evaluation/coco_caption/pycocoevalcap/bleu/bleu_scorer.py
code served (permissive licence) · get_code("ec4448373d72d636")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.

ARGS = {
    "s": "the quick brown fox jumps over the lazy dog",
    "n": 4,
    "out": False
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
reformat_to_coco Ran
ran; our contract draft was wrong, not the code
gljs/aces/evaluation/eval_metrics.py
code served (permissive licence) · get_code("9253071bb73fb8b2")
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 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 numpy as np
from typing import Dict, List, Union, Tuple, Any

torch.manual_seed(0)

# Define the arguments for reformat_to_coco
predictions = [
    "a dog barking in the distance",
    "birds chirping in a forest"
]

ground_truths = [
    ["a dog barking loudly", "sound of a barking dog", "dog barks"],
    ["chirping birds", "forest birds singing", "birds in nature"]
]

ids = [101, 102]

ARGS = {
    "predictions": predictions,
    "ground_truths": ground_truths,
    "ids": ids
}
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 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
text_preprocess Ran
ran; our contract draft was wrong, not the code
gljs/aces/src/aces/fense/data.py
code served (permissive licence) · get_code("c1d2029cd05b84fc")
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 str. 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 re

def text_preprocess(inp):
    if type(inp) == str:
        return re.sub('[^\\w\\s]', '', inp).lower()
    else:
        return [re.sub('[^\\w\\s]', '', x).lower() for x in inp]

# Test with a string
ARGS = {
    "inp": "Hello, World! This is a test."
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
check_download_resource Not yet run
unverified (harvested, no recorded run)
gljs/aces/src/aces/fense/download_utils.py
code served (permissive licence) · get_code("ab64c5a8dad76015")
How it ran

no invocation recorded.

download Not yet run
unverified (harvested, no recorded run)
gljs/aces/src/aces/fense/download_utils.py
code served (permissive licence) · get_code("855591d1fd6de239")
How it ran

no invocation recorded.

evaluate_metrics_from_files Not yet run
unverified (harvested, no recorded run)
gljs/aces/evaluation/eval_metrics.py
code served (permissive licence) · get_code("28747d415bf301a3")
How it ran

no invocation recorded.

evaluate_metrics_from_lists Not yet run
unverified (harvested, no recorded run)
gljs/aces/evaluation/eval_metrics.py
code served (permissive licence) · get_code("d49e7cc3375255d0")
How it ran

no invocation recorded.

load_pretrain_echecker Not yet run
unverified (harvested, no recorded run)
gljs/aces/src/aces/fense/evaluator.py
code served (permissive licence) · get_code("28580b1d81d80b70")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 4 the same month, 5 later) and 10 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
cook_refs 25 other papers
17 dated earlier, 3 the same month, 5 later
1411.5726 (2014-11)
CIDEr: Consensus-based Image Description Evaluation
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1503.01817 (2015-03)
YFCC100M: The New Data in Multimedia Research
and 22 more not named here
cook_test 22 other papers
15 dated earlier, 3 the same month, 4 later
1411.5726 (2014-11)
CIDEr: Consensus-based Image Description Evaluation
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1503.01817 (2015-03)
YFCC100M: The New Data in Multimedia Research
and 19 more not named here
precook 22 other papers
17 dated earlier, 1 the same month, 4 later
1411.4555 (2014-11)
Show and Tell: A Neural Image Caption Generator
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1611.09268 (2016-11)
MS MARCO: A Human Generated MAchine Reading COmprehension Dataset
and 19 more not named here
cook_refs 21 other papers
16 dated earlier, 1 the same month, 4 later
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1611.09268 (2016-11)
MS MARCO: A Human Generated MAchine Reading COmprehension Dataset
1611.09571 (2016-11)
Predicting Human Eye Fixations via an LSTM-based Saliency Attentive Model
and 18 more not named here
reformat_to_coco 3 other papers
2 dated earlier, 1 later
2309.17352 (2023-09)
Improving Audio Captioning Models with Fine-grained Audio Features, Text Embedding Supervision, and LLM Mix-up Augmentation
2312.09818 (2023-12)
SMILE: Multimodal Dataset for Understanding Laughter in Video with Language Models
2411.18953 (2024-11)
AudioSetCaps: An Enriched Audio-Caption Dataset using Automated Generation Pipeline with Large Audio and Language Models

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

Automated Audio Captioning is a multimodal task that aims to convert audio content into natural language. The assessment of audio captioning systems is typically based on quantitative metrics applied to text data. Previous studies have employed metrics derived from machine translation and image captioning to evaluate the quality of generated audio captions. Drawing inspiration from auditory cognitive neuroscience research, we introduce a novel metric approach -- Audio Captioning Evaluation on Semantics of Sound (ACES). ACES takes into account how human listeners parse semantic information from sounds, providing a novel and comprehensive evaluation perspective for automated audio captioning systems. ACES combines semantic similarities and semantic entity labeling. ACES outperforms similar automated audio captioning metrics on the Clotho-Eval FENSE benchmark in two evaluation categories.

For agents

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

get_harvested_code_for_paper("2403.18572")
get_code_for_paper("2403.18572")
have("2403.18572")

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

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

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

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

Connect an agent — have() is free.