Online Portfolio Selection

If you have any suggestions or comments about this page, please email me. The email address is on the homepage. Thank you!

Introduction

Suppose that we are investing in a market with \(d\) stocks. But we do not have any information about the market. We don't know whether the prices follow any probability distributions. How should we distribute our money every day in order to make our wealth grow as much as possible? Online portfolio selection (OPS) provides a simple and clean framework to study the investment problem.

OPS was proposed by Thomas M. Cover thirty years ago [1]. OPS models the investment as a multi-round game between two players, named Investor and Market. The game proceeds as follows.

Protocol: On day \(t\),

  1. Investor chooses a portfolio \(x_t\in\Delta\subseteq\mathbb{R}^d\).

  2. Market (observes \(x_t\)) and announces a vector of price relatives \(r_t\in[0,\infty)^d\).

  3. Investor's wealth grows by a ratio of \(\langle r_t, x_t\rangle\).

In the game, \(\Delta\) is the set of probability vectors, and the portfolio \(x_t\) is the distribution of Investor's money. The \(i\)-th entry of the price relatives vector \(r_t\) is the ratio of the closing price to the opening price of the \(i\)-th stock on day \(t\). For example, suppose there are three stocks in the market. At the beginning of day \(1\), Investor decides to invest \(30\)% of their money in the first stock, \(20\)% in the second stock, and \(50\)% in the third stock. At the end of the day, the price of the first stock does not change; the price of the second stock grows by \(10\)%; the price of the third stock falls by \(20\)%. Using the notations in the above game, we will write \(d=3\), \(x_1=(0.3, 0.2, 0.5)\), and \(r_1 = (1, 1.1, 0.8)\). Investor's wealth grows by a ratio of \(\langle{r_1,x_1}\rangle = 1\times 0.3 + 1.1\times 0.2 + 0.8\times 0.5 = 0.92\).

How should we measure Investor's performance? Note that Market chooses \(r_t\) after observing \(x_t\), so it is impossible for Investor to earn money in this game. Therefore, the “absolute” magnitude of Investor's wealth after \(T\) days is not a reasonable performance measure. Cover considered the ratio of the highest wealth obtained by some investment strategies to Investor's wealth. More precisely, he considered to design Investor's strategy to minimize the wealth ratio

\[ \frac{ \max_{x\in\Delta} \prod_{t=1}^T \langle r_t, x\rangle }{ \prod_{t=1}^T \langle r_t, x_t \rangle }, \]

where the numerator is the highest possible wealth obtained by the so-called constantly rebalanced portfolios and the denominator is Investor's wealth. A question left here is: is minimizing this ratio a meaningful goal for Investor?

In the literature, the above goal usually appears in an equivalent form. That is, minimizing the regret, which is the logarithm of the wealth ratio:

\[ R_T(r_1,\ldots,r_T) := \sum_{t=1}^T -\log\langle r_t, x_t \rangle - \min_{x\in\Delta} \sum_{t=1}^T -\log\langle r_t, x\rangle. \]

Besides being an investment problem, OPS is a classical problem in the field of online learning. For example, see Chapter 10 of Prediction, Learning, and Games [2] and Chapter 12 of Orabona's lecture notes [3]. OPS algorithms can also be used to solve the Poisson inverse problem [4], which has applications in medical imaging or astronomical denoising.

Current Efficiency-Regret Pareto Frontier

Current Efficiency-Regret Pareto Frontier for OPS 

The first paper using the term “Pareto frontier” in OPS is the work of Zimmert et al. [5].

Existing OPS Algorithms

The minimax-optimal regret is \(\Theta(d\log T)\) [6].

Algorithms Regret (\(\tilde{O}\)) Per-round time (\(\tilde{O}\))
Universal Portfolio [1, 7] \(d\log T\) \(d^4T^{14}\)
\(\widetilde{\text{EG}}\) [8, 9] \(d^{1/3}T^{2/3}\) \(d\)
Barrier subgradient method [10] \(\sqrt{dT}\) \(d\)
Soft-Bayes [11] \(\sqrt{dT}\) \(d\)
LB-OMD [9] \(\sqrt{dT}\) \(d\)
ADA-BARRONS [12] \(d^2\log^4 T\) \(d^{2.5}T\)
LB-FTRL (without linearized losses) [13] \(d\log^{d+1}T\) \(d^2T\)
PAE + DONS [14] \(d^2\log^5 T\) \(d^3\)
BISONS [5] \(d^2\log^2 T\) \(d^3\)
VB-FTRL [15] \(d\log T\) \(d^2T\)
Adaptive LB-FTRL [16] \(d\log^2 T\) ~ \(\sqrt{dT}\) \(d\)
Optimistic LB-FTRL [16] \(d\log T\) ~ \(\sqrt{dT}\) \(d\)

References

  1. T. M. Cover. “Universal portfolios.” Math. Financ. 1991.

  2. N. Cesa-Bianchi and G. Lugosi. Prediction, Learning, and Games. Cambridge University Press. 2006.

  3. F. Orabona. “A modern introduction to online learning.” arXiv preprint arXiv:1912.13213v6. 2023.

  4. Y.-H. Li. “Online positron emission tomography by online portfolio selection.” ICASSP 2020.

  5. J. Zimmert, N. Agarwal, and S. Kale. “Pushing the efficiency-regret Pareto frontier for online learning of portfolios and quantum states.” COLT 2022.

  6. E. Ordentlich and T. M. Cover. “The cost of achieving the best portfolio in hindsight.” Math. Oper. Res. 1998.

  7. A. Kalai and S. Vempala. “Efficient algorithms for universal portfolios.” J. Mach. Learn. Res. 2002.

  8. D. P. Helmbold, R. E. Schapire, Y. Singer, and M. K. Warmuth. “On-line portfolio selection using multiplicative updates.” Math. Financ. 1998.

  9. C.-E. Tsai, H.-C. Cheng, and Y.-H. Li. “Online self-concordant and relatively smooth minimization, with applications to online portfolio selection and learning quantum states.” ALT 2023.

  10. Y. Nesterov. “Barrier subgradient method.” Math. Program. 2010.

  11. L. Orseau, T. Lattimore, and S. Legg. “Soft-Bayes: prod for mixtures of experts with log-loss.” ALT 2017.

  12. H. Luo, C.-Y. Wei, and K. Zheng. “Efficient online portfolio with logarithmic regret.” NeurIPS 2018.

  13. T. van Erven, D. van der Hoeven, W. Kotłowski, and W. M. Koolen. “Open problem: fast and optimal online portfolio selection.” COLT 2020.

  14. Z. Mhammedi and A. Rakhlin. “Damped online Newton step for portfolio selection.” COLT 2022.

  15. R. Jézéquel, D. M. Ostrovskii, and P. Gaillard. “Efficient and near-optimal online portfolio selection.” arXiv preprint arXiv:2209.13932. 2022.

  16. C.-E. Tsai, Y.-T. Lin, and Y.-H. Li. “Data-dependent bounds for online portfolio selection without Lipschitzness and smoothness.” NeurIPS 2023.