Alteron: A Tool for Behavioral Regression Testing Across NLP Classifier Versions
Shazzad Hossain, Proma Chowdhury, Mridha Md. Nafis Fuad
Abstract
Evaluating evolving Natural Language Processing (NLP) models is important for ensuring reliable behavior across updates, but standard benchmark metrics do not fully capture how model behavior changes across versions. Existing work has focused mainly on testing models in isolation rather than comparing successive versions in continuous integration workflows. We present Alteron, a tool for detecting behavioral regressions across NLP model versions with metamorphic testing. Alteron constructs a test corpus from labeled source examples and compares model versions on metamorphically transformed inputs. In an evaluation spanning 10 metamorphic relations (MRs), 4 model versions, and 3 model-update transitions, Alteron identified 16 behavioral regressions, 11 of which were release-blocking. The results show that common model updates can preserve overall task performance while still introducing undesirable behavior changes, and that behavioral checks across model versions can reveal failures that aggregate benchmark metrics alone do not capture. The tool is open-source and available at https://github.com/shazzad5709/alteron. A screencast demonstration is available at https://youtu.be/szwiWW5O4do.
Create a lesson
Related papers
BehaVerify: A Formal Verification Tool for Behavior Trees
Shared title terminology · Serena S. Serbinowska, Ben Wooding, Diego Manzanas Lopez et al.
Teralizer: A Tool for Generalizing JUnit Tests into Property-Based jqwik Tests
Shared title terminology · Johann Glock, Clemens Bauer, Martin Pinzger
Using machine learning approaches to classify false-positives generated by static analysis tools - An empirical study using small datasets
Shared title terminology · Lakmal Deshapriya, Sherlock A. Licorish, Brendon J. Woodford
Automated Assertion Generation and Regression Testing for Machine Learning Notebooks
Shared title terminology · Yingao, Yao, Vedant Nimje et al.
Assessing Behavioral Validation in UI Component Test Suites Using Inferred Metamorphic Relations
Shared title terminology · Yu Pei, Cunming Zhang, Jeongju Sohn et al.
CASPER-Change-Aware Slice Prioritization for Efficient Regression Testing of LLM-based systems
Shared title terminology · Biruk Asmare Muse, Lionel Briand, Yiwei Lu et al.