LeCov: multi-level test criteria for large language modelsLeCov: Multi-level Testing Criteria for Large Language Models
AI summary
The researchers propose LeCov, a set of multi-level test criteria for large language models, used to discover defects in trustworthiness aspects such as truthfulness and toxicity before deployment. The criteria are based on three types of model-internal components—attention mechanisms, feed-forward neurons, and uncertainty—and comprise nine categories of test criteria in total, to fill the lack of systematic, formal test criteria and to measure the scope and sufficiency of test exploration. The criteria are applied in two scenarios, test prioritization and coverage-guided testing, and experiments on three models and four datasets verify their usefulness and effectiveness.