Efficiently Computing Susceptibility to Context in Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Tianyu, Du, Kevin, Sachan, Mrinmaya, Cotterell, Ryan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908096547258368
author Liu, Tianyu
Du, Kevin
Sachan, Mrinmaya
Cotterell, Ryan
author_facet Liu, Tianyu
Du, Kevin
Sachan, Mrinmaya
Cotterell, Ryan
contents One strength of modern language models is their ability to incorporate information from a user-input context when answering queries. However, they are not equally sensitive to the subtle changes to that context. To quantify this, Du et al. (2024) gives an information-theoretic metric to measure such sensitivity. Their metric, susceptibility, is defined as the degree to which contexts can influence a model's response to a query at a distributional level. However, exactly computing susceptibility is difficult and, thus, Du et al. (2024) falls back on a Monte Carlo approximation. Due to the large number of samples required, the Monte Carlo approximation is inefficient in practice. As a faster alternative, we propose Fisher susceptibility, an efficient method to estimate the susceptibility based on Fisher information. Empirically, we validate that Fisher susceptibility is comparable to Monte Carlo estimated susceptibility across a diverse set of query domains despite its being $70\times$ faster. Exploiting the improved efficiency, we apply Fisher susceptibility to analyze factors affecting the susceptibility of language models. We observe that larger models are as susceptible as smaller ones.
format Preprint
id arxiv_https___arxiv_org_abs_2410_14361
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficiently Computing Susceptibility to Context in Language Models
Liu, Tianyu
Du, Kevin
Sachan, Mrinmaya
Cotterell, Ryan
Computation and Language
One strength of modern language models is their ability to incorporate information from a user-input context when answering queries. However, they are not equally sensitive to the subtle changes to that context. To quantify this, Du et al. (2024) gives an information-theoretic metric to measure such sensitivity. Their metric, susceptibility, is defined as the degree to which contexts can influence a model's response to a query at a distributional level. However, exactly computing susceptibility is difficult and, thus, Du et al. (2024) falls back on a Monte Carlo approximation. Due to the large number of samples required, the Monte Carlo approximation is inefficient in practice. As a faster alternative, we propose Fisher susceptibility, an efficient method to estimate the susceptibility based on Fisher information. Empirically, we validate that Fisher susceptibility is comparable to Monte Carlo estimated susceptibility across a diverse set of query domains despite its being $70\times$ faster. Exploiting the improved efficiency, we apply Fisher susceptibility to analyze factors affecting the susceptibility of language models. We observe that larger models are as susceptible as smaller ones.
title Efficiently Computing Susceptibility to Context in Language Models
topic Computation and Language
url https://arxiv.org/abs/2410.14361