Beyond Output Matching: Bidirectional Alignment for Enhanced In-Context Learning
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have shown impressive few-shot generalization on many tasks via in-context learning (ICL). Despite their success in showing such emergent abilities, the scale and complexity of larger models also lead to unprecedentedly high computational demands and deployment challenges. In reaction, researchers explore transferring the powerful capabilities of larger models to more efficient and compact models by typically aligning the output of smaller (student) models with that of larger (teacher) models. Existing methods either train student models on the generated outputs of teacher models or imitate their token-level probability distributions. However, these distillation methods pay little to no attention to the input, which also plays a crucial role in ICL. Based on the finding that the performance of ICL is highly sensitive to the selection of demonstration examples, we propose Bidirectional Alignment (BiAlign) to fully leverage the models' preferences for ICL examples to improve the ICL abilities of student models. Specifically, we introduce the alignment of input preferences between student and teacher models by incorporating a novel ranking loss, in addition to aligning the token-level output distribution. With extensive experiments and analysis, we demonstrate that BiAlign can consistently outperform existing baselines on a variety of tasks involving language understanding, reasoning, and coding.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 134 of its 199 references that are in the map. First posted on arXiv 28 Dec 2023.
Builds on
134 of 199 references.
References · 134
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
38 more
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2018Neural Network Acceptability Judgmentscited by 958
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2023A General Theoretical Paradigm to Understand Learning from Human Preferencescited by 912
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
- 2023Neural Codec Language Models are Zero-Shot Text to Speech Synthesizerscited by 752
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
50 most cited of 134 All 134 (JSON)
Built on by
Citing papers per year: 2024: 4; 2025: 0; 2026: 1.
5 papers.
- 2024A Survey on Knowledge Distillation of Large Language Modelscited by 284
- 2024Chain of LoRA: Efficient Fine-tuning of Language Models via Residual Learningcited by 82
- 2024LIVE: Learnable In-Context Vector for Visual Question Answeringcited by 5
- 2024Lifelong Event Detection with Embedding Space Separation and Compactioncited by 2
- 2026Regret Pre-training: Bridging Prior and Posterior Views for Enhanced Knowledge Groundingcited by 0
- 2026Regret Pre-training: Bridging Prior and Posterior Views for Enhanced Knowledge Grounding2 Jun 2026
- 2024LIVE: Learnable In-Context Vector for Visual Question Answering19 Jun 2024
- 2024Lifelong Event Detection with Embedding Space Separation and Compaction3 Apr 2024
- 2024A Survey on Knowledge Distillation of Large Language Models20 Feb 2024
- 2024Chain of LoRA: Efficient Fine-tuning of Language Models via Residual Learning8 Jan 2024
Similar, not cited
Close in wording, no citation either way
- 2024How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignment
- 2025Advantage-Guided Distillation for Preference Alignment in Small Language Models
- 2025RIDE: Enhancing Large Language Model Alignment through Restyled In-Context Learning Demonstration Exemplars
- 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
- 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignment
- 2024Pedagogical Alignment of Large Language Models
- 2026Distributional Alignment as a Criterion for Designing Task Vectors in In-Context Learning
- 2025Towards Efficient and Effective Alignment of Large Language Models