paper-with-me

홈 › Papers

LLMScan: Causal Scan for LLM Misbehavior Detection

2024-10-22 · Mengdi Zhang, Kai Kiat Goh, Peixin Zhang, Jun Sun, Rose Lin Xin, Hongyu Zhang

Despite the success of Large Language Models (LLMs) across various fields, their potential to generate untruthful, biased and harmful responses poses significant risks, particularly in critical applications. This highlights the urgent need for systematic methods to detect and prevent such misbehavior. While existing approaches target specific issues such as harmful responses, this work introduces LLMScan, an innovative LLM monitoring technique based on causality analysis, offering a comprehensive solution. LLMScan systematically monitors the inner workings of an LLM through the lens of causal inference, operating on the premise that the LLM's `brain' behaves differently when misbehaving. By analyzing the causal contributions of the LLM's input tokens and transformer layers, LLMScan effectively detects misbehavior. Extensive experiments across various tasks and models reveal clear distinctions in the causal distributions between normal behavior and misbehavior, enabling the development of accurate, lightweight detectors for a variety of misbehavior detection tasks.

📄 PDF Abstract BibTeX arXiv:2410.16638

Code (2)

anonymousaa1/llm_scan 공식 구현 pytorch
zhangmengling/llmscan 공식 구현 pytorch

Tasks

Causal Inference

Similar Papers 제목 키워드 기반

PAMPOS: Causal Transformer-based Trajectory Prediction for Attack-Agnostic Misbehavior Detection in V2X Networks

2026-05-07 · Konstantinos Kalogiannis, Ahmed Mohamed Hussain, Panos Papadimitratos arxiv

Misbehavior detection in Vehicle-to-Everything (V2X) networks is a second line of defense against insider falsification attacks that cryptographic mechanisms alone cannot address. Existing learning-based Misbehavior Dete…

Trajectory Prediction

LLMSurgeon: Diagnosing Data Mixture of Large Language Models

2026-05-28 · Yaxin Luo, Jiacheng Cui, Xiaohan Zhao, Xinyi Shang 외 arxiv

The pretraining data mixture of Large Language Models (LLMs) constitutes their "digital DNA", shaping model behaviors, capabilities, and failure modes. Yet this composition is rarely disclosed, making post-hoc auditing o…

Detecting Backdoors in Object Detection via Pre-NMS Prediction Distribution Shift

2026-08-19 · Longtian Wang, Zhengyu Zhao, Chenhao Lin, Le Yang 외 arxiv

Object detection models deployed in safety-critical applications remain vulnerable to backdoor attacks that cause targeted misbehaviors when a hidden trigger is present. Existing detection methods either rely on trigger …

Object Detection

A neural-network based anomaly detection system and a safety protocol to protect vehicular network

2024-11-11 · Marco Franceschini

This thesis addresses the use of Cooperative Intelligent Transport Systems (CITS) to improve road safety and efficiency by enabling vehicle-to-vehicle communication, highlighting the importance of secure and accurate dat…

Anomaly Detection

MistralBSM: Leveraging Mistral-7B for Vehicular Networks Misbehavior Detection

2024-07-26 · Wissal Hamhoum, Soumaya Cherkaoui

Vehicular networks are exposed to various threats resulting from malicious attacks. These threats compromise the security and reliability of communications among road users, thereby jeopardizing road and traffic safety. …

Cloud DetectionLanguage ModelingLanguage ModellingLarge Language Model