Evaluating Software User Feedback Classifiers on Unseen Apps, Datasets, and Metadata

Peter Devine, Yun Sing Koh, Kelly Blincoe

TL;DR

Most machine learning models for classifying software user feedback are tested on data very similar to what they were trained on. This study reveals a "generalization gap": while these models handle new apps within the same platform well, they struggle significantly when moved to entirely new datasets or platforms. Surprisingly, adding metadata like star ratings provides almost no statistical boost to modern transformer-based classifiers.

Introduction

Software developers are increasingly reliant on automated classifiers to manage the deluge of user feedback from app stores, Twitter, and community forums. These tools typically categorize feedback into "bug reports" or "feature requests." However, a significant methodological flaw exists in current research: models are often evaluated using a "mixed" approach, where feedback from the same application appears in both training and testing sets. This creates a blind spot regarding the model's ability to work "out-of-the-box" for new apps or different platforms. This paper investigates whether these classifiers are truly robust or merely over-fitting to specific datasets and labeling conventions.

Experimental Methodology

The researchers employed state-of-the-art Natural Language Processing (NLP) techniques, specifically DistilBERT, to address three core research questions:

  1. Unseen Apps (RQ1): Comparing "Mixed" configurations (randomly splitting all feedback) against "Separated" configurations (ensuring the test set contains only apps the model has never seen).
  2. Unseen Datasets (RQ2): Testing cross-dataset performance, including a Leave-One-Out (LOO) approach and Zero-Shot classification.
  3. Metadata Integration (RQ3): Testing whether prepending metadata tags (e.g., [METADATA rating 3]) to the text improved classification.
Figure 1: Visualizing the difference between Mixed and Separated configurations for training and validation splits.

Dataset Characteristics

The study utilized seven unique datasets (labeled A through G) sourced from six prior research studies. These datasets cover diverse domains including app store reviews, Twitter posts, and community forum posts. The scale ranges from 707 to 4,385 feedback items, with the number of distinct apps within a single dataset ranging from 2 to 705.

Table 1: Overview of the seven datasets (A-G) used in the study, detailing domains, sizes, and baseline classification performance.

Key Insights and Results

The Generalization Gap

  • App-Agnostic Feedback: Models performed nearly as well on unseen apps as they did on seen apps within the same dataset (RQ1). This suggests that "bug-speak" and "feature-request-speak" are relatively consistent across different software products on the same platform.
  • Cross-Dataset Performance: Performance plummeted when models were moved between datasets (RQ2). For instance, a model trained on Dataset B might achieve an F1 of 0.72 on its own test set but drop to 0.31 on Dataset C. This is likely due to varying researcher definitions of labels like "bug" vs. "error."
  • Mitigation Strategies: Leave-One-Out (LOO) training significantly mitigated cross-dataset drops, often outperforming single-dataset models. Additionally, Zero-Shot models often outperformed mismatched single-dataset models when no labeled data was available.

The Metadata Myth

  • Redundancy in Deep Learning: Explicit metadata, such as star ratings, failed to provide a statistically significant improvement in F1 scores for the majority of datasets (RQ3). Modern transformer models like BERT likely infer the "sentiment" or "urgency" typically associated with low ratings directly from the text itself.

Limitations and Future Work

The study focused on binary classification ("Bug" vs. "Not Bug"), potentially overlooking more nuanced categories like "User Experience." Furthermore, the researchers did not perform extensive hyperparameter tuning for every model, which might have yielded marginal gains.

Future research should explore why feature requests remain harder to classify than bug reports and investigate a wider variety of feedback labels. To support the community, the authors have released their classifiers on the Huggingface platform.

Summary updated

BibTeX
@inproceedings{devine2021evaluating,
  author = {Peter Devine and Yun Sing Koh and Kelly Blincoe},
  title = {{Evaluating Software User Feedback Classifiers on Unseen Apps, Datasets, and Metadata}},
  booktitle = {Zenodo},
  year = {2021},
  doi = {10.5281/zenodo.5733504},
}
Figure