SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.07586 · 2023

Emo-StarGAN: A Semi-Supervised Any-to-Many Non-Parallel Emotion-Preserving Voice Conversion

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 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; 5 failures of our instrument; 1 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/2309.07586.json · badge: /api/ran/2309.07586.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
suhitaghosh10/emo-stargan canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
FunctionStatusWhere it lives
build_optimizer Ran
ran; our contract draft was wrong, not the code
suhitaghosh10/emo-stargan/optimizers.py
code served (permissive licence) · get_code("f5f1bd6b9f51a9f0")
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 MultiOptimizer. 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 torch.optim import AdamW

torch.manual_seed(0)

# Create small neural network modules for parameter groups
class SmallModel1(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

class SmallModel2(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(3, 2)
    
    def forward(self, x):
        return self.linear(x)

# Instantiate models
model1 = SmallModel1()
model2 = SmallModel2()

# Create parameter dictionaries for each optimizer
parameters_dict = {
    'optimizer1': model1.parameters(),
    'optimizer2': model2.parameters(),
}

# Create scheduler parameters dictionary
scheduler_params_dict = {
    'optimizer1': {
        'max_lr': 0.0002,
        'epochs': 10,
        'steps_per_epoch': 100,
        'pct_start': 0.1,
    },
    'optimizer2': {
        'max_lr': 0.0001,
        'epochs': 10,
        'steps_per_epoch': 100,
        'pct_start': 0.05,
    },
}

ARGS = {
    'parameters_dict': parameters_dict,
    'scheduler_params_dict': scheduler_params_dict,
}
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 MultiOptimizer — a MultiOptimizer output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MultiOptimizer 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
define_scheduler Ran
ran; our contract draft was wrong, not the code
suhitaghosh10/emo-stargan/optimizers.py
code served (permissive licence) · get_code("6e710fd26220eb49")
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 OneCycleLR. 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

torch.manual_seed(0)

# Create a simple model
model = nn.Linear(4, 3)

# Create an optimizer
optimizer = torch.optim.SGD(model.parameters(), lr=0.01)

# Create params dictionary with all the parameters that OneCycleLR expects
params = {
    'max_lr': 0.1,
    'epochs': 200,
    'steps_per_epoch': 1000,
    'pct_start': 0.3
}

ARGS = {
    'optimizer': optimizer,
    'params': params
}
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 OneCycleLR — a OneCycleLR output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a OneCycleLR 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
frame Ran
ran; our contract draft was wrong, not the code
suhitaghosh10/emo-stargan/Models/features.py
code served (permissive licence) · get_code("4e97257128ddcb72")
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 3, dtype family float, shape (2, 5, 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 signal tensor
# The function uses unfold on the specified axis, so we need at least
# frame_length samples along that axis
signal = torch.randn(2, 12)  # shape (2, 12) - batch=2, signal_length=12

# Frame parameters
frame_length = 4
frame_step = 2
pad_end = False
pad_value = 0
axis = -1

ARGS = {
    "signal": signal,
    "frame_length": frame_length,
    "frame_step": frame_step,
    "pad_end": pad_end,
    "pad_value": pad_value,
    "axis": axis,
}
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 3, dtype family float, shape (2, 5, 4) — shape (2, 5, 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
log_norm Ran
ran; our contract draft was wrong, not the code
suhitaghosh10/emo-stargan/Models/losses.py
code served (permissive licence) · get_code("62618bc8a2fb233e")
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 tensor for x
# The function expects x to be a tensor that will be normalized along dim=2
# Shape: (batch=2, features=4, dim_to_reduce=3)
x = torch.randn(2, 4, 3)

ARGS = {
    "x": x,
    "mean": -4,
    "std": 4,
    "dim": 2
}
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
torch_like_frame Ran
ran; our contract draft was wrong, not the code
suhitaghosh10/emo-stargan/Models/features.py
code served (permissive licence) · get_code("3891e8e3b55b7362")
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 3, dtype family float, shape (2, 3, 3) 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.functional as F

torch.manual_seed(0)

# Construct a small signal tensor
# The function expects a tensor with at least 1 dimension
# It handles 1D, 2D, or 3D signals by reshaping internally
signal = torch.randn(2, 4)  # batch_size=2, signal_length=4

# Frame parameters
frame_length = 3
frame_step = 1
pad_mode = 'reflect'

ARGS = {
    'signal': signal,
    'frame_length': frame_length,
    'frame_step': frame_step,
    'pad_mode': pad_mode
}
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 3, dtype family float, shape (2, 3, 3) — shape (2, 3, 3) 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
compute_coding_loss Not yet run
unverified (harvested, no recorded run)
suhitaghosh10/emo-stargan/Utils/emotion_encoder/losses.py
code served (permissive licence) · get_code("a1d80df697161cd2")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 5 the same month, 0 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
build_optimizer 4 other papers
3 dated earlier, 1 the same month
2107.10394 (2021-07)
StarGANv2-VC: A Diverse, Unsupervised, Non-parallel Framework for Natural-Sounding Voice Conversion
2205.15439 (2022-05)
StyleTTS: A Style-Based Generative Model for Natural and Diverse Text-to-Speech Synthesis
2212.14227 (2022-12)
StyleTTS-VC: One-Shot Voice Conversion by Knowledge Transfer from Style-Based TTS Models
and 1 more not named here
define_scheduler 4 other papers
3 dated earlier, 1 the same month
2107.10394 (2021-07)
StarGANv2-VC: A Diverse, Unsupervised, Non-parallel Framework for Natural-Sounding Voice Conversion
2205.15439 (2022-05)
StyleTTS: A Style-Based Generative Model for Natural and Diverse Text-to-Speech Synthesis
2212.14227 (2022-12)
StyleTTS-VC: One-Shot Voice Conversion by Knowledge Transfer from Style-Based TTS Models
and 1 more not named here
log_norm 2 other papers
1 dated earlier, 1 the same month
2107.10394 (2021-07)
StarGANv2-VC: A Diverse, Unsupervised, Non-parallel Framework for Natural-Sounding Voice Conversion
2309.07592 (2023-09)
StarGAN-VC++: Towards Emotion Preserving Voice Conversion Using Deep Embeddings
frame 1 other paper
1 the same month
2309.07592 (2023-09)
StarGAN-VC++: Towards Emotion Preserving Voice Conversion Using Deep Embeddings
torch_like_frame 1 other paper
1 the same month
2309.07592 (2023-09)
StarGAN-VC++: Towards Emotion Preserving Voice Conversion Using Deep Embeddings

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

Speech anonymisation prevents misuse of spoken data by removing any personal identifier while preserving at least linguistic content. However, emotion preservation is crucial for natural human-computer interaction. The well-known voice conversion technique StarGANv2-VC achieves anonymisation but fails to preserve emotion. This work presents an any-to-many semi-supervised StarGANv2-VC variant trained on partially emotion-labelled non-parallel data. We propose emotion-aware losses computed on the emotion embeddings and acoustic features correlated to emotion. Additionally, we use an emotion classifier to provide direct emotion supervision. Objective and subjective evaluations show that the proposed approach significantly improves emotion preservation over the vanilla StarGANv2-VC. This considerable improvement is seen over diverse datasets, emotions, target speakers, and inter-group conversions without compromising intelligibility and anonymisation.

For agents

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

get_harvested_code_for_paper("2309.07586")
get_code_for_paper("2309.07586")
have("2309.07586")

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

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

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

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

Connect an agent — have() is free.