TrustLLM: Trustworthiness of Large Language ModelsTrustLLM: Trustworthiness in Large Language Models
The authors propose the TrustLLM benchmark, evaluating the trustworthiness of 16 mainstream LLMs across 6 dimensions and 30 datasets, and provide rankings and observations.
- LLMs are widely used but their trustworthiness is questionable, while existing evaluations mostly cover only individual dimensions of trustworthiness and lack a unified, comprehensive definition and benchmark. The authors aim to answer "how trustworthy LLMs actually are" and how to evaluate them systematically.
- The authors reviewed about 600 papers and proposed principles for 8 trustworthiness dimensions, built a benchmark for 6 of them (truthfulness, safety, fairness, robustness, privacy, machine ethics), and evaluated 16 mainstream LLMs using 30 datasets and multiple automated evaluation methods.
- The evaluation shows: trustworthiness and utility are overall positively correlated; proprietary models are overall better than most open-source models, but the Llama2 series approaches or exceeds proprietary models on multiple tasks; stereotype recognition is overall weak (GPT-4's overall accuracy is only 0.656); the Llama2 series has an over-refusal problem.
- The authors point out that the two dimensions of transparency and accountability are difficult to benchmark and were not included in the evaluation; the safety evaluation covers only output safety and does not include backdoor attacks; OOD generalization is approximated using datasets released after 2021, whose limitations the authors acknowledge; the evaluation uses automated classifiers and LLM judges in place of humans.
- Evaluated models
- GPT-3.5-turbo (ChatGPT)GPT-4ERNIE-3.5-turbotext-bison-001 (PaLM 2)Llama2-7b-chatLlama2-13b-chatLlama2-70b-chatMistral-7bVicuna-33bVicuna-13bVicuna-7bChatGLM2Baichuan-13bWizardlm-13bKoala-13bOasst-12b
- Benchmarks
- TrustLLM(30 个数据集,含 SQuAD2.0、TruthfulQA、HaluEval、Jailbreak Trigger、XSTEST、AdvGLUE、AdvInstruction、Enron Email、ETHICS 等)
- Metrics
- AccuracyRtA (Refuse to Answer)ASR (Attack Success Rate)Macro/Micro F1Toxicity ValuePearson's correlationEmbedding similarityp-valueRS (Robustness Score)
The paper proposes the TrustLLM benchmark, which evaluates the trustworthiness of large language models across six dimensions: truthfulness, safety, fairness, robustness, privacy, and machine ethics, and evaluates 16 mainstream models using more than 30 datasets. The study first proposes principles for trustworthy large language models spanning eight dimensions. The evaluation finds that model trustworthiness and utility are generally positively correlated; proprietary models are generally more trustworthy than most open-source models, based on which the authors raise concerns about the potential risks of widely available open-source models, though a few open-source models are already very close to proprietary models; some models may over-calibrate trustworthiness performance, misjudging benign prompts as harmful and refusing to answer, harming utility. The authors also emphasize that, beyond the models themselves, the trustworthiness techniques adopted should also be disclosed so that their effectiveness can be analyzed.
Paper analysis
What problem does this paper attempt to solve?
How to define and systematically evaluate LLM trustworthiness: the authors propose 8-dimensional principles and a benchmark covering 6 dimensions and 30 datasets.
Core question: how trustworthy are LLMs and how should they be evaluated—the paper proposes TrustLLM, a set of trustworthiness principles plus a benchmark covering 6 dimensions and 30 datasets, and evaluates 16 mainstream LLMs.
- Problem setting: the authors say LLMs are already widely used in writing, search, healthcare, finance and other scenarios, but their outputs are complex and diverse, training data contain bias and private information, and user expectations are high, creating trustworthiness risks (Section 1).
- Existing gaps: the authors believe existing taxonomies are either incomplete in coverage (e.g., HELM, Do-Not-Answer) or have overlapping subcategories and are hard to operationalize into evaluation benchmarks; most related benchmarks cover only individual dimensions of trustworthiness (Table 1 compares 25 related benchmarks).
- Core challenges: the authors summarize three points—lack of an agreed definition of trustworthiness dimensions, benchmarks need to be scalable across model sizes and domains, and practical evaluation methods are needed that can reveal subtle biases (Section 1).
- Proposed approach: reviewing about 600 papers from the past five years, the paper proposes principles for 8 trustworthiness dimensions (truthfulness, safety, fairness, robustness, privacy, machine ethics, transparency, accountability); because transparency and accountability are hard to benchmark, the actual benchmark covers the remaining 6 dimensions, 18+ subcategories and 30 datasets, and evaluates 16 proprietary and open-source LLMs (Sections 1, 4, 5).
What related research exists?
The paper reviews along three lines: LLM evaluation, vendors' trustworthy technologies, and trustworthiness benchmarks, and uses Table 1 to compare the dimension coverage of 25 benchmarks.
LLM Evaluation Methods
- Comprehensive benchmarks such as GLUE and SuperGLUE — covering general language tasks such as text classification, reasoning, and generation (Section 3.2).
- n-gram overlap metrics such as BLEU and ROUGE — the authors point out that when multiple correct ways of generating exist, these give correct answers low scores (Section 3.2).
Vendors' Trustworthiness Technologies (Section 3.3)
- OpenAI — training-data filtering, WebGPT-assisted human evaluation, Red Teaming Network, and moderation; Meta — Llama2's safety fine-tuning, red teaming, and Llama Guard; Anthropic — publicly releasing 38,961 red-team attack data and Constitutional AI.
- Microsoft — Responsible AI Standard, DecodingTrust (trustworthiness evaluation of GPT models), and PromptBench (prompt robustness); Google — safety filters and adversarial testing of Gemini; IBM — Watsonx.governance.
Trustworthiness-Related Benchmarks (Section 3.4)
- DecodingTrust — evaluates GPT models from the perspectives of toxicity, stereotype, adversarial robustness, privacy, machine ethics, etc.; HELM — improves transparency through multi-scenario, multi-metric evaluation.
- Do-Not-Answer — a dataset containing only prompts that a responsible model should refuse; SafetyBench — 7 categories of safety multiple-choice questions; CVALUES, SC-Safety — safety evaluation for Chinese models.
- PromptBench, GLUE-x — robustness evaluation; HaluEval — hallucination evaluation; Latent Jailbreak — safety and output robustness when malicious instructions are included.
- The authors argue that most of these benchmarks cover only specific aspects of trustworthiness and are not comprehensive enough, and use Table 1 to compare the coverage of 25 benchmarks across 6 dimensions: only TrustLLM covers all 6 dimensions simultaneously.
Positioning: the authors state that TrustLLM is a comprehensive, integrated benchmark covering more than 18 subcategories, 30 datasets, and 16 LLMs, distinct from existing work that covers only a single dimension (Sections 1, 3.4).
How does the paper address this problem?
First define 8-dimensional principles, then build a benchmark for 6 dimensions: 30 datasets, two task types (generation/classification), automated scripts plus LLM review.
The overall approach has two steps: first distill 8-dimensional principles of trustworthy LLMs from a literature review, then build the TrustLLM benchmark for the 6 dimensions that are operable, evaluating 16 LLMs under a unified setting (Figure 2).
Principles and dimension definitions
- Two researchers independently screened about 600 papers from the past five years on ACM, IEEE Xplore and arXiv, and coded and summarized 8 dimensions, defined in Table 2 (e.g., truthfulness is "the accurate representation of information, facts and results").
- The authors explicitly treat utility (functional effectiveness) separately from the 8 trustworthiness dimensions; transparency and accountability are only discussed (Section 12, 13) and are not included in the benchmark.
Benchmark structure: 6 dimensions, 18+ subcategories, 30 datasets
- Truthfulness: misinformation generation (internal-knowledge zero-shot QA, external-knowledge fact-checking), hallucination (4 tasks: MC/QA/dialogue/summarization), sycophancy (persona and preference types), adversarial fact correction.
- Safety: jailbreak (self-built Jailbreak Trigger, 5 major categories and 13 subcategories of attacks), over-safety (XSTEST), toxicity (measured with the Perspective API on outputs after successful jailbreaks), misuse (Do-Not-Answer, Do-Anything-Now and a self-built supplementary set).
- Fairness: stereotype (three tasks: agreement, recognition, query), derogation (salary prediction on the Adult dataset plus chi-square test), preference bias (120 pairs of opposing views).
- Robustness: natural noise (AdvGLUE 4 tasks, self-built AdvInstruction with 11 perturbations) and OOD (ToolE-adapted data for detection, Flipkart and DDXPlus for generalization).
- Privacy: privacy awareness (ConfAIde usage agreement, self-built 280 scenario queries) and privacy leakage (Enron Email, four templates in 0-shot/5-shot).
- Machine Ethics: implicit ethics (ETHICS, Social Chemistry 101), explicit ethics (Moral Choice low/high ambiguity), emotion awareness (4 datasets).
Evaluation settings and judging methods
- Models and decoding: 16 LLMs (4 proprietary + 12 open-source, Table 3); temperature=0 for classification tasks and temperature=1 for generation tasks to explore worse cases; no few-shot except for privacy leakage, and no prompting techniques such as CoT (Section 5.2).
- Judging: tasks with standard answers use keyword/regex matching, and when matching fails, ChatGPT/GPT-4 is used to extract keywords; generation tasks are reviewed by GPT-4 (complex tasks) or ChatGPT (simple tasks); refusal judging uniformly uses a fine-tuned Longformer classifier (600M), which the authors say performs close to humans and GPT-4 (Section 5.2).
- Metrics: Accuracy, RtA, ASR, Macro/Micro F1, toxicity value, Pearson correlation, embedding similarity, p-value, RS (defined as Acc(adv) − ASR), etc., depending on the task (Table 5).
What experiments did the paper conduct?
Unified evaluation of 16 LLMs on 30 datasets: GPT-4 leads on multiple items, Llama2 is safe but over-refuses, and stereotype recognition is overall weak.
Experimental Setup
- Models evaluated: 16 — proprietary: GPT-4, GPT-3.5-turbo (ChatGPT), ERNIE-3.5-turbo, text-bison-001 (PaLM 2); open-source: Llama2-7b/13b/70b-chat, Mistral-7b, Vicuna-7b/13b/33b, ChatGLM2, Baichuan-13b, Wizardlm-13b, Koala-13b, Oasst-12b (Table 3). The safety restrictions of the PaLM 2 API were removed (Table 3 note).
- Datasets: 30, ranging in size from 100 (each QA subset) to 1300 (Jailbreak Trigger); details in Table 4.
- Evaluation methods: a Longformer classifier judges refusals; ChatGPT/GPT-4 perform generative-task evaluation and answer extraction; toxicity uses the Perspective API; similarity uses text-embedding-ada-002 (Section 5.2).
- Samples and repetitions: sample sizes for each dataset are in Table 4; the paper does not report the number of repetitions.
Main Results
Safety dimension (Table 17; higher RtA is better; for over-safety, lower RtA is better):
Swipe horizontally to read the table
Model Jailbreak RtA↑ Misuse RtA↑ Average toxicity↓ Over-safety RtA↓ GPT-4 0.914 0.924 0.386 0.085 ChatGPT 0.898 0.910 0.352 0.150 ERNIE 0.949 0.899 0.072 0.385 PaLM 2 0.486 0.473 0.317 0.377 Llama2-70b 0.974 0.956 0.248 0.315 Llama2-7b 0.945 0.943 0.191 0.490 Baichuan-13b 0.250 0.114 0.112 0.190 Vicuna-33b 0.585 0.735 0.294 0.035 (According to Table 17; Mistral-7b, Llama2-13b, Vicuna-7b/13b, Wizardlm-13b, Koala-13b, Oasst-12b, and ChatGLM2 are omitted, among which ChatGLM2 has a jailbreak RtA of 0.845 and Oasst-12b has a misuse RtA of 0.583, the lower among open-source models.)
- The authors state that proprietary models are overall better than most open-source models, but the Llama2 series surpasses proprietary models on jailbreak and misuse; Baichuan-13b ranks last on jailbreak and misuse.
- The authors state that the Llama2 series and ERNIE have the most severe over-safety, and that models with more severe over-safety are better at resisting jailbreak, arguing that most models have only learned shallow alignment knowledge.
- Figure 6 shows that the leetspeak and multitask jailbreak types have relatively high success rates (per the authors).
Truthfulness and Fairness
- Internal and external knowledge: all models perform poorly on zero-shot QA (Table 7, e.g., GPT-4 has an accuracy of 0.050 on CODAH); fact-checking with external evidence improves markedly (GPT-4 has a Macro F1 of 0.854 on SciFact, the highest for ERNIE — in the table ERNIE is 0.854 and GPT-4 is 0.833). The authors state that LLMs enhanced with external knowledge exceed the SOTA reported by the original datasets.
- Hallucination: GPT-4 is best on MC (0.835) and summarization (0.760), and ChatGLM2 is best on QA (0.600) and KGD (0.500) (Table 9).
- Stereotype: recognition tasks are overall weak, with GPT-4 having the highest overall accuracy at 0.656 and Oasst-12b only 0.327 (Table 21); on agreement, GPT-4 and ERNIE have the lowest overall agreement rate at 0.018, while Oasst-12b reaches 0.722 (Table 20); on query tasks, half the models have an RtA of 1.000 (Table 22).
Robustness, Privacy, and Ethics
- Robustness: on AdvGLUE, PaLM 2 leads with an average Acc(adv) of 0.763 and ASR of 0.156 (Table 27); on AdvInstruction, Llama2-70b has the highest average similarity at 97.64% and Vicuna-7b the lowest at 88.77% (Table 29); on OOD detection, GPT-4 has the highest RtA at 0.805 and Baichuan-13b only 0.004 (Table 30); on OOD generalization, GPT-4 has the highest overall F1 at 0.923 (Table 31). The authors state that parameter scale has no stable positive correlation with OOD performance.
- Privacy: in privacy-awareness task 1, ChatGPT has the highest Pearson correlation with human judgment at 0.665, and Oasst-12b is -0.161 (Table 33); in task 2, the Llama2 series reaches an RtA of 1.000, and after adding a privacy-policy prompt most models' RtA rises (Table 34). On leakage, the authors state that the Llama2 series refuses almost 100% of the time under 0-shot, whereas GPT-4, ChatGPT, and Vicuna under 5-shot often have a TD exceeding 48%, with GPT-4 reaching a TD of 68% under template D (Section 10.2; the table is in the unappended part).
- Ethics: the authors state that most models have an accuracy below 70% on low-ambiguity implicit ethics tasks; in high-ambiguity scenarios the Llama2 series reaches an RtA of 99.9%; on awareness tasks GPT-4 has an average accuracy of 94% across 4 datasets (Section 2.2; the detailed table is in the unappended part).
Other Ablations and Analyses
- Sycophancy: Llama2-70b has the highest persona similarity at 0.043, and ChatGPT has the lowest preference change rate at 0.257 (Table 12).
- Counterfactual: GPT-4 has the highest correction rate at 0.813, and Llama2-70b 0.794 (Table 14).
- Derogation: for Oasst-12b and Vicuna-7b, the p-values for both the sex and race attributes are greater than 0.05; for ERNIE the sex attribute p = 3.176e-45 (Table 23).
- Preference: under plain baseline GPT-4 has an RtA of 1.000, and under force selection ERNIE has the highest overall RtA at 0.942 (Table 25).
- Toxicity distribution: Figure 7 shows that the Vicuna series has more high-toxicity points, and almost all points for ERNIE and Baichuan-13b are below 0.2.
What are some points that can be further explored?
The authors discuss transparency, accountability, and open challenges; the experiments cover 16 models and 6 dimensions, and transparency and accountability are not benchmarked.
Limitations noted by the authors and future directions
- Transparency and accountability are hard to benchmark: the authors say that because benchmarking these two dimensions is difficult, the benchmark covers only 6 of the 8 dimensions (Section 1, contributions).
- Scope of safety: the authors explicitly state that TrustLLM focuses on output safety, and backdoor attacks are not within the evaluation scope (Section 7 Goals).
- Limitations of OOD datasets: the authors acknowledge that using datasets released after 2021 to approximate OOD has inherent limitations, and look forward to more inclusive datasets in the future (Section 9.2.2).
- Jailbreak dataset to be expanded: the authors say Jailbreak Trigger is designed to be extensible, and they plan to systematically add more jailbreak methods as new research emerges (Section 7.1).
- Open challenges and future directions: the paper has Open Challenges (Section 14) and Future Work (Section 15) sections, but the supplied text does not include their specific content.
Scope of experiments
- 16 models were tested (4 proprietary, 12 open-source), all listed in Table 3.
- The evaluation covers 6 dimensions and 30 datasets; each dataset has 100–1300 samples (Table 4).
- Judging uses automated scripts, a Longformer classifier and ChatGPT/GPT-4 review; the paper does not report agreement values between reviewers and humans, nor the number of repeated experiments.
- Jailbreak evaluation covers 13 types of attacks; the authors state that translation-based jailbreaks relying on language bias and some optimization-based, white-box-only jailbreak methods were not included (Section 7.1).
- Privacy leakage is based only on the Enron Email dataset with 4 templates and 0-shot/5-shot settings (Section 10.2).
Summarize the main content of the paper
TrustLLM: 8-dimensional trustworthiness principles plus a 6-dimensional benchmark; evaluation of 16 LLMs shows proprietary models lead overall, Llama2 is close but over-refuses.
TrustLLM is a study of LLM trustworthiness: the authors distilled principles for 8 trustworthiness dimensions from about 600 papers, built a benchmark for 6 of them (truthfulness, safety, fairness, robustness, privacy, machine ethics), and evaluated 16 mainstream LLMs (4 proprietary + 12 open-source) using 30 datasets, with judging combining automated scripts, a Longformer classifier and ChatGPT/GPT-4 review.
- Problem to solve: existing trustworthiness evaluations have incomplete dimensions or are hard to operationalize; the authors aim to answer "how trustworthy are LLMs" and provide a unified evaluation framework.
- Method highlights: temperature=0 for classification tasks and temperature=1 for generation tasks; zero-shot for most tasks; self-built datasets such as Jailbreak Trigger (13 attack types), AdvInstruction (11 perturbations) and privacy scenario queries.
- Main results:
- Safety: GPT-4 jailbreak RtA 0.914, Llama2-70b 0.974, Baichuan-13b only 0.250 (Table 17).
- Over-safety: Llama2-7b RtA 0.490 on XSTEST; the authors say most models exhibit over-alignment.
- Fairness: stereotype recognition is generally weak, and GPT-4's overall accuracy of 0.656 is already the highest (Table 21).
- Robustness: OOD detection GPT-4 RtA 0.805, Baichuan-13b 0.004 (Table 30).
- Privacy: ChatGPT's correlation with human privacy judgments is 0.665, the highest (Table 33); the authors say most models leak to varying degrees on Enron Email.
- Authors' conclusions: the authors say trustworthiness and utility are generally positively correlated; proprietary models overall outperform most open-source models, but Llama2 approaches or exceeds proprietary models on multiple tasks, showing open-source models can achieve relatively high trustworthiness without relying on external modules; the authors argue that both models and trustworthy technologies should be transparent, and call for an AI alliance among industry, academia and the open-source community.