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:
- 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.
- 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.
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.
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