All models

PeSTo

A lightweight convolutional pitch estimator for monophonic audio, trained without labels.

Audio and speech · 23 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (29 KB)

Open in a new tab

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

Parameters
28.9K
Operations
23
Framework
PyTorch
Recurrent
No
Published
ISMIR 2023
Cited by
12 (as of 26 October 2026)
Authors
Alain Riou, Stefan Lattner, Gaëtan Hadjeres, Geoffroy Peeters
License
LGPL-3.0-only
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19285
Graph hash
3c39b0fd398cea53783d6a714c6f5a658759cf302aa07c25fd1d4240b559c6e4
Skeleton hash
8a2a21b5a5851ca7a632e982cfda39ab6fe864148a11c4823f1fef7fe422339d
Architecture hash
7c34f4ab7c6d0779f3d6eaab7eb3c8cec0464b831a64a38749c8418aa966721b
Diagram SHA-256
97a03523fa2097e604113ce9c45392ab03f1f5eb83cf03ae70d36ba792b785e6
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

PESTO estimates pitch from monophonic audio, and it learns to do so from a small unlabeled dataset. Training uses a lightweight Siamese network, described in the paper as having fewer than 30k parameters, that sees two pitch-shifted versions of the same audio, each represented by its Constant-Q Transform (CQT).

Each CQT frame is processed independently by a stack of 1D convolutions along the log-frequency axis. The output is then flattened, passed through a final fully-connected layer and normalized by a softmax into a probability distribution. That last layer is a Toeplitz fully-connected layer, a linear layer without bias whose weight matrix has constant diagonals. Unlike an arbitrary fully-connected layer, it preserves transpositions and has fewer parameters.

The paper trains PESTO on MIR-1K and MDB-stem-synth and evaluates on both. It reports that PESTO outperforms the two self-supervised baselines, SPICE and DDSP-inv, even when it is trained on one dataset and evaluated on the other. It is described as competitive with CREPE, a supervised model with 750 times more parameters.

Key idea. PESTO learns pitch estimation without labels through a class-based transposition-equivariant objective, with learnable Toeplitz matrices making the network architecture transposition-preserving.

  • pesto
  • pitch estimation
  • fundamental frequency estimation
  • f0 estimation
  • pitch tracking
  • self-supervised pitch estimation
  • transposition-equivariant
  • monophonic pitch
  • constant-q transform

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{riou2025pestopitchestimationselfsupervised,
      title={PESTO: Pitch Estimation with Self-supervised Transposition-equivariant Objective}, 
      author={Alain Riou and Stefan Lattner and Gaëtan Hadjeres and Geoffroy Peeters},
      year={2025},
      eprint={2309.02265},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      doi={https://doi.org/10.5281/zenodo.10265342},
      url={https://arxiv.org/abs/2309.02265}, 
}