Network flows that solve least squares for linear equations

Yang Liu, Youcheng Lou, Brian D. O. Anderson, Guodong ShiAutomatica 2018

TL;DR

This paper introduces a novel first-order distributed algorithm for solving linear least-squares problems over networks. The algorithm allows individual agents to iteratively refine their estimates by averaging neighbor information and descending along a local cost function gradient, achieving convergence to the unique or one of the possible least-squares solutions. This work is significant for enabling distributed computation of solutions to underdetermined or overdetermined linear systems in scenarios where centralized processing is infeasible.

What Problem Does This Paper Address?

Many real-world problems, particularly in engineering and distributed systems, can be formulated as solving systems of linear equations. While centralized algorithms are effective when a single powerful computing unit has access to all data, many applications necessitate distributed approaches. This is especially true when dealing with large-scale systems where individual agents have limited computational power or only partial access to the overall problem.

The paper specifically addresses the challenge of solving least-squares solutions for linear equations over networks. This is crucial when the system of equations is either overdetermined (more equations than unknowns, leading to no exact solution) or underdetermined (fewer equations than unknowns, leading to multiple solutions). In such cases, the goal is to find a solution that minimizes the error, rather than an exact solution. Existing distributed algorithms often struggle with the mismatch between individual agent's local equations and the global least-squares solution, or they require complex structures and significant communication overhead.

Methods

The core of this paper is a first-order continuous-time distributed algorithm that can be viewed as a "network flow." Each agent $i$ maintains a state $x_i(t)$ (a vector in $\mathbb{R}^m$) and updates it based on two main components:

  1. Local Averaging (Consensus): Agents exchange information with their neighbors, effectively averaging their states. This is represented by the term $\sum_{j \in N_i(t)} [A(t)]_{ij}(x_j(t) - x_i(t))$, where $A(t)$ is the adjacency matrix of the network at time $t$. This component drives the agents towards a consensus.
  2. Gradient Descent on Local Cost Function: Agents also descend along the negative gradient of their local cost function, $f_i(x_i(t)) = \|h_i x_i(t) - z_i\|^2$. This term pushes each agent towards satisfying its own linear equation.

The algorithm is formulated as a system of differential equations: $$ \dot{x}_i(t) = \sum_{j \in N_i(t)} [A(t)]_{ij}(x_j(t) - x_i(t)) - \kappa \nabla f_i(x_i(t)) $$ where $\kappa$ is a positive constant and $\nabla f_i(x_i(t))$ is the gradient of the local cost function. The step size $\alpha(t)$ is a continuous function that tends to zero as $t \to \infty$ but not too fast (satisfying certain integrability conditions).

The paper analyzes the convergence of this flow under different network topologies (fixed and switching) and for cases with unique and non-unique least-squares solutions. It also provides theoretical analysis on the convergence rate based on the choice of the step size $\alpha(t)$.

Datasets

Not discussed in the paper. The paper uses synthetic linear equations and network structures for numerical examples.

Key Insights and Ideas

  • Unified Framework for Least-Squares: The proposed algorithm provides a unified approach to solving least-squares problems over networks, applicable to both unique and non-unique solution cases.
  • Balancing Consensus and Optimization: The algorithm cleverly balances the need for agents to agree on a common value (consensus) with the need to minimize individual errors (optimization).
  • Step Size Matters for Convergence Rate: The paper demonstrates that the choice of the step size function $\alpha(t)$ significantly impacts the speed of convergence, offering guidance for selecting optimal step sizes. For instance, for unique solutions, $\alpha(t) = O(1)$ can yield the fastest convergence under certain conditions, while for non-unique solutions, a decaying step size like $\alpha(t) = O(t^{-\lambda})$ with $\lambda \in (0,1)$ is analyzed.
  • Relaxed Connectivity Conditions: The work extends convergence results from constantly connected graphs to uniformly jointly connected switching graphs, which are more realistic for dynamic networks.
  • Asymptotic Behavior: The analysis provides insights into the asymptotic behavior of the system, showing convergence to the least-squares solution(s) even with time-varying network structures.

Key Results

  • Convergence for Unique Solutions (Fixed Graphs): For a unique least-squares solution and a connected, constant graph, the algorithm guarantees that all agent states $x_i(t)$ converge to the unique solution $y^*$ as $t \to \infty$, provided the step size $\alpha(t)$ satisfies $\int_0^\infty \alpha(t) dt = \infty$ and $\lim_{t \to \infty} \alpha(t) = 0$.
  • Convergence Rate Analysis: Theorem 2 provides explicit bounds on the convergence rate, showing how it depends on the step size $\alpha(t)$ and properties of the matrix $H^T H$. For example, it shows that $\alpha(t) = O(t^{-\lambda})$ can achieve faster convergence when $\lambda$ is close to 1.
  • Convergence for Non-Unique Solutions (Switching Graphs): For non-unique least-squares solutions and switching graphs, convergence to one of the least-squares solutions is proven under conditions of constant connectivity over time intervals (uniformly jointly connected graphs) and boundedness of system states.
  • Numerical Validation: Several numerical examples demonstrate the algorithm's effectiveness, illustrating convergence for both unique and non-unique solution cases, and validating the theoretical convergence rates predicted by the theorems.

Limitations and Future Work

  • Boundedness Assumption for Switching Graphs: Theorem 4, which deals with uniformly jointly connected switching graphs, relies on a boundedness assumption for system states. The paper notes that it is hard to provide general conditions for this boundedness, although numerical examples suggest it is often satisfied.
  • Instantaneous Connectivity: The convergence results for switching graphs often rely on some form of connectivity (either constant or uniform joint connectivity over intervals). Proving convergence over networks without instantaneous connectivity is suggested as future work.
  • Exact Convergence Rate: While bounds on convergence speed are provided, finding the exact convergence rate for all scenarios is mentioned as a potential future research direction.
  • Convergence Limit: Investigating the convergence limit in more complex scenarios is also suggested.

Summary updated

BibTeX
@article{liu2018network,
  author = {Yang Liu and Youcheng Lou and Brian D. O. Anderson and Guodong Shi},
  title = {{Network flows that solve least squares for linear equations}},
  journal = {Automatica},
  year = {2018},
  doi = {10.1016/j.automatica.2020.109108},
}
Figure