Spectral Portfolio Theory: From SGD Weight Matrices to Wealth Dynamics

Anders G Frøseth · 2026

Read Spectral Portfolio Theory: From SGD Weight Matrices to Wealth Dynamics by Anders G Frøseth (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-09006.txt.

Introduction

Anders G Frøseth builds a spectrum-based portfolio theory from SGD weight grids. Neural weight grids trained on random processes act as portfolio mix grids, whose spectra encode factor splits and wealth buildup. Gradient push, size control, and eigenvalue pushback become smart money, survival rule, and built-in spread, and an invariance rule shows even shocks preserve singular numbers up to scale and shift.

Catalog record

CREATORAnders G Frøseth
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE62604
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2603.09006

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Spectral Portfolio Theory: From SGD Weight Matrices to Wealth Dynamics Anders G Frøseth Abstract We develop spectral portfolio theory by establishing a direct identification: neural network weight matrices trained on stochastic processes are portfolio allocation matrices, and their spectral structure encodes factor decompositions and wealth concentration patterns. The three forces governing stochastic gradient descent (SGD)—gradient signal, dimensional regularisation, and eigenvalue repulsion—translate directly into portfolio dynamics: smart money, survival constraint, and endogenous diversification. The spectral properties of SGD weight matrices transition from Marchenko–Pastur statistics (additive regime, short horizon) to inverse-Wishart via the free log-normal (multiplicative regime, long horizon), mirroring the transition from daily returns to long-run wealth compounding. We unify the cross-sectional wealth dynamics of Bouchaud and Mézard 2000 , the within-portfolio dynamics of Olsen et al. 2025 , and the scalar Fokker–Planck framework via a common spectral foundation. A central result is the Spectral Invariance Theorem: any isotropic perturbation to the portfolio objective preserves the singular-value distribution up to scale and shift, while anisotropic perturbations produce spectral distortion proportional to their cross-asset variance. We develop applications to portfolio design, wealth inequality measurement, tax policy, and neural network diagnostics. In the tax context, the invariance result recovers and generalises the neutrality conditions of Frøseth 2026b . 1 Introduction Consider a feedforward neural network trained to learn a stochastic process—a drift function, a transition density, or a score function—from observed trajectories. At each layer, the weight matrix W\in\mathbb{R}^{m\times n} evolves under stochastic gradient descent. This paper takes the following identification as its foundation: the weight matrix at a given layer is a portfolio allocation matrix. Row i specifies how capital is distributed across n assets in state i , and columns index assets. Training the network on data from a stochastic process is equivalent to running an adaptive portfolio optimizer on that process. The spectral theory of SGD dynamics developed by Olsen et al. 2025 reveals that this identification is not merely an analogy: the stationary portfolio structure, the factor decomposition, and the concentration–diversification tradeoff emerge as direct mathematical consequences. This paper develops the framework systematically, proving a spectral invariance theorem for isotropic perturbations and applying the results to portfolio design, wealth inequality, tax policy, and neural network diagnostics. The main contributions are as follows. First, we establish that the three forces in the singular-value evolution equation have direct portfolio interpretations: gradient signal encodes smart money (return-seeking), dimensional regularisation captures an endogenous survival constraint, and eigenvalue repulsion implements endogenous diversification without explicit constraints. Second, we characterize the stationary spectral distribution as having a gamma-type bulk with power-law tail, giving rise to the core–satellite portfolio structure observed empirically in institutional wealth and household portfolio data. Third, we show that the spectral transition from additive (Marchenko–Pastur) to multiplicative (inverse-Wishart) regimes is governed by the free log-normal distribution and the matrix Kesten problem, establishing a precise mathematical duality between short-horizon and long-horizon portfolio dynamics. Fourth, we unify the cross-sectional wealth model of Bouchaud and Mézard, the within-portfolio model of Olsen et al., and the scalar Fokker–Planck framework via spectral decomposition. Fifth, we prove the Spectral Invariance Theorem: any isotropic perturbation to the portfolio objective preserves the spectral shape of the allocation matrix, while anisotropic perturbations produce distortion proportional to their cross-asset variance. Sixth, we develop applications to portfolio design, wealth inequality measurement, tax policy, and neural network diagnostics, demonstrating the breadth of the framework. The paper is organized in five parts. Part I (Sections 2 – 5 ) establishes the foundations: the learning setup (Figure 1 ), the weight matrix–portfolio identification, the SVD decomposition into eigenportfolios, the three forces of SGD, the stationary spectral distribution, and factor complexity. Part II (Sections 6 – 9 ) develops the dynamics: timescale regimes governing the additive-to-multiplicative transition, the ergodicity gap as a spectral observable, the aggregation from matrix to scalar via Itô projection, and the Fokker–Planck connection. Part III (Sections 10 – 14 ) presents general results: the Bouchaud–Mézard unification, the Spectral Invariance Theorem and its anisotropic counterpart, the Spectral Invariance Conjecture, and the loss–utility correspondence. Part IV (Section 15 ) develops applications to portfolio design, wealth inequality, tax policy, and neural network diagnostics. Part V (Sections 16 – 19 ) collects testable predictions, open questions, literature context, and conclusions. 2 Setup: Weight Matrices as Allocation Matrices The starting point is a stochastic process observed through discrete trajectories. The process follows a stochastic differential equation dx=v(x)\,dt+\sqrt{2D}\,dB, (1) where v(x) is the drift function and D the diffusion constant. A neural network is trained to learn either the drift v(x) , the transition density p(x_{t+\Delta t}\mid x_{t}) , or the score function \nabla_{x}\log p(x) from observed trajectory data \{x_{0},x_{\Delta t},x_{2\Delta t},\ldots\} . The weight matrix W at each layer is updated by stochastic gradient descent on a loss function \mathcal{L}(W) that is quadratic in the prediction residual (see Section 14 for details). Data: trajectories t x(t) dx=v(x)\,dt+\sqrt{2D}\,dB \{x_{t},x_{t+\Delta t}\} Neural network x_{t} W \hat{v}(x_{t};W) prediction Loss function MLE: \displaystyle\frac{1}{T}\sum_{t}\Bigl\|\frac{\Delta x_{t}}{\Delta t}-\hat{v}\Bigr\|^{2} Score matching: \frac{1}{2}\|s_{\theta}-\nabla\!\log p\|^{2} both quadratic in residual SGD: \;W\leftarrow W-\eta\,\nabla_{W}\mathcal{L}+\text{noise} Figure 1: The learning setup. A stochastic process ( 1 ) generates trajectory data (left). A neural network with weight matrix W at each layer learns the drift function \hat{v}(x;W) or the score function s_{\theta}(x) (centre). The loss function is quadratic in the prediction residual (right), whether using maximum likelihood or score matching. SGD updates W iteratively, and the stationary spectral distribution of W encodes the structure of the learned process. In Olsen et al. 2025 , the weight matrix W\in\mathbb{R}^{m\times n} evolves under the stochastic differential equation dW=-\eta\frac{\partial\mathcal{L}}{\partial W}\,dt+\sqrt{2\eta D}\,d\mathcal{W}, (2) where \eta is the learning rate, D an effective diffusion constant, and d\mathcal{W} is matrix-valued Wiener noise. We relabel the dimensions: set m=T (time periods or states of the world) and n=N (number of assets). Then W_{ti} represents the portfolio weight on asset i in state t . The allocation matrix W\in\mathbb{R}^{T\times N} evolves as investors rebalance in response to return signals, information noise, and constraints implicit in the learning dynamics. The singular value decomposition W=U\Sigma V^{\top} decomposes this allocation into principal components. The left singular vectors u_{k}\in\mathbb{R}^{T} show when each factor is relevant (temporal patterns). The right singular vectors v_{k}\in\mathbb{R}^{N} show which assets compose each factor (eigenportfolios). The singular values \sigma_{k} measure the magnitude of allocation to each eigenportfolio. This decomposition reveals the factor structure naturally: large singular values correspond to important factors (market-wide moves, systematic risks); small singular values correspond to idiosyncratic or second-order effects. The right singular vectors v_{k} define eigenportfolio compositions, and the left singular vectors u_{k} indicate when each factor dominates. Figure 2 illustrates this relabelling. Neural Network Layer x_{t}\in\mathbb{R}^{m} W\in\mathbb{R}^{m\times n} weight matrix y_{t}=W^{\top}\!x_{t} \equiv Portfolio Allocation t{=}1 t{=}2 t{=}T states W_{ti} allocation matrix i{=}1 i{=}2 i{=}3 i{=}N assets SVD: W=U\Sigma V^{\top} U \Sigma V^{\top} u_{k}\in\mathbb{R}^{T} temporal patterns \sigma_{k} factor magnitudes v_{k}\in\mathbb{R}^{N} eigenportfolio compositions SGD dynamics: dW=-\eta\nabla\mathcal{L}\,dt+\sqrt{2\eta D}\,d\mathcal{W} \equiv adaptive portfolio rebalancing spectra Figure 2: The neural network–portfolio identification. A single layer with weight matrix W\in\mathbb{R}^{m\times n} maps input x_{t} to output y_{t}=W^{\top}x_{t} (top left). Relabelling rows as states and columns as assets gives the allocation matrix W_{ti} (bottom left). The SVD decomposes W into temporal patterns u_{k} , factor magnitudes \sigma_{k} , and eigenportfolio compositions v_{k} (top right).

Read the complete text