TL;DR
This paper investigates the effectiveness of pre-trained language models (PTMs) like BERT and RoBERTa for automatically generating responses to mobile app user feedback. While PTMs showed lower scores on automatic metrics compared to a baseline Transformer and RRGEN, human evaluations revealed they produce more relevant, informative, and fluent responses, and are more robust to reduced training data.
What Problem Does This Paper Address?
App developers receive a massive volume of user feedback on app stores, and responding to this feedback has been shown to significantly increase app ratings and downloads. Manually crafting these responses is time-consuming. While existing models like RRGEN can generate replies, they often require substantial training data. This paper explores whether pre-trained language models (PTMs), which leverage vast amounts of text data to learn general language understanding, can be effectively fine-tuned to generate high-quality, contextually relevant responses to app reviews, potentially reducing the need for extensive task-specific training data.
Methods
The researchers trained and evaluated three main types of models:
- Transformer (from scratch): A standard Transformer architecture was trained from the ground up on the app review dataset. This serves as a baseline for the neural architecture itself.
- RRGEN: This is a Recurrent Neural Network (RNN)-based model, considered a state-of-the-art baseline for app review response generation at the time of the study. It incorporates app-specific information.
- Pre-trained Language Models (PTMs): Two popular PTMs, BERT and RoBERTa, were fine-tuned for the task. These models leverage their pre-trained knowledge from large corpora. The authors adapted them into a sequence-to-sequence (seq2seq) encoder-decoder framework, a common approach for generation tasks.
The models were evaluated using both automatic metrics (BLEU-n, ROUGE-L) and human evaluations, and their performance was also assessed under varying amounts of training data.
Datasets
The study utilized a large dataset previously released by Farooq et al. [3], containing approximately 570,881 review-response pairs from Google Play. To ensure responses were specific to individual reviews, duplicate review-response pairs were removed, resulting in 239,360 unique pairs. This dataset was split into training, validation, and test sets with an 8:1:1 ratio.
Key Insights and Ideas
- The PTM Paradox: PTMs (BERT, RoBERTa) produced responses that human evaluators found superior in relevance, informativeness, and fluency, yet they scored lower on automatic metrics like BLEU and ROUGE-L compared to a Transformer trained from scratch and the RRGEN baseline.
- Longer Responses, Lower Automatic Scores: The PTMs tended to generate longer responses than the ground truth and other models. This difference in length and sentence structure, even if grammatically sound, can negatively impact n-gram overlap-based automatic metrics.
- PTM Robustness to Data Scarcity: PTMs demonstrated remarkable resilience when the training data was reduced to 1/3 of the original size. Their performance drop was significantly less pronounced than that of the RRGEN model, highlighting the value of their pre-trained knowledge.
- Transformer's Middle Ground: The Transformer model trained from scratch showed a good balance, achieving high automatic scores and being less impacted by data reduction than RRGEN, though not as robust as the PTMs.
Key Results
- Automatic Metrics: The Transformer model trained from scratch achieved the highest BLEU-1 to BLEU-4 and ROUGE-L scores, followed by RRGEN. BERT and RoBERTa scored lower on these metrics.
- Human Evaluation: Human evaluators rated BERT's responses highest for accuracy, informativeness, and fluency, even slightly surpassing developer responses in some aspects. Overall preference also ranked BERT highly, close to developer responses.
- Training Data Reduction: When training data was reduced to 1/3, PTMs showed minimal performance degradation, while RRGEN experienced a significant drop in scores.
- Prediction Time: RRGEN was the fastest model, generating responses in 0.07 seconds. The Transformer was next at 0.5 seconds, while BERT and RoBERTa took 1.31 and 1.33 seconds, respectively. PTMs were approximately 19 times slower than RRGEN.
- Response Length: PTMs generated the longest responses, averaging around 57-62 tokens, compared to developer responses (40.81 tokens) and RRGEN (42.97 tokens).
Limitations and Future Work
- Human Evaluation Sample Size: The human evaluation was conducted on a sample of 100 reviews, which the authors acknowledge might not perfectly represent the entire dataset.
- Dataset Bias: The dataset is from Google Play, and its distribution might not generalize to other app stores.
- Automatic Metric Limitations: The study highlights the limitations of automatic metrics in capturing the nuances of generated text, especially when response styles differ significantly from the ground truth.
- Future Work: The authors suggest incorporating more app-specific information (like app category and description) and exploring information retrieval techniques to improve response accuracy. They also propose adapting PTMs for better performance and efficiency in this domain, potentially by controlling response length or exploring lighter Transformer architectures.
Summary updated