mlsanityData to 7 Oct 2026

LeCov: Multi-level Testing Criteria for Large Language Models

arXiv 2408.10474 ↗First posted 20 Aug 2024cs.SE cs.AI cs.CLcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  7. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  8. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  9. 2023A Survey of Large Language Modelscited by 2,537
  10. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  11. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  12. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
36 more
  1. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  2. 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 946
  3. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
  4. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 795
  5. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
  6. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
  7. 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
  8. 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
  9. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
  10. 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
  11. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 337
  12. 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
  13. 2023Robots That Ask For Help: Uncertainty Alignment for Large Language Model Plannerscited by 298
  14. 2024TrustLLM: Trustworthiness in Large Language Modelscited by 280
  15. 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
  16. 2023SafetyBench: Evaluating the Safety of Large Language Modelscited by 189
  17. 2018DeepGauge: Multi-Granularity Testing Criteria for Deep Learning Systemscited by 144
  18. 2018Guiding Deep Learning System Testing using Surprise Adequacycited by 123
  19. 2024To Believe or Not to Believe Your LLMcited by 120
  20. 2018Predicting the Generalization Gap in Deep Networks with Margin Distributionscited by 111
  21. 2024Curiosity-driven Red-teaming for Large Language Modelscited by 83
  22. 2023ISR-LLM: Iterative Self-Refined Large Language Model for Long-Horizon Sequential Task Planningcited by 77
  23. 2020Model-based Exploration of the Frontier of Behaviours for Deep Learning System Testingcited by 40
  24. 2018Testing Deep Neural Networkscited by 36
  25. 2019Improving short text classification through global augmentation methodscited by 33
  26. 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChaincited by 31
  27. 2024S-Eval: Towards Automated and Comprehensive Safety Evaluation for Large Language Modelscited by 28
  28. 2019Test Selection for Deep Learning Systemscited by 27
  29. 2020Importance-Driven Deep Learning System Testingcited by 24
  30. 2021Black-Box Testing of Deep Neural Networks Through Test Case Diversitycited by 18
  31. 2019Coverage Guided Testing for Recurrent Neural Networkscited by 15
  32. 2022Aries: Efficient Testing of Deep Neural Networks via Labeling-Free Accuracy Estimationcited by 9
  33. 2022Software Testing for Machine Learningcited by 5
  34. 2024Online Safety Analysis for LLMs: a Benchmark, an Assessment, and a Path Forwardcited by 5
  35. 2024A Software Engineering Perspective on Testing Large Language Models: Research, Practice, Tools and Benchmarkscited by 5
  36. 2024Evaluation and Improvement of Fault Detection for Large Language Modelscited by 1

Built on by

Not cited yet.