TextFlint: A unified multilingual robustness evaluation toolkit for natural language processingTextFlint: Unified Multilingual Robustness Evaluation Toolkit for Natural Language Processing
The authors propose TextFlint, a multilingual robustness evaluation platform for natural language processing tasks. It supports general text transformations, task-specific transformations, adversarial attacks, subpopulations and their combinations, and users can automatically evaluate or customize evaluation with a small amount of code. All text transformations are based on linguistic rules, and each transformation was manually evaluated. The platform generates complete analysis reports and targeted augmented data to address model robustness weaknesses. The authors conducted over 67,000 evaluations on advanced deep learning models, classical supervised methods and real systems; almost all models showed significant performance degradation, with BERT's prediction accuracy dropping by more than 50% on tasks such as aspect-level sentiment classification, named entity recognition and natural language inference.