paper-with-me

Papers

Test It Before You Trust It: Applying Software Testing for Trustworthy In-context Learning

2025-04-26 · Teeradaj Racharak, Chaiyong Ragkhitwetsagul, Chommakorn Sontesadisai, Thanwadee Sunetnanta

In-context learning (ICL) has emerged as a powerful capability of large language models (LLMs), enabling them to perform new tasks based on a few provided examples without explicit fine-tuning. Despite their impressive adaptability, these models remain vulnerable to subtle adversarial perturbations and exhibit unpredictable behavior when faced with linguistic variations. Inspired by software testing principles, we introduce a software testing-inspired framework, called MMT4NL, for evaluating the trustworthiness of in-context learning by utilizing adversarial perturbations and software testing techniques. It includes diverse evaluation aspects of linguistic capabilities for testing the ICL capabilities of LLMs. MMT4NL is built around the idea of crafting metamorphic adversarial examples from a test set in order to quantify and pinpoint bugs in the designed prompts of ICL. Our philosophy is to treat any LLM as software and validate its functionalities just like testing the software. Finally, we demonstrate applications of MMT4NL on the sentiment analysis and question-answering tasks. Our experiments could reveal various linguistic bugs in state-of-the-art LLMs.

📄 PDF Abstract BibTeX arXiv:2504.18827

Code (1)

MUICT-SERU/MMT4NL 공식 구현

Tasks

In-Context LearningPhilosophyQuestion AnsweringSentiment Analysissoftware testing

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Assessing the Safety and Reliability of Autonomous Vehicles from Road Testing

2019-08-19 · Xingyu Zhao, Valentin Robu, David Flynn, Kizito Salako 외

There is an urgent societal need to assess whether autonomous vehicles (AVs) are safe enough. From published quantitative safety and reliability assessments of AVs, we know that, given the goal of predicting very low rat…

Autonomous VehiclesBayesian Inference

Opening the Software Engineering Toolbox for the Assessment of Trustworthy AI

2020-07-14 · Mohit Kumar Ahuja, Mohamed-Bachir Belaid, Pierre Bernabé, Mathieu Collet 외

Trustworthiness is a central requirement for the acceptance and success of human-centered artificial intelligence (AI). To deem an AI system as trustworthy, it is crucial to assess its behaviour and characteristics again…

software testing

Before Autonomy Takes Control: Software Testing in Robotics

2026-02-02 · Nils Chur, Thiago Santos de Moura, Argentina Ortega, Sven Peldszus 외 arxiv

Robotic systems are complex and safety-critical software systems. As such, they need to be tested thoroughly. Unfortunately, robot software is intrinsically hard to test compared to traditional software, mainly since the…

Software Testing for Machine Learning

2022-04-30 · Dusica Marijan, Arnaud Gotlieb

Machine learning has become prevalent across a wide variety of applications. Unfortunately, machine learning has also shown to be susceptible to deception, leading to errors, and even fatal failures. This circumstance ca…

BIG-bench Machine Learningsoftware testing

Artificial Intelligence in Software Testing : Impact, Problems, Challenges and Prospect

2022-01-14 · Zubair Khaliq, Sheikh Umar Farooq, Dawood Ashraf Khan

Artificial Intelligence (AI) is making a significant impact in multiple areas like medical, military, industrial, domestic, law, arts as AI is capable to perform several roles such as managing smart factories, driving au…

Autonomous Vehiclessoftware testing