atlas

Research map / Large language models / Instruction and fine-tuning

What Limits Bidirectional Model's Generative Capabilities? A Uni-Bi-Directional Mixture-of-Expert Method For Bidirectional Fine-tuning

ICML 2025 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

The paper analyzes why bidirectional fine-tuning of causal LLMs hurts generation, attributing it to increased subsequent attention dependence, and proposes UBMoE-LLM, a two-expert MoE that pairs the original unidirectional FFN with a contrastively fine-tuned bidirectional FFN.

Problem

Bidirectional fine-tuning of unidirectional LLMs improves embeddings but severely degrades generative performance; the cause of this degradation is unexplained.

Approach

Attention weights are used as dependence indicators (preceding/subsequent/self), showing bidirectional training raises subsequent dependence; FFN layers are least affected, so only the FFN is bidirectionally fine-tuned via contrastive learning and combined with the original FFN through a token-level gated MoE.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a bidirectional FFN expert and train a gate to route tokensQwen1.5-Chat 0.5B · TruthfulQAmultiple-choice score (mc2): 43.0 -> 43.9Helped
Add a bidirectional FFN expert and train a gate to route tokensQwen1.5-Chat 1.8B · MMLUaccuracy: 44.3 -> 45.2Helped
Add a bidirectional FFN expert and train a gate to route tokensQwen1.5-Chat 1.8B · Winograndeaccuracy: 59.7 -> 58.5Hurt
Add a bidirectional FFN expert and train a gate to route tokensQwen1.5-Chat 4B · TruthfulQAmultiple-choice score (mc2): 44.5 -> 47.6Helped
Add a bidirectional FFN expert and train a gate to route tokensQwen1.5-Chat 7B · TruthfulQAmultiple-choice score (mc2): 53.7 -> 55.4Helped
Fine-tune only the FFN layer bidirectionally (ablation)Qwen1.5-0.5B-Chat · MTEB STS tasksAverage: 34.96 -> 66.96Helped
Fine-tune only the embedding layer bidirectionally (ablation)Qwen1.5-0.5B-Chat · MTEB STS tasksAverage: 34.96 -> 37.52Helped
Fine-tune all parameters bidirectionally (ablation)Qwen1.5-0.5B-Chat · MTEB STS tasksAverage: 34.96 -> 66.93Helped
Fine-tune only the FFN layer bidirectionally (ablation)Qwen1.5-1.8B-Chat · MTEB STS tasksAverage: 55.55 -> 70.11Helped
Fine-tune only the embedding layer bidirectionally (ablation)Qwen1.5-1.8B-Chat · MTEB STS tasksAverage: 55.55 -> 62.87Helped
Fine-tune all parameters bidirectionally (ablation)Qwen1.5-1.8B-Chat · MTEB STS tasksAverage: 55.55 -> 69.93Helped

Surprising findings

Limitations

Experimental setup

Datasets: Li & Li 2024a contrastive data (480,862 examples) tulu-v2-sft-mixture (326,154 examples) MTEB STS tasks

Benchmarks: MMLU Winogrande TruthfulQA MTEB STS (10 tasks) Natural Instructions DOQA Dureader CMMLU Math PIQA

Metrics: accuracy mc2 Spearman correlation F1 Rouge-L BLEU average attention dependence (DP-main/before/after) GFLOPs

Baselines: Qwen1.5-Chat base models Llama3-8B MNTP-LLM LLM2Vec-style FFN+ATT update BatGPT

Builds on: LLM2Vec Prefix-LM attention SimCSE MTEB Mixtral-style MoE gating

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy