SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.10056 · 2024

UniAudio 1.5: Large Language Model-driven Audio Codec is A Few-shot Audio Task Learner

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 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, 2 violated it and 0 have no contract verdict; 5 failures of our instrument; 0 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/2406.10056.json · badge: /api/ran/2406.10056.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
yangdongchao/llm-codec canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
apply_rotary_emb Ran
ran; our contract draft was wrong, not the code
yangdongchao/llm-codec/llama_inference/llama/model.py
pointer only (licence: NONE); the stored copy get_code serves, from kztakemoto/mmllm, is pointer only (licence: NONE) · get_code("7f04dbcdf72d68fd")
How it ran

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

apply_rotary_pos_emb Ran
ran; our contract draft was wrong, not the code
yangdongchao/llm-codec/codec/attention.py
pointer only (licence: NONE) · get_code("6d3d810524eb100b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yangdongchao/llm-codec 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_padding Ran
ran, violated the contract we drafted
yangdongchao/llm-codec/codec/msstftd.py
pointer only (licence: NONE) · get_code("35ac4a3a2d0faeac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yangdongchao/llm-codec 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_padding Ran
ran, honoured the contract we drafted
yangdongchao/llm-codec/codec/module.py
pointer only (licence: NONE); the stored copy get_code serves, from isletennos/mmvc_trainer, is pointer only (licence: NONE) · get_code("a26f85d7c72ef39a")
How it ran

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

precompute_freqs_cis Ran
ran, violated the contract we drafted
yangdongchao/llm-codec/llama_inference/llama/model.py
pointer only (licence: NONE); the stored copy get_code serves, from meituan-automl/visionllama, is pointer only (licence: NONE) · get_code("14a84c2cbfebc413")
How it ran

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

reshape_for_broadcast Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yangdongchao/llm-codec/llama_inference/llama/model.py
pointer only (licence: NONE); the stored copy get_code serves, from alpha-vllm/llama2-accessory, is pointer only (licence: NOASSERTION) · get_code("70bf6ebaafd266c4")
How it ran

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

rotate_half Ran
ran; our contract draft was wrong, not the code
yangdongchao/llm-codec/codec/attention.py
pointer only (licence: NONE) · get_code("1147383164fd3a66")
How it ran

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

snake Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yangdongchao/llm-codec/codec/layers.py
pointer only (licence: NONE) · get_code("f247e4748f379a76")
How it ran

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

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 4 the same month, 8 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
reshape_for_broadcast 58 other papers
33 dated earlier, 2 the same month, 23 later · 2 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 55 more not named here
apply_rotary_emb 55 other papers
29 dated earlier, 3 the same month, 23 later · 1 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 52 more not named here
get_padding 53 other papers
37 dated earlier, 5 the same month, 8 later, 2 same year, order not determinable, 1 undated · 4 only as an assembly brick
1910.10838 (2019-10)
Zero-Shot Multi-Speaker Text-To-Speech with State-of-the-art Neural Speaker Embeddings
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2006.06873 (2020-06)
FastPitch: Parallel Text-to-speech with Pitch Prediction
and 50 more not named here
precompute_freqs_cis 47 other papers
29 dated earlier, 2 the same month, 16 later · 1 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 44 more not named here
snake 10 other papers
3 dated earlier, 7 later · 1 only as an assembly brick
2306.06546 (2023-06)
High-Fidelity Audio Compression with Improved RVQGAN
2307.04686 (2023-07)
VampNet: Music Generation via Masked Acoustic Token Modeling
2308.16692 (2023-08)
SPEECHTOKENIZER: UNIFIED SPEECH TOKENIZER FOR SPEECH LANGUAGE MODELS
and 7 more not named here
rotate_half 3 other papers
2 dated earlier, 1 later
2303.11249 (2023-03)
What Makes Data Suitable for a Locally Connected Neural Network? A Necessary and Sufficient Condition Based on Quantum Entanglement
2310.02980 (2023-10)
Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priors
2410.14411 (2024-10)
SNAC: Multi-Scale Neural Audio Codec
apply_rotary_pos_emb 2 other papers
1 dated earlier, 1 later
2310.02980 (2023-10)
Never Train from Scratch: Fair Comparison of Long-Sequence Models Requires Data-Driven Priors
2410.14411 (2024-10)
SNAC: Multi-Scale Neural Audio Codec
get_2d_padding 2 other papers
1 dated earlier, 1 later
2308.16692 (2023-08)
SPEECHTOKENIZER: UNIFIED SPEECH TOKENIZER FOR SPEECH LANGUAGE MODELS
2602.15491 (2026-02)
The Equalizer: Introducing Shape-Gain Decomposition in Neural Audio Codecs

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

The Large Language models (LLMs) have demonstrated supreme capabilities in text understanding and generation, but cannot be directly applied to cross-modal tasks without fine-tuning. This paper proposes a cross-modal in-context learning approach, empowering the frozen LLMs to achieve multiple audio tasks in a few-shot style without any parameter update. Specifically, we propose a novel and LLMs-driven audio codec model, LLM-Codec, to transfer the audio modality into the textual space, \textit{i.e.} representing audio tokens with words or sub-words in the vocabulary of LLMs, while keeping high audio reconstruction quality. The key idea is to reduce the modality heterogeneity between text and audio by compressing the audio modality into a well-trained LLMs token space. Thus, the audio representation can be viewed as a new \textit{foreign language}, and LLMs can learn the new \textit{foreign language} with several demonstrations. In experiments, we investigate the performance of the proposed approach across multiple audio understanding and generation tasks, \textit{e.g.} speech emotion classification, audio classification, text-to-speech generation, speech enhancement, etc. The experimental results demonstrate that the LLMs equipped with the proposed LLM-Codec, named as UniAudio 1.5, prompted by only a few examples, can achieve the expected functions in simple scenarios. It validates the feasibility and effectiveness of the proposed cross-modal in-context learning approach. To facilitate research on few-shot audio task learning and multi-modal LLMs, we have open-sourced the LLM-Codec model.

For agents

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

get_harvested_code_for_paper("2406.10056")
get_code_for_paper("2406.10056")
have("2406.10056")

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

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

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

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

Connect an agent — have() is free.