SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.00858 · 2025

Whispering Under the Eaves: Protecting User Privacy Against Commercial and LLM-powered Automatic Speech Recognition Systems

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 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; 2 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 6 failures of our instrument; 2 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/2504.00858.json · badge: /api/ran/2504.00858.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
WeifeiJin/AudioShield canonical (classifier label)
classifier basis not recorded on the link
9 ran · 2 no recorded run
FunctionStatusWhere it lives
convert_pad_shape Ran
ran, honoured the contract we drafted
WeifeiJin/AudioShield/commons.py
pointer only (licence: MIT); the stored copy get_code serves, from isletennos/mmvc_trainer, is pointer only (licence: NONE) · get_code("59ae0708b1e8d94b")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from isletennos/mmvc_trainer, and GitHub detected no licence in that repository 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.

dynamic_range_compression_torch Ran
ran; our contract draft was wrong, not the code
WeifeiJin/AudioShield/mel_processing.py
code served (permissive licence) · get_code("262807b9eb9706a5")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch
import torch.nn as nn

torch.manual_seed(0)

# Create a small positive tensor for input
# The function applies log and clamp operations, so we need positive values
x = torch.rand(2, 4) + 0.1  # Small batch with positive values

# Define compression factor
C = 1

# Define clipping value
clip_val = 1e-05

ARGS = {
    "x": x,
    "C": C,
    "clip_val": clip_val,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
dynamic_range_decompression_torch Ran
ran on a synthesized input
WeifeiJin/AudioShield/mel_processing.py
code served (permissive licence) · get_code("78c12e563d5af53d")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch
import torch.nn as nn

torch.manual_seed(0)

# Create a small tensor input
x = torch.randn(2, 4)

# Create compression factor
C = 1

# Map all parameters to values
ARGS = {
    "x": x,
    "C": C,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
get_padding Ran
ran, honoured the contract we drafted
WeifeiJin/AudioShield/commons.py
pointer only (licence: MIT); 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: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from isletennos/mmvc_trainer, and GitHub detected no licence in that repository 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.

intersperse Ran
ran; our contract draft was wrong, not the code
WeifeiJin/AudioShield/commons.py
pointer only (licence: MIT); the stored copy get_code serves, from wxzyd123/pivotal_objective_perturbation, is pointer only (licence: NONE) · get_code("c01a3efb274ff778")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wxzyd123/pivotal_objective_perturbation, and GitHub detected no licence in that repository 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.

latest_checkpoint_path Ran
ran; our contract draft was wrong, not the code
WeifeiJin/AudioShield/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from hayeong0/Diff-HierVC, is pointer only (licence: NONE) · get_code("321604dda57bb02d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from hayeong0/Diff-HierVC, and GitHub detected no licence in that repository 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.

load_checkpoint Ran
ran; our contract draft was wrong, not the code
WeifeiJin/AudioShield/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from hayeong0/Diff-HierVC, is pointer only (licence: NONE) · get_code("c647283e53cacacf")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from hayeong0/Diff-HierVC, and GitHub detected no licence in that repository 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.

spectral_normalize_torch Ran
ran; our contract draft was wrong, not the code
WeifeiJin/AudioShield/mel_processing.py
code served (permissive licence) · get_code("26b87488d429896a")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch

torch.manual_seed(0)

# Create a small magnitude tensor (batch_size=2, frequency_bins=4)
magnitudes = torch.rand(2, 4) + 0.1  # Add 0.1 to ensure values are well above 0

# Define arguments for spectral_normalize_torch
ARGS = {
    "magnitudes": magnitudes,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
unconstrained_rational_quadratic_spline Ran
ran; our contract draft was wrong, not the code
WeifeiJin/AudioShield/transforms.py
pointer only (licence: MIT); the stored copy get_code serves, from hayeong0/Diff-HierVC, is pointer only (licence: NONE) · get_code("70a7614b3b3eb41f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from hayeong0/Diff-HierVC, and GitHub detected no licence in that repository 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.

piecewise_rational_quadratic_transform Not yet run
unverified (harvested, no recorded run)
WeifeiJin/AudioShield/transforms.py
pointer only (licence: MIT); the stored copy get_code serves, from hayeong0/Diff-HierVC, is pointer only (licence: NONE) · get_code("ba6cafc4d658c14f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from hayeong0/Diff-HierVC, and GitHub detected no licence in that repository 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.

searchsorted Not yet run
unverified (harvested, no recorded run)
WeifeiJin/AudioShield/transforms.py
code served (permissive licence) · get_code("e85d747983c4f5d8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 0 the same month, 1 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
get_padding 53 other papers
50 dated earlier, 2 later, 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
intersperse 13 other papers
13 dated earlier
2005.11129 (2020-05)
Glow-TTS: A Generative Flow for Text-to-Speech via Monotonic Alignment Search
2105.06337 (2021-05)
Grad-TTS: A Diffusion Probabilistic Model for Text-to-Speech
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
and 10 more not named here
convert_pad_shape 12 other papers
12 dated earlier
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2109.13821 (2021-09)
Diffusion-Based Voice Conversion with Fast Maximum Likelihood Sampling Scheme
2109.15166 (2021-09)
PortaSpeech: Portable and High-Quality Generative Text-to-Speech
and 9 more not named here
searchsorted 9 other papers
9 dated earlier · 1 only as an assembly brick
2007.09390 (2020-07)
Autoregressive flow-based causal discovery and inference
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
and 6 more not named here
dynamic_range_compression_torch 7 other papers
7 dated earlier
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2110.02500 (2021-10)
MediumVC: Any-to-any voice conversion using synthetic specific-speaker speeches as intermedium features
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
and 4 more not named here
piecewise_rational_quadratic_transform 7 other papers
7 dated earlier
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
2210.06370 (2022-10)
Can we use Common Voice to train a Multi-Speaker TTS system?
and 4 more not named here
unconstrained_rational_quadratic_spline 7 other papers
7 dated earlier
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
2210.06370 (2022-10)
Can we use Common Voice to train a Multi-Speaker TTS system?
and 4 more not named here
spectral_normalize_torch 6 other papers
6 dated earlier
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2110.02500 (2021-10)
MediumVC: Any-to-any voice conversion using synthetic specific-speaker speeches as intermedium features
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
and 3 more not named here
latest_checkpoint_path 5 other papers
5 dated earlier
2005.11129 (2020-05)
Glow-TTS: A Generative Flow for Text-to-Speech via Monotonic Alignment Search
2105.06337 (2021-05)
Grad-TTS: A Diffusion Probabilistic Model for Text-to-Speech
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
and 2 more not named here
dynamic_range_decompression_torch 4 other papers
4 dated earlier
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2206.04658 (2022-06)
BigVGAN: A Universal Neural Vocoder with Large-Scale Training
2305.19709 (2023-05)
XPhoneBERT: A Pre-trained Multilingual Model for Phoneme Representations for Text-to-Speech
and 1 more not named here
load_checkpoint 3 other papers
3 dated earlier
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2305.19709 (2023-05)
XPhoneBERT: A Pre-trained Multilingual Model for Phoneme Representations for Text-to-Speech
2311.04693 (2023-11)
Diff-HierVC: Diffusion-based Hierarchical Voice Conversion with Robust Pitch Generation and Masked Prior for Zero-shot Speaker Adaptation

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

The widespread application of automatic speech recognition (ASR) supports large-scale voice surveillance, raising concerns about privacy among users. In this paper, we concentrate on using adversarial examples to mitigate unauthorized disclosure of speech privacy thwarted by potential eavesdroppers in speech communications. While audio adversarial examples have demonstrated the capability to mislead ASR models or evade ASR surveillance, they are typically constructed through time-intensive offline optimization, restricting their practicality in real-time voice communication. Recent work overcame this limitation by generating universal adversarial perturbations (UAPs) and enhancing their transferability for black-box scenarios. However, they introduced excessive noise that significantly degrades audio quality and affects human perception, thereby limiting their effectiveness in practical scenarios. To address this limitation and protect live users' speech against ASR systems, we propose a novel framework, AudioShield. Central to this framework is the concept of Transferable Universal Adversarial Perturbations in the Latent Space (LS-TUAP). By transferring the perturbations to the latent space, the audio quality is preserved to a large extent. Additionally, we propose target feature adaptation to enhance the transferability of UAPs by embedding target text features into the perturbations. Comprehensive evaluation on four commercial ASR APIs (Google, Amazon, iFlytek, and Alibaba), three voice assistants, two LLM-powered ASR and one NN-based ASR demonstrates the protection superiority of AudioShield over existing competitors, and both objective and subjective evaluations indicate that AudioShield significantly improves the audio quality. Moreover, AudioShield also shows high effectiveness in real-time end-to-end scenarios, and demonstrates strong resilience against adaptive countermeasures.

For agents

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

get_harvested_code_for_paper("2504.00858")
get_code_for_paper("2504.00858")
have("2504.00858")

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

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

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

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

Connect an agent — have() is free.