The increase of Internet of Things devices and the rise of more computationally intense applications presents challenges for future Internet of Things architectures. We envision a future in which edge, fog, and cloud devices work together to execute future applications. Because the entire application cannot run on smaller edge or fog devices, we will need to split the application into smaller application components. These application components will send event messages to each other to create a single application from multiple application components. The execution location of the application components can be optimized to minimize the resource consumption. In this paper, we describe the Distributed Uniform Stream (DUST) framework that creates an abstraction between the application components and the middleware which is required to make the execution location transparent to the application component. We describe a real-world application that uses the DUST framework for platform transparency. Next to the DUST framework, we also describe the distributed DUST Coordinator, which will optimize the resource consumption by moving the application components to a different execution location. The coordinators will use an adapted version of the Contract Net Protocol to find local minima in resource consumption.
Machine Learning (ML) has made its way into a wide variety of advanced applications, where high accuracies can be achieved when these ML models are evaluated in the same context as they were trained and validated on. However, when these high-accuracy models are exposed to out-of-distribution points such as noisy inputs, their performance could potentially degrade significantly. Recommending the most suitable ML model that retains a higher accuracy when exposed to these noisy inputs can overcome this performance degradation. For this, a mapping between the noise distribution at the input and the resulting accuracy needs to be obtained. Though, this relationship is costly to evaluate as this is a computationally intensive task. To minimize this computional cost, we employ metalearning to predict this mapping; that is, the performance of different ML models is predicted given the distribution parameters of the input noise. Although metalearning is an established research field, performance predictions based on noise distribution parameters have not been accomplished before. Hence, this research focuses on predicting the per-class classification performance based on the distribution parameters of the input noise. For this, our approach is twofold. First, in order to gain insights in this noise-to-performance relationship, we analyse the per-class performance of well-established convolutional neural networks through our multi-level Monte Carlo simulation. Second, we employ metalearning to learn this relationship between the input noise distribution and the resulting per-class performance in a sample-efficient way by incorporating Latin Hypercube Sampling. The noise performance analyses present novel insights about the per-class performance degradation when gradually increasing noise is augmented on the input. Additionally, we show that metalearning is capable of accurately predicting the per-class performance based on the noise distribution parameters. We also show the relationship between the number of metasamples and the metaprediction accuracy. Consequently, this research enables future work to make accurate classifier recommendations in noisy environments.
Machine Learning (ML) models are being deployed in numerous applications, ranging from autonomous vehicles to robotics. However, the performance of these ML models is highly dependent on situations within the application, such as noisy inputs or distorted images. Dealing with these different situations is complex, as the ‘no free lunch’ theorem states there is no single ML model that is able to achieve high performances in all situations. Selecting the model that is most suitable for a given context would therefore be beneficial. Although metalearning-based Algorithm Selection (AS) has proven to be an effective way of selecting the most suitable ML model for complete datasets, limited research has been done regarding dealing with dynamic data samples. This is especially important for noisy data samples, as noise highly affects the performance of ML models, such as image classifiers. Employing metalearning-based ML for selecting the best image classifier to classify the given noisy images has not been done before. Therefore, this work presents a methodology for carrying out this selection through metalearning. Based on the learned relationship between classification performance and the context of the noisy image, our AS strategy is able to select the most optimal image classifier for a specific situation. We compare different metamodels that carry out this selection, while we also compare the use of regression-based and classification-based selection. In our results, we show that there is a clear benefit in exploiting the robustness of different classifiers on the CIFAR-100 dataset via AS, as the per-class and overall classification accuracies are increased. We also compare our metalearing-based selection with random selection of image classifiers to show the significance of our AS methodology. Hence, this research enables future works to select the most suitable image classifying AS given the image context and noise distribution parameters.