Interpretable Unified Language Checking

Tianhua Zhang, Hongyin Luo, Yung-Sung Chuang, Wei Fang, Luc Gaitskell +5 more
4/7/2023
cs.CL

No official code found. Best implementation: luohongyin/UniLC (32 stars, MIT, last commit 2023-04-15).

Abstract

Despite recent concerns about undesirable behaviors generated by large language models (LLMs), including non-factual, biased, and hateful language, we find LLMs are inherent multi-task language checkers based on their latent representations of natural and social knowledge. We present an interpretable, unified, language checking (UniLC) method for both human and machine-generated language that aims to check if language input is factual and fair. While fairness and fact-checking tasks have been handled separately with dedicated models, we find that LLMs can achieve high performance on a combination of fact-checking, stereotype detection, and hate speech detection tasks with a simple, few-shot, unified set of prompts. With the ``1/2-shot'' multi-task language checking method proposed in this work, the GPT3.5-turbo model outperforms fully supervised baselines on several language tasks. The simple approach and results suggest that based on strong latent knowledge representations, an LLM can be an adaptive and explainable tool for detecting misinformation, stereotypes, and hate speech.

View on arXivView PDF

Code Implementations(1)

luohongyin/UniLCCommunity100%
MIT

Interpretable unified language safety checking with large language models

322Shell, PythonApr 6, 20233 years agoMIT

Similar Papers

Cite this paper

@article{zhang2023interpretable,
  title  = {Interpretable Unified Language Checking},
  author = {Tianhua Zhang and Hongyin Luo and Yung-Sung Chuang and Wei Fang and Luc Gaitskell and Thomas Hartvigsen and Xixin Wu and Danny Fox and Helen Meng and James Glass},
  year   = {2023},
  eprint = {2304.03728},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.03728v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.03728.svg)](https://codeofpaper.com/paper/2304.03728)

Discussion