Abstract
Many science and engineering applications involve solving a linear least-squares system formed from some field measurements. In the distributed cyber-physical systems (CPS), often each sensor node used for measurement only knows partial independent rows of the least-squares system. To compute the least-squares solution they need to gather all these measurement at a centralized location and then compute the solution. These data collection and computation are inefficient because of bandwidth and time constraints and sometimes are infeasible because of data privacy concerns. Thus distributed computations are strongly preferred or demanded in many of the real world applications e.g.: smart-grid, target tracking etc. To compute least squares for the large sparse system of linear equation iterative methods are natural candidates and there are a lot of studies regarding this, however, most of them are related to the efficiency of centralized/parallel computations while and only a few are explicitly about distributed computation or have the potential to apply in distributed networks. This paper surveys the representative iterative methods from several research communities. Some of them were not originally designed for this need, so we slightly modified them to suit our requirement and maintain the consistency. In this survey, we sketch the skeleton of the algorithm first and then analyze its time-to-completion and communication cost. To our best knowledge, this is the first survey of distributed least-squares in distributed networks.
Introduction
In modern Cyber-Physical Systems (CPS), such as smart grids and seismic tomography networks, solving the linear system $Ax \approx b$ is a fundamental task. Traditionally, this problem is solved centrally: all sensor data is transmitted to a single sink node for processing. However, this approach faces significant hurdles in large-scale mesh networks, including high communication latency, vulnerability to single points of failure, and data privacy concerns. Distributed iterative methods offer a robust alternative by allowing nodes to compute the global solution using only local data and peer-to-peer communication.
Distributed Data Model
The core challenge in distributed least-squares is that the global matrix $A$ and vector $b$ are not stored in one place. Instead, the system is partitioned among $N$ nodes in the network.
As shown in Figure 1, the matrix $A \in \mathbb{R}^{m \times n}$ is divided into $N$ row blocks, $A_1, A_2, \dots, A_N$. Each node $i$ possesses only its local measurement block $A_i$ and the corresponding part of the observation vector $b_i$. The goal is for all nodes to reach a consensus on the global solution $x$ that minimizes $\|Ax - b\|^2$.
Survey of Iterative Methods
This survey analyzes four representative methods adapted for distributed mesh networks:
- Distributed Multisplitting (D-MS): This method partitions the matrix into blocks and uses network "flooding" to synchronize updates. While it converges in relatively few iterations, the global broadcast mechanism can strain network bandwidth.
- Distributed Modified Conjugate Gradient Least-Squares (D-MCGLS): A distributed variant of the classic CGLS. It is specifically optimized to minimize global synchronization points—such as inner product calculations—which are costly in a distributed setting.
- Distributed Least Mean Squares (D-LMS): A consensus-based (or diffusion) approach. Nodes only exchange estimates with immediate neighbors. This localized communication is "cheap" per iteration but often requires a significantly higher number of iterations to converge compared to flooding-based methods.
- Distributed Recursive Least-Squares (D-RLS): This method provides an exact solution by passing a "token" (containing the current estimate and an inverse covariance matrix) along a Hamiltonian path. While mathematically precise, it requires a specific network topology that may not exist in dynamic ad-hoc networks.
Performance Analysis
The primary bottleneck in distributed systems is communication rather than local computation. We evaluate these algorithms based on total communication cost and "time-to-completion," which accounts for message size and network hops.
| Algorithm | Communication Cost | Time-to-completion |
|---|---|---|
| D-MS | $kmN^2$ | $km(N-1)$ |
| D-MCGLS | $\approx k(m+n)N^2$ | $\approx k(m+n)N$ |
| D-LMS | $knN(D_{avg}+1)$ | $2knD_{max}$ |
| D-RLS | $(n+n^2)(N-1)$ | $(n+n^2)(N-1)$ |
Table 1: Comparison of communication complexity. $N$ is network size, $m \times n$ are matrix dimensions, $k$ is iterations, and $D$ is node degree.
The analysis reveals a clear trade-off: flooding-based methods (D-MS, D-MCGLS) converge faster ($k$ is small) but have high per-iteration costs. Consensus methods (D-LMS) scale better with network size $N$ but are sensitive to the matrix condition number, potentially requiring many iterations. D-RLS is efficient for small $n$ but its message size grows quadratically ($n^2$), limiting its use to low-dimensional problems.
Conclusion and Future Directions
This survey establishes a framework for comparing distributed least-squares solvers. Future research must address the realities of wireless mesh networks, specifically data loss tolerance (how algorithms handle dropped packets) and dynamic topologies where nodes may join or leave the network, potentially breaking structures like Hamiltonian paths.
Summary updated