SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2025.naacl-long.298 · NAACL · 2025

VoiceTextBlender: Augmenting Large Language Models with Speech Capabilities via Single-Stage Joint Speech-Text Supervised Fine-Tuning

Shinji Watanabe, Boris Ginsburg, Yifan Peng, He Huang, Kunal Dhawan, Krishna Puvvada, Jagadeesh Balam, Zhehuai Chen, Ke Hu, Piotr Zelasko

Open in the Atlas

Code that ran

3 of 3 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; 3 failures of our instrument; 0 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/2025.naacl-long.298.json · badge: /api/ran/2025.naacl-long.298.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
pyf98/NeMo_VoiceTextBlender canonical (classifier label)
classifier basis: census
3 ran · 0 no recorded run
FunctionStatusWhere it lives
detect_prefix Ran
ran; our contract draft was wrong, not the code
pyf98/NeMo_VoiceTextBlender/nemo/utils/model_utils.py
code served (permissive licence) · get_code("3249d23e2b9376c6")
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 fnmatch

MODEL_CONFIG = 'model_config.yaml'

# The function expects a list of file names (strings) that should include
# exactly one file matching the pattern '*model_config.yaml'
# The function uses fnmatch.filter to find matching names and removesuffix to extract the prefix

ARGS = {
    'names': [
        'some_prefix/model_config.yaml',
        'some_prefix/weights.pt',
        'some_prefix/data.bin',
    ]
}
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
hydra_runner Ran
ran; our contract draft was wrong, not the code
pyf98/NeMo_VoiceTextBlender/nemo/core/config/hydra_runner.py
code served (permissive licence) · get_code("5cbcb4692500af92")
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 function. 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 functools
import os
import sys
from typing import Any, Callable, Optional
from hydra._internal.utils import _run_hydra, get_args_parser
from hydra.core.config_store import ConfigStore
from hydra.types import TaskFunction
from omegaconf import DictConfig, OmegaConf


# Define a simple task function to use with the decorator
def simple_task(cfg: DictConfig) -> Any:
    """A simple task function for testing."""
    return cfg


# Define a simple schema class for structured config
class SimpleSchema:
    """A minimal structured config schema."""
    learning_rate: float = 0.001
    batch_size: int = 32
    model_name: str = "test_model"


ARGS = {
    'config_path': '.',
    'config_name': 'config',
    'schema': SimpleSchema,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
hydra, omegaconf — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
unwrap_model Ran
ran; our contract draft was wrong, not the code
pyf98/NeMo_VoiceTextBlender/nemo/utils/model_utils.py
code served (permissive licence) · get_code("aaa3faafc96337d0")
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 SimpleModel. 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
from typing import Type, Tuple, Union

torch.manual_seed(0)

# Create a simple base model
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create a wrapper class that has a .module attribute
class Float16Module(nn.Module):
    def __init__(self, module):
        super().__init__()
        self.module = module
    
    def forward(self, x):
        return self.module(x)

# Create another wrapper for testing nested wrapping
class DoubleWrapper(nn.Module):
    def __init__(self, module):
        super().__init__()
        self.module = module
    
    def forward(self, x):
        return self.module(x)

# Build test instances
base_model = SimpleModel()
wrapped_once = Float16Module(base_model)
wrapped_twice = DoubleWrapper(wrapped_once)

# Create ARGS dict with all parameters
ARGS = {
    "model": wrapped_twice,
    "module_instances": (Float16Module, DoubleWrapper)
}
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 SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel 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

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 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
detect_prefix 3 other papers
3 later
2602.11933 (2026-02)
Cross-Modal Robustness Transfer (CMRT): Training Robust Speech Translation Models Using Adversarial Text
2606.06047 (2026-06)
Automatic Labelling of Speech Translation Errors
2608.13717 (2026-08)
StreamHear: Domain-Adapted Pseudo-Labeling for Semi-Supervised Streaming Speech Recognition
hydra_runner 2 other papers
2 dated earlier
2304.06795 (2023-04)
Efficient Sequence Transduction by Jointly Predicting Tokens and Durations
2407.12854 (2024-07)
Scaling Retrieval-Based Language Models with a Trillion-Token Datastore

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

Recent studies have augmented large language models (LLMs) with speech capabilities, leading to the development of speech language models (SpeechLMs). Earlier SpeechLMs focused on single-turn speech-based question answering (QA), where user input comprised a speech context and a text question. More recent studies have extended this to multi-turn conversations, though they often require complex, multi-stage supervised fine-tuning (SFT) with diverse data. Another critical challenge with SpeechLMs is catastrophic forgetting, where models optimized for speech tasks suffer significant degradation in text-only performance. To mitigate these issues, we propose a novel single-stage joint speech-text SFT approach on the lowrank adaptation (LoRA) of the LLM backbone. Our joint SFT combines text-only SFT data with three types of speech-related data: speech recognition and translation, speech-based QA, and mixed-modal SFT. Compared to previous SpeechLMs with 7B or 13B parameters, our 3B model demonstrates superior performance across various speech benchmarks while preserving the original capabilities on text-only tasks. Furthermore, our model shows emergent abilities of effectively handling previously unseen prompts and tasks, including multi-turn, mixed-modal inputs. 1 Large language models (LLMs) have demonstrated impressive success in natural language processing (OpenAI, 2023;Reid et al., 2024;Dubey et al., 2024), sparking a surge of research into multimodal foundation models that extend beyond text. Recent studies in speech processing have focused * Equal contribution. Work done while Yifan was an intern at NVIDIA. 1 We will publicly release our data generation scripts, training code, and pre-trained model weights: https://github.com/pyf98/NeMo_VoiceTextBlender

For agents

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

get_harvested_code_for_paper("2025.naacl-long.298")
get_code_for_paper("2025.naacl-long.298")
have("2025.naacl-long.298")

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

curl https://syntology.ai/api/ran/2025.naacl-long.298.json

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

[![Syntology run record](https://syntology.ai/api/ran/2025.naacl-long.298.svg)](https://syntology.ai/paper/2025.naacl-long.298)

Connect an agent — have() is free.