mlsanityData to 7 Oct 2026

RITFIS: Robust input testing framework for LLMs-based intelligent software

arXiv 2402.13518 ↗First posted 21 Feb 2024cs.SE cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

The dependence of Natural Language Processing (NLP) intelligent software on Large Language Models (LLMs) is increasingly prominent, underscoring the necessity for robustness testing. Current testing methods focus solely on the robustness of LLM-based software to prompts. Given the complexity and diversity of real-world inputs, studying the robustness of LLMbased software in handling comprehensive inputs (including prompts and examples) is crucial for a thorough understanding of its performance. To this end, this paper introduces RITFIS, a Robust Input Testing Framework for LLM-based Intelligent Software. To our knowledge, RITFIS is the first framework designed to assess the robustness of LLM-based intelligent software against natural language inputs. This framework, based on given threat models and prompts, primarily defines the testing process as a combinatorial optimization problem. Successful test cases are determined by a goal function, creating a transformation space for the original examples through perturbation means, and employing a series of search methods to filter cases that meet both the testing objectives and language constraints. RITFIS, with its modular design, offers a comprehensive method for evaluating the robustness of LLMbased intelligent software. RITFIS adapts 17 automated testing methods, originally designed for Deep Neural Network (DNN)-based intelligent software, to the LLM-based software testing scenario. It demonstrates the effectiveness of RITFIS in evaluating LLM-based intelligent software through empirical validation. However, existing methods generally have limitations, especially when dealing with lengthy texts and structurally complex threat models. Therefore, we conducted a comprehensive analysis based on five metrics and provided insightful testing method optimization strategies, benefiting both researchers and everyday users.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 19 of its 28 references that are in the map. First posted on arXiv 21 Feb 2024.

Builds on

19 of 28 references.

References · 19

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  3. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
  4. 2023BloombergGPT: A Large Language Model for Financecited by 923
  5. 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 849
  6. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  7. 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
  8. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
  9. 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
  10. 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Promptscited by 218
  11. 2018Stress Test Evaluation for Natural Language Inferencecited by 211
  12. 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 208
7 more
  1. 2023Evaluating Large Language Models: A Comprehensive Surveycited by 200
  2. 2023AnnoLLM: Making Large Language Models to Be Better Crowdsourced Annotatorscited by 171
  3. 2023Large Language Models Understand and Can be Enhanced by Emotional Stimulicited by 143
  4. 2023Text Classification via Large Language Modelscited by 104
  5. 2024Detecting Scams Using Large Language Modelscited by 10
  6. 2023LEAP: Efficient and Automated Test Method for NLP Softwarecited by 6
  7. 2023Quality Assurance of A GPT-based Sentiment Analysis System: Adversarial Review Data Generation and Detectioncited by 1

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 2.

3 papers.