efficient online portfolio with logarithmic regret05... · efficient online portfolio with...

33
Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Upload: others

Post on 16-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Efficient Online Portfolio with Logarithmic Regret

Haipeng Luo (USC)Chen-Yu Wei (USC)Kai Zheng (Peking University)

Page 2: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Wealth𝑡

Page 3: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Wealth𝑡

0.5Wealth𝑡

0.3Wealth𝑡

0.2Wealth𝑡

Page 4: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Wealth𝑡

0.5Wealth𝑡

0.3Wealth𝑡

0.2Wealth𝑡

× 1.4

× 1.0

× 0.5

Page 5: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Wealth𝑡

0.5Wealth𝑡

0.3Wealth𝑡

0.2Wealth𝑡

0.7Wealth𝑡

0.3Wealth𝑡

0.1Wealth𝑡

× 1.4

× 1.0

× 0.5

Page 6: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Wealth𝑡+1= 0.7 + 0.3 + 0.1 Wealth𝑡= 1.1Wealth𝑡

Wealth𝑡

0.5Wealth𝑡

0.3Wealth𝑡

0.2Wealth𝑡

0.7Wealth𝑡

0.3Wealth𝑡

0.1Wealth𝑡

× 1.4

× 1.0

× 0.5

Page 7: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Wealth𝑡

𝑥𝑡 (decision)

0.5Wealth𝑡

0.3Wealth𝑡

0.2Wealth𝑡

0.7Wealth𝑡

0.3Wealth𝑡

0.1Wealth𝑡

× 1.4

× 1.0

× 0.5

Wealth𝑡+1= 0.7 + 0.3 + 0.1 Wealth𝑡= 1.1Wealth𝑡

Page 8: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Wealth𝑡+1= 0.7 + 0.3 + 0.1 Wealth𝑡= 1.1Wealth𝑡

Wealth𝑡

𝑥𝑡 (decision) 𝑟𝑡 (price relative)

0.5Wealth𝑡

0.3Wealth𝑡

0.2Wealth𝑡

0.7Wealth𝑡

0.3Wealth𝑡

0.1Wealth𝑡

× 1.4

× 1.0

× 0.5

Page 9: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Wealth𝑡+1= 0.7 + 0.3 + 0.1 Wealth𝑡= 1.1Wealth𝑡= 𝑥𝑡, 𝑟𝑡 Wealth𝑡

Wealth𝑡

𝑥𝑡 (decision) 𝑟𝑡 (price relative)

0.5Wealth𝑡

0.3Wealth𝑡

0.2Wealth𝑡

0.7Wealth𝑡

0.3Wealth𝑡

0.1Wealth𝑡

× 1.4

× 1.0

× 0.5

Page 10: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

𝑊1

𝑇 periods

Page 11: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

𝑊1 𝑊2= 𝑥1, 𝑟1 𝑊1

𝑇 periods

Page 12: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

𝑊1 𝑊2= 𝑥1, 𝑟1 𝑊1

𝑊3= 𝑥2, 𝑟2 𝑊2

𝑇 periods

Page 13: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

𝑊1 𝑊2= 𝑥1, 𝑟1 𝑊1

𝑊3= 𝑥2, 𝑟2 𝑊2

𝑇 periods

𝑊𝑇+1𝑊1=

𝑡=1

𝑇

𝑥𝑡 , 𝑟𝑡Final wealth

Initial wealth

Page 14: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Gain:

Page 15: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Gain:

Benchmark:

Page 16: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Gain:

Benchmark:

Minimize (Regret)

Page 17: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Gain:

Online Convex Optimization [Zinkevich’03]Benchmark:

Minimize (Regret)

Page 18: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Online Portfolio

Gain:

Online Convex Optimization [Zinkevich’03]Benchmark:

Minimize

Maximum Relative Ratio

𝛻ℓ𝑡 𝑥 ∞ ≾ 𝐺 ≜ max𝑖,𝑗

𝑟𝑡,𝑖𝑟𝑡,𝑗

(Regret)

But with possibly unbounded gradient

Page 19: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Previous Results and Our Results

• Lower bound: Ω 𝑁 log 𝑇 𝑁: number of stocks

𝑇: number of rounds

Page 20: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Previous Results and Our Results

• Lower bound: Ω 𝑁 log 𝑇

Algorithm Regret Time (/round)

Universal Portfolio (Cover 1991, Kalai et al. 2002)

𝑁 log 𝑇 𝑇14𝑁4

• Upper bounds:

𝑁: number of stocks

𝑇: number of rounds

𝐺: maximum relative ratio

Page 21: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Previous Results and Our Results

• Lower bound: Ω 𝑁 log 𝑇

Algorithm Regret Time (/round)

Universal Portfolio (Cover 1991, Kalai et al. 2002)

𝑁 log 𝑇 𝑇14𝑁4

• Upper bounds:

𝑁: number of stocks

𝑇: number of rounds

𝐺: maximum relative ratio

Page 22: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Previous Results and Our Results

• Lower bound: Ω 𝑁 log 𝑇

Algorithm Regret Time (/round)

Universal Portfolio (Cover 1991, Kalai et al. 2002)

𝑁 log 𝑇 𝑇14𝑁4

ONS (Hazan et al. 2007) 𝐺𝑁 log 𝑇 𝑁3.5

• Upper bounds:

𝑁: number of stocks

𝑇: number of rounds

𝐺: maximum relative ratio

Page 23: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Previous Results and Our Results

• Lower bound: Ω 𝑁 log 𝑇

Algorithm Regret Time (/round)

Universal Portfolio (Cover 1991, Kalai et al. 2002)

𝑁 log 𝑇 𝑇14𝑁4

ONS (Hazan et al. 2007) 𝐺𝑁 log 𝑇 𝑁3.5

• Upper bounds:

𝑁: number of stocks

𝑇: number of rounds

𝐺: maximum relative ratio

Page 24: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Previous Results and Our Results

• Lower bound: Ω 𝑁 log 𝑇

Algorithm Regret Time (/round)

Universal Portfolio (Cover 1991, Kalai et al. 2002)

𝑁 log 𝑇 𝑇14𝑁4

ONS (Hazan et al. 2007) 𝐺𝑁 log 𝑇 𝑁3.5

Soft-Bayes (Orseau et al. 2017) 𝑇𝑁 𝑁

• Upper bounds:

𝑁: number of stocks

𝑇: number of rounds

𝐺: maximum relative ratio

Page 25: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Previous Results and Our Results

• Lower bound: Ω 𝑁 log 𝑇

Algorithm Regret Time (/round)

Universal Portfolio (Cover 1991, Kalai et al. 2002)

𝑁 log 𝑇 𝑇14𝑁4

ONS (Hazan et al. 2007) 𝐺𝑁 log 𝑇 𝑁3.5

Soft-Bayes (Orseau et al. 2017) 𝑇𝑁 𝑁

• Upper bounds:

𝑁: number of stocks

𝑇: number of rounds

𝐺: maximum relative ratio

Page 26: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Previous Results and Our Results

• Lower bound: Ω 𝑁 log 𝑇

Algorithm Regret Time (/round)

Universal Portfolio (Cover 1991, Kalai et al. 2002)

𝑁 log 𝑇 𝑇14𝑁4

ONS (Hazan et al. 2007) 𝐺𝑁 log 𝑇 𝑁3.5

Soft-Bayes (Orseau et al. 2017) 𝑇𝑁 𝑁

? ≈ 𝑁 log 𝑇 ≈ 𝑁

• Upper bounds:

𝑁: number of stocks

𝑇: number of rounds

𝐺: maximum relative ratio

Page 27: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Previous Results and Our Results

• Lower bound: Ω 𝑁 log 𝑇

Algorithm Regret Time (/round)

Universal Portfolio (Cover 1991, Kalai et al. 2002)

𝑁 log 𝑇 𝑇14𝑁4

ONS (Hazan et al. 2007) 𝐺𝑁 log 𝑇 𝑁3.5

Soft-Bayes (Orseau et al. 2017) 𝑇𝑁 𝑁

? ≈ 𝑁 log 𝑇 ≈ 𝑁

BarrONS (this work) 𝑁2 log 𝑇 4 𝑇𝑁2.5

• Upper bounds:

𝑁: number of stocks

𝑇: number of rounds

𝐺: maximum relative ratio

Page 28: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Key Components of Our Algorithm

bad bad suddenly good

But player puts little weight on it

Main Challenge:

Page 29: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Key Components of Our Algorithm

Barrons (Barrier-Regularized-ONS) compared to ONS:

bad bad suddenly good

But player puts little weight on it

Main Challenge:

Page 30: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Key Components of Our Algorithm

Barrons (Barrier-Regularized-ONS) compared to ONS:

1. Additional regularizer (to avoid too extreme distribution over stocks)

bad bad suddenly good

But player puts little weight on it

Main Challenge:

Page 31: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Key Components of Our Algorithm

Barrons (Barrier-Regularized-ONS) compared to ONS:

1. Additional regularizer (to avoid too extreme distribution over stocks)

2. Increase the learning rate for worse stocks (faster recovery)

bad bad suddenly good

But player puts little weight on it

Main Challenge:

Page 32: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Key Components of Our Algorithm

Barrons (Barrier-Regularized-ONS) compared to ONS:

1. Additional regularizer (to avoid too extreme distribution over stocks)

2. Increase the learning rate for worse stocks (faster recovery)

3. Restarting (adapting to maximum relative ratio)

bad bad suddenly good

But player puts little weight on it

Main Challenge:

Page 33: Efficient Online Portfolio with Logarithmic Regret05... · Efficient Online Portfolio with Logarithmic Regret Haipeng Luo (USC) Chen-Yu Wei (USC) Kai Zheng (Peking University)

Key Components of Our Algorithm

Barrons (Barrier-Regularized-ONS) compared to ONS:

1. Additional regularizer (to avoid too extreme distribution over stocks)

2. Increase the learning rate for worse stocks (faster recovery)

3. Restarting (adapting to maximum relative ratio)

bad bad suddenly good

But player puts little weight on it

Main Challenge:

Poster #157