Mitigating the Influence of Distractor Tasks in LMs with Prior-Aware Decoding

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Douglas, Raymond, Draguns, Andis, Gavenčiak, Tomáš
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908089442107392
author Douglas, Raymond
Draguns, Andis
Gavenčiak, Tomáš
author_facet Douglas, Raymond
Draguns, Andis
Gavenčiak, Tomáš
contents The broad capabilities of Language Models (LMs) can be limited by their sensitivity to distractor tasks: LMs can infer secondary tasks from the prompt in addition to the intended one, leading to unwanted outputs. For example, prompt injection attacks can cause models to deviate from explicit directives. In some 'inverse scaling' cases, this unwanted behaviour actually worsens as models scale up to at least 540B parameters. We present a theoretical framework that interprets LMs as a product of experts that combine multiple data generation processes. Based on this framework, we demonstrate prior-aware decoding (PAD) - a simple contrastive inference method to reduce the influence of distractor tasks. We apply PAD to eleven models, across four datasets, and find improvements in 41 out of 44 task-model combinations, with a median increase in task completion proportion of 40%. The results suggest a promising direction for further development towards more reliable language models.
format Preprint
id arxiv_https___arxiv_org_abs_2401_17692
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Mitigating the Influence of Distractor Tasks in LMs with Prior-Aware Decoding
Douglas, Raymond
Draguns, Andis
Gavenčiak, Tomáš
Computation and Language
The broad capabilities of Language Models (LMs) can be limited by their sensitivity to distractor tasks: LMs can infer secondary tasks from the prompt in addition to the intended one, leading to unwanted outputs. For example, prompt injection attacks can cause models to deviate from explicit directives. In some 'inverse scaling' cases, this unwanted behaviour actually worsens as models scale up to at least 540B parameters. We present a theoretical framework that interprets LMs as a product of experts that combine multiple data generation processes. Based on this framework, we demonstrate prior-aware decoding (PAD) - a simple contrastive inference method to reduce the influence of distractor tasks. We apply PAD to eleven models, across four datasets, and find improvements in 41 out of 44 task-model combinations, with a median increase in task completion proportion of 40%. The results suggest a promising direction for further development towards more reliable language models.
title Mitigating the Influence of Distractor Tasks in LMs with Prior-Aware Decoding
topic Computation and Language
url https://arxiv.org/abs/2401.17692