ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
81
Citations
3
Influential Citations
arXiv.org
Venue
2023
Year
The evaluation of large language models (LLMs) is crucial to assess their performance and mitigate potential security risks. In this paper, we introduce PromptBench, a unified library to evaluate LLMs. It consists of several key components that are easily used and extended by researchers: prompt construction, prompt engineering, dataset and model loading, adversarial prompt attack, dynamic evaluation protocols, and analysis tools. PromptBench is designed to be an open, general, and flexible codebase for research purposes that can facilitate original study in creating new benchmarks, deploying downstream applications, and designing new evaluation protocols. The code is available at: https://github.com/microsoft/promptbench and will be continuously supported.
The rapid advancement of large language models (LLMs) has made their evaluation increasingly critical, not only to assess performance but also to mitigate potential security risks. However, evaluating LLMs is complex due to the diversity of tasks, prompting strategies, and adversarial threats. PromptBench addresses this gap by providing a unified, open-source library that consolidates various evaluation components into a single framework. This matters because it lowers the barrier for researchers to conduct rigorous and reproducible evaluations, fostering comparability across studies.
Moreover, PromptBench emphasizes flexibility and extensibility, allowing researchers to easily adapt it for new benchmarks, downstream applications, and evaluation protocols. By integrating adversarial prompt attacks and dynamic evaluation protocols, it also promotes security-aware evaluation practices. In an era where LLMs are deployed in high-stakes domains, such a toolkit is essential for ensuring robustness and safety.
As a library paper, PromptBench does not report experimental results or performance metrics. Instead, it focuses on describing the design, components, and intended use cases of the library. The paper does not include quantitative comparisons or benchmarks; its contribution is the software infrastructure itself.
PromptBench has the potential to significantly impact the AI research community by standardizing LLM evaluation practices. By providing a comprehensive and extensible toolkit, it enables researchers to conduct more systematic and reproducible evaluations, which is essential for advancing the field. The inclusion of adversarial attacks and dynamic protocols also promotes security and robustness research. As LLMs continue to evolve, tools like PromptBench will be vital for ensuring that evaluation keeps pace with model capabilities and deployment scenarios. Its open-source nature and continuous support from Microsoft further enhance its likelihood of adoption and long-term impact.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba