Large-scale portfolio optimization with variational neural annealing

Nishan Ranabhat, Behnam Javanparast, David Goerz, Estelle Inack
7/9/2025
cond-mat.dis-nncond-mat.stat-mechcs.LG

No confident code implementation found for this paper.

Abstract

Portfolio optimization is a routine asset management operation conducted in financial institutions around the world. However, under real-world constraints such as turnover limits and transaction costs, its formulation becomes a mixed-integer nonlinear program that current mixed-integer optimizers often struggle to solve.

Show full abstract

We propose mapping this problem onto a classical Ising-like Hamiltonian and solving it with Variational Neural Annealing (VNA), via its classical formulation implemented using autoregressive neural networks. We demonstrate that VNA can identify near-optimal solutions for portfolios comprising more than 2,000 assets and yields performance comparable to that of state-of-the-art optimizers, such as Mosek, while exhibiting faster convergence on hard instances. Finally, we present a dynamical finite-size scaling analysis applied to the S&P 500, Russell 1000, and Russell 3000 indices, revealing universal behavior and polynomial annealing time scaling of the VNA algorithm on portfolio optimization problems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ranabhat2025largescale,
  title  = {Large-scale portfolio optimization with variational neural annealing},
  author = {Nishan Ranabhat and Behnam Javanparast and David Goerz and Estelle Inack},
  year   = {2025},
  eprint = {2507.07159},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.07159v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.07159.svg)](https://codeofpaper.com/paper/2507.07159)

Discussion