Automating App Review Response Generation

Cuiyun Gao, Jichuan Zeng, Xin Xia, David Lo, Michael R. Lyu, Irwin King

TL;DR

This paper introduces RRGen, a novel deep learning approach that automatically generates relevant and accurate responses to app reviews. By incorporating review attributes like star ratings and keywords, RRGen significantly outperforms existing methods, aiming to alleviate the significant manual effort developers face in responding to user feedback.

What Problem Does This Paper Address?

App developers receive a constant stream of user reviews, which are crucial for understanding user experience, identifying bugs, and improving their applications. Responding to these reviews has been shown to positively impact app ratings and user engagement. However, the sheer volume of reviews makes manual responses a labor-intensive task. Current solutions often rely on simple templates, which lack personalization and may not fully address user concerns. This paper tackles the challenge of automating this response generation process to make it more efficient and effective.

Methods

The core of RRGen is an enhanced Neural Machine Translation (NMT) model, specifically an attentional RNN Encoder-Decoder architecture. What makes RRGen novel is its explicit incorporation of review-specific characteristics beyond just the text itself. These include:

  • A Component (Attributes): This includes high-level attributes like the app's category, the review's length, the user's star rating, and the predicted sentiment of the review. These attributes are encoded into continuous vectors using Multi-Layer Perceptrons (MLPs).
  • K Component (Keywords): This component leverages a pre-defined dictionary of keywords associated with common app review topics (e.g., GUI, pricing, features). These keywords are integrated at the token level to better capture the review's topical focus.

The model is trained in a supervised manner using a large dataset of app reviews and their corresponding developer responses. The attention mechanism allows the model to focus on relevant parts of the review when generating the response, further enhancing accuracy.

Datasets

The authors collected a substantial dataset for their experiments:

  • Dataset: 309,246 review-response pairs from 58 popular apps on Google Play.
  • Data Collection: Apps were selected based on popularity and availability. Reviews and responses were scraped, followed by extensive preprocessing to handle noisy text, normalize data (e.g., replacing digits with <digit>, emails with <email>), and remove irrelevant entries.
  • Splitting: The dataset was split into training (80%), validation (10%), and testing (10%) sets.

Key Insights and Ideas

  • Beyond Text: Attributes Matter: Simply treating reviews as raw text is insufficient. Incorporating structured attributes like star ratings and sentiment significantly boosts response generation quality.
  • Keywords as Signals: Explicitly integrating topic-related keywords helps the model understand the core of a user's feedback, leading to more relevant responses.
  • Sentiment Nuance: While user ratings are important, accurately capturing the expressed sentiment in the review text is crucial for crafting an appropriate response.
  • Attention is Key: The attention mechanism is vital for aligning review content with response generation, allowing the model to "focus" on the most important parts of the user's feedback.

Key Results

  • Quantitative Performance: RRGen significantly outperformed baseline models (random selection, basic NMT, and NNGen) with at least a 67.4% improvement in BLEU-4 scores. The model achieved a BLEU-4 score of 36.17%, compared to NMT's 21.61%.
  • Attribute Impact: All incorporated attributes (app category, review length, rating, sentiment, keywords) individually improved performance over the basic NMT model. App category and user rating showed the most significant gains.
  • Human Evaluation: A user study with 20 participants confirmed RRGen's effectiveness. RRGen's responses were rated highly for relevance and accuracy, closely approaching those of human developers, and significantly outperforming the other automated approaches.

Limitations and Future Work

  • Limited App Scope: The study focused on free apps from Google Play. Future work could expand to include paid apps and other app stores (like Apple's App Store).
  • Attribute Completeness: While RRGen incorporates key attributes, other characteristics like review title length or post date were not considered.
  • Sentiment Prediction Accuracy: The reliance on an external sentiment analysis tool (SentiStrength) might introduce inaccuracies.
  • Post-Processing Needs: RRGen generates responses with placeholders (e.g., <email>) and may require further refinement for highly sensitive cases. The authors propose post-processing steps like placeholder replacement and a quality assurance filter.
  • Future Directions: The authors suggest developing a more comprehensive system that can intelligently route reviews to either be ignored, handled by human experts, or responded to by an automated bot. They also aim to evaluate RRGen on a larger dataset and deploy it with industry partners.

Summary updated

BibTeX
@inproceedings{gao2019automating,
  author = {Cuiyun Gao and Jichuan Zeng and Xin Xia and David Lo and Michael R. Lyu and Irwin King},
  title = {{Automating App Review Response Generation}},
  booktitle = {ASE},
  year = {2019},
  doi = {10.1109/ase.2019.00025},
}
Figure