about
The Spectral Neuron (arxiv.org)
3 points by alexshtf 46 days ago | hide | past | pdf | 1 comment on HN

In plain words: It builds a matrix from the input and outputs one of its eigenvalues, making the model nonlinear yet still mathematically explicit. Unlike opaque neural networks or limited linear models, it stays transparent while growing more expressive, and tests show it learns and scales in practice.

Abstract

As machine learned models increase in complexity and expressive power, features of simpler models, such as intrinsic coefficient transparency and control over the shape of the modeled function are lost. On the one edge of the spectrum we have simple linear models that possess coefficient transparency, but have a limited expressive power. On the other edge we have neural networks, that have expressive power that improves with scaling, but are mostly opaque. In this work we develop the \emph{spectral neuron} concept: a scalar model given by $f(x)=λ_k (A_0 + A_1 x + ... + A_n x_n)$, with learned real symmetric matrices $A_0, ..., A_n$. The input enters the model through an affine matrix function, but the prediction is obtained by reading one of its eigenvalues. Thus, the model is nonlinear, but the source of nonlinearity is still mathematically explicit. This gives us a useful middle ground: the model can become more expressive as the matrix dimension grows, while retaining coefficient transparency through the learned matrices. For example, extremal eigenvalues yield convex or concave functions, semidefinite constraints on the coefficient matrices impose monotonicity, and the associated eigenspaces characterize local feature influence. We study coefficient transparency, feature-influence bounds, and shape-control properties of this model family, and then test whether it can be learned and scaled in practice. We develop a systematic study of this model family, bringing together spectral results from several mathematical literatures to characterize its expressivity, coefficient transparency, feature influence, and shape-control properties. Code available at https://github.com/alexshtf/spectral_neuron_paper.

Alex Shtoff
arXiv:2608.08003 · stat.ML, cs.LG · submitted Aug 8, 2026 · updated Aug 16, 2026
abstract · pdf · html

add comment on HN
Also discussed: Aug 2026 (4 points, 0 comments)

code: https://github.com/alexshtf/spectral_neuron_paper

What drove me to write this was a thought in my head long time after I left one of the online ad science teams in the industry - can we build models that we can "see through" directly from their coefficients, like linear models, while still being much more expressive? Turns out one such way is using the eigenvalue of a linear symmetric matrix pencil as the model:

  f(x) = λₖ(A₀ + x₁A₁ + ⋯ + xₙAₙ)
With very well-known linear algebra properties, it is easy to show that spectral norms of the matrices bound the influence of each feature, just like magnitude in linear models describes a feature's strength, and that by choosing the index k and definiteness of the matrices we can control the shape of f(x).