IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0341558.html

Out-of-context and out-of-scope: Manipulating large language models through minimal instruction set modifications

Author

Listed:
  • Monty-Maximilian Zühlke
  • Daniel Kudenko
  • Wolfgang Nejdl

Abstract

Understanding the emergence of reasoning capabilities in large language models (LLMs) is important for aligning their response behaviour with human intentions, especially as these models become accessible to a broad range of users and begin to operate autonomously without supervision. One interesting capability is out-of-context reasoning, where models seem to infer and adopt specific response behaviours based on descriptive information in a zero-shot fashion, that is, without any concrete examples. However, because a model’s training data is rarely available for inspection, it is difficult to judge whether all possible behavioural patterns that can be inferred in this way are benign in nature. Understanding this mechanism in more detail and its dependency on the data is therefore a crucial step in evaluating emerging reasoning capabilities in LLMs. In this work, we extend current research on out-of-context reasoning by showing that user-defined response behaviour can be embedded into LLMs through fine-tuning on a few short descriptions of the behaviour hidden in a substantially larger set of longer and differently formatted instructions. More precisely, we mathematically motivate and empirically show that models can not only pick up signals diffused in a large body of noisy information during training but can infer and adopt response patterns from it. Conversely, we show that triggering these response patterns can heavily depend on the prompting strategy while tokens, which are assigned fixed sequences of token IDs, can reinforce and facilitate the embedding and triggering. Together, our findings demonstrate that LLMs can be manipulated through minimal instruction set modifications but may only reveal the effect of this manipulation when prompted in a specific way. This highlights that using models, whose training data is not publicly accessible, in environments, where their input is not adequately monitored, may have unforeseen consequences.

Suggested Citation

  • Monty-Maximilian Zühlke & Daniel Kudenko & Wolfgang Nejdl, 2026. "Out-of-context and out-of-scope: Manipulating large language models through minimal instruction set modifications," PLOS ONE, Public Library of Science, vol. 21(2), pages 1-36, February.
  • Handle: RePEc:plo:pone00:0341558
    DOI: 10.1371/journal.pone.0341558
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0341558
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0341558&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0341558?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0341558. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.