RegTrieve: Reducing System-Level Regression Errors for Machine Learning Systems via Retrieval-Enhanced Ensemble
Open Access
- 19 June 2025
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 2 (FSE) , 1960-1982
Abstract
Multiple machine learning (ML) models are often incorporated into real-world ML systems. However, updating an individual model in these ML systems frequently results in regression errors, where the new model performs worse than the old model for some inputs. While model-level regression errors have been widely studied, little is known about how regression errors propagate at system level. To address this gap, we propose RegTrieve, a novel retrieval-enhanced ensemble approach to reduce regression errors at both model and system level. Our evaluation across various model update scenarios shows that RegTrieve reduces system-level regression errors with almost no impact on system accuracy, outperforming all baselines by 20.43% on average.Keywords
This publication has 40 references indexed in Scilit:
- FT2Ra: A Fine-Tuning-Inspired Approach to Retrieval-Augmented Code Completion2024
- Feature Interactions on Steroids: On the Composition of ML ModelsIEEE Software, 2022
- GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformers2022
- Machine Learning Testing: Survey, Landscapes and HorizonsIEEE Transactions on Software Engineering, 2020
- Fairseq S2T: Fast Speech-to-Text Modeling with Fairseq2020
- Explaining Regressions via Alignment Slicing and MendingIEEE Transactions on Software Engineering, 2019
- Strategy-proof Pareto-improvementJournal of Economic Theory, 2019
- Know What You Don’t Know: Unanswerable Questions for SQuAD2018
- SQuAD: 100,000+ Questions for Machine Comprehension of Text2016
- Regression testing minimization, selection and prioritization: a surveySoftware Testing, Verification and Reliability, 2012