arXiv:2610.22962cs.SDOct 2026

Manuscript Offprint

arXiv:2610.22962

Rethinking Magnitude Compression in Spectral Losses for DDSP Parameter Estimation

Byunghoo Park, Jayeon Yi, Minje Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Spectral losses for differentiable digital signal processing (DDSP) commonly compress magnitudes, for example by using log-magnitude terms. Such compression mimics human perception, but whether it helps the optimization is less clear, and is usually found only by comparing trained models. In this work, we show that whether compression helps depends on the system's informative region: the region of its dynamic range that carries the information pointing toward the target. To indicate where this region lies without having to train, we introduce concordance, which measures how well a loss orders candidate parameter settings by their distance from the target. We then compare uncompressed, compressed, and combined losses by fitting a modal plate reverb and a subtractive synthesizer model to target sounds. A third system, selected for its low-energy informative region, tests the relationship in the opposite direction. In every system, the loss that matches the informative region performs best: the uncompressed one where the region lies at high energies, and the compressed one where it lies low. Surprisingly, the common combination of both log-magnitude and linear-magnitude terms performs best in none of the systems. Code and audio examples are available online 1^{1}.

Index Terms— Differentiable digital signal processing, spectral loss, magnitude compression, parameter estimation

1. INTRODUCTION

Reproducing a target sound with a known signal model is a longstanding problem in audio, from synthesizer sound matching to physical-model fitting. Differentiable digital signal processing (DDSP) has made fitting such a model practical by backpropagating loss gradients through its operations, yielding a compact and interpretable reproduction and a domain-appropriate inductive bias [1].

Unlike unconstrained waveform generation, optimization in such systems acts through a relatively small set of parameters. Changing these parameters can produce structured and potentially large changes in the spectrum, such as moving spectral peaks or changing resonances and filter responses. Consequently, selecting a loss that provides informative gradients with respect to these parameters, while remaining aligned with the goal of the task, is particularly important [2]. However, no consensus has been reached on the best spectral loss configuration across tasks [3]. The optimal loss also varies across signal models, and loss selection remains under-explored [4].

One particularly consequential component of loss selection is magnitude compression, which increases the relative contribution of low-energy components. Audio magnitudes span a large dynamic range, whereas perceived loudness grows sublinearly with physical sound intensity [5, 6]. Hence, logarithmic and power-law representations have long been used to compress this dynamic range when representing or comparing audio [7, 8, 3]. A primary example is the multi-scale spectral (MSS) loss, which combines linear-magnitude and log-magnitude terms across multiple time-frequency resolutions [1, 9] and has been widely adopted in DDSP applications.

Although compression is well motivated for perceptual representations, its effect in DDSP parameter estimation is less obvious. Compression can be advantageous when useful information is carried by weak spectral components. In a parametric DDSP system, however, parameter changes may have their most pronounced effects on a small number of dominant spectral components, in which case compression can suppress the gradients most useful for recovering the target parameters. Thus, the perceptually motivated preference for compressed magnitudes need not coincide with the representation that is most informative for fitting a signal model.

On the other hand, an uncompressed linear-magnitude loss is rarely used as a primary objective and instead appears more often as a point of comparison [4, 10]. Prior works have examined the effect of compression in specific settings. For the MSS loss, compression has been found to exacerbate spectral leakage, with a lesser degree of compression proposed as a remedy [11]. In speech enhancement, among magnitude-domain losses, a loss with power-law compression, which is milder than a logarithm, was found to perform on par with an uncompressed L1L_{1} distance, and both outperformed a log-compressed loss [12]. In speech dereverberation, an intermediate power exponent performed best, which the authors attributed to over-compression of the high-energy regions that carry formant information [13]. Each of these explanations, however, is specific to its system. To our knowledge, no general criterion has been established that identifies, for a given system and prior to empirical loss comparison, which portions of its dynamic range carry the information needed to optimize its parameters.

In this paper, we examine magnitude compression as a component of loss selection where the choice can be informed rather than found by comparison. We show that whether compression benefits a system depends on which region of its dynamic range carries information that indicates the direction toward the target, a region we call the informative region. We also introduce a measure, concordance, that indicates where the informative region lies and aligns with the observed outcomes. Specifically, a system whose informative region lies at high energies is better optimized by an uncompressed loss, and one whose informative region lies at low energies by a compressed one. To illustrate this relationship, we compare linear, log, and hybrid variants, obtained by removing either term from each system's baseline loss. We evaluate them on a modal plate physical model [14] and a subtractive synthesizer [15], against ground-truth parameters on rendered targets and perceptually on real recordings.

The authors appreciate Amazon for providing AWS credits through the Amazon AI PhD Fellowship program.

1^{1}https://github.com/superstem000/compression-analysis

Concordance indicates a high-energy informative region in both, so we also examine a third system whose informative region lies at low energies, to test the relationship in the opposite direction.

References (26)