Online machine learning
Machine learning and data mining |
---|
In computer science, online machine learning is a method of machine learning in which data becomes available in a sequential order and is used to update the best predictor for future data at each step, as opposed to batch learning techniques which generate the best predictor by learning on the entire training data set at once. Online learning is a common technique used in areas of machine learning where it is computationally infeasible to train over the entire dataset, requiring the need of out-of-core algorithms. It is also used in situations where it is necessary for the algorithm to dynamically adapt to new patterns in the data, or when the data itself is generated as a function of time, e.g., stock price prediction. Online learning algorithms may be prone to catastrophic interference, a problem that can be addressed by incremental learning approaches.
Introduction
In the setting of supervised learning, a function of [math]\displaystyle{ f : X \to Y }[/math] is to be learned, where [math]\displaystyle{ X }[/math] is thought of as a space of inputs and [math]\displaystyle{ Y }[/math] as a space of outputs, that predicts well on instances that are drawn from a joint probability distribution [math]\displaystyle{ p(x,y) }[/math] on [math]\displaystyle{ X \times Y }[/math]. In reality, the learner never knows the true distribution [math]\displaystyle{ p(x,y) }[/math] over instances. Instead, the learner usually has access to a training set of examples [math]\displaystyle{ (x_1, y_1), \ldots, (x_n, y_n) }[/math]. In this setting, the loss function is given as [math]\displaystyle{ V : Y \times Y \to \mathbb{R} }[/math], such that [math]\displaystyle{ V(f(x), y) }[/math] measures the difference between the predicted value [math]\displaystyle{ f(x) }[/math] and the true value [math]\displaystyle{ y }[/math]. The ideal goal is to select a function [math]\displaystyle{ f \in \mathcal{H} }[/math], where [math]\displaystyle{ \mathcal{H} }[/math] is a space of functions called a hypothesis space, so that some notion of total loss is minimized. Depending on the type of model (statistical or adversarial), one can devise different notions of loss, which lead to different learning algorithms.
Statistical view of online learning
In statistical learning models, the training sample [math]\displaystyle{ (x_i,y_i) }[/math] are assumed to have been drawn from the true distribution [math]\displaystyle{ p(x,y) }[/math] and the objective is to minimize the expected "risk"
- [math]\displaystyle{ I[f] = \mathbb{E}[V(f(x), y)] = \int V(f(x), y)\,dp(x, y) \ . }[/math]
A common paradigm in this situation is to estimate a function [math]\displaystyle{ \hat{f} }[/math] through empirical risk minimization or regularized empirical risk minimization (usually Tikhonov regularization). The choice of loss function here gives rise to several well-known learning algorithms such as regularized least squares and support vector machines. A purely online model in this category would learn based on just the new input [math]\displaystyle{ (x_{t+1}, y_{t+1}) }[/math], the current best predictor [math]\displaystyle{ f_{t} }[/math] and some extra stored information (which is usually expected to have storage requirements independent of training data size). For many formulations, for example nonlinear kernel methods, true online learning is not possible, though a form of hybrid online learning with recursive algorithms can be used where [math]\displaystyle{ f_{t+1} }[/math] is permitted to depend on [math]\displaystyle{ f_t }[/math] and all previous data points [math]\displaystyle{ (x_1, y_1), \ldots, (x_t, y_t) }[/math]. In this case, the space requirements are no longer guaranteed to be constant since it requires storing all previous data points, but the solution may take less time to compute with the addition of a new data point, as compared to batch learning techniques.
A common strategy to overcome the above issues is to learn using mini-batches, which process a small batch of [math]\displaystyle{ b \ge 1 }[/math] data points at a time, this can be considered as pseudo-online learning for [math]\displaystyle{ b }[/math] much smaller than the total number of training points. Mini-batch techniques are used with repeated passing over the training data to obtain optimized out-of-core versions of machine learning algorithms, for example, stochastic gradient descent. When combined with backpropagation, this is currently the de facto training method for training artificial neural networks.
Example: linear least squares
The simple example of linear least squares is used to explain a variety of ideas in online learning. The ideas are general enough to be applied to other settings, for example, with other convex loss functions.
Batch learning
Consider the setting of supervised learning with [math]\displaystyle{ f }[/math] being a linear function to be learned:
- [math]\displaystyle{ f(x_j) = \langle w,x_j\rangle = w \cdot x_j }[/math]
where [math]\displaystyle{ x_j \in \mathbb{R}^d }[/math] is a vector of inputs (data points) and [math]\displaystyle{ w \in \mathbb{R}^d }[/math] is a linear filter vector. The goal is to compute the filter vector [math]\displaystyle{ w }[/math]. To this end, a square loss function
- [math]\displaystyle{ V(f(x_j), y_j) = (f(x_j) - y_j)^2 = (\langle w,x_j\rangle - y_j)^2 }[/math]
is used to compute the vector [math]\displaystyle{ w }[/math] that minimizes the empirical loss
- [math]\displaystyle{ I_n[w] = \sum_{j=1}^{n} V(\langle w,x_j\rangle,y_j) = \sum_{j=1}^{n} (x_j^Tw-y_j)^2 }[/math]
where
- [math]\displaystyle{ y_j \in \mathbb{R} }[/math].
Let [math]\displaystyle{ X }[/math] be the [math]\displaystyle{ i \times d }[/math] data matrix and [math]\displaystyle{ y \in \mathbb{R}^i }[/math] is the column vector of target values after the arrival of the first [math]\displaystyle{ i }[/math] data points. Assuming that the covariance matrix [math]\displaystyle{ \Sigma_i = X^T X }[/math] is invertible (otherwise it is preferential to proceed in a similar fashion with Tikhonov regularization), the best solution [math]\displaystyle{ f^*(x) = \langle w^*, x \rangle }[/math] to the linear least squares problem is given by
- [math]\displaystyle{ w^* = (X^TX)^{-1}X^T y = \Sigma_i^{-1} \sum_{j=1}^{i} x_j y_j }[/math].
Now, calculating the covariance matrix [math]\displaystyle{ \Sigma_i = \sum_{j=1}^{i} x_j x_j^T }[/math] takes time [math]\displaystyle{ O(id^2) }[/math], inverting the [math]\displaystyle{ d \times d }[/math] matrix takes time [math]\displaystyle{ O(d^3) }[/math], while the rest of the multiplication takes time [math]\displaystyle{ O(d^2) }[/math], giving a total time of [math]\displaystyle{ O(id^2 + d^3) }[/math]. When there are [math]\displaystyle{ n }[/math] total points in the dataset, to recompute the solution after the arrival of every datapoint [math]\displaystyle{ i=1, \ldots, n }[/math], the naive approach will have a total complexity [math]\displaystyle{ O(n^2d^2 + nd^3) }[/math]. Note that when storing the matrix [math]\displaystyle{ \Sigma_i }[/math], then updating it at each step needs only adding [math]\displaystyle{ x_{i+1}x_{i+1}^T }[/math], which takes [math]\displaystyle{ O(d^2) }[/math] time, reducing the total time to [math]\displaystyle{ O(nd^2 + nd^3) = O(nd^3) }[/math], but with an additional storage space of [math]\displaystyle{ O(d^2) }[/math] to store [math]\displaystyle{ \Sigma_i }[/math].[1]
Online learning: recursive least squares
The recursive least squares (RLS) algorithm considers an online approach to the least squares problem. It can be shown that by initialising [math]\displaystyle{ \textstyle w_0 = 0 \in \mathbb{R}^d }[/math] and [math]\displaystyle{ \textstyle \Gamma_0 = I \in \mathbb{R}^{d \times d} }[/math], the solution of the linear least squares problem given in the previous section can be computed by the following iteration:
- [math]\displaystyle{ \Gamma_i=\Gamma_{i-1}-\frac{\Gamma_{i-1}x_i x_i^T \Gamma_{i-1}}{1+x_i^T\Gamma_{i-1}x_i} }[/math]
- [math]\displaystyle{ w_i = w_{i-1}-\Gamma_ix_i(x_i^T w_{i-1}-y_i) }[/math]
The above iteration algorithm can be proved using induction on [math]\displaystyle{ i }[/math].[2] The proof also shows that [math]\displaystyle{ \Gamma_i = \Sigma_i^{-1} }[/math]. One can look at RLS also in the context of adaptive filters (see RLS).
The complexity for [math]\displaystyle{ n }[/math] steps of this algorithm is [math]\displaystyle{ O(nd^2) }[/math], which is an order of magnitude faster than the corresponding batch learning complexity. The storage requirements at every step [math]\displaystyle{ i }[/math] here are to store the matrix [math]\displaystyle{ \Gamma_i }[/math], which is constant at [math]\displaystyle{ O(d^2) }[/math]. For the case when [math]\displaystyle{ \Sigma_i }[/math] is not invertible, consider the regularised version of the problem loss function [math]\displaystyle{ \sum_{j=1}^{n} (x_j^Tw - y_j)^2 + \lambda || w ||_2^2 }[/math]. Then, it's easy to show that the same algorithm works with [math]\displaystyle{ \Gamma_0 = (I + \lambda I)^{-1} }[/math], and the iterations proceed to give [math]\displaystyle{ \Gamma_i = (\Sigma_i + \lambda I)^{-1} }[/math].[1]
Stochastic gradient descent
When this
- [math]\displaystyle{ \textstyle w_i = w_{i-1}-\Gamma_ix_i(x_i^T w_{i-1}-y_i) }[/math]
is replaced by
- [math]\displaystyle{ \textstyle w_i = w_{i-1}-\gamma_i x_i(x_i^T w_{i-1}-y_i) = w_{i-1} - \gamma_i \nabla V(\langle w_{i-1}, x_i \rangle, y_i) }[/math]
or [math]\displaystyle{ \Gamma_i \in \mathbb{R}^{d\times d} }[/math] by [math]\displaystyle{ \gamma_i \in \mathbb{R} }[/math], this becomes the stochastic gradient descent algorithm. In this case, the complexity for [math]\displaystyle{ n }[/math] steps of this algorithm reduces to [math]\displaystyle{ O(nd) }[/math]. The storage requirements at every step [math]\displaystyle{ i }[/math] are constant at [math]\displaystyle{ O(d) }[/math].
However, the stepsize [math]\displaystyle{ \gamma_i }[/math] needs to be chosen carefully to solve the expected risk minimization problem, as detailed above. By choosing a decaying step size [math]\displaystyle{ \gamma_i \approx \frac{1}{\sqrt{i}}, }[/math] one can prove the convergence of the average iterate [math]\displaystyle{ \overline{w}_n = \frac{1}{n} \sum_{i=1}^{n} w_i }[/math]. This setting is a special case of stochastic optimization, a well known problem in optimization.[1]
Incremental stochastic gradient descent
In practice, one can perform multiple stochastic gradient passes (also called cycles or epochs) over the data. The algorithm thus obtained is called incremental gradient method and corresponds to an iteration
- [math]\displaystyle{ \textstyle w_i = w_{i-1} - \gamma_i \nabla V(\langle w_{i-1}, x_{t_i} \rangle, y_{t_i}) }[/math]
The main difference with the stochastic gradient method is that here a sequence [math]\displaystyle{ t_i }[/math] is chosen to decide which training point is visited in the [math]\displaystyle{ i }[/math]-th step. Such a sequence can be stochastic or deterministic. The number of iterations is then decoupled to the number of points (each point can be considered more than once). The incremental gradient method can be shown to provide a minimizer to the empirical risk.[3] Incremental techniques can be advantageous when considering objective functions made up of a sum of many terms e.g. an empirical error corresponding to a very large dataset.[1]
Kernel methods
Kernels can be used to extend the above algorithms to non-parametric models (or models where the parameters form an infinite dimensional space). The corresponding procedure will no longer be truly online and instead involve storing all the data points, but is still faster than the brute force method. This discussion is restricted to the case of the square loss, though it can be extended to any convex loss. It can be shown by an easy induction [1] that if [math]\displaystyle{ X_i }[/math] is the data matrix and [math]\displaystyle{ w_i }[/math] is the output after [math]\displaystyle{ i }[/math] steps of the SGD algorithm, then,
- [math]\displaystyle{ w_i = X_i^T c_i }[/math]
where [math]\displaystyle{ \textstyle c_i = ((c_i)_1, (c_i)_2, ..., (c_i)_i) \in \mathbb{R}^i }[/math] and the sequence [math]\displaystyle{ c_i }[/math] satisfies the recursion:
- [math]\displaystyle{ c_0 = 0 }[/math]
- [math]\displaystyle{ (c_i)_j = (c_{i-1})_j, j=1,2,...,i-1 }[/math] and
- [math]\displaystyle{ (c_i)_i = \gamma_i \Big(y_i - \sum_{j=1}^{i-1} (c_{i-1})_j\langle x_j, x_i \rangle\Big) }[/math]
Notice that here [math]\displaystyle{ \langle x_j, x_i \rangle }[/math] is just the standard Kernel on [math]\displaystyle{ \mathbb{R}^d }[/math], and the predictor is of the form
- [math]\displaystyle{ f_i(x) = \langle w_{i-1},x \rangle = \sum_{j=1}^{i-1} (c_{i-1})_j \langle x_j,x \rangle }[/math].
Now, if a general kernel [math]\displaystyle{ K }[/math] is introduced instead and let the predictor be
- [math]\displaystyle{ f_i(x) = \sum_{j=1}^{i-1} (c_{i-1})_j K(x_j,x) }[/math]
then the same proof will also show that predictor minimising the least squares loss is obtained by changing the above recursion to
- [math]\displaystyle{ (c_i)_i = \gamma_i \Big(y_i - \sum_{j=1}^{i-1}(c_{i-1})_j K(x_j,x_i) \Big) }[/math]
The above expression requires storing all the data for updating [math]\displaystyle{ c_i }[/math]. The total time complexity for the recursion when evaluating for the [math]\displaystyle{ n }[/math]-th datapoint is [math]\displaystyle{ O(n^2 d k) }[/math], where [math]\displaystyle{ k }[/math] is the cost of evaluating the kernel on a single pair of points.[1] Thus, the use of the kernel has allowed the movement from a finite dimensional parameter space [math]\displaystyle{ \textstyle w_{i} \in \mathbb{R}^d }[/math] to a possibly infinite dimensional feature represented by a kernel [math]\displaystyle{ K }[/math] by instead performing the recursion on the space of parameters [math]\displaystyle{ \textstyle c_{i} \in \mathbb{R}^i }[/math], whose dimension is the same as the size of the training dataset. In general, this is a consequence of the representer theorem.[1]
Online convex optimization
Online convex optimization (OCO) [4] is a general framework for decision making which leverages convex optimization to allow for efficient algorithms. The framework is that of repeated game playing as follows:
For [math]\displaystyle{ t = 1,2,...,T }[/math]
- Learner receives input [math]\displaystyle{ x_t }[/math]
- Learner outputs [math]\displaystyle{ w_t }[/math] from a fixed convex set [math]\displaystyle{ S }[/math]
- Nature sends back a convex loss function [math]\displaystyle{ v_t : S \rightarrow \mathbb{R} }[/math].
- Learner suffers loss [math]\displaystyle{ v_t(w_t) }[/math] and updates its model
The goal is to minimize regret, or the difference between cumulative loss and the loss of the best fixed point [math]\displaystyle{ u \in S }[/math] in hindsight. As an example, consider the case of online least squares linear regression. Here, the weight vectors come from the convex set [math]\displaystyle{ S = \mathbb{R}^d }[/math], and nature sends back the convex loss function [math]\displaystyle{ v_t(w) = ( \langle w,x_t \rangle - y_t )^2 }[/math]. Note here that [math]\displaystyle{ y_t }[/math] is implicitly sent with [math]\displaystyle{ v_t }[/math].
Some online prediction problems however cannot fit in the framework of OCO. For example, in online classification, the prediction domain and the loss functions are not convex. In such scenarios, two simple techniques for convexification are used: randomisation and surrogate loss functions[citation needed].
Some simple online convex optimisation algorithms are:
Follow the leader (FTL)
The simplest learning rule to try is to select (at the current step) the hypothesis that has the least loss over all past rounds. This algorithm is called Follow the leader, and round [math]\displaystyle{ t }[/math] is simply given by:
- [math]\displaystyle{ w_t = \operatorname{arg\,min}_{w \in S} \sum_{i=1}^{t-1} v_i(w) }[/math]
This method can thus be looked as a greedy algorithm. For the case of online quadratic optimization (where the loss function is [math]\displaystyle{ v_t(w) = || w - x_t ||_2^2 }[/math]), one can show a regret bound that grows as [math]\displaystyle{ \log(T) }[/math]. However, similar bounds cannot be obtained for the FTL algorithm for other important families of models like online linear optimization. To do so, one modifies FTL by adding regularisation.
Follow the regularised leader (FTRL)
This is a natural modification of FTL that is used to stabilise the FTL solutions and obtain better regret bounds. A regularisation function [math]\displaystyle{ R : S \rightarrow \mathbb{R} }[/math] is chosen and learning performed in round t as follows:
- [math]\displaystyle{ w_t = \operatorname{arg\,min}_{w \in S} \sum_{i=1}^{t-1}v_i(w) + R(w) }[/math]
As a special example, consider the case of online linear optimisation i.e. where nature sends back loss functions of the form [math]\displaystyle{ v_t(w) = \langle w,z_t \rangle }[/math]. Also, let [math]\displaystyle{ S = \mathbb{R}^d }[/math]. Suppose the regularisation function [math]\displaystyle{ R(w) = \frac{1}{2 \eta} ||w||_2^2 }[/math] is chosen for some positive number [math]\displaystyle{ \eta }[/math]. Then, one can show that the regret minimising iteration becomes
- [math]\displaystyle{ w_{t+1} = - \eta \sum_{i=1}^{t} z_i = w_t - \eta z_t }[/math]
Note that this can be rewritten as [math]\displaystyle{ w_{t+1} = w_t - \eta \nabla v_t(w_t) }[/math], which looks exactly like online gradient descent.
If S is instead some convex subspace of [math]\displaystyle{ \mathbb{R}^d }[/math], S would need to be projected onto, leading to the modified update rule
- [math]\displaystyle{ w_{t+1} = \Pi_S(- \eta \sum_{i=1}^{t} z_i) = \Pi_S(\eta \theta_{t+1}) }[/math]
This algorithm is known as lazy projection, as the vector [math]\displaystyle{ \theta_{t+1} }[/math] accumulates the gradients. It is also known as Nesterov's dual averaging algorithm. In this scenario of linear loss functions and quadratic regularisation, the regret is bounded by [math]\displaystyle{ O(\sqrt{T}) }[/math], and thus the average regret goes to 0 as desired.
Online subgradient descent (OSD)
The above proved a regret bound for linear loss functions [math]\displaystyle{ v_t(w) = \langle w, z_t \rangle }[/math]. To generalise the algorithm to any convex loss function, the subgradient [math]\displaystyle{ \partial v_t(w_t) }[/math] of [math]\displaystyle{ v_t }[/math] is used as a linear approximation to [math]\displaystyle{ v_t }[/math] near [math]\displaystyle{ w_t }[/math], leading to the online subgradient descent algorithm:
Initialise parameter [math]\displaystyle{ \eta, w_1 = 0 }[/math]
For [math]\displaystyle{ t = 1,2,...,T }[/math]
- Predict using [math]\displaystyle{ w_t }[/math], receive [math]\displaystyle{ f_t }[/math] from nature.
- Choose [math]\displaystyle{ z_t \in \partial v_t(w_t) }[/math]
- If [math]\displaystyle{ S = \mathbb{R}^d }[/math], update as [math]\displaystyle{ w_{t+1} = w_t - \eta z_t }[/math]
- If [math]\displaystyle{ S \subset \mathbb{R}^d }[/math], project cumulative gradients onto [math]\displaystyle{ S }[/math] i.e. [math]\displaystyle{ w_{t+1} = \Pi_S(\eta\theta_{t+1}) , \theta_{t+1} = \theta_t + z_t }[/math]
One can use the OSD algorithm to derive [math]\displaystyle{ O(\sqrt{T}) }[/math] regret bounds for the online version of SVM's for classification, which use the hinge loss[math]\displaystyle{ v_t(w) = \max \{ 0, 1 - y_t(w \cdot x_t) \} }[/math]
Other algorithms
Quadratically regularised FTRL algorithms lead to lazily projected gradient algorithms as described above. To use the above for arbitrary convex functions and regularisers, one uses online mirror descent. The optimal regularization in hindsight can be derived for linear loss functions, this leads to the AdaGrad algorithm. For the Euclidean regularisation, one can show a regret bound of [math]\displaystyle{ O(\sqrt{T}) }[/math], which can be improved further to a [math]\displaystyle{ O(\log T) }[/math] for strongly convex and exp-concave loss functions.
Continual learning
Continual learning means constantly improving the learned model by processing continuous streams of information.[5] Continual learning capabilities are essential for software systems and autonomous agents interacting in an ever changing real world. However, continual learning is a challenge for machine learning and neural network models since the continual acquisition of incrementally available information from non-stationary data distributions generally leads to catastrophic forgetting.
Interpretations of online learning
The paradigm of online learning has different interpretations depending on the choice of the learning model, each of which has distinct implications about the predictive quality of the sequence of functions [math]\displaystyle{ f_1, f_2, \ldots, f_n }[/math]. The prototypical stochastic gradient descent algorithm is used for this discussion. As noted above, its recursion is given by
- [math]\displaystyle{ \textstyle w_t = w_{t-1} - \gamma_t \nabla V(\langle w_{t-1}, x_t \rangle, y_t) }[/math]
The first interpretation consider the stochastic gradient descent method as applied to the problem of minimizing the expected risk [math]\displaystyle{ I[w] }[/math] defined above.[6] Indeed, in the case of an infinite stream of data, since the examples [math]\displaystyle{ (x_1, y_1), (x_2, y_2), \ldots }[/math] are assumed to be drawn i.i.d. from the distribution [math]\displaystyle{ p(x,y) }[/math], the sequence of gradients of [math]\displaystyle{ V(\cdot, \cdot) }[/math] in the above iteration are an i.i.d. sample of stochastic estimates of the gradient of the expected risk [math]\displaystyle{ I[w] }[/math] and therefore one can apply complexity results for the stochastic gradient descent method to bound the deviation [math]\displaystyle{ I[w_t] - I[w^\ast] }[/math], where [math]\displaystyle{ w^\ast }[/math] is the minimizer of [math]\displaystyle{ I[w] }[/math].[7] This interpretation is also valid in the case of a finite training set; although with multiple passes through the data the gradients are no longer independent, still complexity results can be obtained in special cases.
The second interpretation applies to the case of a finite training set and considers the SGD algorithm as an instance of incremental gradient descent method.[3] In this case, one instead looks at the empirical risk:
- [math]\displaystyle{ I_n[w] = \frac{1}{n}\sum_{i = 1}^nV(\langle w,x_i \rangle, y_i) \ . }[/math]
Since the gradients of [math]\displaystyle{ V(\cdot, \cdot) }[/math] in the incremental gradient descent iterations are also stochastic estimates of the gradient of [math]\displaystyle{ I_n[w] }[/math], this interpretation is also related to the stochastic gradient descent method, but applied to minimize the empirical risk as opposed to the expected risk. Since this interpretation concerns the empirical risk and not the expected risk, multiple passes through the data are readily allowed and actually lead to tighter bounds on the deviations [math]\displaystyle{ I_n[w_t] - I_n[w^\ast_n] }[/math], where [math]\displaystyle{ w^\ast_n }[/math] is the minimizer of [math]\displaystyle{ I_n[w] }[/math].
Implementations
- Vowpal Wabbit: Open-source fast out-of-core online learning system which is notable for supporting a number of machine learning reductions, importance weighting and a selection of different loss functions and optimisation algorithms. It uses the hashing trick for bounding the size of the set of features independent of the amount of training data.
- scikit-learn: Provides out-of-core implementations of algorithms for
- Classification: Perceptron, SGD classifier, Naive bayes classifier.
- Regression: SGD Regressor, Passive Aggressive regressor.
- Clustering: Mini-batch k-means.
- Feature extraction: Mini-batch dictionary learning, Incremental PCA.
See also
Learning paradigms
- Incremental learning
- Lazy learning
- Offline learning, the opposite model
- Reinforcement learning
- Multi-armed bandit
- Supervised learning
General algorithms
- Online algorithm
- Online optimization
- Streaming algorithm
- Stochastic gradient descent
Learning models
- Adaptive Resonance Theory
- Hierarchical temporal memory
- k-nearest neighbor algorithm
- Learning vector quantization
- Perceptron
References
- ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 L. Rosasco, T. Poggio, Machine Learning: a Regularization Approach, MIT-9.520 Lectures Notes, Manuscript, Dec. 2015. Chapter 7 - Online Learning
- ↑ Yin, Harold J. Kushner, G. George (2003). Stochastic approximation and recursive algorithms and applications (Second ed.). New York: Springer. pp. 8–12. ISBN 978-0-387-21769-7. https://archive.org/details/stochasticapprox00yinh.
- ↑ 3.0 3.1 Bertsekas, D. P. (2011). Incremental gradient, subgradient, and proximal methods for convex optimization: a survey. Optimization for Machine Learning, 85.
- ↑ Hazan, Elad (2015). Introduction to Online Convex Optimization. Foundations and Trends in Optimization. http://ocobook.cs.princeton.edu/OCObook.pdf.
- ↑ Parisi, German I.; Kemker, Ronald; Part, Jose L.; Kanan, Christopher; Wermter, Stefan (2019). "Continual lifelong learning with neural networks: A review". Neural Networks 113: 54–71. doi:10.1016/j.neunet.2019.01.012. ISSN 0893-6080. http://dx.doi.org/10.1016/j.neunet.2019.01.012.
- ↑ Bottou, Léon (1998). "Online Algorithms and Stochastic Approximations". Online Learning and Neural Networks. Cambridge University Press. ISBN 978-0-521-65263-6. https://archive.org/details/onlinelearningin0000unse.
- ↑ Stochastic Approximation Algorithms and Applications, Harold J. Kushner and G. George Yin, New York: Springer-Verlag, 1997. ISBN:0-387-94916-X; 2nd ed., titled Stochastic Approximation and Recursive Algorithms and Applications, 2003, ISBN:0-387-00894-2.
External links
Original source: https://en.wikipedia.org/wiki/Online machine learning.
Read more |