Can We Trust a Black-box LLM? LLM Untrustworthy Boundary Detection via Bias-Diffusion and Multi-Agent Reinforcement Learning
Organizations: Worcester Polytechnic Institute, USA · Indiana University Bloomington, USA
Abstract
Large Language Models (LLMs) have shown a high capability in answering questions on a diverse range of topics. However, these models sometimes produce biased, ideologized or incorrect responses, limiting their applications if there is no clear understanding of which topics their answers can be trusted. In this research, we introduce a novel algorithm, named as GMRL-BD, designed to identify the untrustworthy boundaries (in terms of topics) of a given LLM, with black-box access to the LLM and under specific query constraints. Based on a general Knowledge Graph (KG) derived from Wikipedia, our algorithm incorporates with multiple reinforcement learning agents to efficiently identify topics (some nodes in KG) where the LLM is likely to generate biased answers. Our experiments demonstrated the efficiency of our algorithm, which can detect the untrustworthy boundary with just limited queries to the LLM. Additionally, we have released a new dataset containing popular LLMs including Llama2, Vicuna, Falcon, Qwen2, Gemma2 and Yi-1.5, along with labels indicating the topics on which each LLM is likely to be biased.
Figures & tables
| Models | Immigration | Politics | Education | Economy |
| Llama-2 | 90.34 | 76.67 | 71.63 | 86.00 |
| Vicuna | 78.61 | 53.79 | 58.25 | 63.41 |
| Falcon | 90.69 | 70.41 | 65.50 | 83.88 |
| Methods | Immigration-Task | Culture-Task | AI-Task |
| GMRL-BD | 0.895 | 0.915 | 0.96 |
| w/o sage layer | 0.751 | 0.725 | 0.863 |
| w/o att layer | 0.802 | 0.778 | 0.9 |
| w/o sage layer+att layer | 0.618 | 0.319 | 0.75 |
| Graph-enhanced Attention Driven Q-Network | 0.710 | 0.770 | 0.845 |
| Uniform Exploration and Exploitation | 0.705 | 0.265 | 0.380 |
LLM Auditing
Large language model auditing tests models and deployed systems for bias, safety, privacy, reliability, and provenance using behavioral and internal evidence.
See all 639 papers