A Two-Stage Data Selection Framework for Data-Efficient Model Training on Edge Devices

Chen Gong, Rui Xing, Zhenzhe Zheng, Fan Wu · DOI

Overview

Titan is a novel two-stage framework designed to optimize machine learning training on resource-constrained edge devices, such as smartphones and IoT sensors. By integrating a "coarse-grained" filter for rapid data processing with a "fine-grained" selection strategy that prioritizes class diversity, Titan reduces training time by up to 43% while simultaneously improving final model accuracy.

The Challenge: On-Device Training Bottlenecks

Training models directly on edge devices is critical for privacy and personalized user experiences. However, these devices face significant constraints that lead to data under-utilization:

  1. Low Throughput: Processing every collected data point is prohibitively slow.
  2. Limited Storage: Devices cannot retain all data indefinitely.
  3. Diverse Importance: Not all data is equally valuable; many samples are redundant or noisy.

Traditional cloud-based solutions, such as Importance Sampling (IS), often fail in this context because they are computationally too heavy for edge hardware or rely on mathematical assumptions that do not hold for the small "mini-batches" typical of mobile computing.

The Titan Framework: Filter-then-Select

Titan addresses these challenges through a two-stage "filter-then-select" architecture:

  1. Stage 1: Coarse-Grained Filter: As data streams in, Titan utilizes the initial layers of the neural network to extract "shallow features." It evaluates these features for Representativeness (proximity to class centroids) and Diversity (uniqueness relative to the buffer) in mere milliseconds.
  2. Stage 2: Fine-Grained Selection (C-IS): From the filtered candidates, Titan applies Classified Importance Sampling (C-IS). Unlike standard methods that focus purely on gradient norms, C-IS accounts for intra-class variance, ensuring the model selects a diverse set that accurately represents the full data distribution.

System Optimization

To eliminate selection overhead, Titan employs a pipeline design with a "one-round-delay" scheme. This allows the CPU to update the model using current data while the GPU simultaneously uses the previous model state to select the next batch, maximizing hardware utilization.

Figure 2: Comparison of time per round across different data selection methods. Titan (labeled as Camel in the study) demonstrates significantly lower overhead compared to traditional Importance Sampling (IS), which is often too heavy for edge devices.

Experimental Evaluation and Key Results

The framework was rigorously tested on an NVIDIA Jetson Nano using Image Classification (CIFAR-10), Audio Recognition, and Human Activity Recognition tasks.

Performance Highlights

  • Faster Convergence: Titan reached target accuracy 30% to 43% faster than standard random selection.
  • Improved Accuracy: The framework achieved up to a 6.2% increase in final inference accuracy compared to other state-of-the-art selection methods.
  • Minimal Overhead: Titan adds less than 10% to the memory footprint and processes streaming data with a latency of only 4–13ms.
Figure 5: Model accuracy over training rounds for different batch sizes ($|B|=10$ and $|B|=25$). Titan (Camel) consistently outperforms baselines in both convergence speed and final accuracy.

Key Insights

  • Addressing the "Batch-Level" Flaw: The authors demonstrate that standard Importance Sampling is sub-optimal for small batches. C-IS resolves this by prioritizing classes with higher internal diversity.
  • The Power of Shallow Features: Research indicates that the first "block" of a neural network is sufficient for high-quality data filtering; deeper layers can lead to over-specialization and decreased performance.
  • Temporal Stability: Data importance remains stable over short intervals, validating the effectiveness of the one-round-delay pipeline.

Limitations and Future Work

Titan's efficiency is most pronounced on devices with heterogeneous computing resources (e.g., combined CPU and GPU/NPU). On single-core architectures, resource contention may be a factor. Future research will explore adapting Titan for larger foundation models, such as small-scale LLMs, where data selection is increasingly vital due to extreme computational costs.

Summary updated

BibTeX
@inproceedings{gong2025two,
  author = {Chen Gong and Rui Xing and Zhenzhe Zheng and Fan Wu},
  title = {{A Two-Stage Data Selection Framework for Data-Efficient Model Training on Edge Devices}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  doi = {10.1145/3711896.3736823},
}
Figure