How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignment

Heyan Huang, Yinghao Li, Huashan Sun, Yu Bai, Yang Gao*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Recent studies have demonstrated that In-Context Learning (ICL), through the use of specific demonstrations, can align Large Language Models (LLMs) with human preferences known as In-Context Alignment (ICA), indicating that models can comprehend human instructions without requiring parameter adjustments.However, the exploration of the mechanism and applicability of ICA remains limited.In this paper, we begin by dividing the context text used in ICA into three categories: format, system prompt, and example.Through ablation experiments, we investigate the effectiveness of each part in enabling ICA to function effectively.We then examine how variants in these parts impact the model's alignment performance.Our findings indicate that the example part is crucial for enhancing the model's alignment capabilities, with changes in examples significantly affecting alignment performance.We also conduct a comprehensive evaluation of ICA's zero-shot capabilities in various alignment tasks.The results indicate that compared to parameter fine-tuning methods, ICA demonstrates superior performance in knowledge-based tasks and tool-use tasks.However, it still exhibits certain limitations in areas such as multi-turn dialogues and instruction following.Source codes and scripts are available at https://github.com/li-aolong/how-far-can-ica-go.

Original languageEnglish
Title of host publicationEMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Findings of EMNLP 2024
EditorsYaser Al-Onaizan, Mohit Bansal, Yun-Nung Chen
PublisherAssociation for Computational Linguistics (ACL)
Pages8623-8644
Number of pages22
ISBN (Electronic)9798891761681
DOIs
Publication statusPublished - 2024
Event2024 Findings of the Association for Computational Linguistics, EMNLP 2024 - Hybrid, Miami, United States
Duration: 12 Nov 202416 Nov 2024

Publication series

NameEMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Findings of EMNLP 2024

Conference

Conference2024 Findings of the Association for Computational Linguistics, EMNLP 2024
Country/TerritoryUnited States
CityHybrid, Miami
Period12/11/2416/11/24

Fingerprint

Dive into the research topics of 'How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignment'. Together they form a unique fingerprint.

Cite this