An Intelligent Edge-centric Queries Allocation Scheme based on Ensemble Models

Kostas Kolomvatsos, Christos Anagnostopoulos

Abstract

As Internet of Things (IoT) ecosystems expand, the traditional cloud-centric data processing model faces significant challenges due to inherent latency and bandwidth constraints. Edge Computing (EC) offers a decentralized alternative by processing data closer to the source; however, the heterogeneous nature of Edge Nodes (ENs) necessitates sophisticated query allocation strategies. This paper presents a meta-ensemble learning scheme designed to intelligently route queries to the most suitable ENs. By integrating contextual vectorization, fuzzy classification, and a hierarchy of ensemble models, the proposed system optimizes resource utilization and minimizes response times in large-scale IoT infrastructures.

1. Introduction

The proliferation of IoT devices has led to an explosion of data, much of which requires real-time processing for applications such as autonomous navigation and industrial automation. While Cloud Computing provides vast resources, the "latency tax"—often ranging from 100ms to 200ms—is frequently prohibitive. Edge Computing mitigates this by utilizing local nodes, but these nodes vary significantly in battery life, processing power, and local data availability.

The core challenge addressed in this research is Query Allocation: determining which specific edge node should handle a given user query (e.g., a range-based SQL request). Inefficient allocation leads to resource bottlenecks, energy waste, and increased latency. This paper proposes a robust meta-ensemble framework to solve this multi-class classification problem by evaluating node health and data relevance in real-time.

2. Methodology

2.1 Contextual Vectorization and Fuzzy Classification

The system begins by generating a context vector ($v_i$) for every incoming query relative to each available node. This vector encapsulates five critical features:

  • Query Complexity ($o$): Determined via a Fuzzy Classification Process (FCP) to estimate the computational weight of the task.
  • Deadline ($a$): The temporal constraint for the query response.
  • Information Relevance ($r_i$): A mathematical estimation of how well a node's local dataset matches the query's constraints, preventing "empty set" responses.
  • Node Load ($l_i$) and Speed ($s_i$): Real-time telemetry indicating the node's current utilization and throughput capacity.

2.2 The Meta-Ensemble Architecture

To avoid the pitfalls of individual machine learning models, such as local optima, the authors implement a "meta-ensemble" hierarchy. The architecture utilizes three primary ensemble techniques—AdaBoost, Stacking, and Bagging—each comprising ten distinct base learners, including Decision Trees, Naive Bayes, and Neural Networks.

To select the optimal node from a pool of candidates, the system employs a One-Over-All (OVA) approach, running binary classifications for each node and ranking the results. The final decision is governed by one of two fusion strategies:

  • Conjunctive Scheme (CS): Requires unanimous agreement among the ensemble models for an allocation, prioritizing precision and load optimization.
  • Majority Voting Scheme (MVS): A relaxed approach where the majority of models determine the allocation, prioritizing system throughput.

3. Experimental Setup

The framework was evaluated using four distinct datasets to ensure robustness across various network conditions:

  • Datasets 1 & 2: Synthetic traces utilizing Uniform distributions to simulate query deadlines and node characteristics.
  • Dataset 3: Synthetic traces utilizing Gaussian (Normal) distributions to simulate realistic, clustered data patterns.
  • Dataset 4: A real-world trace of processor utilization from a 2D message-passing multiprocessor architecture, providing realistic node load ($l$) scenarios.
  • Complexity Benchmarks: Standardized SQL query complexity benchmarks were used to calibrate the FCP.

4. Key Results and Discussion

4.1 Accuracy and Load Optimization

The Fuzzy Classification Process demonstrated exceptional precision ($\upsilon = 1.0$) for detecting query complexity at a 0.8 threshold. In terms of resource management, the Conjunctive Scheme (CS) proved highly effective at identifying the least burdened nodes. As the network scaled to 500 nodes, the variance between the selected node's load and the theoretical optimal load converged toward zero, indicating near-perfect load balancing.

4.2 Throughput and Scalability

The system maintains high performance under heavy traffic. The CS model successfully allocated between 35 and 420 queries per second, while the MVS model achieved up to 430 queries per second. While increasing the number of nodes ($N$) slightly increases the "Conclusion Time" for the central controller due to the increased number of context vectors, the overall quality of allocation improves significantly as the pool of potential "perfect" nodes grows.

4.3 Comparative Performance

The meta-ensemble approach consistently outperformed previous iterations (designated M1, M2, and M3) by providing a more holistic balance between processing speed and CPU load, validating the "hierarchy of wisdom" concept in complex edge environments.

5. Conclusion

This research introduces a data-aware, ensemble-based query allocation scheme that significantly improves the efficiency of Edge Computing networks. By prioritizing information relevance and node health, the system reduces latency and prevents node exhaustion.

Future work will address the current reliance on supervised learning and labeled datasets. The authors intend to develop an unsupervised, incremental learning model that can adapt to dynamic network environments in real-time without the computational overhead of pre-labeled training phases. Additionally, addressing the potential bottleneck of a centralized Query Controller (QC) remains a priority for future architectural refinements.

Summary updated

BibTeX
@article{kolomvatsos2020intelligent,
  author = {Kostas Kolomvatsos and Christos Anagnostopoulos},
  title = {{An Intelligent Edge-centric Queries Allocation Scheme based on Ensemble Models}},
  journal = {ACM Trans. Internet Techn.},
  year = {2020},
  doi = {10.1145/3417297},
}
Figure