Secure Coded Cooperative Computation at the Heterogeneous Edge against Byzantine Attacks

Yasaman Keshtkarjahromi, Rawad Bitar, Venkat R. Dasari, Salim El Rouayheb, Hulya Seferoglu

Abstract

Edge computing enables the offloading of intensive tasks to nearby devices, yet it faces significant hurdles from device heterogeneity (stragglers) and security threats (Byzantine attacks). This paper introduces $SC^3$, a secure coded cooperative computation mechanism that integrates Fountain codes with homomorphic hash functions. By employing a two-tiered verification system—light-weight (LW) and heavy-weight (HW) checks—$SC^3$ efficiently identifies and recovers from corrupted tasks. This approach allows the system to salvage valid work from malicious workers, significantly reducing overall task completion delay compared to traditional security-first baselines.

Introduction

The rise of IoT and mobile devices has positioned edge computing as a viable alternative to cloud-based processing. By offloading tasks like matrix multiplication to local "worker" devices, a "master" device can reduce latency. However, edge environments are inherently unreliable. Stragglers—devices with limited or fluctuating compute power—can bottleneck the entire process. More critically, edge devices are susceptible to Byzantine attacks, where compromised workers intentionally return corrupted results. While coded computation effectively mitigates stragglers through redundancy, it remains highly vulnerable to such malicious interference. Existing cryptographic solutions often impose overheads too heavy for resource-constrained edge hardware.

The $SC^3$ Framework

The proposed Secure Coded Cooperative Computation ($SC^3$) framework addresses these challenges through two primary technical pillars:

  1. Fountain Coding for Resilient Offloading: The master device encodes data using rateless Fountain codes, dynamically distributing tasks based on worker speed. This allows the master to decode the final result once a sufficient threshold of verified packets is reached, effectively ignoring stragglers.
  2. Homomorphic Hashing for Integrity: To detect corruption, $SC^3$ utilizes homomorphic hash functions. These allow the master to verify the integrity of linear combinations of computed results against the hashes of the original data.

To optimize the trade-off between security and computational overhead, $SC^3$ implements a two-tiered verification strategy. A Light-Weight (LW) check uses simple binary coefficients for rapid screening, while a Heavy-Weight (HW) check uses a larger finite field to provide near-certain detection of sophisticated attacks. When an attack is detected, $SC^3$ triggers a recovery module that uses binary search and multi-round verification to isolate only the corrupted packets, rather than discarding the worker's entire output.

Performance Evaluation

The effectiveness of $SC^3$ was evaluated through simulations of matrix-vector multiplication ($y = Ax$) across a network of 150 workers. The results demonstrate that $SC^3$ consistently outperforms traditional "HW-only" approaches that naively discard all data from any worker flagged as malicious.

Task completion delay as a function of the number of malicious workers.

As shown in Figure 1, $SC^3$ exhibits superior resilience as the number of malicious workers increases. While the delay for the HW-only baseline grows rapidly, $SC^3$ maintains a completion time much closer to the theoretical lower bound.

Impact of packet corruption probability on task completion delay.

Furthermore, Figure 2 illustrates the system's efficiency under varying levels of packet corruption. By isolating specific corrupted packets, $SC^3$ can salvage the remaining valid computation from a malicious worker. This "salvaging" capability ensures that the task completion delay remains low even when workers are partially compromised, a scenario where traditional systems would waste significant computational effort.

Conclusion and Future Work

$SC^3$ represents a significant step toward secure and efficient edge computing. Its core innovation lies in the graceful degradation of security checks and the ability to extract useful work even from Byzantine nodes. By reserving expensive cryptographic operations for targeted isolation of attacks, $SC^3$ achieves high throughput without overwhelming edge devices. Future research will focus on extending this framework to non-linear computations and integrating privacy-preserving techniques to protect data from honest-but-curious workers.

Summary updated

Abstract

Edge computing is emerging as a new paradigm to allow processing data at the edge of the network, where data is typically generated and collected by exploiting multiple devices at the edge collectively. However, offloading tasks to other devices leaves the edge computing applications at the complete mercy of an attacker. One of the attacks, which is the focus of this work, is Byzantine attacks, where one or more devices can corrupt the offloaded tasks. Furthermore, exploiting the potential of edge computing is challenging mainly due to the heterogeneous and time-varying nature of the devices at the edge. In this paper, we develop a secure coded cooperative computation mechanism (SC3) that provides both security and computation efficiency guarantees by gracefully combining homomorphic hash functions and coded cooperative computation. Homomorphic hash functions are used against Byzantine attacks and coded cooperative computation is used to improve computation efficiency when edge resources are heterogeneous and time-varying. Simulation results show that SC3 improves task completion delay significantly.
BibTeX
@inproceedings{keshtkarjahromi2019secure,
  author = {Yasaman Keshtkarjahromi and Rawad Bitar and Venkat R. Dasari and Salim El Rouayheb and Hulya Seferoglu},
  title = {{Secure Coded Cooperative Computation at the Heterogeneous Edge against Byzantine Attacks}},
  booktitle = {GLOBECOM},
  year = {2019},
  url = {https://openreview.net/forum?id=lYOjzSnHVc},
}
Figure