Deadline-Aware Convex Task Clustering over Lossy Edge Networks

Many sensing systems have thousands of devices, such as bus-stop counters, vibration sensors on turbines, or phones recognizing activities. Each device has too little data to fit a good model alone, but it has neighbors whose data follow similar patterns. Convex multi-task clustering fits one model per device and penalizes the distance between models of related devices. Because the problem is convex, it has a single best answer, and it groups devices into clusters without the local-minimum problems of K-means-style heuristics. So far this method has been solved either on a central server, or with decentralized solvers that assume every message between neighbors arrives on time. When results are worthless after a hard deadline, both assumptions fail. Sending everything to a server costs a wide-area round trip. Insisting on reliable delivery costs retransmission delays.

This note proposes to treat the set of "which devices are pulled toward each other" as a design choice that depends on the network. The clustering penalty would keep only links between devices that are both statistically similar and cheap to talk over. The problem would then be solved with a primal-dual method that reuses the last message received when a packet drops, so it never waits for a retransmission. The convex structure makes this safe: each device pair can compute, locally, a certificate that bounds how much accuracy was given up by dropping its link. The claim is that under a fixed wall-clock deadline, this network-aware sparsified problem gives lower error than three alternatives: solving the full clustering problem, solving it centrally at a fog node, and training local-only models.

Core Claim

The starting point is the Network Lasso of Network Lasso: Clustering and Optimization in Large Graphs. It minimizes the sum of each node's loss plus an un-squared distance penalty along graph edges, and solves it with a decentralized splitting method. On sparse synthetic SVM data it reports 86.68% accuracy, against 65.9% for local-only models and 57.1% for one global model. Write $f_i$ for device $i$'s convex loss on its own model $w_i$, $\lambda$ for the penalty strength, $E$ for a candidate set of task-similarity edges with weights $a_{jk}$, and $S \subseteq E$ for the edges actually kept. The problem we solve is

$$\min_{w}\; F_S(w) = \sum_i f_i(w_i) + \lambda \sum_{(j,k)\in S} a_{jk}\,\|w_j - w_k\|_2 .$$

Let $F_E$ be the full-graph objective and $w^\star_S$ the minimizer of $F_S$. Because $F_S \le F_E$ everywhere, the following holds:

$$F_E(w^\star_S) - \min_w F_E(w) \;\le\; \lambda \sum_{(j,k)\in E\setminus S} a_{jk}\,\|w^\star_{S,j} - w^\star_{S,k}\|_2 .$$

The right-hand side can be computed by the two endpoints of each dropped edge. It is near zero when a dropped edge joins two devices that the kept edges have already fused into the same cluster.

This suggests a concrete principle. A link whose round trip is expensive, or which drops many packets, is worth keeping only if its endpoints would otherwise end up in different fused groups. The new ingredient is a selection rule that picks $S$ by trading this certificate against the per-iteration latency the link adds. It is paired with a solver that keeps working through packet loss. The rule is re-run as link conditions change.

Research Program

The work has three parts.

The first part is the edge-selection rule. We start from a sparse k-nearest-neighbor task graph, as in Efficient and Scalable Multi-Task Regression on Massive Number of Tasks. That paper, called CCMTL, cut the pairwise penalty terms from quadratic to linear in the number of tasks, but it solved the resulting system centrally. We then weight each candidate edge by its expected wall-clock cost per iteration. That cost combines the number of radio hops, the per-hop latency, and the packet-loss rate. Edges are selected greedily under a per-iteration latency budget. Selection is revisited every few rounds using the dropped-edge certificates, so an edge whose certificate grows large gets reinstated. This answers the open problem of static, pre-built graphs noted for both CCMTL and the Network Lasso.

The second part is a solver that tolerates lossy links. We adapt the robust saddle-point method of Decentralized Multi-Task Online Convex Optimization Under Random Link Failures. That method keeps a memory copy of each neighbor's last state, adds a small quadratic regularizer on the dual variables, and matches lossless-network rates with up to 40% link failure. It was developed only for coupled operational constraints. Here the coupling is instead a nonsmooth distance penalty that discovers clusters. Each edge's dual variable lives in a norm ball, and the edge update becomes a projection. We will prove a convergence rate in which the packet-loss probability and the staleness of memory variables enter only the constant factor. We will also state the error achieved by a fixed deadline, so the result is an anytime guarantee rather than an asymptotic one.

The third part is deadline accounting. Every method is scored on the model it holds when a wall-clock deadline expires, not on its final model. This follows the observation in Edge Learning with Timeliness Constraints: Challenges and Solutions that wall-clock delay matters more than round counts.

The positioning against prior work is as follows. Federated Multi-Task Learning (MOCHA) distributes the per-device solves but updates the task-relationship matrix at a central server. We have no server, and the relationship structure is found by the fused edges themselves. Beyond Centralization: Provable Communication Efficient Decentralized Multi-Task Learning (Dif-AltGDmin) is fully decentralized and shows that decentralized learning can finish faster than a central server when bandwidth is tight. It motivates this work. However, it learns only a shared low-rank subspace, assumes Gaussian inputs, and assumes synchronous static links. We learn clusters instead, over lossy links. Clustered Federated Learning (CFL) splits clients after a global model stalls, which means it depends on a coordinator and offers no optimality guarantee. Multi-Task Personalized Learning with Sparse Network Lasso uses the same kind of penalty but solves it centrally and offline.

Baselines

The naive reference points are local-only learning, where each device fits a ridge or logistic model on its own data with no communication, and a single global model trained by federated averaging through one aggregator. These bracket the problem. On Network Lasso's synthetic task they score 65.9% and 57.1%, so the proposal must clearly beat both at every deadline, even the shortest.

The strongest centralized competitor is CCMTL run at a single fog node that collects all devices' data. CCMTL trained the 23,812-task Ta-Feng problem in 35.3 seconds, while competing methods did not finish within 24 hours. We will charge it the simulated uplink time for collecting the data plus the downlink time for returning models, over the same network traces used for our method. We will give it the same k-nearest-neighbor graph and tune $\lambda$ on the same validation split. Beating it means lower error at the deadline in multi-hop settings. We expect to lose to it when a fog node is one cheap hop away, and we will report where the crossover happens.

The strongest decentralized competitor is Network Lasso solved by standard decentralized splitting on the full task graph. We run it in two versions. The first is a reliable-transport version, where every dropped message is retransmitted. The second is a naive stale version, which reuses old messages but has no dual regularizer. We also run MOCHA with its central relationship update, and Dif-AltGDmin as a subspace method, on data where subspace structure may or may not hold.

Two ablations isolate the key ingredients. The first uses our lossy-link solver on the full graph, which tests whether edge selection matters. The second uses edge selection with a reliable-transport solver, which tests whether loss tolerance matters. All methods get the same data splits, the same simulated network, and an equal hyperparameter search budget.

Why not just…?

Why not just run CCMTL at a nearby fog server? This is the most serious alternative. At 35.3 seconds for more than 23,000 tasks, CCMTL is fast enough that computing time is rarely the bottleneck, and in a star network with one low-latency hop it may win outright. Our claim is limited to settings where collecting the data takes several hops or long-distance links, or where uplink capacity is the constraint. These are the settings where Dif-AltGDmin found decentralized learning pulls ahead. The crossover experiment below varies hop count and uplink bandwidth to show where centralization stops winning. If it never stops winning at realistic parameters, that is a negative result we will report.

Why not just run the full Network Lasso and tolerate stale messages? Stale updates without the dual regularizer can drift. The random-link-failure paper added that regularizer precisely to keep dual variables from diverging on stale data. More importantly, the full graph pays for its most expensive links on every iteration. Our first ablation (lossy-link solver, full graph) measures exactly how much of the gain comes from dropping those links.

Why not just learn locally, or cluster clients the way CFL does? Local models degrade when data are scarce. The Sarcos results in Convex Learning of Multiple Tasks and their Structure show the largest multi-task gains at 50 samples per task. CFL needs a coordinator and must wait for a global model to stall before it splits clients, which fits poorly with hard deadlines. Both are included as baselines, so the comparison is settled empirically.

Proposed Experiments

The main testbed is the Transportation dataset from the CCMTL paper, with boarding and alighting counts at 1,926 bus stops. It has real geography, so we build a radio graph by connecting stops within range. Per-hop latencies are drawn to span the 10 ms to 100 ms deadlines cited for interactive and building-control systems. Packet-loss rates range from 0 to 40%. No reported RMSE result was found on Lacuna for this dataset, so we will rerun CCMTL ourselves.

We add three further settings. The first is the School data (139 tasks) and Sales data (811 tasks) placed on synthetic geometric radio graphs. The second is the HAR mobile-sensor data used by MOCHA. The third is Network Lasso's Sacramento housing task, where it reports an MSE of 0.4630 against 0.8611 for global regression. Our full-graph centralized solve on this task must reproduce roughly 0.4630 before any network effects are introduced. A final scaling study uses the ScaleSyn generator from 5,000 to 160,000 tasks.

The primary metric is RMSE, or accuracy, measured at deadlines $D$. We also report the full error-versus-wall-clock curve, bytes sent per device, and how tight the dropped-edge certificate is compared with the true suboptimality measured from a centralized solve.

Three results would decide the question. First, at matched deadlines, the proposal should beat reliable-transport Network Lasso and fog-node CCMTL in the multi-hop regime, and the hop-count at which fog CCMTL loses should be identified. Second, the certificate should rank dropped edges well enough that re-adding the top-ranked ones recovers most of the gap to the full graph. Third, when packet loss rises from 0 to 40%, error at a fixed deadline should grow only slightly for our solver, but substantially for the reliable-transport version.

If fog CCMTL dominates at all realistic hop counts, or if choosing edges at random under the same latency budget performs as well as the certificate-guided rule, the core claim fails.