Assessing biomedical knowledge robustness in large language models by query-efficient sampling attacks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xian, R. Patrick, Lee, Alex J., Lolla, Satvik, Wang, Vincent, Cui, Qiming, Ro, Russell, Abbasi-Asl, Reza
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929608071315456
author Xian, R. Patrick
Lee, Alex J.
Lolla, Satvik
Wang, Vincent
Cui, Qiming
Ro, Russell
Abbasi-Asl, Reza
author_facet Xian, R. Patrick
Lee, Alex J.
Lolla, Satvik
Wang, Vincent
Cui, Qiming
Ro, Russell
Abbasi-Asl, Reza
contents The increasing depth of parametric domain knowledge in large language models (LLMs) is fueling their rapid deployment in real-world applications. Understanding model vulnerabilities in high-stakes and knowledge-intensive tasks is essential for quantifying the trustworthiness of model predictions and regulating their use. The recent discovery of named entities as adversarial examples (i.e. adversarial entities) in natural language processing tasks raises questions about their potential impact on the knowledge robustness of pre-trained and finetuned LLMs in high-stakes and specialized domains. We examined the use of type-consistent entity substitution as a template for collecting adversarial entities for billion-parameter LLMs with biomedical knowledge. To this end, we developed an embedding-space attack based on powerscaled distance-weighted sampling to assess the robustness of their biomedical knowledge with a low query budget and controllable coverage. Our method has favorable query efficiency and scaling over alternative approaches based on random sampling and blackbox gradient-guided search, which we demonstrated for adversarial distractor generation in biomedical question answering. Subsequent failure mode analysis uncovered two regimes of adversarial entities on the attack surface with distinct characteristics and we showed that entity substitution attacks can manipulate token-wise Shapley value explanations, which become deceptive in this setting. Our approach complements standard evaluations for high-capacity models and the results highlight the brittleness of domain knowledge in LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2402_10527
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Assessing biomedical knowledge robustness in large language models by query-efficient sampling attacks
Xian, R. Patrick
Lee, Alex J.
Lolla, Satvik
Wang, Vincent
Cui, Qiming
Ro, Russell
Abbasi-Asl, Reza
Computation and Language
Cryptography and Security
Applications
The increasing depth of parametric domain knowledge in large language models (LLMs) is fueling their rapid deployment in real-world applications. Understanding model vulnerabilities in high-stakes and knowledge-intensive tasks is essential for quantifying the trustworthiness of model predictions and regulating their use. The recent discovery of named entities as adversarial examples (i.e. adversarial entities) in natural language processing tasks raises questions about their potential impact on the knowledge robustness of pre-trained and finetuned LLMs in high-stakes and specialized domains. We examined the use of type-consistent entity substitution as a template for collecting adversarial entities for billion-parameter LLMs with biomedical knowledge. To this end, we developed an embedding-space attack based on powerscaled distance-weighted sampling to assess the robustness of their biomedical knowledge with a low query budget and controllable coverage. Our method has favorable query efficiency and scaling over alternative approaches based on random sampling and blackbox gradient-guided search, which we demonstrated for adversarial distractor generation in biomedical question answering. Subsequent failure mode analysis uncovered two regimes of adversarial entities on the attack surface with distinct characteristics and we showed that entity substitution attacks can manipulate token-wise Shapley value explanations, which become deceptive in this setting. Our approach complements standard evaluations for high-capacity models and the results highlight the brittleness of domain knowledge in LLMs.
title Assessing biomedical knowledge robustness in large language models by query-efficient sampling attacks
topic Computation and Language
Cryptography and Security
Applications
url https://arxiv.org/abs/2402.10527