mlsanityData to 14 Oct 2026

Beyond Output Matching: Bidirectional Alignment for Enhanced In-Context Learning

arXiv 2312.17055 ↗First posted 28 Dec 2023cs.CLcited by 5

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2017Proximal Policy Optimization Algorithmscited by 15,215
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  8. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  9. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  10. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  11. 2020Scaling Laws for Neural Language Modelscited by 6,586
  12. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
38 more
  1. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  2. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  4. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  5. 2017Deep reinforcement learning from human preferencescited by 3,912
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  7. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  8. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  9. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  10. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  11. 2022Emergent Abilities of Large Language Modelscited by 2,512
  12. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  13. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  14. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  15. 2019Language Models as Knowledge Bases?cited by 1,936
  16. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  17. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  18. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  19. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  20. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
  21. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  22. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  23. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  24. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  25. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  26. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  27. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  28. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  29. 2018Neural Network Acceptability Judgmentscited by 958
  30. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
  31. 2023A General Theoretical Paradigm to Understand Learning from Human Preferencescited by 912
  32. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  33. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  34. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
  35. 2017Crowdsourcing Multiple Choice Science Questionscited by 765
  36. 2023Neural Codec Language Models are Zero-Shot Text to Speech Synthesizerscited by 752
  37. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
  38. 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736

50 most cited of 134 All 134 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 0; 2026: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignment
  2. 2025Advantage-Guided Distillation for Preference Alignment in Small Language Models
  3. 2025RIDE: Enhancing Large Language Model Alignment through Restyled In-Context Learning Demonstration Exemplars
  4. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  5. 2023Multilingual LLMs are Better Cross-lingual In-context Learners with Alignment
  6. 2024Pedagogical Alignment of Large Language Models
  7. 2026Distributional Alignment as a Criterion for Designing Task Vectors in In-Context Learning
  8. 2025Towards Efficient and Effective Alignment of Large Language Models