LeCov: Multi-level Testing Criteria for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are widely used in many different domains, but because of their limited interpretability, there are questions about how trustworthy they are in various perspectives, e.g., truthfulness and toxicity. Recent research has started developing testing methods for LLMs, aiming to uncover untrustworthy issues, i.e., defects, before deployment. However, systematic and formalized testing criteria are lacking, which hinders a comprehensive assessment of the extent and adequacy of testing exploration. To mitigate this threat, we propose a set of multi-level testing criteria, LeCov, for LLMs. The criteria consider three crucial LLM internal components, i.e., the attention mechanism, feed-forward neurons, and uncertainty, and contain nine types of testing criteria in total. We apply the criteria in two scenarios: test prioritization and coverage-guided testing. The experiment evaluation, on three models and four datasets, demonstrates the usefulness and effectiveness of LeCov.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 48 of its 65 references that are in the map. First posted on arXiv 20 Aug 2024.
Builds on
48 of 65 references.
References · 48
- 2017Attention Is All You Needcited by 59,932
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2023A Survey of Large Language Modelscited by 2,537
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
36 more
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 946
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
- 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
- 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
- 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
- 2023Robots That Ask For Help: Uncertainty Alignment for Large Language Model Plannerscited by 298
- 2024TrustLLM: Trustworthiness in Large Language Modelscited by 280
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
- 2023SafetyBench: Evaluating the Safety of Large Language Modelscited by 189
- 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 144
- 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 123
- 2024To Believe or Not to Believe Your LLMcited by 120
- 2018Predicting the Generalization Gap in Deep Networks with Margin Distributionscited by 111
- 2024Curiosity-driven Red-teaming for Large Language Modelscited by 83
- 2023ISR-LLM: Iterative Self-Refined Large Language Model for Long-Horizon Sequential Task Planningcited by 77
- 2020Model-based Exploration of the Frontier of Behaviours for Deep Learning System Testingcited by 40
- 2018Testing Deep Neural Networkscited by 36
- 2019Improving short text classification through global augmentation methodscited by 33
- 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChaincited by 31
- 2024S-Eval: Towards Automated and Comprehensive Safety Evaluation for Large Language Modelscited by 28
- 2019Test Selection for Deep Learning Systemscited by 27
- 2020Importance-Driven Deep Learning System Testingcited by 24
- 2021Black-Box Testing of Deep Neural Networks Through Test Case Diversitycited by 18
- 2019Coverage Guided Testing for Recurrent Neural Networkscited by 15
- 2022Aries: Efficient Testing of Deep Neural Networks via Labeling-Free Accuracy Estimationcited by 9
- 2022Software Testing for Machine Learningcited by 5
- 2024Online Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forwardcited by 5
- 2024A Software Engineering Perspective on Testing Large Language Models: Research, Practice, Tools and Benchmarkscited by 5
- 2024Evaluation and Improvement of Fault Detection for Large Language Modelscited by 1
Built on by
Not cited yet.