Portfolio Optimization: A Neurodynamic Approach Based on Spiking Neural Networks
Source abstract
Abstract
Portfolio optimization is fundamental to modern finance, enabling investors to construct allocations that balance risk and return while satisfying practical constraints. When transaction costs and cardinality limits are incorporated, the problem becomes a computationally demanding mixed-integer quadratic program. This work demonstrates how principles from biomimetics—specifically, the computational strategies employed by biological neural systems—can inspire efficient algorithms for complex optimization problems. We demonstrate that this problem can be reformulated as a constrained quadratic program and solved using dynamics inspired by spiking neural networks. Building on recent theoretical work showing that leaky integrate-and-fire dynamics naturally implement projected gradient descent for convex optimization, we develop a solver that alternates between continuous gradient flow and discrete constraint projections. By mimicking the event-driven, energy-efficient computation observed in biological neurons, our approach offers a biomimetic pathway to solving computationally intensive financial optimization problems. We implement the approach in Python and evaluate it on portfolios of 5 to 50 assets using five years of market data, comparing solution quality against mixed-integer solvers (ECOS_BB), convex relaxations (OSQP), and particle swarm optimization. Experimental results demonstrate that the SNN solver achieves the highest expected return (0.261% daily) among all evaluated methods on the 50-asset portfolio, outperforming exact MIQP (0.225%) and PSO (0.092%), with runtimes ranging from 0.5 s for small portfolios to 8.4 s for high-quality schedules on large portfolios. While current Python runtimes are comparable to existing approaches, the key contribution is establishing a path to neuromorphic hardware deployment: specialized SNN processors could execute these dynamics orders of magnitude faster than conventional architectures, enabling real-time portfolio rebalancing at institutional scale.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Neural Networks and Reservoir Computing · Advanced Memory and Neural Computing · Ferroelectric and Negative Capacitance Devices
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Artificial Intelligence (AI), Taizhou University, Taizhou 318000, China
Smart City Research Institute, The Hong Kong Polytechnic University, Hong Kong
Department of Computing (COMP), The Hong Kong Polytechnic University, Hong Kong
Faculty of Information Technology and Electrical Engineering (ITEE), University of Oulu, 90100 Oulu, Finland
References (44)
Show source-provided references
1. Portfolio Selection
2. Portfolio Selection with Transaction Costs10.1287/moor.15.4.676 ↗
3. Computational study of a family of mixed-integer quadratic programming problems10.1007/BF02592208 ↗
4. Heuristics for cardinality constrained portfolio optimisation10.1016/S0305-0548(99)00074-X ↗
5. Kennedy, J., and Eberhart, R. (December, January 27). Particle swarm optimization. Proceedings of the ICNN’95-International Conference on Neural Networks, Perth, Australia.
6. Particle swarm optimization approach to portfolio optimization10.1016/j.nonrwa.2008.04.023 ↗
7. Optimal Portfolio Management for Engineering Problems Using Nonconvex Cardinality Constraint: A Computing Perspective10.1109/ACCESS.2020.2982195 ↗
8. Spiking Neural Networks: A Comprehensive Survey of Training Methodologies, Hardware Implementations and Applications10.23919/AISE.2025.000013 ↗
9. Neural networks and physical systems with emergent collective computational abilities10.1073/pnas.79.8.2554 ↗
10. Neurons with graded response have collective computational properties like those of two-state neurons10.1073/pnas.81.10.3088 ↗
11. “Neural” computation of decisions in optimization problems10.1007/BF00339943 ↗
12. Optimal compensation for neuron loss10.7554/eLife.12454 ↗
13. Boerlin, M., Machens, C.K., and Denève, S. (2013). Predictive Coding of Dynamical Variables in Balanced Spiking Networks. PLoS Comput. Biol., 9.10.1371/journal.pcbi.1003258 ↗
14. Understanding spiking networks through convex optimization
15. High-performance deep spiking neural networks with 0.3 spikes per neuron10.1038/s41467-024-51110-5 ↗
16. Loihi: A Neuromorphic Manycore Processor with On-Chip Learning10.1109/MM.2018.112130359 ↗
17. Orchard, G., Frady, E.P., Rubin, D.B.D., Sanborn, S., Shrestha, S.B., Sommer, F.T., and Davies, M. (2021, January 19–21). Efficient Neuromorphic Signal Processing with Loihi 2. Proceedings of the 2021 IEEE Workshop on Signal Processing Systems (SiPS), Coimbra, Portugal.10.1109/SiPS52927.2021.00053 ↗
18. The SpiNNaker Project10.1109/JPROC.2014.2304638 ↗
19. A million spiking-neuron integrated circuit with a scalable communication network and interface10.1126/science.1254642 ↗
20. A projection neural network and its application to constrained optimization problems10.1109/81.995659 ↗
21. A General Projection Neural Network for Solving Monotone Variational Inequalities and Related Optimization Problems10.1109/TNN.2004.824252 ↗
22. A One-Layer Projection Neural Network for Nonsmooth Optimization Subject to Linear Equalities and Bound Constraints10.1109/TNNLS.2013.2244908 ↗
23. Perin, G., Bidini, C., Mazzieri, R., and Rossi, M. (2025). ADMM-Based Training for Spiking Neural Networks. arXiv.
24. Neural Dynamics for Cooperative Control of Redundant Robot Manipulators10.1109/TII.2018.2789438 ↗
25. Lagunas, E., Ortiz, F., Eappen, G., Daoud, S., Martins, W.A., Querol, J., Chatzinotas, S., Skatchkovsky, N., Rajendran, B., and Simeone, O. (2024). Performance Evaluation of Neuromorphic Hardware for Onboard Satellite Communication Applications. arXiv.10.1109/MWC.016.2300560 ↗
26. Kartashov, I., Pushkareva, M., and Karandashev, I. (2025). SpikeFit: Towards Optimal Deployment of Spiking Networks on Neuromorphic Hardware. arXiv.
27. Schemmel, J., Briiderle, D., Griibl, A., Hock, M., Meier, K., and Millner, S. (June, January 30). A wafer-scale neuromorphic hardware system for large-scale neural modeling. Proceedings of the 2010 IEEE International Symposium on Circuits and Systems, Paris, France.10.1109/ISCAS.2010.5536970 ↗
28. Fifty years of portfolio optimization10.1016/j.ejor.2023.12.031 ↗
29. Portfolio Selection with Robust Estimation10.1287/opre.1080.0566 ↗
30. Robust portfolio optimization
31. A novel nonlinear value-at-risk method for modeling risk of option portfolio with multivariate mixture of normal distributions10.1016/j.econmod.2013.09.003 ↗
32. BAS-ADAM: An ADAM based approach to improve the performance of beetle antennae search optimizer10.1109/JAS.2020.1003048 ↗
33. Using Social Behavior of Beetles to Establish a Computational Model for Operational Management10.1109/TCSS.2019.2958522 ↗
34. Mean–variance portfolio optimization using machine learning-based stock price prediction10.1016/j.asoc.2020.106943 ↗
35. Shoaf, J.M., and Foster, J.A. (1997, January 17–20). Behavior of a genetic algorithm used for yield optimization. Proceedings of the International Conference on Microelectronic Test Structures, Monterey, CA, USA.
36. Genetic Algorithms10.1038/scientificamerican0792-66 ↗
37. Jiang, X., and Li, S. (2017). Beetle Antennae Search without Parameter Tuning (BAS-WPT) for Multi-objective Optimization. arXiv.
38. Deep learning with long short-term memory networks for financial market predictions10.1016/j.ejor.2017.11.054 ↗
39. Deep reinforcement learning for portfolio management of markets with a dynamic number of assets10.1016/j.eswa.2020.114002 ↗
40. OSQP: An operator splitting solver for quadratic programs10.1007/s12532-020-00179-2 ↗
41. Boyd, S., and Vandenberghe, L. (2004). Convex Optimization, Cambridge University Press.10.1017/CBO9780511804441 ↗
42. Statistical Learning with Sparsity: The Lasso and Generalizations10.1111/insr.12167 ↗
43. The restricted isometry property and its implications for compressed sensing10.1016/j.crma.2008.03.014 ↗
44. Compressed sensing10.1109/TIT.2006.871582 ↗