Aspect-Based API Review Classification: How Far Can Pre-Trained Transformer Model Go?
chengran Yang, Bowen Xu, Junaed younus Khan, Gias Uddin, Donggyun Han,, Zhou Yang, David Lo

TL;DR
This paper evaluates the effectiveness of six pre-trained transformer models, including domain-specific and general models, for classifying API reviews into different aspects, showing significant improvements over traditional machine learning methods.
Contribution
It systematically compares six pre-trained transformer models for aspect-based API review classification, demonstrating their superior performance over existing state-of-the-art solutions.
Findings
All six models outperform traditional machine learning methods.
F1-score improvements range from 21.0% to 30.2%.
BERTOverflow does not outperform BERT, and CosSensBERT shows mixed results.
Abstract
APIs (Application Programming Interfaces) are reusable software libraries and are building blocks for modern rapid software development. Previous research shows that programmers frequently share and search for reviews of APIs on the mainstream software question and answer (Q&A) platforms like Stack Overflow, which motivates researchers to design tasks and approaches related to process API reviews automatically. Among these tasks, classifying API reviews into different aspects (e.g., performance or security), which is called the aspect-based API review classification, is of great importance. The current state-of-the-art (SOTA) solution to this task is based on the traditional machine learning algorithm. Inspired by the great success achieved by pre-trained models on many software engineering tasks, this study fine-tunes six pre-trained models for the aspect-based API review…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software System Performance and Reliability · Software Engineering Techniques and Practices
