From Online User Feedback to Requirements: Evaluating Large Language Models for Classification and Specification Tasks
Lero, the Research Ireland Centre for Software, University of Limerick(利默里克大学软件研究爱尔兰研究中心 Lero);University College Dublin (UCD)(都柏林大学学院);University of Padova(帕多瓦大学)
Manjeshwar Aniruddh Mallya, Alessio Ferrari, Mohammad Amin Zadenoori, Jacek Dąbrowski
[Context and Motivation] Online user feedback provides valuable information to support requirements engineering (RE). However, analyzing online user feedback is challenging due to its large volume and noise. Large language models (LLMs) show strong potential to automate this process and outperform previous techniques. They can also enable new tasks, such as generating requirements specifications.
[Question-Problem] Despite their potential, the use of LLMs to analyze user feedback for RE remains underexplored. Existing studies offer limited empirical evidence, lack thorough evaluation, and rarely provide replication packages, undermining validity and reproducibility.
[Principal Idea-Results] We evaluate five lightweight open-source LLMs on three RE tasks: user request classification, NFR classification, and requirements specification generation. Classification performance was measured on two feedback datasets, and specification quality via human evaluation. LLMs achieved moderate-to-high classification accuracy (F1 ~ 0.47-0.68) and moderately high specification quality (mean ~ 3/5).
[Contributions] We newly explore lightweight LLMs for feedback-driven requirements development. Our contributions are: (i) an empirical evaluation of lightweight LLMs on three RE tasks, (ii) a replication package, and (iii) insights into their capabilities and limitations for RE.
RITA: A Tool for Automated Requirements Classification and Specification from Online User Feedback
Lero, the Research Ireland Centre for Software, University of Limerick(利默里克大学软件研究爱尔兰研究中心);University College Dublin (UCD)(都柏林大学学院);University of Padova(帕多瓦大学)
Security Tests as Executable Specifications for LLM Code Generation: Benefits, Trade-offs, and Coverage Limits
Chengdu Institute of Computer Applications, Chinese Academy of Sciences(中国科学院成都计算机应用研究所);University of Chinese Academy of Sciences(中国科学院大学);Institute of Multidisciplinary Research for Advanced Materials (IMRAM), Tohoku University(东北大学先进材料多学科研究所);Artificial Intelligence Research Institute, Shenzhen University of Advanced Technology(深圳先进技术研究院人工智能研究所)
FeedbackEval: A Benchmark for Evaluating Large Language Models in Feedback-Driven Code Repair Tasks
School of Software Engineering Sun Yat-sen University(中山大学软件学院);The Hong Kong University of Science and Technology(香港科技大学);School of Computer Science and Engineering Nanyang Technological University(南洋理工大学计算机科学与工程学院);School of Computer Science Fudan University(复旦大学计算机科学学院)
SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproduction
Beihang University(北京航空航天大学);Shanghai Jiao Tong University(上海交通大学);Minzu University of China(中央民族大学);Peking University(北京大学);Zhongguancun Academy(中关村科学院)
SysMoBench: Evaluating AI on Formally Modeling Complex Real-World Systems
Nanjing University(南京大学);Microsoft Research Asia(微软亚洲研究院);University of British Columbia(不列颠哥伦比亚大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
CodeSpecBench: Benchmarking LLMs for Executable Behavioral Specification Generation
The Hong Kong Polytechnic University(香港理工大学);University of Edinburgh(爱丁堡大学);UCL(伦敦大学学院);CUHK (SZ)(香港中文大学(深圳));SUTD(新加坡科技设计大学);HKUST(香港科技大学);CUHK(香港中文大学);HKUST (GZ)(香港科技大学(广州))
LoLBench: Evaluating Coding Agents with Long-Horizon Proposals on Large Software Systems
Fudan University(复旦大学);City University of Hong Kong(香港城市大学);Chinese University of Hong Kong(香港中文大学);Singapore Management University(新加坡管理大学);HKUST (GZ)(香港科技大学(广州));Monash University Malaysia(莫纳什大学马来西亚分校);Harbin Institute of Technology(哈尔滨工业大学)
Evaluating RE Practices for Explainability: Synthesizing Insights from Daimler Truck into an Explainable RE Framework Proposal
TUM School of CIT, Technical University of Munich(慕尼黑技术大学 CIT 学院);Institute of Software Engineering, University of Stuttgart(斯图加特大学软件工程研究所);Department of Computer Science, Vrije Universiteit Amsterdam(阿姆斯特丹自由大学计算机科学系)
Neuro-Symbolic Generation and Validation of Memory-Aware Formal Function Specifications
School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);School of Artificial Intelligence, Shanghai Jiao Tong University(上海交通大学人工智能学院);Shanghai Innovation Institute(上海创新研究院);School of Computer Science and Engineering, University of Washington(华盛顿大学计算机科学与工程学院)