Learning the Frequency Scale as a Ridge Prior

When neuroscientists predict how an auditory neuron fires in response to sound, they almost always fix the frequency axis first. They pick a perceptual scale, such as Mel (a spacing that is fine at low pitches and coarse at high pitches), a log scale, or a cochlear model. Then they fit a regularized linear filter on top of it. This proposal starts from an observation: picking a frequency scale and picking a regularization prior are the same decision. Warping and pooling linear Fourier bins into Mel bands is equivalent to placing a structured Gaussian prior on filter weights over the original linear bins. If that is true, the scale does not have to be chosen by hand. It can be estimated from data, as one or two interpretable prior parameters, inside an ordinary ridge regression (least squares with a penalty on squared weight size).

The core claim is that a one-parameter family of frequency-warped smoothness priors can be fit by cross-validation on neural data. This family spans linear frequency, Mel and pure log, and is solved with standard ridge solvers. We expect it to predict ferret auditory-cortex responses at least as well as the best hand-chosen spectrogram, with no loss of frequency resolution. It also turns "which perceptual scale does cortex use?" into a measurable quantity with a confidence interval, rather than a modeling assumption.

Why this is the right intersection

Three findings motivate the gap. Simple transformations capture auditory input to cortex compared eight peripheral front ends feeding regularized linear-nonlinear receptive-field models. A linear-nonlinear model is a linear filter followed by a fixed output nonlinearity. Simple log- or power-compressed spectrograms predicted primary auditory cortex as well as or better than biophysical cochlear models. That study used a single global penalty, and it treated the front end as a menu to choose from rather than something to estimate. Network Receptive Field Modeling Reveals Extensive Integration and Multi-feature Selectivity in Auditory Cortical Neurons found that linear spectrotemporal receptive fields underestimate the frequency range neurons integrate over by 50–100%. This suggests that how weights are shrunk across frequency matters. Principal components of auditory spectro-temporal receptive fields showed that cortical spectral tuning is broad and low-dimensional on a 1/3-octave grid, with three spectral components explaining 88% of variance. That structure was found after fitting; it was never used as a prior during fitting.

The method comes from Voxelwise encoding models with non-spherical multivariate normal priors. That work shows two things. First, any Tikhonov problem can be solved by standard ridge after linearly transforming the features; Tikhonov regression is ridge with a general quadratic penalty, equivalently a Gaussian prior with arbitrary covariance. Second, feature engineering and structured priors are dual to each other. Its experiments used visual and semantic features, never auditory filterbanks. Feature-space selection with banded ridge regression supplies the obvious competitor: banded ridge, which gives each feature block its own penalty and is implemented in the Himalaya library. It was likewise evaluated on visual, word and phoneme spaces. Its authors note that optimization cost grows with the number of blocks and that the hyperparameter search is unstable. That is a real constraint if one wanted dozens of narrow frequency bands.

The obvious combination would be banded ridge over Mel subbands. We treat that as a baseline, not as the contribution. It still assumes the band edges, and it spends one free penalty per band. Our proposal replaces many per-band penalties with a prior whose geometry is set by a warp parameter.

Core Claim

Let $f_1,\dots,f_p$ be the center frequencies of linear short-time Fourier bins. For each neuron, the regression weights over these bins (at each time lag) get the prior covariance

$$\Sigma_{ij}(\theta,\ell)=s(f_i)\,s(f_j)\,\exp\!\left(-\frac{\big(w_\theta(f_i)-w_\theta(f_j)\big)^2}{2\ell^2}\right),\qquad w_\theta(f)=\log\!\left(1+\frac{f}{\theta}\right).$$

Here $w_\theta$ is the warped frequency axis. Its corner frequency $\theta$ interpolates continuously between two extremes. As $\theta\to\infty$ the axis is essentially linear. For small $\theta$ it is essentially logarithmic. Mel's standard formula is this form with $\theta = 700$ Hz. The parameter $\ell$ is the tuning smoothness length on the warped axis, and $s(f)$ is an optional per-frequency prior scale that absorbs differences in signal-to-noise ratio across frequency. The temporal lags get the same treatment with a fixed smooth kernel.

Through the reduction in Voxelwise encoding models with non-spherical multivariate normal priors, each candidate $(\theta,\ell)$ is solved as ordinary ridge on $X\Sigma^{1/2}$. A small grid over $\theta$, $\ell$ and the ridge penalty is therefore cheap and deterministic. Hand-built filterbanks are close to low-rank, hard-projection versions of this prior. The soft, full-rank version keeps every linear bin, so it can still represent sharp tuning wherever the data demand it.

The claim is falsifiable in three ways. The cross-validated $\theta$ should be stable across stimulus sets and brain states for the same neurons. The learned prior should match or beat the best fixed front end. And the gain should come from the warp, not merely from adding smoothness.

Research Program

We first build the estimator. This means an implementation on top of tikreg/Himalaya-style ridge solvers, with grid and gradient search over $(\theta,\ell,\lambda)$. We then run a simulation study in which ground-truth receptive fields are drawn on known warped axes. The simulation measures how accurately $\theta$ is recovered as a function of recording length and noise, so that we know the data volume at which neural estimates become meaningful.

Next we fit the model to ferret primary auditory cortex recordings: the NS1, NS2 and dynamic-random-chord datasets from Simple transformations capture auditory input to cortex, and the 76-unit natural-scene dataset from Network Receptive Field Modeling Reveals Extensive Integration and Multi-feature Selectivity in Auditory Cortical Neurons. We fit both per neuron and with $\theta$ shared across the population.

The scientific output is a population estimate of the effective frequency scale of ferret cortex, with bootstrap intervals. We will report whether $\theta$ depends on a neuron's best frequency, which would point to a frequency-dependent warp, and whether it shifts between anesthetized and awake recordings. We will not presuppose that the answer equals human Mel. Ferret hearing extends to higher frequencies than human hearing, so a different corner frequency is plausible, and finding one would be informative.

A secondary analysis asks whether this prior stacks with nonlinear pooling. We use the learned $\Sigma$ to transform the input layer of a network receptive-field model and check whether the linear and nonlinear gains add up.

Baselines

The naive reference point is isotropic ridge on a linear-frequency log spectrogram, with one global penalty. This is what the warp prior reduces to when $\theta\to\infty$ and smoothness is removed. Every method gets the same cross-validation folds, the same time-lag window, the same output nonlinearity and the same normalized correlation coefficient ($CC_{norm}$, prediction correlation corrected for trial-to-trial noise).

The strongest fixed-front-end competitor is the best phenomenological spectrogram from Simple transformations capture auditory input to cortex. Its spec-Hill variant reports a mean $CC_{norm}$ of 0.72–0.73 on NS1. We will reproduce it on our folds rather than rely on the reported figure. The paper gives no exact number for DRC or NS2, so no reported result was found on Lacuna for those two datasets.

On the 76-unit dataset, the paper reports $CC_{norm}$ of 0.67 for its regularized linear-nonlinear baseline and 0.73 for its network receptive-field model (Network Receptive Field Modeling Reveals Extensive Integration and Multi-feature Selectivity in Auditory Cortical Neurons). Closing a meaningful part of that 0.06 gap with a purely linear model would be a notable result. The network model is the strongest existing method overall and is the ceiling we compare against.

Banded ridge over Mel or ERB subbands, fit with Himalaya (Feature-space selection with banded ridge regression), is the obvious-combination baseline. We run it at 4, 8 and 16 bands under the same total hyperparameter-search budget, measured in solver calls.

PCA-then-ridge, using spectral components as in Principal components of auditory spectro-temporal receptive fields, is a further baseline.

Three ablations isolate the key ingredient. The first applies smoothness on the unwarped linear axis, which tests whether warping matters beyond smoothing. The second applies hard projection onto a Mel filterbank with the same $\theta$, which tests soft prior versus pooling. The third turns $s(f)$ on and off, which tests whether per-frequency scale or geometry drives any gain.

The proposal beats the field if it matches or exceeds reproduced spec-Hill and banded ridge on held-out $CC_{norm}$ across all three ferret datasets, with a paired per-neuron test. Even a tie counts as a positive result if the warp parameter is stably estimated, because the method then removes a hand choice while gaining an interpretable measurement.

Why not just…?

Why not just try Mel, ERB, CQT and linear spectrograms and keep whichever cross-validates best? This is the most serious threat. If performance is flat across scales, as the "simplicity wins" result in Simple transformations capture auditory input to cortex partly suggests, the predictive gain may be small. Two things answer it. First, a discrete menu cannot give a confidence interval on the scale or reveal that the optimum lies between named scales. Second, the hard-projection ablation directly measures whether soft priors over full-resolution bins beat pooled bands. If both the gain and the interval come out uninformative, we will report that the front-end choice does not matter, which would itself sharpen the earlier finding.

Why not just use banded ridge over Mel subbands? It still fixes band edges by hand, and it adds a free penalty per band. Its own authors flag that cost grows with the number of bands and that the search can land in poor local optima (Feature-space selection with banded ridge regression). This matters with recordings from tens of neurons. The equal-budget comparison at 4–16 bands will show whether two geometric parameters do as well as many free penalties.

Why not just use a nonlinear network receptive field? Network Receptive Field Modeling Reveals Extensive Integration and Multi-feature Selectivity in Auditory Cortical Neurons does beat linear models, and we do not expect a linear prior to capture "AND"-like conjunctions between frequencies. The claim is narrower: the input prior is a separate, cheap and interpretable improvement. The stacking experiment tests whether it adds to the network's gain or is absorbed by it.

Decisive Checks

The work succeeds or fails on four results. The first is simulation recovery of $\theta$ at realistic data sizes. The second is agreement of per-population $\theta$ estimates across NS1, NS2 and the dynamic-random-chord set, within bootstrap intervals; if $\theta$ wanders across stimulus sets, it describes the stimuli rather than the cortex. The third is held-out $CC_{norm}$ against reproduced spec-Hill and equal-budget banded ridge. The fourth is the unwarped-smoothness ablation, which must underperform the warped prior for the claim that the perceptual warp itself carries information to hold.