Reproducibility, Replicability and Beyond: Assessing Production Readiness of Aspect Based Sentiment Analysis in the Wild

Rajdeep Mukherjee, Shreyas Shetty, Subrata Chattopadhyay, Subhadeep Maji, Samik Datta, Pawan Goyal · DOI

Introduction

In the landscape of Natural Language Processing (NLP), Aspect-Based Sentiment Analysis (ABSA) serves as a critical bridge between general sentiment and granular insight. It allows businesses to distinguish between a customer liking a product overall versus specific attributes, such as loving a laptop's "screen" while disliking its "battery life." However, a significant gap exists between academic leaderboard performance and real-world deployment. This paper rigorously re-evaluates popular ABSA models to uncover a reproducibility crisis and performance fragility on complex data, while offering a path toward production readiness through strategic data augmentation.

The Production Readiness Challenge

The authors identify three primary hurdles preventing ABSA models from being truly production-ready:

  1. The Reproducibility Crisis: Academic results are often difficult to replicate due to missing hyperparameters or "test set leakage," where models are tuned directly on the test data.
  2. The "Hard Case" Failure: Standard benchmarks often lack complexity. Models that perform well on average frequently fail on sentences with multiple aspects or conflicting sentiments.
  3. Data Hunger: The high cost of annotating data for every new product category (e.g., transitioning from "Laptops" to "T-shirts") makes scaling prohibitively expensive.

Methodology and Evaluation Rubric

The study evaluates six representative models across two families:

  • Memory Network-based: ATAE-LSTM, RAM, and IAN, which utilize attention mechanisms to focus on specific aspect terms.
  • BERT-based: BERT-SPC, BERT-AEN, and LCF-BERT, leveraging large-scale pre-trained language models.

Evaluation was conducted using a "Production Readiness Rubric" that tests for reproducibility (same setup/data), replicability (same setup/new data), performance on challenging slices (hard/contrast sets), and transferability across domains.

Datasets and Benchmarks

The research utilized the gold-standard SemEval 2014 (Task 4) datasets for Laptops and Restaurants. To test real-world applicability, the authors introduced two new large-scale annotated corpora from an Indian e-commerce portal: Men’s T-shirt and Television.

Table 1: Distribution of samples across Train and Test sets for the standard SemEval benchmarks and the newly introduced e-commerce datasets.

Beyond standard sets, the authors curated "Challenging Slices":

  • Hard Set: Sentences with multiple aspects and differing polarities.
  • Contrast Set: Examples where minor word changes flip the sentiment of a specific aspect.

Key Insights: The Fragility of SOTA

The evaluation revealed a "Winner's Curse" in academic rankings. The gap between top-performing models is often smaller than the performance drop observed when models are re-evaluated under strict experimental protocols. Notably, models like BERT-AEN saw a staggering ~40% drop in accuracy when faced with "hard" or "contrast" data slices.

Table 2: Statistics of 'Hard' cases within the test sets, illustrating the relatively small percentage of complex sentiment scenarios available for evaluation.

Furthermore, the study found that locale can be as important as domain. Models transferred more effectively between "Men's T-shirts" and "Televisions" from the same e-commerce platform than between "Laptops" and "Televisions" from different sources, suggesting that linguistic and social context significantly impacts model performance.

Results and Transfer Efficiency

  • Reproducibility Gap: A 4–5% drop in test accuracy was observed when using a proper held-out validation set for tuning instead of the test set.
  • Performance Crash: Challenging data slices caused a 12–55% drop in accuracy. While LCF-BERT proved most robust, it still struggled with contrast sets.
  • The 10% Inflection Point: Perhaps the most promising finding for production is that adding just 10-25% of in-domain data to a model trained on a related domain can close the performance gap, making cross-domain models nearly as effective as fully in-domain ones.

Conclusion

Production readiness in ABSA requires moving beyond average accuracy on "easy" benchmarks. By focusing on reproducibility and robustness against hard cases, and by leveraging small amounts of in-domain data for transfer learning, developers can build models that truly withstand the rigors of the "wild." Future work aims to develop a unified numerical scoring system for production readiness, incorporating factors like latency and model size.

Summary updated

BibTeX
@inproceedings{mukherjee2021reproducibility,
  author = {Rajdeep Mukherjee and Shreyas Shetty and Subrata Chattopadhyay and Subhadeep Maji and Samik Datta and Pawan Goyal},
  title = {{Reproducibility, Replicability and Beyond: Assessing Production Readiness of Aspect Based Sentiment Analysis in the Wild}},
  booktitle = {ECIR},
  year = {2021},
  doi = {10.1007/978-3-030-72240-1\_7},
}
Figure