Proceedings

Contrastive Learning and Reward Smoothing for Deep Portfolio Management

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 3966-3974.

https://doi.org/10.24963/ijcai.2023/441

Abstract

In this study, we used reinforcement learning (RL) models to invest assets in order to earn returns. The models were trained to interact with a simulated environment based on historical market data and learn trading strategies. However, using deep neural networks based on the returns of each period can be challenging due to the unpredictability of financial markets. As a result, the policies learned from training data may not be effective when tested in real-world situations. To address this issue, we incorporated contrastive learning and reward smoothing into our training process. Contrastive learning allows the RL models to recognize patterns in asset states that may indicate future price movements. Reward smoothing, on the other hand, serves as a regularization technique to prevent the models from seeking immediate but uncertain profits. We tested our method against various traditional financial techniques and other deep RL methods, and found it to be effective in both the U.S. stock market and the cryptocurrency market. Our source code is available at https://github.com/sophialien/FinTech-DPM.

  1. [Almahdi and Yang, 2017] Saud Almahdi and Steve Y Yang. An adaptive portfolio trading system: A risk-return port- folio optimization using recurrent reinforcement learning with expected maximum drawdown. Expert Systems with Applications, 87:267-279, 2017.
  2. [Buehler et al., 2019] Hans Buehler, Lukas Gonon, Josef Te- ichmann, and Ben Wood. Deep hedging. Quantitative Fi- nance, 19(8):1271-1291, 2019.
  3. [Chen et al., 2020] Ting Chen, Simon Kornblith, Moham- mad Norouzi, and Geoffrey Hinton. A simple framework for contrastive learning of visual representations. In In- ternational conference on machine learning, pages 1597- 1607, 2020.
  4. Thomas M Cover. Universal portfolios. In The Kelly Capital Growth Investment Criterion: Theory and Practice, pages 181-209, 2011.
  5. [Crawshaw, 2020] Michael Crawshaw. Multi-task learning with deep neural networks: A survey. arXiv preprint arXiv:2009.09796, 2020.
  6. [Dempster and Leemans, 2006] Michael AH Dempster and Vasco Leemans. An automated fx trading system using adaptive reinforcement learning. Expert Systems with Ap- plications, 30(3):543-552, 2006.
  7. [Deng et al., 2016] Yue Deng, Feng Bao, Youyong Kong, Zhiquan Ren, and Qionghai Dai. Deep direct reinforce- ment learning for financial signal representation and trad- ing. IEEE transactions on neural networks and learning systems, 28(3):653-664, 2016.
  8. [Gao and Zhang, 2013] Li Gao and Weiguo Zhang. Weighted moving average passive aggressive algo- rithm for online portfolio selection. In International Conference on Intelligent Human-Machine Systems and Cybernetics, volume 1, pages 327-330, 2013.
  9. [Guo et al., 2018] Yifeng Guo, Xingyu Fu, Yuyan Shi, and Mingwen Liu. Robust log-optimal strategy with reinforce- ment learning. arXiv preprint arXiv:1805.00205, 2018.
  10. [Györfi et al., 2006] László Györfi, Gábor Lugosi, and Fred- eric Udina. Nonparametric kernel-based sequential in- vestment strategies. Mathematical Finance: An Interna- tional Journal of Mathematics, Statistics and Financial Economics, 16(2):337-357, 2006.
  11. [Huang, 2018] Chien Yi Huang. Financial trading as a game: A deep reinforcement learning approach. arXiv preprint arXiv:1807.02787, 2018.
  12. [Jiang et al., 2017] Zhengyao Jiang, Dixing Xu, and Jinjun Liang. A deep reinforcement learning framework for the financial portfolio management problem. arXiv preprint arXiv:1706.10059, 2017.
  13. [Kipf et al., 2018] Thomas Kipf, Ethan Fetaya, Kuan-Chieh Wang, Max Welling, and Richard Zemel. Neural relational inference for interacting systems. In International Confer- ence on Machine Learning, pages 2688-2697, 2018.
  14. [Li and Hoi, 2012] Bin Li and Steven CH Hoi. On-line port- folio selection with moving average reversion. In Interna- tional Conference on Machine Learning, 2012.
  15. [Liang et al., 2018] Zhipeng Liang, Hao Chen, Junhao Zhu, Kangkang Jiang, and Yanran Li. Adversarial deep re- inforcement learning in portfolio management. arXiv preprint arXiv:1808.09940, 2018.
  16. [Loshchilov and Hutter, 2017] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
  17. [Lu, 2017] David W Lu. Agent inspired trading using re- current reinforcement learning and lstm neural networks. arXiv preprint arXiv:1707.07338, 2017.
  18. [Maddison et al., 2017] Chris J Maddison, Andriy Mnih, and Yee Whye Teh. The concrete distribution: A continu- ous relaxation of discrete random variables. International Conference on Learning Representations (ICLR), 2017.
  19. [Moody and Saffell, 2001] John Moody and Matthew Saf- fell. Learning to trade via direct reinforcement. IEEE transactions on neural Networks, 12(4):875-889, 2001.
  20. [Neyshabur et al., 2018] Behnam Neyshabur, Zhiyuan Li, Srinadh Bhojanapalli, Yann LeCun, and Nathan Srebro. The role of over-parametrization in generalization of neu- ral networks. In International Conference on Learning Representations, 2018.
  21. [Ruder, 2017] Sebastian Ruder. An overview of multi- task learning in deep neural networks. arXiv preprint arXiv:1706.05098, 2017.
  22. [Sutton and Barto, 2018] Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018.
  23. [Sutton et al., 2000] Richard S Sutton, David A McAllester, Satinder P Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approxi- mation. In Advances in neural information processing sys- tems, pages 1057-1063, 2000.
  24. [Wang et al., 2019] Jingyuan Wang, Yang Zhang, Ke Tang, Junjie Wu, and Zhang Xiong. Alphastock: A buying- winners-and-selling-losers investment strategy using inter- pretable deep reinforcement attention networks. In ACM SIGKDD International Conference on Knowledge Discov- ery & Data Mining, pages 1900-1908, 2019.
  25. [Wei et al., 2019] Haoran Wei, Yuanbo Wang, Lidia Mangu, and Keith Decker. Model-based reinforcement learning for predictions and control for limit order books. arXiv preprint arXiv:1910.03743, 2019.
  26. [Yang et al., 2020] Zitong Yang, Yaodong Yu, Chong You, Jacob Steinhardt, and Yi Ma. Rethinking bias-variance trade-off for generalization of neural networks. In Inter- national Conference on Machine Learning, pages 10767- 10777. PMLR, 2020.
  27. [Ye et al., 2020] Yunan Ye, Hengzhi Pei, Boxin Wang, Pin- Yu Chen, Yada Zhu, Ju Xiao, and Bo Li. Reinforcement- learning based portfolio management with augmented as- set movement prediction states. In AAAI Conference on Artificial Intelligence, volume 34, pages 1112-1119, 2020.
  28. [Yue et al., 2021] Zhihan Yue, Yujing Wang, Juanyong Duan, Tianmeng Yang, Congrui Huang, Yunhai Tong, and Bixiong Xu. Ts2vec: Towards universal representation of time series. arXiv preprint arXiv:2106.10466, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards