Research map / Large language models / Language, safety and interpretability
Beyond Output Matching: Bidirectional Alignment for Enhanced In-Context Learning
Chengwei Qin, Wenhan Xia, Fangkai Jiao, Chen Chen, Yuchen Hu, Bosheng Ding, Ruirui Chen, Shafiq Joty
Nanyang Technological University · Hong Kong University of Science and Technology · Princeton University · Technology and Research (A*STAR) · Salesforce
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- GSM8K leaderboard accuracy 18.3 · rank 921 of 945 papers
- HumanEval leaderboard pass rate (%) 16.6 · rank 13 of 13 papers
- MMLU leaderboard accuracy 49.5 · rank 274 of 351 papers
- BBH leaderboard accuracy 43.2 · rank 53 of 68 papers
- LogiQA leaderboard accuracy 35.7 · rank 28 of 37 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add input preference alignment (ranking loss) to output alignment, 13B teacher | Llama 2-7B student · Average of 5 target tasks | accuracy: 29.4 -> 31.0 | Improved |
| add input preference alignment, 70B teacher | Llama 2-7B student · Average of 5 target tasks | accuracy: 30.2 -> 32.7 | Improved |
| add continual pretraining on source tasks | Llama 2-7B · Average of 5 target tasks | accuracy: 29.0 -> 29.0 | No clear effect |
| add fine-tuning on ICL data | Llama 2-7B · Average of 5 target tasks | accuracy: 29.0 -> 29.5 | No clear effect |
| fine-tuning and output alignment on HumanEval (zero-shot) | Llama 2-7B · HumanEval | pass rate: 14.6 -> 14.2 (FT) | Hurt |
| use rank() of preference scores in ranking loss (ablation) | BiAlign · Average of 5 target tasks | accuracy: 30.5 -> 31.0 | Improved |
| train with mixed demonstration numbers 4 to 10 rather than fixed k (ablation) | BiAlign · Average of 5 target tasks | accuracy: 30.4 -> 31.0 (k=8) | Improved |
| train 4 epochs instead of 2 (same FLOPs as Output-Align at 2) (ablation) | BiAlign · Average of 5 target tasks | accuracy: 30.8 -> 31.0 | No clear effect |
| train Output-Align on combined data to match BiAlign FLOPs | Output-Align · Average of 5 target tasks | accuracy: 29.4 -> 29.5 | No clear effect |
| increase number of sampled subsets N from 3 to 6 (ablation) | BiAlign · Average of 5 target tasks | accuracy: 30.7 -> 31.1 | No clear effect |
| add BiAlign to Output-Align | Llama 3-8B student, Llama 3-70B teacher · Average of 5 target tasks | accuracy: 61.7 -> 63.9 | Improved |
| add BiAlign to reverse-KL Output-Align | Llama 3-8B · Average of 5 target tasks | accuracy: 62.5 -> 65.3 | Improved |
Open problems in in-context learning analysis
Which in-context learning methods hold up beyond English classification on small open models, and what do they cost?
- Only a few small or medium open models were tested. · 14 papers state it
- The method needs many extra LLM calls or passes. · 13 papers state it
- Evaluated on English data only, with other languages untested. · 12 papers state it
Closest papers by meaning
- Advantage-Guided Distillation for Preference Alignment in Small Language Models (ICLR 2025 · similarity 0.90)
- Aligner: Efficient Alignment by Learning to Correct (NeurIPS 2024 · similarity 0.88)
- LLM Alignment--Utility Asymmetry under Semantic-Preserving Transformations (NeurIPS 2026 · similarity 0.88)
- Is In-Context Learning Sufficient for Instruction Following in LLMs? (ICLR 2025 · similarity 0.88)
- The Missing Alignment Link of In-context Learning on Sequences (ICML 2025 · similarity 0.88)
- Disentangling Latent Shifts of In-Context Learning with Weak Supervision (NeurIPS 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.