Large language models (LLMs), exemplified by ChatGPT, have gained considerable attention for their excellent natural language processing capabilities. Nonetheless, these LLMs present many challenges, particularly in the realm of trustworthiness. Therefore, ensuring the trustworthiness of LLMs emerges as an important topic. This paper introduces TrustLLM, a comprehensive study of trustworthiness in LLMs, including principles for different dimensions of trustworthiness, established benchmark, evaluation, and analysis of trustworthiness for mainstream LLMs, and discussion of open challenges and future directions. Specifically, we first propose a set of principles for trustworthy LLMs that span eight different dimensions. Based on these principles, we further establish a benchmark across six dimensions including truthfulness, safety, fairness, robustness, privacy, and machine ethics. We then present a study evaluating 16 mainstream LLMs in TrustLLM, consisting of over 30 datasets. Our findings firstly show that in general trustworthiness and utility (i.e., functional effectiveness) are positively related. Secondly, our observations reveal that proprietary LLMs generally outperform most open-source counterparts in terms of trustworthiness, raising concerns about the potential risks of widely accessible open-source LLMs. However, a few open-source LLMs come very close to proprietary ones. Thirdly, it is important to note that some LLMs may be overly calibrated towards exhibiting trustworthiness, to the extent that they compromise their utility by mistakenly treating benign prompts as harmful and consequently not responding. Finally, we emphasize the importance of ensuring transparency not only in the models themselves but also in the technologies that underpin trustworthiness. Knowing the specific trustworthy technologies that have been employed is crucial for analyzing their effectiveness.
TrustLLM: Trustworthiness in Large Language Models
This study assesses the trustworthiness of large language models across various dimensions, including truthfulness, safety, fairness, robustness, privacy, and machine ethics, finding a positive correlation with utility and highlighting differences between proprietary and open-source models.
- Year
- 2024
- Venue
- arXiv 2024
- Authors
- 70
- Hosting
- Abstract onlyARXIV-DEFAULT
Cite
Notes
Only stored in your browser.
Attribution
- Abstract & full text
- arxiv.org/abs/2401.05561v6ARXIV-DEFAULT
- TL;DR
- Semantic Scholar
Abstract
Authors
70Caiming XiongEric XingHeng JiHaoran WangXiao WangMarinka ZitnikXiang LiJames ZouHuaxiu YaoHao liuTianyi ZhouJian LiuJianfeng GaoJiawei HanChunyuan LiYong ChenChaowei XiaoPhilip S. YuYixuan Zhanghuan zhangTianming LiuJian PeiManolis KellisJieyu ZhaoMohit BansalKai-Wei ChangFurong HuangNeil Zhenqiang GongLifu Huangran XuKai ShuJiliang TangYixin LiuLichao SunYuan LiTianlong ChenQuanquan GuJindong WangYue ZhaoYan LiuBhavya KailkhuraXing XieMeng JiangLifang HeYanfang YeYue HuangSiyuan WuQihui ZhangChujie GaoYixin HuangWenhan LyuXiner LiZhengliang LiuYijue WangZhikun ZhangBertie VidgenHongyi WangJoaquin VanschorenJohn MitchellKaidi XuMichael BackesPin-Yu ChenRex YingShuiwang JiSuman JanaWilliam WangXiangliang ZhangXun ChenXuyu WangYinzhi Cao