paper-with-me

Papers

A Causal Explainable Guardrails for Large Language Models

2024-05-07 · Zhixuan Chu, Yan Wang, Longfei Li, Zhibo Wang, Zhan Qin, Kui Ren

Large Language Models (LLMs) have shown impressive performance in natural language tasks, but their outputs can exhibit undesirable attributes or biases. Existing methods for steering LLMs toward desired attributes often assume unbiased representations and rely solely on steering prompts. However, the representations learned from pre-training can introduce semantic biases that influence the steering process, leading to suboptimal results. We propose LLMGuardrail, a novel framework that incorporates causal analysis and adversarial learning to obtain unbiased steering representations in LLMs. LLMGuardrail systematically identifies and blocks the confounding effects of biases, enabling the extraction of unbiased steering representations. Additionally, it includes an explainable component that provides insights into the alignment between the generated output and the desired direction. Experiments demonstrate LLMGuardrail's effectiveness in steering LLMs toward desired attributes while mitigating biases. Our work contributes to the development of safe and reliable LLMs that align with desired attributes.

📄 PDF Abstract BibTeX arXiv:2405.04160

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

NaSh: Guardrails for an LLM-Powered Natural Language Shell

2025-06-16 · Bimal Raj Gyawali, Saikrishna Achalla, Konstantinos Kallas, Sam Kumar

We explore how a shell that uses an LLM to accept natural language input might be designed differently from the shells of today. As LLMs may produce unintended or unexplainable outputs, we argue that a natural language s…

Benchmarking LLM Guardrails in Handling Multilingual Toxicity

2024-10-29 · Yahan Yang, Soham Dan, Dan Roth, Insup Lee

With the ubiquity of Large Language Models (LLMs), guardrails have become crucial to detect and defend against toxic content. However, with the increasing pervasiveness of LLMs in multilingual scenarios, their effectiven…

Benchmarking

No Free Lunch with Guardrails

2025-04-01 · Divyanshu Kumar, Nitin Aravind Birur, Tanay Baswa, Sahil Agarwal 외

As large language models (LLMs) and generative AI become widely adopted, guardrails have emerged as a key tool to ensure their safe use. However, adding guardrails isn't without tradeoffs; stronger security measures can …

Intrinsic Guardrails: How Semantic Geometry of Personality Interacts with Emergent Misalignment in LLMs

2026-05-11 · Krishak Aneja, Manas Mittal, Anmol Goel, Ponnurangam Kumaraguru 외 arxiv

Fine-tuning Large Language Models (LLMs) on benign narrow data can sometimes induce broad harmful behaviors, a vulnerability termed emergent misalignment (EM). While prior work links these failures to specific directions…

e-CARE: a New Dataset for Exploring Explainable Causal Reasoning

2022-05-12 · ACL 2022 5 · Li Du, Xiao Ding, Kai Xiong, Ting Liu 외

Understanding causality has vital importance for various Natural Language Processing (NLP) applications. Beyond the labeled instances, conceptual explanations of the causality can provide deep understanding of the causal…

valid