Bidirectional Preference Synthesis: Learning Prompt-Conditioned Preferences from Boundary Failures
Organizations: Kuaishou Technology · Nanjing University
Abstract
Correction-based offline preference pipelines commonly treat model failures only as rejected responses under the original prompt. This supervision is incomplete for boundary failures: responses that violate the given instruction yet coherently satisfy a nearby intent or constraint setting. We introduce Bidirectional Preference Synthesis (BPS), a data-construction method for standard Direct Preference Optimization (DPO) that makes this missing prompt dependence explicit. For each validated boundary failure, BPS keeps the conventional forward pair under the original prompt and adds a reverse pair under a synthesized achieved prompt, so the same response is rejected where it is wrong and chosen where it is right, without changing the DPO objective, training a reward model, or requiring online sampling. On Qwen3-4B-Instruct-2507, BPS preserves original-side pairwise ranking while raising achieved-side ranking accuracy from 6.8% to 62.3% on held-out crossed anchors, with a similar shift under a Kimi-K2.6 cross-teacher probe. A blind human audit supports the intended reverse preference direction, and downstream evaluations show the clearest separation from Forward-DPO in multilingual multi-turn instruction following, with consistent capability-retention patterns on agentic, tool-use, and code checks.
Figures & tables
| IFBench / IFEval | FollowBench / Multi-IF | ||||||
|---|---|---|---|---|---|---|---|
| Metric | Base | Fwd-100 | BPS-100 | Metric | Base | Fwd-100 | BPS-100 |
| IFBench-P Strict | 31.00 | 31.97 | 32.31 | FollowBench CSL (EN) | 3.00 | 2.96 | 3.00 |
| IFBench-I Strict | 33.67 | 36.05 | 35.71 | FollowBench CSL (ZH) | 2.92 | 2.90 | 2.98 |
| IFBench-P Loose | 33.33 | 32.65 | 35.03 | FollowBench HSR (EN) | 66.04 | 64.44 | 66.37 |
| IFBench-I Loose | 36.50 | 36.90 | 38.78 | FollowBench HSR (ZH) | 64.46 | 64.36 | 65.47 |
| IFEval-P Strict | 82.81 | 83.36 | 86.69 | FollowBench SSR (EN) | 74.88 | 74.62 | 75.24 |
| General Capabilities | Agent, Tool Use, and Broad Reasoning | ||||||
|---|---|---|---|---|---|---|---|
| Metric | Base | Fwd | BPS | Metric | Base | Fwd | BPS |
| GPQA-Diamond | 42.93 | 45.96 | 46.46 | tau-bench airline | 36.00 | 30.00 | 36.00 |
| MATH-500 | 94.80 | 94.00 | 95.00 | tau2-bench airline | 27.91 | 25.58 | 27.91 |
| HumanEval+ | 71.34 | 71.34 | 72.56 | tau2-bench retail | 43.75 | 36.61 | 43.75 |
| MBPP | 72.00 | 72.00 | 72.80 | ToolBench Act.EM (ov.) | 35.50 | 33.10 | 35.46 |
| C-Eval Overall | 80.39 | 78.75 | 80.39 | ToolBench Plan EM (OOD) | 78.50 | 77.98 | 81.06 |
| Metric | Fwd-DPO | BPS |
|---|---|---|
| FC Full Acc. | 0.860 | 0.869 |
| Acc | 0.759 | 0.824 |
| Boundary Ach EM | 0.721 | 0.768 |
| Boundary Both EM | 0.443 | 0.489 |
| Probe | Model | Acc o | Acc a | ||
|---|---|---|---|---|---|
| Gemini | Forward-DPO | 0.540 | 99.3 | 0.349 | 6.8 |
| BPS | 0.292 | 100.0 | 0.011 | 62.3 | |
| Kimi | Forward-DPO | 0.854 | 99.3 | 0.374 | 9.3 |
| BPS | 0.663 | 99.3 | 0.005 | 61.6 |
| Metric | Base | Fwd | Shuf | C-Rev | BPS |
|---|---|---|---|---|---|
| IFBench Avg. | 33.63 | 34.39 | 33.16 | 32.61 | 35.46 |
| IFEval Avg. | 87.18 | 87.36 | 88.28 | 88.62 | 90.27 |
| M-IF Turn 1 | 85.72 | 87.21 | 87.57 | 86.89 | 87.93 |
| M-IF Turn 2 | 78.07 | 75.78 | 77.44 | 77.94 | 79.15 |
| M-IF Turn 3 | 69.45 | 66.14 | 68.32 | 69.26 | 70.48 |
| Reward Margin | – | 10.71 | 6.71 | 2.81 | 4.33 |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | Metric / Split | Base | FC-Fwd | FC-BPS |
|---|---|---|---|---|
| General-FC | Tool-call F1 | 52.9 | 53.7 | 54.2 |
| General-FC | Schema Acc. | 67.8 | 68.2 | 68.8 |
| General-FC | Successful Calls | 396 | 401 | 411 |
| -bench | Airline Acc. | 36.0 | 26.0 | 42.0 |
| -bench | Retail Acc. | 55.7 | 46.1 | 50.4 |
| -bench | Overall Acc. | 49.7 | 40.0 | 47.9 |
| Stage | Count | Retention |
|---|---|---|
| Seed prompts (IFBench-train) | 2,000 | — |
| Student rollouts (dual-temperature) | 6,000 | — |
| Boundary failures ( ) | 3,420 | 57.0% |
| Near-miss failures ( ) | 2,428 | 71.0% |
| Accepted forward pairs | 1,443 | 59.4% |
| Reverse candidates (pre-filtered) | 316 | 13.0% |
| Benchmark | Base | Fwd-100 | BPS-100 |
|---|---|---|---|
| ToolBench Act.EM (overall) | 35.50 | 33.10 | 35.46 |
| ToolBench Act.EM (in) | 35.89 | 34.06 | 36.04 |
| ToolBench Act.EM (OOD) | 34.70 | 31.17 | 34.30 |
| ToolBench F1 (in) | 30.86 | 29.53 | 30.97 |
| ToolBench F1 (OOD) | 29.38 | 26.75 | 28.98 |
| ToolBench Plan EM (in) | 80.94 | 81.39 | 83.22 |
| IFB Avg | M-IF Ov. | LCB | TB OOD | |
|---|---|---|---|---|
| 0 (Fwd-100) | 34.39 | 76.38 | 45.40 | 26.75 |
| 0.10 | 35.33 | 78.61 | 46.54 | 28.41 |
| 0.195 (BPS) | 35.46 | 79.19 | 48.53 | 28.98 |
| 0.30 | 32.82 | 78.44 | 47.30 | 29.75 |
| Model | Acc o | Acc a | ||
|---|---|---|---|---|
| Forward-DPO | 0.541 | 99.3 | 0.349 | 6.8 |
| Fwd-Dup (+282 fwd) | 0.517 | 99.3 | 0.334 | 6.8 |
| RPO-style (+282 rev) | 0.213 | 95.9 | 0.057 | 32.9 |
| BPS (+282 rev) | 0.293 | 100.0 | 0.011 | 62.3 |
| Model | Acc | Acc | ||
|---|---|---|---|---|
| Forward-DPO | 0.854 | 99.3 | 0.374 | 9.9 |
| Constraint-Rev | 0.485 | 97.4 | 0.072 | 37.1 |
| BPS | 0.667 | 99.3 | 0.006 | 59.6 |
| Field | Text |
|---|---|
| Original prompt | Which country contains the largest clock in the world? At the end of your response, please explicitly add a postscript starting with Postscript: The first word of your response should be the word grandfather. Your ENTIRE response should be in Ukrainian language, no other language is allowed. Include keyword emotion in your response. |
| Forward chosen | “grandfather [Ukrainian: The world’s largest clock is in Mecca, Saudi Arabia. This clock reflects the grandeur and traditions, evoking a strong emotion in people who see it…] Postscript: emotion” |
| Forward rejected | “Grandfather, [Ukrainian: The largest country in the world by area is Russia. It has about 17.1 million square kilometers…This evokes a strong emotion…] Postscript: emotion” |
| Achieved prompt | Please tell me what the largest country in the world is by area and its approximate size in square kilometers. Your response must start exactly with the English greeting ‘‘Grandfather,’’. Write the main explanation in Ukrainian. Explain how such a vast territory reflects history, culture, and nature, and mention that it evokes a strong emotion. End your response with the exact English phrase ‘‘Postscript: emotion’’. |
| Reverse chosen | Same as forward rejected ( ). |
| Reverse rejected | Same as forward chosen ( ). |
| Turn | Metric | Base | Fwd-60 | Fwd-100 | BPS-100 | ||
|---|---|---|---|---|---|---|---|
| 1 | Prompt Strict | 81.81 | 83.85 | 84.47 | 84.71 | +0.86 | +0.24 |
| Inst Strict | 86.30 | 88.66 | 88.72 | 88.66 | +0.00 | 0.05 | |
| Prompt Loose | 85.63 | 85.47 | 85.90 | 87.64 | +2.17 | +1.74 | |
| Inst Loose | 89.13 | 89.76 | 89.76 | 90.70 | +0.94 | +0.94 | |
| 2 | Prompt Strict | 67.00 | 65.45 | 65.38 | 68.87 | +3.42 | +3.49 |
| Inst Strict | 84.42 | 83.52 | 83.58 | 85.45 | +1.93 | +1.87 |
| Language | Fwd Base | BPS Base | BPS Fwd | ||||||
|---|---|---|---|---|---|---|---|---|---|
| T1 | T2 | T3 | T1 | T2 | T3 | T1 | T2 | T3 | |
| Chinese | 1.00 | 1.86 | 1.69 | 1.20 | 0.04 | 1.30 | 0.20 | 1.82 | 2.99 |
| English | 0.92 | 2.21 | 4.28 | 1.89 | 0.04 | 0.29 | 0.97 | 2.25 | 4.58 |
| Italian | 1.87 | 0.02 | 2.25 | 2.40 | 1.28 | 0.63 | 0.53 | 1.26 | 2.89 |
| Spanish | 1.67 | 3.17 | 3.85 | 3.09 | 0.77 | 0.49 | 1.43 | 3.94 | 4.34 |
| Hindi | 2.68 | 1.62 | 0.83 | 2.07 | 1.72 | 2.91 | 0.61 | 3.33 | 3.74 |
| Dataset | Model | Avg. Output Tokens |
|---|---|---|
| IFBench | Base | 1,584.03 |
| Forward-DPO (S100) | 5,919.98 | |
| BPS (S100) | 2,564.96 | |
| ToolBench | Base | 165.58 |
| Forward-DPO (S100) | 205.17 | |
| BPS (S100) | 157.30 |
| Benchmark | Qwen2.5-7B-Instruct ( Qwen et al. 2025 ) | Qwen3-4B | ||||
|---|---|---|---|---|---|---|
| Base | Fwd | BPS | Base | Fwd | BPS | |
| Instruction Following (IFBench) | ||||||
| Strict-P | 25.33 | 31.67 | 33.00 | 24.00 | 25.00 | 27.30 |
| Strict-I | 27.03 | 32.85 | 35.17 | 25.90 | 27.60 | 29.10 |
| Loose-P | 29.33 | 34.33 | 37.67 | 28.00 | 28.30 | 30.70 |
| Loose-I | 31.69 | 36.63 | 40.70 | 29.40 | 31.70 | 33.10 |
| Type | Gemini | Kimi | Total | Held-out | Total % |
|---|---|---|---|---|---|
| Format/structure mismatch | 153 | 82 | 235 | 91 | 54.3 |
| Multi-constraint mixed | 53 | 36 | 89 | 53 | 20.6 |
| Lexical-constraint mismatch | 63 | 23 | 86 | 37 | 19.9 |
| Content-intent mismatch | 8 | 9 | 17 | 10 | 3.9 |
| Language mismatch | 5 | 1 | 6 | 4 | 1.4 |
| Total | 282 | 151 | 433 | 195 | 100.0 |
| Type | N | Fwd | BPS | Fwd Acc. | BPS Acc. | Acc. | |
|---|---|---|---|---|---|---|---|
| Content-intent mismatch | 10 | 0.115 | 0.144 | +0.030 | 60.0 | 100.0 | +40.0 |
| Language mismatch | 4 | 0.100 | 0.022 | +0.122 | 0.0 | 50.0 | +50.0 |
| Format/structure mismatch | 91 | 0.411 | 0.033 | +0.444 | 2.2 | 71.4 | +69.2 |
| Lexical-constraint mismatch | 37 | 0.362 | 0.005 | +0.357 | 5.4 | 67.6 | +62.2 |
| Multi-constraint mixed | 53 | 0.217 | 0.049 | +0.267 | 11.3 | 62.3 | +50.9 |
| Model / Seed | Acc | Acc | ||
|---|---|---|---|---|
| Fwd 42 | 0.542 | 99.3 | 0.351 | 7.5 |
| Fwd 43 | 0.512 | 99.3 | 0.338 | 8.9 |
| Fwd 44 | 0.527 | 99.3 | 0.337 | 7.5 |
| Fwd mean std | 0.527 0.013 | 99.3 0.0 | 0.342 0.007 | 8.0 0.6 |
| BPS 42 | 0.299 | 100.0 | 0.007 | 63.7 |
| BPS 43 | 0.293 | 100.0 | 0.015 | 63.7 |
| Model / Seed | P Strict | P Loose | I Strict | I Loose | Avg. |
|---|---|---|---|---|---|
| Fwd 42 | 83.55 | 85.21 | 90.36 | 91.34 | 87.62 |
| Fwd 43 | 83.92 | 85.21 | 90.42 | 91.13 | 87.67 |
| Fwd 44 | 84.10 | 85.77 | 90.76 | 91.71 | 88.09 |
| Fwd mean std | 83.86 0.23 | 85.40 0.26 | 90.51 0.18 | 91.39 0.24 | 87.79 0.23 |
| BPS 42 | 83.73 | 87.25 | 89.49 | 91.74 | 88.05 |
| BPS 43 | 84.84 | 88.35 | 90.33 | 92.30 | 88.96 |
| Source | N | Natural | Fail sat. | Rev. pref. | Leakage | Accepted |
|---|---|---|---|---|---|---|
| Gemini | 100 | 99.0 | 100.0 | 100.0 | 0.0 | 99.0 |
| Kimi | 100 | 83.0 | 87.0 | 98.0 | 1.0 | 67.0 |
| All | 200 | 91.0 | 93.5 | 99.0 | 0.5 | 83.0 |
| Metric | Base | Fwd-60 | Fwd-100 | BPS-100 | |
|---|---|---|---|---|---|
| IFBench Avg. | 33.63 | 36.22 | 34.39 | 35.46 | 0.76 |
| IFEval Avg. | 87.18 | 88.46 | 87.36 | 90.27 | +1.81 |
| Multi-IF Turn 1 Avg. | 85.72 | 86.94 | 87.21 | 87.93 | +0.99 |
| Multi-IF Turn 2 Avg. | 78.07 | 76.06 | 75.78 | 79.15 | +3.09 |
| Multi-IF Turn 3 Avg. | 69.45 | 66.74 | 66.14 | 70.48 | +3.74 |
| Multi-IF Overall Avg. | 77.75 | 76.58 | 76.38 | 79.19 | +2.61 |
Preference Learning
Preference learning infers people’s values and trade-offs from choices, comparisons, rankings, and feedback to guide predictions and decisions.
See all 150 papers