A Framework for Hybrid Collective Inference in Distributed Sensor Networks
Organizations: School of Computer Science and IT, University College Cork, Ireland.
Abstract
With the ever-increasing range of applications of Internet in Things (IoT) and sensor networks, challenges are emerging in various categories of classification tasks. Applications such as vehicular networking, UAV swarm coordination and cyber-physical systems require global classification over distributed sensors, with tight constraints on communication and computation resources. There has been much research in decentralized and distributed data-exchange for communication-efficient collective inference. Likewise, there has been considerable research involving the use of cloud and edge computing paradigms for efficient task allocation. To the best of our knowledge, there has been no research on the integration of these two concepts to create a hybrid cloud and distributed approach that makes dynamic runtime communication strategy decisions. In this paper, we focus on aspects of combining distributed and hierarchical communication and classification approaches for collective inference. We derive optimal policies for agents that implement this hybrid approach, and evaluate their performance under various scenarios of the distribution of underlying data. Our analysis shows that this approach can maintain a high level of classification accuracy (comparable to that of centralised joint inference over all data), at reduced theoretical communication cost. We expect there is potential for our approach to facilitate efficient collective inference for real-world applications, including instances that involves more complex underlying data distributions.
Figures & tables
| Reference | Dist. Data | Agent Based | P2P Comm. | Dynamic Comm. | Pow./Comm. Efficient | Hierarchical | Early Exit/Edge | Value of Information | Cloud/Fog Server(s) |
|---|---|---|---|---|---|---|---|---|---|
| [ 18 ] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |||
| [ 27 ] [ 24 ] | ✓ | ✓ | ✓ | ✓ | |||||
| [ 8 ] | ✓ | ✓ | ✓ | ✓ | |||||
| [ 6 ] | ✓ | ✓ | ✓ | ||||||
| [ 23 ] | ✓ | ✓ | ✓ | ✓ | |||||
| [ 1 ] | ✓ | ✓ |
| The global state or outcome being predicted | |
|---|---|
| Number of sensing devices, or data sources | |
| The random variable describing the data generated at sensor | |
| Used to denote a cloud/fog server where joint classification can be performed. | |
| Cost of communication between sensing devices, or a sensing device and |
| Param. | Explanation |
|---|---|
| , the degree of separation between distribution means for the same sensor under different states | |
| The standard deviation of all distributions | |
| The policy threshold parameter (as per Sec. III-D ) | |
| The energy expended in communicating a single observation from each sensor to the cloud/fog server (as per Sec. III-E2 ) | |
| The overall probability that the sensor will be able to directly make a prediction with confidence greater than . This corresponds to the first component of our proposed policy framework. | |
| A pair of probabilities ( ). is the overall probability that the sensor will decide to make a request for ’s data in the expectation that it has low expected cost – as defined by the second component of our proposed policy. is the probability of such requests being successful. |
| Acc. (%) | Avg. # Direct Decisions | Avg. # Successful Requests. | Avg. Cost | |||
| (1, 1.5) | 0.75 | 1 | 0.119 | 0.0 | 0.0 | 0.0 |
| (1, 1.5) | 0.75 | 2 | 0.119 | 0.88 | 0.203 | 2.281 |
| (1, 1.5) | 0.75 | 4 | 0.119 | 0.88 | 0.203 | 3.682 |
| (1, 1.5) | 0.85 | 1 | 0.013 | 0.0 | 0.0 | 0.0 |
| (1, 1.5) | 0.85 | 2 | 0.013 | 0.986 | 0.073 | 2.814 |
| (1, 1.5) | 0.85 | 4 | 0.013 | 0.986 | 0.073 | 4.643 |
| (1, 1.5) | 0.75 | 5 | 0.119 | (0.88, 0.203) | 0.0 | 4.782 |
| (1, 1.5) | 0.75 | 10 | 0.119 | (0.88, 0.203) | 0.0 | 6.597 |
| (1, 1.5) | 0.75 | 25 | 0.119 | (0.88, 0.203) | 0.0 | 17.839 |
| (1, 1.5) | 0.85 | 5 | 0.013 | (0.986, 0.073) | 0.0 | 5.896 |
| (1, 1.5) | 0.85 | 10 | 0.013 | (0.986, 0.073) | 0.0 | 8.265 |
| (1, 1.5) | 0.85 | 25 | 0.013 | (0.986, 0.073) | 0.0 | 22.935 |
| , | Acc. (%) | Avg. # Direct Decisions | Avg. # Successful Requests. | Avg. Cost | Cloud Acc. | Cloud Avg. Cost | Ind. Acc |
| 2, 0.75, 2 | 0.804 | 1.01 | 0.56 | 1.85 | 0.826 | 4.0 | 0.747 |
| 2, 0.75, 4 | 0.805 | 1.01 | 0.55 | 2.73 | 0.827 | 8.0 | 0.748 |
| 2, 0.75, 6 | 0.807 | 1.01 | 0.56 | 3.57 | 0.827 | 12.0 | 0.749 |
| 2, 0.85, 2 | 0.808 | 0.57 | 0.6 | 3.07 | 0.828 | 4.0 | 0.749 |
| 2, 0.85, 4 | 0.808 | 0.58 | 0.6 | 4.72 | 0.828 | 8.0 | 0.748 |
| 2, 0.85, 6 | 0.806 | 0.57 | 0.6 | 6.39 | 0.829 | 12.0 | 0.748 |
| , , | Acc. (%) | Avg. # Direct Decisions | Avg. # Successful Requests. | Avg. Cost | Cloud Acc. | Cloud Avg. Cost | Ind. Acc |
| 2, 0.75, 2 | 0.786 | 1.02 | 0.42 | 1.84 | 0.829 | 4.0 | 0.748 |
| 2, 0.75, 4 | 0.805 | 1.01 | 0.56 | 2.73 | 0.827 | 8.0 | 0.748 |
| 2, 0.75, 6 | 0.806 | 1.01 | 0.56 | 3.56 | 0.828 | 12.0 | 0.747 |
| 2, 0.85, 2 | 0.78 | 0.58 | 0.32 | 2.8 | 0.828 | 4.0 | 0.747 |
| 2, 0.85, 4 | 0.807 | 0.58 | 0.6 | 4.71 | 0.829 | 8.0 | 0.746 |
| 2, 0.85, 6 | 0.806 | 0.58 | 0.6 | 6.37 | 0.826 | 12.0 | 0.746 |
| , , | Acc. (%) | Avg. # Direct Decisions | Avg. # Successful Requests. | Avg. Cost |
| 2, 0.75, 2 | 0.76 | 1.01 | 0.1 | 1.93 |
| 2, 0.75, 4 | 0.793 | 1.01 | 0.49 | 2.84 |
| 2, 0.75, 6 | 0.806 | 1.01 | 0.55 | 3.61 |
| 2, 0.85, 2 | 0.777 | 0.58 | 0.17 | 2.78 |
| 2, 0.85, 4 | 0.787 | 0.58 | 0.44 | 4.84 |
| 2, 0.85, 6 | 0.8 | 0.57 | 0.54 | 6.56 |
Distributed Inference
Distributed inference runs machine-learning models across multiple devices or sites to meet compute, latency, memory, privacy, and reliability needs.
See all 75 papers