Dynamic Sensing: Better Classification under Acquisition Constraints

Oran Richman, Shie MannorICML 2015

Introduction

Most machine learning systems treat every data point as equally "expensive" to acquire, but not all samples are equally difficult to classify. In real-world deployments—especially on mobile devices or remote sensors—data acquisition is expensive. High-fidelity data requires more battery power, higher bandwidth, or more memory. Usually, engineers pick a "safe" uniform sampling rate or resolution that fits the hardware constraints, resulting in mediocre data quality for every single sample.

This paper introduces Dynamic Sensing, a method that actively allocates limited resources (like power or bandwidth) to specific samples during the test phase to maximize overall classification accuracy. By spending more on "ambiguous" samples and less on "obvious" ones, the authors achieve significantly better performance than uniform resource allocation. The core challenge addressed is how to mathematically determine the "sweet spot" for resource allocation to minimize total error under a global budget.

Methodology: Data Quality Management

The authors propose a two-stage Data Quality Management (DQM) process to dynamically allocate resources:

  1. Coarse Acquisition: Perform a "cheap," low-quality scan of the sample to get an initial estimate ($\tilde{x}$).
  2. Refined Acquisition: Based on that initial estimate, use a learned quality function $r(\tilde{x})$ to decide how many resources to "spend" on a second, higher-quality measurement.
System Architecture

The core contribution is a formal optimization problem: minimizing the expected classification error subject to a constraint on the average resources used across all samples.

  • For known distributions, they derive an optimal solution using the Euler equation from the calculus of variations.
  • For unknown distributions (the more practical case), they approximate the resource allocation function using Radial Basis Functions (RBFs) and provide theoretical generalization bounds using Rademacher complexity.

Key Insights and Ideas

The most surprising finding of the paper is the optimal allocation strategy, which follows a "Goldilocks" principle.

Resource Allocation Strategy
  • The "Goldilocks" Allocation: You should spend the most resources on samples that are near the decision boundary but still "winnable."
  • Don't Spend on the Impossible: Counterintuitively, the model suggests spending fewer resources on samples that are extremely close to the decision boundary. If a sample is right on the line, the error rate will be near 0.5 regardless of how much data you collect. It’s better to save those resources for samples where a little extra precision actually flips the result from "uncertain" to "correct."
  • Separating System from Disturbance: Unlike previous "active classification" works that use discrete decision trees, this model treats the decision space as continuous. This allows for more granular control over resources like sampling rates or window lengths.

Datasets and Key Results

The method was evaluated on three distinct types of data, measuring "Lift"—the ratio of the error rate under uniform allocation to the error rate under their DQM method.

  1. Synthetic Toy Database: 3,000 linearly separable samples in 4D space, used to validate the theoretical lift over uniform allocation. Achieved an average lift of 1.31.
  2. IRIS Dataset: A classic UCI repository dataset where authors simulated quantization noise (bandwidth constraints) to test the model on non-linearly separable real-world data. Achieved a lift of 1.09. The improvement was lower here because the data resides in tight clusters, making the "distance from the divider" more uniform across samples.
  3. Speaker Identification Corpus: The MIT Mobile Device Speaker Verification Corpus represents a real-life scenario where "noise" comes from shorter recording lengths. Achieved a lift of 1.204. Crucially, for the same level of performance, the DQM method allowed for a ~20% reduction in resources (recording length/computation).

Limitations and Future Work

While promising, the method has limitations. The "coarse" requirement assumes you can get a cheap look at the data first; in some hardware setups, the overhead of two-stage acquisition might negate the resource savings. Additionally, the optimal allocation depends heavily on knowing the classifier's decision boundary. If the initial classifier is poor, the resource allocation will be suboptimal.

Future directions suggested by the authors include exploring different loss functions beyond simple "expected error" and investigating scenarios where the coarse measurement ($\tilde{x}$) and the refined measurement ($x$) exist in entirely different feature spaces (e.g., using low-power location data to decide whether to trigger a high-power acoustic sensor).

Summary updated

BibTeX
@inproceedings{richman2015dynamic,
  author = {Oran Richman and Shie Mannor},
  title = {{Dynamic Sensing: Better Classification under Acquisition Constraints}},
  booktitle = {International Conference on Machine Learning},
  year = {2015},
  url = {https://openreview.net/forum?id=BkZ05jWdbB},
}
Figure