適用於線上學習之有限預算演算法
Budgeted Algorithms for Online Learning
摘要
線上學習旨在提供方法來處理一連串連續有時序性的預測任務,其目標為替這串連續有時序性的預測任務提供精準的預測結果。線上學習演算法通常採用線性模型來進行預測,但由於該線性假設過於簡單,使得其預測表現往往有限。所幸隨著機器學習中的支持向量機之熱門化,使得核函數這一概念受到大量關注。前人嘗試將核函數與線上學習演算法結合使用,因此發現透過一個簡單的核化技巧,讓許多線上學習演算法能容易的與核函數結合,如此一來,就能採用核化的模型進行更好的預測。但該核化技巧受限於所謂的核化詛咒的影響,導致在使用核化的預測模型時會面臨運行時間與記憶使用量沒有節制,而可能無限成長的問題。尤其在運算資源不夠充足的情況下,核化詛咒能輕易的使核化的線上學習演算法無法運作。為此,本論文提供了新的方法來解決核化詛咒的問題,本文共分為兩部分:第一部分針對適用於線上多分類的多分類被動積極演算法,第二部分針對適用於線上二分類的線性化信心權重演算法。
在第一部分中,我們對一連串連續有時序性的多分類問題進行預測。多分類被動積極演算法採用了鉸鏈損失的方式來衡量預測表現的好壞,並以最佳化方法來實現零鉸鏈損失的預測模型更新。多分類被動積極演算法可以透過核化技巧與核函數結合進行預測,但卻會受到核化詛咒的影響。為解決該詛咒的影響,我們首先提出了資源觀點,該觀點從使用資源的角度出發,對核化的多分類被動積極演算法提出了另一種等價的解讀方式。依據資源觀點,我們提出了有限預算的核化多分類被動積極演算法,該方法可被視為核化的多分類被動積極演算法的近似演算法。基本上,有限預算的核化多分類被動積極演算法限制了所能使用的資源量上限,並透過最佳化的方式有效的利用所有的資源。我們研究了三種用來維持資源量上限的策略,並統一給出了一個預測錯誤量的理論上界。透過實驗模擬,我們最終驗證了有限預算的核化多分類被動積極演算法是有效的,並可與其他有限預算的線上多分類演算法匹敵。
在第二部分中,我們對一連串連續有時序性的二分類問題進行預測。線性化信心權重演算法是第一個提出權重信心概念的線上學習演算法,該概念以權重的機率分布形式來描繪信心程度,並透過最佳化方法確保足夠的預測信心程度,來進行預測模型的更新。權重信心概念使得每個權重值得以不同的比例進行更新,因此彈性較一般線上學習演算法高。同樣的,線性化信心權重演算法能透過核化技巧與核函數結合進行預測,但依然會受到核化詛咒的影響。因此,我們在此提出了有預算的線性化信心權重演算法來限制預測模型的成長。我們發現資源觀點同樣能適用於線性化信心權重演算法,提供了等價的解讀方式及對應的近似演算法。接著,我們探討了四種維持資源量上限的策略,並發現平均移除策略是其中最為穩定的策略。最終透過數值實驗進行模擬,我們驗證有預算的線性化信心權重演算法同樣是有效的,且可匹敵其他有限預算的線上二分類演算法
在第一部分中,我們對一連串連續有時序性的多分類問題進行預測。多分類被動積極演算法採用了鉸鏈損失的方式來衡量預測表現的好壞,並以最佳化方法來實現零鉸鏈損失的預測模型更新。多分類被動積極演算法可以透過核化技巧與核函數結合進行預測,但卻會受到核化詛咒的影響。為解決該詛咒的影響,我們首先提出了資源觀點,該觀點從使用資源的角度出發,對核化的多分類被動積極演算法提出了另一種等價的解讀方式。依據資源觀點,我們提出了有限預算的核化多分類被動積極演算法,該方法可被視為核化的多分類被動積極演算法的近似演算法。基本上,有限預算的核化多分類被動積極演算法限制了所能使用的資源量上限,並透過最佳化的方式有效的利用所有的資源。我們研究了三種用來維持資源量上限的策略,並統一給出了一個預測錯誤量的理論上界。透過實驗模擬,我們最終驗證了有限預算的核化多分類被動積極演算法是有效的,並可與其他有限預算的線上多分類演算法匹敵。
在第二部分中,我們對一連串連續有時序性的二分類問題進行預測。線性化信心權重演算法是第一個提出權重信心概念的線上學習演算法,該概念以權重的機率分布形式來描繪信心程度,並透過最佳化方法確保足夠的預測信心程度,來進行預測模型的更新。權重信心概念使得每個權重值得以不同的比例進行更新,因此彈性較一般線上學習演算法高。同樣的,線性化信心權重演算法能透過核化技巧與核函數結合進行預測,但依然會受到核化詛咒的影響。因此,我們在此提出了有預算的線性化信心權重演算法來限制預測模型的成長。我們發現資源觀點同樣能適用於線性化信心權重演算法,提供了等價的解讀方式及對應的近似演算法。接著,我們探討了四種維持資源量上限的策略,並發現平均移除策略是其中最為穩定的策略。最終透過數值實驗進行模擬,我們驗證有預算的線性化信心權重演算法同樣是有效的,且可匹敵其他有限預算的線上二分類演算法
Online learning provides the approach to solve a sequence of consecutive prediction tasks given the knowledge of previous tasks. The goal is to make accurate predictions for this sequence. A typical online algorithm employs a linear model for making predictions, but the prediction performance is usually limited due to the linearity. Fortunately, the flourish of support vector machines in machine learning has inspired the application of kernels to online learning. The nature of many online algorithms allows them to implement the kernel trick, which enables us to make better predictions with a kernel-based model. However, this kernel-based approach suffers from the curse of kernelization that causes unbounded growth of the prediction model in runtime and memory usage. The curse can easily make a kernel-based online algorithm fail to work on resource-insufficient occasions. This dissertation aims to provide new solutions for breaking the curse of kernelization for online learning and consists of two parts: the multiclass passive-aggressive (MPA) algorithm for online multiclass classification and the linearized confidence-weighted (LCW) algorithm for online binary classification.
In the first part, we focus on online multiclass classification that deals with a sequence of multiclass classification tasks. The MPA algorithm is a popular margin-based algorithm that adopts the hinge loss function for measuring the prediction performance and determines the update of the prediction model by a constrained optimization ensuring zero hinge loss. The MPA algorithm can be kernelized by the kernel trick, but suffers from the curse of kernelization. To solve the problem, we first introduce a resource perspective that gives an alternative and equivalent interpretation of the kernel-based MPA algorithm. Based on the resource perspective, we propose the budgeted MPA (BMPA) algorithm, which approximates the kernel-based MPA algorithm. The proposed BMPA algorithm limits the maximum number of available resources by removal and fully exploits them through a constrained optimization. We study three removal strategies and give a relative mistake bound that provides a unified analysis. Simulation experiments on various datasets are conducted to demonstrate that the proposed BMPA algorithm is effective and competitive with state-of-the-art budgeted online multiclass algorithms.
In the second part, we focus on online binary classification that deals with a sequence of binary classification tasks. The LCW algorithm is the first online learning algorithm to introduce the concept of weight confidence into the prediction model through probability distributions over weights. The LCW algorithm determines the update of the prediction model by the constrained optimization problem that minimizes the change in successive distributions while ensuring the sufficiently large margin in the constraint. It allows each weight to update its value at a different scale and thus is more flexible. The kernel trick can be applied to the LCW algorithm for a better prediction performance, but the curse of kernelization exists for the LCW algorithm. In this part, we propose the budgeted LCW (BLCW) algorithm that puts a limit on the growth of the prediction model by a predefined budget. Based on the resource perspective that re-interprets the kernel-based LCW algorithm in terms of resources and the associated degrees of utilization, we demonstrate that the proposed BLCW algorithm approximates the kernel-based LCW algorithm. We evaluate four removal strategies for budget maintenance and suggest that the mean removal is the most stable strategy for the proposed BLCW algorithm. By various numerical experiments on open datasets, we show that the proposed BLCW algorithm is effective and competitive to state-of-the-art budgeted online binary algorithms.
In the first part, we focus on online multiclass classification that deals with a sequence of multiclass classification tasks. The MPA algorithm is a popular margin-based algorithm that adopts the hinge loss function for measuring the prediction performance and determines the update of the prediction model by a constrained optimization ensuring zero hinge loss. The MPA algorithm can be kernelized by the kernel trick, but suffers from the curse of kernelization. To solve the problem, we first introduce a resource perspective that gives an alternative and equivalent interpretation of the kernel-based MPA algorithm. Based on the resource perspective, we propose the budgeted MPA (BMPA) algorithm, which approximates the kernel-based MPA algorithm. The proposed BMPA algorithm limits the maximum number of available resources by removal and fully exploits them through a constrained optimization. We study three removal strategies and give a relative mistake bound that provides a unified analysis. Simulation experiments on various datasets are conducted to demonstrate that the proposed BMPA algorithm is effective and competitive with state-of-the-art budgeted online multiclass algorithms.
In the second part, we focus on online binary classification that deals with a sequence of binary classification tasks. The LCW algorithm is the first online learning algorithm to introduce the concept of weight confidence into the prediction model through probability distributions over weights. The LCW algorithm determines the update of the prediction model by the constrained optimization problem that minimizes the change in successive distributions while ensuring the sufficiently large margin in the constraint. It allows each weight to update its value at a different scale and thus is more flexible. The kernel trick can be applied to the LCW algorithm for a better prediction performance, but the curse of kernelization exists for the LCW algorithm. In this part, we propose the budgeted LCW (BLCW) algorithm that puts a limit on the growth of the prediction model by a predefined budget. Based on the resource perspective that re-interprets the kernel-based LCW algorithm in terms of resources and the associated degrees of utilization, we demonstrate that the proposed BLCW algorithm approximates the kernel-based LCW algorithm. We evaluate four removal strategies for budget maintenance and suggest that the mean removal is the most stable strategy for the proposed BLCW algorithm. By various numerical experiments on open datasets, we show that the proposed BLCW algorithm is effective and competitive to state-of-the-art budgeted online binary algorithms.