When a small edge device classifies network traffic or monitors vital signs, most of its time and energy goes into computing the input features, and relatively little into running the classifier. Evolutionary feature selection searches over subsets of features with a population of candidate solutions that are mutated and recombined. It is the strongest tool we have for shrinking these feature sets, but it charges each feature a flat price. Usually the price is simply "one feature." In more careful work, each feature gets its own fixed cost. Neither matches how feature extraction runs on real hardware. Features share work. Spectral entropy and spectral centroid both need the same Fourier transform. Dozens of traffic-flow statistics all require the device to parse packets and keep per-flow state in memory. Once one feature from such a group is computed, its siblings are nearly free, and dropping every member but one saves almost nothing. A selector that counts features, or adds up per-feature costs, will therefore misjudge which subsets are cheap.
We propose to profile feature extraction on physical edge hardware as a graph of shared computational steps. The true cost of a subset is then the cost of the union of steps it switches on. We plug this cost into a multi-objective evolutionary search that trades accuracy against measured end-to-end latency and energy, and we validate every returned subset by running the full device-to-edge pipeline with synchronized clocks. The claim is testable and falsifiable. On workloads where extraction work overlaps, subsets chosen with the shared-step cost should use substantially less measured latency and energy at equal accuracy than subsets chosen with cardinality or additive costs. If overlap is small, the advantage should vanish, and we will say so.
Core Claim
The existing work at this intersection splits into two camps that never meet. The first camp does wrapper-based evolutionary selection, in which each candidate subset is scored by training a classifier on it. It measures only accuracy and subset size. Machine learning for IoT device identification: a comparative study runs binary genetic, particle-swarm and grey-wolf optimizers over ProfilIoT and IoT Sentinel traffic features and reports feature reduction percentages without ever deploying an extractor. Multi-objective Feature Selection in Remote Health Monitoring Applications uses NSGA-II, a standard evolutionary method that returns a whole set of best trade-offs (a Pareto front) rather than one answer, to balance breathing-pattern accuracy against user re-identification on 189 radar features. Its features are pre-extracted on a server. The second camp does take cost seriously. Cost-Aware Feature Selection for IoT Device Classification argues that features have unequal computational, memory and privacy costs and optimizes a risk score under a budget with cross-entropy search. Its costs, however, are static user-assigned values per feature, and the optimization collapses everything into a single constrained objective.
What neither camp models, and what end-to-end edge benchmarking tells us to expect, is that cost is not a property of an individual feature. EdgeBench and OpenRTiST both show that system bottlenecks come from the interaction of pipeline stages rather than from any one component. OpenRTiST finds a roughly 100 ms hardware floor that faster networks cannot remove. EdgeBench shows cloud-side batching delays of 60–90 seconds swamping edge gains. Feature extraction has the same structure in miniature. We therefore define the cost of a binary feature mask $c \in \{0,1\}^N$ as
$$ C(c) = \sum_{p \in \mathrm{cl}(c)} t_p + \beta \, b(c), $$
where $\mathrm{cl}(c)$ is the set of extraction steps (parsing, windowing, transforms, state tables) required by at least one selected feature. Here $t_p$ is the profiled on-device latency or energy of step $p$, $b(c)$ is the number of bytes the device must transmit to the edge server for the chosen features, and $\beta$ converts bytes into the same unit using measured link behaviour. The additive model used implicitly by prior work is the special case in which every feature owns a private step. Our central empirical claim is that this special case badly misranks subsets on realistic IoT and physiological workloads. We also claim that an evolutionary search is the right optimizer for the non-additive cost. Crossover can assemble a set of steps that is shared across features, whereas greedy additions pay the full price of each step before its siblings reveal their value.
Research Program
The first component is a profiling harness. We will reimplement the feature extractors for two workload families on a Raspberry Pi 3B gateway, the platform characterized in EdgeBench. The first family is IoT traffic fingerprinting, following the feature definitions of ProfilIoT and the 111-feature set of the cost-aware study. The second is physiological or radar-style signal features of the kind used in the mmWave study and in the ICU scenario of Edge AIBench. Each extractor is decomposed into named steps. We time each step in isolation and in combination, measure energy with an inline power meter, and record memory. This yields the dependency graph and the $t_p$ values. It also tells us how far real costs depart from additivity: we will compare the measured cost of random subsets against both the additive sum and the shared-step prediction.
We must be honest about data. The file confirms that ProfilIoT and IoT Sentinel are distributed as preprocessed feature tables. Profiling extraction requires raw packet captures or raw signals, and we found no confirmation on Lacuna that raw versions are available. If they are not, we will capture raw traffic from our own device testbed and recompute the same feature definitions. Accuracy numbers will then be reported on both the original tables, for comparability, and our recaptured data.
The second component is the search. We use NSGA-II with the binary feature chromosome of the canonical formulation, as described in Usando um Algoritmo Genético para diminuir a dimensão de um problema de classificação. There are two objectives, cross-validated classification error and $C(c)$. We add a repair-free, step-aware mutation that occasionally flips all features sharing a step together, so the search can cheaply test "keep this step or not." Evaluating $C(c)$ is a lookup in the profiled graph and needs no hardware in the loop. For accuracy we follow the surrogate idea of the mmWave study, which reports roughly a 3× speedup from k-nearest-neighbour surrogates, so the search remains cheap enough to run on a workstation.
The third component is end-to-end validation. Every subset on the final front is deployed as a device-to-edge pipeline. The device computes the selected features and ships them to an edge server running the classifier. Clocks are synchronized with a Stratum-1 NTP server, which EdgeBench reports holds precision within 50 microseconds. We then measure sensor-to-decision latency, device energy per classified window, peak memory and transmitted bytes. The shared-step cost model is only a proxy; these measurements decide the result. We will report how well the model's ranking of subsets matches the measured ranking, and we will treat a poor match as a finding rather than something to hide.
A secondary, clearly optional extension adds one placement bit per extraction step: compute on the device, or ship the step's raw input to the edge. This carries the "bottleneck paradox" identified by SC2 Benchmark over to structured data. Early splitting sends more bytes, late splitting burdens the device. In our setting the split becomes a per-step combinatorial choice rather than a layer index in a neural network.
Baselines
The naive reference point is the full feature set extracted on the device with the same classifier, a Random Forest, which both IoT studies found strongest. Its measured latency, energy and accuracy anchor every comparison. Any method that cannot beat it on measured cost at matched accuracy is useless.
The strongest accuracy-oriented competitor is cardinality-driven wrapper evolution in the style of the comparative IoT study. That study reports the grey-wolf optimizer reaching 98.51% accuracy with 85.11% feature reduction on ProfilIoT, and 99.8% accuracy with 73.33% reduction on IoT Sentinel. It is the strongest competitor because it already produces very small subsets, and small subsets could plausibly be cheap anyway. We will run NSGA-II with a cardinality objective and a binary grey-wolf optimizer on identical data splits, with the same classifier, the same surrogate, and the same number of fitness evaluations as our method. We will then deploy their fronts on the same hardware. No reported result found on Lacuna for measured extraction latency or energy of these subsets, so the systems comparison is new. We beat this baseline if, at every accuracy level within 0.5 points of the full-feature model, our front's measured latency and energy are lower, and if our measured-cost hypervolume is larger across seeds with non-overlapping confidence intervals.
The strongest cost-aware competitor is the cross-entropy method of the cost-aware study. We give it every advantage by feeding it our own profiled per-feature costs rather than hand-assigned ones. That study reports diminishing returns in risk reduction after about 60–70 features, but no measured hardware cost, so there is no reported number to beat directly. We run it across a sweep of budgets with the same evaluation budget and trace out its achieved accuracy against measured cost.
Two ablations isolate our key ingredient. The first uses NSGA-II with the additive profiled cost, so the only difference from our method is the shared-step cost model. The second is a greedy method that adds features by accuracy gain per unit of shared-step cost. It uses the same cost model but a different optimizer, which isolates the contribution of evolutionary search.
Why not just…?
Why not just profile each feature once and add the costs up? This is the most natural fix and the one the cost-aware study implicitly takes. If features rarely share steps, it is sufficient, and our method reduces to it exactly. The additive-cost NSGA-II ablation settles the question directly. We also first report a measured non-additivity statistic for each workload: the gap between the additive sum and the measured cost of random subsets. If that gap is small, we will state that the shared-step model buys nothing on that workload.
Why not just select extraction steps instead of features, with a greedy or group method? This alternative is a genuine threat. When costs live at the step level, choosing steps first and then keeping every feature they produce may capture most of the savings with a far simpler algorithm. Our counter-hypothesis is that feature choice within a step still matters in two ways. The transmitted bytes $b(c)$ scale with the number of features kept. Wrapper accuracy also depends on synergies inside groups, which greedy procedures miss; the cost-aware study observed greedy "spikes" under tight budgets. We will include step-level greedy selection as a named baseline under the identical budget. If it matches our front within seed variance, the recommendation becomes "select steps, not features," and we will say so plainly.
Why not just use a cheap filter such as mutual information under a latency budget? Filters are closed-form and could run on the gateway itself. The comparative IoT study found that correlation and mutual-information filters consistently underperformed wrapper evolution in accuracy because they miss feature interactions. A filter also cannot see shared cost unless one is built on top of our graph, so we include a mutual-information ranking truncated by shared-step budget as a cheap baseline.
Why not just learn a neural compressor for the features, as in split computing? BottleNet++ learns an encoder on the device and a decoder on the edge, and reports up to 64× bandwidth reduction with under 2% accuracy loss on CIFAR-100. That approach compresses what has already been computed; it cannot avoid computing it. On our workloads the dominant cost is extraction itself, and only selection can switch a step off. The profiling data will show directly what fraction of device time falls before any point where a compressor could act.
Proposed Experiments
Experiments run on the recaptured IoT traffic, on the original ProfilIoT and IoT Sentinel tables for accuracy comparability, and on a physiological-signal workload built from the MIMIC-III setting of Edge AIBench. Each method gets the same fitness-evaluation budget and ten seeds. The primary metrics are hypervolume of each front in the space of accuracy against measured end-to-end latency, and separately against device energy per window. We also report measured latency and energy at matched accuracy, and the rank correlation between predicted and measured subset cost.
Three checks are decisive. First, before any search, we quantify non-additivity on each workload. The project's premise stands or falls on whether real extraction costs overlap substantially. Second, our method must beat the additive-cost ablation on measured cost. If it does not, the shared-step model is not worth its complexity. Third, it must beat step-level greedy selection. If it does not, evolutionary search is unnecessary even though the cost insight survives.
We also report the wall-clock and energy cost of running the search itself. Running the search on the gateway is out of scope, but a reviewer should be able to see what the offline search costs relative to the savings it delivers across a deployment.
References
- Machine learning for Internet of Things (IoT) device identification: a comparative study
- Multi-objective Feature Selection in Remote Health Monitoring Applications
- Cost-aware Feature Selection for IoT Device Classification
- EdgeBench: Benchmarking Edge Computing Platforms
- OpenRTiST: End-to-End Benchmarking for Edge Computing
- Edge AIBench: Towards Comprehensive End-to-End Edge Computing Benchmarking
- Usando um Algoritmo Genético para diminuir a dimensão de um problema de classificação
- SC2 Benchmark: Supervised Compression for Split Computing
- BottleNet++: An End-to-End Approach for Feature Compression in Device-Edge Co-Inference Systems