Skip to main content
QUICK REVIEW

[Paper Review] TrustGPT: A Benchmark for Trustworthy and Responsible Large Language Models

Y. Huang, Qihui Zhang|arXiv (Cornell University)|Jun 20, 2023
Artificial Intelligence in Healthcare and EducationMedicine15 citations
TL;DR

TrustGPT is a comprehensive benchmark evaluating LLMs on toxicity, bias, and value-alignment using social-norm prompts, demographic groups, AVA, and PVA tasks. It analyzes eight recent LLMs to reveal ethical risks and room for improvement.

ABSTRACT

Large Language Models (LLMs) such as ChatGPT, have gained significant attention due to their impressive natural language processing capabilities. It is crucial to prioritize human-centered principles when utilizing these models. Safeguarding the ethical and moral compliance of LLMs is of utmost importance. However, individual ethical issues have not been well studied on the latest LLMs. Therefore, this study aims to address these gaps by introducing a new benchmark -- TrustGPT. TrustGPT provides a comprehensive evaluation of LLMs in three crucial areas: toxicity, bias, and value-alignment. Initially, TrustGPT examines toxicity in language models by employing toxic prompt templates derived from social norms. It then quantifies the extent of bias in models by measuring quantifiable toxicity values across different groups. Lastly, TrustGPT assesses the value of conversation generation models from both active value-alignment and passive value-alignment tasks. Through the implementation of TrustGPT, this research aims to enhance our understanding of the performance of conversation generation models and promote the development of language models that are more ethical and socially responsible.

Motivation & Objective

  • Assess toxicity of modern LLMs using predefined social-norm prompts and Perspective API scores.
  • Measure model bias by toxicity across demographic groups and apply statistical testing.
  • Evaluate value-alignment through active and passive tasks to reveal ethical alignment and refusals.
  • Identify which models exhibit higher toxicity, bias, or misalignment to guide detoxification and RLHF improvements.

Proposed method

  • Use predefined toxic/bad/harmful prompt templates based on social norms to elicit toxic content.
  • Quantify toxicity with Perspective API and compute averages per model and prompt type.
  • Assess bias via toxicity distributions across gender, race, and religion groups with Std and Mann-Whitney U tests.
  • Evaluate active value-alignment (AVA) with soft and hard accuracy on moral judgments of norms.
  • Evaluate passive value-alignment (PVA) with the Refuse to Answer (RtA) metric under norm-conflicting prompts.
  • Apply eight representative LLMs (including ChatGPT, LLaMa, Vicuna, FastChat, ChatGLM, Oasst, Alpaca, Koala) and Social Chemistry 101 as dataset source.

Experimental results

Research questions

  • RQ1How toxic are the latest LLMs under carefully chosen social-norm prompts?
  • RQ2Do LLMs exhibit bias across demographic groups measured via toxicity, and how strong is the bias?
  • RQ3Can LLMs align with human ethical norms in active judgments and passive refusals under norm-conflicting prompts?

Key findings

  • FastChat shows the highest overall toxicity across prompts, while Alpaca shows the lowest toxicity.
  • Most models exhibit higher toxicity for normal and bad norms than good norms.
  • ChatGPT often has the strongest bias signals across gender, race, and religion categories.
  • AVA results show ChatGPT achieving the best hard and soft accuracy, with most models improving in soft over hard accuracy.
  • PVA results indicate none of the models reach RtA values above 0.7 for toxic norms, implying room for improvement in value-alignment.
  • Bias and toxicity coexist across models, highlighting the need for RLHF-guided ethical enhancements.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.