Time-Varying Optimization for Streaming Data Via Temporal Weighting
Muhammad Faraz Ul Abrar, Nicolò Michelusi, Erik G. Larsson
TL;DR
The paper addresses learning from streaming data under time-varying objectives by introducing a weight-based formulation where the objective at time $t$ is a weighted sum $F_t(w)=\sum_{i=1}^t a_i(t) f_i(w)$. It analyzes gradient-descent tracking of the time-varying minimizer under two weighting schemes—uniform and geometrically discounted—deriving sharp tracking-error bounds: a vanishing TE with rate $O(1/t)$ for uniform weights, and a non-vanishing asymptotic error floor for discounted weights that depends on the discount factor $\gamma$ and the per-time-step updates $E$. The results provide explicit expressions for the asymptotic tracking error (ATE) under discounting and show how the update budget $E$ and weight choice trade off responsiveness against accuracy. Numerical experiments with scalar quadratic losses corroborate the theory and illustrate practical implications for streaming and continual learning applications, including guidance on selecting $\gamma$ and the update budget to achieve desired accuracy.
Abstract
Classical optimization theory deals with fixed, time-invariant objective functions. However, time-varying optimization has emerged as an important subject for decision-making in dynamic environments. In this work, we study the problem of learning from streaming data through a time-varying optimization lens. Unlike prior works that focus on generic formulations, we introduce a structured, \emph{weight-based} formulation that explicitly captures the streaming-data origin of the time-varying objective, where at each time step, an agent aims to minimize a weighted average loss over all the past data samples. We focus on two specific weighting strategies: (1) uniform weights, which treat all samples equally, and (2) discounted weights, which geometrically decay the influence of older data. For both schemes, we derive tight bounds on the ``tracking error'' (TE), defined as the deviation between the model parameter and the time-varying optimum at a given time step, under gradient descent (GD) updates. We show that under uniform weighting, the TE vanishes asymptotically with a $\mathcal{O}(1/t)$ decay rate, whereas discounted weighting incurs a nonzero error floor controlled by the discount factor and the number of gradient updates performed at each time step. Our theoretical findings are validated through numerical simulations.
