Skip to main content
QUICK REVIEW

[Paper Review] PolyDroid: Learning-Driven Specialization of Mobile Applications

Brian L. Heath, Neelay Velingker|arXiv (Cornell University)|Feb 25, 2019
Data Stream Mining TechniquesComputer Science23 references3 citations
TL;DR

PolyDroid is a learning-driven framework that automatically specializes Android apps based on user preferences using active learning to minimize user experiments. It achieves over 85% of optimal user experience with just two user experiments by learning trade-offs between resource savings and perceived quality.

ABSTRACT

The increasing prevalence of mobile apps has led to a proliferation of resource usage scenarios in which they are deployed. This motivates the need to specialize mobile apps based on diverse and varying preferences of users. We propose a system, called PolyDroid, for automatically specializing mobile apps based on user preferences. The app developer provides a number of candidate configurations, called reductions, that limit the resource usage of the original app. The key challenge underlying PolyDroid concerns learning the quality of user experience under different reductions. We propose an active learning technique that requires few user experiments to determine the optimal reduction for a given resource usage specification. On a benchmark suite comprising 20 diverse, open-source Android apps, we demonstrate that on average, PolyDroid obtains more than 85% of the optimal performance using just two user experiments.

Motivation & Objective

  • Address the challenge of customizing mobile app behavior for diverse user preferences across varying device capabilities and network conditions.
  • Reduce the need for manual configuration by developers to balance resource usage (CPU, memory, network) and user experience quality.
  • Minimize the number of costly user experiments required to determine the optimal app reduction for individual users.
  • Enable personalized app specialization by directly querying end users rather than relying on crowdsourced surveys or heuristics.
  • Decouple the optimization of resource-quality trade-offs from application implementation, allowing reusable, configuration-driven specialization.

Proposed method

  • App developers provide multiple candidate reductions—configurations that limit resource usage—along with test scripts to exercise differences from the original app.
  • Resource usage (CPU, memory, network) is measured via emulation for each reduction, enabling precise quantification of savings.
  • User experience quality is assessed through user experiments, with a focus on minimizing the number of required experiments.
  • PolyDroid employs Thompson sampling-based active learning to intelligently select which reductions to test next, prioritizing those most likely to improve the trade-off.
  • A Bayesian prior is learned from historical data across previously analyzed apps to guide initial sampling and enable zero-experiment inference (68% of optimal with no user input).
  • The system dynamically selects the reduction that optimizes a weighted combination of resource savings and user experience score based on real-time feedback.

Experimental results

Research questions

  • RQ1Can active learning significantly reduce the number of user experiments needed to identify the optimal app reduction for a given user preference?
  • RQ2How effective is PolyDroid in achieving near-optimal user experience quality when only a small number of user experiments are performed?
  • RQ3To what extent can historical data from other apps inform the selection of optimal reductions for a new app with zero user experiments?
  • RQ4Can PolyDroid personalize app specialization to individual user preferences without relying on external crowdsourcing platforms?
  • RQ5How do different types of reductions (e.g., image quality, animation removal) affect the trade-off between resource savings and perceived user experience?

Key findings

  • On average, PolyDroid achieves more than 85% of the optimal user experience performance using only two user experiments per app.
  • With zero user experiments, PolyDroid achieves approximately 68% of the optimal performance by leveraging a Bayesian prior trained on historical data from other apps.
  • The framework successfully identifies high-quality reductions across 20 diverse open-source Android apps, demonstrating broad applicability.
  • The use of Thompson sampling-based active learning enables efficient exploration of the reduction space, reducing the number of required user experiments by orders of magnitude compared to random or uniform sampling.
  • User experience scores for reductions range from 1.8 (low quality) to 9.0 (original), with significant resource savings—up to 93.7% in network data and 33.2% in memory—while maintaining acceptable user experience.
  • PolyDroid enables direct personalization through end-user feedback, making it suitable for real-world deployment without reliance on third-party crowdsourcing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.