APNet2
Neural vocoder that predicts speech amplitude and phase spectra with ConvNeXt v2 backbones and rebuilds audio by ISTFT.
Audio and speech · 289 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Audio and speech
- Parameters
- 31.4M
- Operations
- 289
- Framework
- PyTorch
- Recurrent
- No
- Published
- Communications in computer and information science (arXiv 2023)
- Cited by
- 7 (as of 29 October 2026)
- Authors
- Hui-Peng Du, Ye-Xin Lu, Yang Ai, Zhen-Hua Ling
- Source
- GitHub: redmist328/APNet2
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m14569
- Graph hash
- 7e64fec4e1ac903bd318456a651df87da6a42f370405c16ad068f7467cf995e2
- Skeleton hash
- 2ee68e4011000c9016c7512a0f81c1c24d00f64060238f41486a811e75a381a1
- Architecture hash
- 095cf4cc69a87562bbe5999ac06ec8cc08b7efd7105436a66c33451209bcf2e0
- Diagram SHA-256
- de90177084195f2a23f5651a41952d1a69e15177eb128d6b793735deb74fc1e9
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
APNet2 is a neural vocoder, a network that turns acoustic features into a speech waveform. It continues the approach of the authors' earlier APNet, which predicts the amplitude and phase spectra of speech directly and in parallel and then reconstructs the waveform with an inverse short-time Fourier transform (ISTFT). According to the paper, APNet matched the speech quality of the HiFi-GAN vocoder at a considerably higher inference speed. Its performance was constrained by the waveform sampling rate and the spectral frame shift.
APNet2 adopts ConvNeXt v2 as the backbone network for the amplitude and phase predictions. For training, the authors add a multi-resolution discriminator (MRD) to the GAN-based losses and change the form of certain losses. At a waveform sampling rate of 22.05 kHz and a spectral frame shift of 256 points, approximately 11.6 ms, the paper reports that APNet2 outperformed the original APNet and Vocos vocoders in synthesized speech quality. It also reports quality comparable to HiFi-GAN and iSTFTNet with significantly faster inference. The pretrained model the authors released was trained on the LJSpeech dataset.
Key idea. APNet2 gives the APNet vocoder a ConvNeXt v2 backbone for parallel amplitude and phase spectrum prediction and adds a multi-resolution discriminator to its GAN-based losses.
- APNet2
- neural vocoder
- amplitude and phase spectra
- phase prediction
- ISTFT vocoder
- speech synthesis
- ConvNeXt v2 vocoder
- LJSpeech
- multi-resolution discriminator
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{du2023apnet2highqualityhighefficiencyneural,
title={APNet2: High-quality and High-efficiency Neural Vocoder with Direct Prediction of Amplitude and Phase Spectra},
author={Hui-Peng Du and Ye-Xin Lu and Yang Ai and Zhen-Hua Ling},
year={2023},
eprint={2311.11545},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2311.11545},
}