SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2203.13086 · 2022

HiFi++: a Unified Framework for Bandwidth Extension and Speech Enhancement

arXiv · PDF · Open in the Atlas

Code that ran

12 of 12 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, 2 violated it and 0 have no contract verdict; 8 failures of our instrument; 0 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-21; 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/2203.13086.json · badge: /api/ran/2203.13086.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
andreevp/wvmos canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
rishikksh20/HiFiplusplus-pytorch community (classifier label)
classifier basis: plan_row
11 ran · 0 no recorded run
FunctionStatusWhere it lives
load_checkpoint Ran
ran; our contract draft was wrong, not the code
rishikksh20/HiFiplusplus-pytorch/inference.py
code served (permissive licence) · get_code("1644a2f2942ffe4c")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned dict. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T22:41:19Z). 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 torch
import tempfile

torch.manual_seed(0)

# Create a temporary checkpoint file
with tempfile.NamedTemporaryFile(mode='wb', delete=False, suffix='.pt') as f:
    temp_filepath = f.name
    # Create a simple checkpoint dict and save it
    checkpoint_data = {
        'model_state': torch.randn(2, 4),
        'optimizer_state': torch.randn(3, 5),
        'epoch': 10
    }
    torch.save(checkpoint_data, temp_filepath)

ARGS = {
    'filepath': temp_filepath,
    'device': torch.device('cpu')
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
discriminator_loss Ran
ran; our contract draft was wrong, not the code
rishikksh20/HiFiplusplus-pytorch/models.py
pointer only (licence: MIT); the stored copy get_code serves, from zjzser/wmcodec, is pointer only (licence: NONE) · get_code("7137577cbef51217")
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 zjzser/wmcodec, 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 Ran
ran, violated the contract we drafted
rishikksh20/HiFiplusplus-pytorch/meldataset.py
code served (permissive licence) · get_code("be031b15a988a556")
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 ndarray, ndim 1, dtype family float, shape (8,) 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 numpy as np

# Construct a small numpy array as input
x = np.array([0.00001, 0.0001, 0.001, 0.01, 0.1, 1.0, 10.0, 100.0])

# Define arguments dict with all parameters
ARGS = {
    "x": x,
    "C": 1,
    "clip_val": 1e-05
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (8,) — shape (8,) 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 Ran
ran, violated the contract we drafted
rishikksh20/HiFiplusplus-pytorch/meldataset.py
code served (permissive licence) · get_code("9e30e7d510c9d341")
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 ndarray, ndim 1, dtype family float, shape (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 numpy as np

# The function takes two parameters: x and C
# x is expected to be a numpy array (based on np.exp(x) operation)
# C is a scalar value used for division (default is 1)

# Create a small numpy array for x
x = np.array([0.5, 1.0, 1.5, 2.0])

# Create a scalar value for C
C = 2.0

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
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (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
extract_prefix Ran
ran; our contract draft was wrong, not the code
andreevp/wvmos/wvmos/wv_mos.py
pointer only (licence: NONE) · get_code("230b3bdc63069edf")
How it ran

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

feature_loss Ran
ran, honoured the contract we drafted
rishikksh20/HiFiplusplus-pytorch/models.py
pointer only (licence: MIT); the stored copy get_code serves, from zjzser/wmcodec, is pointer only (licence: NONE) · get_code("e453b51f0ed5fb28")
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 zjzser/wmcodec, 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.

generator_loss Ran
ran; our contract draft was wrong, not the code
rishikksh20/HiFiplusplus-pytorch/models.py
pointer only (licence: MIT); the stored copy get_code serves, from zjzser/wmcodec, is pointer only (licence: NONE) · get_code("1a9d74439d969cfd")
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 zjzser/wmcodec, 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.

get_padding Ran
ran, honoured the contract we drafted
rishikksh20/HiFiplusplus-pytorch/utils.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.

load_checkpoint Ran
ran; our contract draft was wrong, not the code
rishikksh20/HiFiplusplus-pytorch/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from zjzser/traceablespeech, is pointer only (licence: NONE) · get_code("19c9fe23dc000c61")
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 zjzser/traceablespeech, 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_wav Ran
ran; our contract draft was wrong, not the code
rishikksh20/HiFiplusplus-pytorch/meldataset.py
pointer only (licence: MIT); the stored copy get_code serves, from nku-hlt/audioeditor, is pointer only (licence: NOASSERTION) · get_code("8043eaefe4c09c1f")
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 nku-hlt/audioeditor, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

plot_spectrogram Ran
ran; our contract draft was wrong, not the code
rishikksh20/HiFiplusplus-pytorch/utils.py
code served (permissive licence) · get_code("8520e6e61b8bf789")
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 Figure. 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
import matplotlib.pyplot as plt

torch.manual_seed(0)

# Create a small spectrogram-like 2D array
# Spectrograms are typically (frequency_bins, time_steps)
spectrogram = np.random.randn(4, 3)

ARGS = {
    "spectrogram": spectrogram
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Figure — a Figure output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Figure 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
scan_checkpoint Ran
ran; our contract draft was wrong, not the code
rishikksh20/HiFiplusplus-pytorch/inference.py
code served (permissive licence) · get_code("404632cb4f4669da")
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) 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 tempfile
import os

# Create a temporary directory for testing
temp_dir = tempfile.mkdtemp()

# Create some dummy checkpoint files to test the glob pattern
checkpoint_files = [
    os.path.join(temp_dir, "model_step_100.pt"),
    os.path.join(temp_dir, "model_step_200.pt"),
    os.path.join(temp_dir, "model_step_150.pt"),
]

# Create the dummy files
for cp_file in checkpoint_files:
    with open(cp_file, 'w') as f:
        f.write("dummy checkpoint")

ARGS = {
    "cp_dir": temp_dir,
    "prefix": "model_step_"
}
Setup block drafted by
a language model, Claude Haiku 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 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

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 10 the same month, 10 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
get_padding 53 other papers
12 dated earlier, 1 the same month, 39 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
feature_loss 15 other papers
5 dated earlier, 1 the same month, 9 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
and 12 more not named here
discriminator_loss 13 other papers
3 dated earlier, 1 the same month, 9 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
2109.13821 (2021-09)
Diffusion-Based Voice Conversion with Fast Maximum Likelihood Sampling Scheme
and 10 more not named here
dynamic_range_compression 13 other papers
4 dated earlier, 1 the same month, 8 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
2110.12676 (2021-10)
Controllable and Interpretable Singing Voice Decomposition via Assem-VC
and 10 more not named here
dynamic_range_decompression 13 other papers
4 dated earlier, 1 the same month, 8 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
2110.12676 (2021-10)
Controllable and Interpretable Singing Voice Decomposition via Assem-VC
and 10 more not named here
generator_loss 13 other papers
4 dated earlier, 1 the same month, 8 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.06103 (2021-06)
Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
and 10 more not named here
load_checkpoint 13 other papers
2 dated earlier, 1 the same month, 10 later
2010.05646 (2020-10)
HiFi-GAN: Generative Adversarial Networks for Efficient and High Fidelity Speech Synthesis
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
2203.02395 (2022-03)
iSTFTNet: Fast and Lightweight Mel-Spectrogram Vocoder Incorporating Inverse Short-Time Fourier Transform
and 10 more not named here
scan_checkpoint 10 other papers
1 dated earlier, 1 the same month, 8 later
2010.05646 (2020-10)
HiFi-GAN: Generative Adversarial Networks for Efficient and High Fidelity Speech Synthesis
2203.02395 (2022-03)
iSTFTNet: Fast and Lightweight Mel-Spectrogram Vocoder Incorporating Inverse Short-Time Fourier Transform
2305.13686 (2023-05)
MP-SENet: A Speech Enhancement Model with Parallel Denoising of Magnitude and Phase Spectra
and 7 more not named here
load_wav 9 other papers
4 dated earlier, 1 the same month, 4 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
2110.12676 (2021-10)
Controllable and Interpretable Singing Voice Decomposition via Assem-VC
and 6 more not named here
plot_spectrogram 7 other papers
2 dated earlier, 1 the same month, 4 later
2006.04558 (2020-06)
FastSpeech 2: Fast and High-Quality End-to-End Text to Speech
2106.07889 (2021-06)
UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation
2203.02395 (2022-03)
iSTFTNet: Fast and Lightweight Mel-Spectrogram Vocoder Incorporating Inverse Short-Time Fourier Transform
and 4 more not named here

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-21.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Generative adversarial networks have recently demonstrated outstanding performance in neural vocoding outperforming best autoregressive and flow-based models. In this paper, we show that this success can be extended to other tasks of conditional audio generation. In particular, building upon HiFi vocoders, we propose a novel HiFi++ general framework for bandwidth extension and speech enhancement. We show that with the improved generator architecture, HiFi++ performs better or comparably with the state-of-the-art in these tasks while spending significantly less computational resources. The effectiveness of our approach is validated through a series of extensive experiments.

For agents

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

get_harvested_code_for_paper("2203.13086")
get_code_for_paper("2203.13086")
have("2203.13086")

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

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

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

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

Connect an agent — have() is free.