Over-the-air Function Computation in Sensor Networks

Omid Abari, Hariharan Rahul, Dina KatabiarXiv 2016

Abstract

Traditional sensor networks collect data sequentially, leading to significant latency and bandwidth bottlenecks as the number of nodes increases. This paper presents CompAir, a system that leverages wireless interference to compute aggregate functions—such as sum, average, and max—directly over the air. By synchronizing transmissions and pre-compensating for channel effects, CompAir transforms the wireless medium into an analog computer. Experimental results demonstrate throughput gains of up to 165x for linear functions in a 100-node network, with performance scaling efficiently as the network grows.

Introduction

In large-scale sensor networks used for environmental monitoring or industrial automation, the primary objective is often to obtain aggregate statistics rather than individual readings. Conventional protocols rely on sequential data collection (e.g., TDMA), where each node transmits in its own time slot to avoid collisions. However, this $O(N)$ approach becomes a massive bottleneck in dense networks, wasting energy and bandwidth.

This research explores a paradigm shift: instead of avoiding collisions, the system embraces them. By allowing nodes to transmit simultaneously and coherently, the physical properties of the wireless channel can be used to perform computations. This "over-the-air" computation approach aims to reduce the time complexity of data aggregation from linear to constant or logarithmic time relative to the number of sensors.

Methods: The CompAir System

CompAir utilizes the superposition property of wireless signals to perform both linear and non-linear computations.

Linear Functions (Sum, Average)

The wireless channel naturally sums signals. To ensure the received signal represents a true sum of the data, CompAir employs channel reciprocity. A cluster-head sends a pilot signal; sensors estimate the channel coefficient and pre-compensate their data by dividing it by the estimated coefficient. This ensures that channel effects cancel out at the receiver. Furthermore, coherent addition of signals provides a "beamforming" effect, significantly boosting the Signal-to-Noise Ratio (SNR) compared to sequential transmissions.

Non-Linear Functions (Max, Min)

For non-linear functions, the channel acts as a distributed "OR" gate. To find a maximum value, CompAir performs a bit-level binary search. Nodes transmit their bits starting from the Most Significant Bit (MSB). If the cluster-head detects power, it concludes the bit is '1' and instructs only the nodes with a '1' in that position to continue to the next bit.

Noise Mitigation

To handle thermal noise and estimation errors, CompAir uses repeated transmissions. By averaging multiple samples, the system can resolve bit errors, particularly in the Least Significant Bits (LSBs).

Figure 4: Error reduction through repeated sampling. As the number of samples increases, bit errors (red) are progressively eliminated.

Key Results and Scaling

The system was evaluated through simulations and a USRP-based hardware testbed. A key finding is the scaling behavior of throughput gains. For linear functions like the sum, the gain scales quadratically with the number of sensors due to the coherent addition of signal amplitudes. For non-linear functions like the max, the gain scales linearly.

Figure 2: Throughput gains for (a) sum and (b) max functions, showing quadratic and linear scaling respectively.

In a simulated 100-sensor network at 12dB SNR, CompAir achieved a 165x throughput gain over traditional ZigBee for sum computations. Hardware tests with 24 emulated sensors confirmed that accurate 8-bit sums could be computed in fewer than 18 transmissions, a significant reduction from the 192 transmissions required by sequential polling.

Conclusion

CompAir demonstrates that wireless interference, typically viewed as a hindrance, can be a powerful tool for distributed computation. By shifting the bottleneck from the number of nodes to the bit-resolution of the data, the system enables highly scalable sensor networks. Future work includes refining analytical models for non-linear functions and simplifying the synchronization requirements currently managed by external reference clocks.

Summary updated

BibTeX
@misc{abari2016over,
  author = {Omid Abari and Hariharan Rahul and Dina Katabi},
  title = {{Over-the-air Function Computation in Sensor Networks}},
  year = {2016},
  eprint = {1612.02307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.02307},
}
Figure