arXiv:2608.30446q-fin.PMAug 2026

Manuscript Offprint

arXiv:2608.30446

End-to-End Neural Shrinkage of Indefinite Pairwise Correlation Matrices for Small-Cap-Inclusive Portfolios

Christian Bongiorno, Lorenzo Villassero

ABSTRACT

Small-cap-inclusive equity universes contain recently listed and intermittently traded securities, so enforcing a common look-back discards a substantial fraction of the available information. Pairwise-complete estimation preserves the longest overlap for each asset pair, but the resulting correlation matrix can be indefinite because its entries are computed on different samples. This prevents direct use in Markowitz optimization and falls outside the assumptions of standard random-matrix shrinkage. We adapt a rotation-invariant neural covariance estimator to this setting. The model computes mask-aware marginal moments and a pairwise correlation matrix proxy, processes its signed spectrum, and uses a bidirectional gated recurrent unit conditioned on factor-aligned effective sample lengths derived from the overlap matrix and eigenvector loadings. It maps all eigenvalues, including negative ones, to a positive inverse spectrum. The reconstructed covariance is positive definite and is trained end-to-end to minimize five-day realized global-minimum-variance risk. We evaluate 26 expanding-window models from 2000 to 2025 on up to 1,500 U.S. equities in a closing-auction simulator with point-in-time selection, commissions, financing, corporate actions, and market impact. Across the 26-year out-of-sample period, the neural estimator reduces annualized five-day volatility by approximately 20% and increases the Sharpe ratio by approximately 40% relative to the next-best covariance estimator. These improvements are consistent across realized risk, risk-adjusted performance, and drawdown control, remain after the modeled execution frictions, and are supported by a 99.9% Model Confidence Set that retains only the neural estimator.

Keywords portfolio optimization · covariance estimation · missing data · nonlinear shrinkage · random matrix theory · market impact · neural networks

1 Introduction

We consider Markowitz portfolio construction when the investable universe is determined, for example, by an investment mandate or a separate alpha signal. This approach requires estimating a covariance matrix from a rectangular return panel in which all selected assets are observed over a common look-back window. This condition is often violated when the universe includes recent initial public offerings, lower-capitalization securities with intermittent trading, temporarily suspended stocks, or assets with incomplete historical coverage. In these settings, excluding a security solely because its return history is shorter or fragmented would alter the prescribed investment universe and is not a negotiable solution.

PREPRINT

A natural alternative is to estimate each covariance or correlation entry from the maximum history shared by the corresponding pair. This pairwise-complete construction uses more information than complete-case deletion and is consistent with the economic motivation for studying unequal return histories [1]. Its numerical consequence is less convenient: because different entries are estimated from different subsets of dates, the assembled matrix is not necessarily positive semidefinite. Negative eigenvalues imply that the matrix can assign negative variance to some portfolios and therefore cannot be interpreted as a valid covariance matrix. Several methods seek to address this problem. Nearest-correlation approaches project the indefinite estimate onto the positive-semidefinite cone [2], whereas regression and factor-imputation methods construct a valid covariance matrix directly from the incomplete panel [3, 4]. These methods, however, do not jointly address the second challenge faced by large universes. Let nn denote the number of assets and Δtin\Delta t_{\mathrm{in}} the length of a common estimation window. When the concentration ratio q:=n/Δtinq := n / \Delta t_{\mathrm{in}} is not negligible, empirical eigenvalues are strongly affected by sampling noise and require substantial shrinkage [5].

Existing Random Matrix Theory (RMT) based shrinkage methods are derived for covariance matrices computed from a common rectangular return panel. In this setting, all entries share the same sample size and the empirical covariance matrix is positive semidefinite. Pairwise-complete estimation violates both conditions. Each entry is computed from a different number of overlapping observations, and the assembled matrix may contain negative eigenvalues. Standard RMT results therefore do not characterize the spectral statistics of this estimator and do not provide a principled rule that simultaneously repairs the negative eigenvalues and shrinks the positive spectrum. To our knowledge, these two operations have not been combined within a consistent analytical framework.

Bongiorno et al. [6] showed that a dimension-agnostic recurrent network can learn a rotation-invariant eigenvalue map directly from a realized Global Minimum Variance (GMV) objective. This approach does not require an explicit analytical model for the empirical spectrum. However, it cannot be applied unchanged when the input matrix may be indefinite and its entries are based on heterogeneous overlap lengths. We extend it to indefinite pairwise cross-moment matrices by providing the network with the signed eigenvalues and factor-specific measures of the available sample information.

Specifically, we condition the spectral map on factor-aligned effective sample lengths derived from pairwise overlaps and squared eigenvector loadings. The network transforms the signed spectrum into a positive inverse spectrum and is trained end-to-end to minimize future GMV variance. For evaluation, the resulting covariance estimates are passed to the same long-only GMV optimizer used for all benchmarks.

The empirical analysis evaluates whether the statistical gains survive realistic implementation costs in a universe extended toward lower-capitalization equities. We use a point-in-time universe of up to 1,500 U.S. stocks, retain short and fragmented return histories, and rebalance every five sessions from 2000 through 2025. Each strategy is evaluated in a continuous broker simulation that accounts for integer-share holdings, closing-auction execution, commissions, regulatory fees, dividends, splits, corporate-action settlements, and financing. Market impact follows a square-root closing-auction specification with coefficients that vary across market-capitalization groups and listing exchanges [7]. This execution layer tests whether reductions in estimated portfolio risk remain economically relevant once concentration, turnover, and trade size are translated into realized trading costs.

References (22)