Position Engineering: Boosting Large Language Models through Positional Information Manipulation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: He, Zhiyuan, Jiang, Huiqiang, Wang, Zilong, Yang, Yuqing, Qiu, Luna, Qiu, Lili
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916448292569088
author He, Zhiyuan
Jiang, Huiqiang
Wang, Zilong
Yang, Yuqing
Qiu, Luna
Qiu, Lili
author_facet He, Zhiyuan
Jiang, Huiqiang
Wang, Zilong
Yang, Yuqing
Qiu, Luna
Qiu, Lili
contents The performance of large language models (LLMs) is significantly influenced by the quality of the prompts provided. In response, researchers have developed enormous prompt engineering strategies aimed at modifying the prompt text to enhance task performance. In this paper, we introduce a novel technique termed position engineering, which offers a more efficient way to guide large language models. Unlike prompt engineering, which requires substantial effort to modify the text provided to LLMs, position engineering merely involves altering the positional information in the prompt without modifying the text itself. We have evaluated position engineering in two widely-used LLM scenarios: retrieval-augmented generation (RAG) and in-context learning (ICL). Our findings show that position engineering substantially improves upon the baseline in both cases. Position engineering thus represents a promising new strategy for exploiting the capabilities of large language models.
format Preprint
id arxiv_https___arxiv_org_abs_2404_11216
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Position Engineering: Boosting Large Language Models through Positional Information Manipulation
He, Zhiyuan
Jiang, Huiqiang
Wang, Zilong
Yang, Yuqing
Qiu, Luna
Qiu, Lili
Computation and Language
Artificial Intelligence
Machine Learning
The performance of large language models (LLMs) is significantly influenced by the quality of the prompts provided. In response, researchers have developed enormous prompt engineering strategies aimed at modifying the prompt text to enhance task performance. In this paper, we introduce a novel technique termed position engineering, which offers a more efficient way to guide large language models. Unlike prompt engineering, which requires substantial effort to modify the text provided to LLMs, position engineering merely involves altering the positional information in the prompt without modifying the text itself. We have evaluated position engineering in two widely-used LLM scenarios: retrieval-augmented generation (RAG) and in-context learning (ICL). Our findings show that position engineering substantially improves upon the baseline in both cases. Position engineering thus represents a promising new strategy for exploiting the capabilities of large language models.
title Position Engineering: Boosting Large Language Models through Positional Information Manipulation
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2404.11216