Reducing Permutation Sensitivity in Multimodal Large Language Models via Shared Positions and Attention-Only Distillation
Organizations: Beijing Institute of Technology, Zhuhai, China · Shandong University of Science and Technology, China
Abstract
In this paper, we conduct a systematic study on improving permutation robustness while preserving accuracy. First, we categorize permutation bias phenomena into four representative scenarios. Then, we take the multiple-choice question answering (MCQA) dataset as an example under text-option reordering scenario to analyze the root cause of permutation bias. Based on this root cause analysis and set encoding strategy, we investigate shared positions with blocked cross-unit attention (SP-B) and extend this design to bidirectional cross-unit attention (SP-V) for modality exchange. However, these structural changes may reduce predictive accuracy. To recover model capability across different scenarios under the SP structure, an attention-only distillation from frozen native models is proposed. Shared positions reduce permutation sensitivity, and attention-only distillation improves accuracy under the shared-position structure. Across all three models, our method is comparable to or better than majority voting in macro-average all-permutation accuracy, and outperforms supervised fine-tuning by 1.95-4.20 percentage points. This work provides valuable insight into permutation bias mitigation and model capability recovery.
Figures & tables
| Input | Scored output | OA | AA | AC | IP |
|---|---|---|---|---|---|
| Labeled | Letter | 41.36 | 40.27 | 7.33 | 17.28 |
| Labeled | Content | 47.64 | 44.70 | 23.04 | 46.07 |
| Option-label-free | Content | 50.26 | 46.62 | 28.27 | 61.26 |
| Q/K | Mask | Content L1 | OA | AA | AC | IP |
|---|---|---|---|---|---|---|
| Native | Native | 0.16 | 42.67 | 38.94 | 17.33 | 49.33 |
| Canonical | Native | 0.29 | 32.00 | 28.72 | 6.67 | 20.00 |
| Native | Fixed | 0.24 | 29.33 | 30.22 | 9.33 | 26.67 |
| Canonical | Fixed | 32.00 | 32.39 | 30.67 | 96.00 |
| Structure | Precision | Attention order | Content L1 | OA | AA | AC | IP |
|---|---|---|---|---|---|---|---|
| Native | BF16 | Ordinary | 0.16 | 42.67 | 38.94 | 17.33 | 49.33 |
| SP-B | BF16 | Ordinary | 1.66e-2 | 38.67 | 39.56 | 38.67 | 93.33 |
| Native | FP32 | Ordinary | 0.16 | 42.67 | 39.61 | 18.67 | 48.00 |
| SP-B | FP32 | Ordinary | 7.65e-7 | 38.67 | 38.67 | 38.67 | 100 |
| Native | BF16 | Canonical | 0.16 | 42.67 | 38.83 | 16.00 | 46.67 |
| SP-B | BF16 | Canonical | 0.00 | 38.67 | 38.67 | 38.67 | 100 |
| Scene | Dataset | Questions | Orders/question | Records |
|---|---|---|---|---|
| Text | V* | 191 | 2 or 24 | 2,736 |
| Text | A-OKVQA val | 1,145 | 24 | 27,480 |
| Image | OCR-VQA | 153 | 2 | 306 |
| Image | POPE | 1,000 | 2 | 2,000 |
| Image–text | CelebA-HQ | 96 | 24 | 2,304 |
| Image–text | MMBench | 1,161 | 6 | 6,966 |
| Configuration | Knowledge distillation (KD) | Supervised fine-tuning (FT) |
|---|---|---|
| Models | LLaVA, Qwen, InternVL | LLaVA, Qwen, InternVL |
| Training questions (SP-B / SP-V) | 1,591 / 1,592 | Same lists |
| Validation questions | 1,000 | Same list |
| Orders per question per epoch | One fixed original order | One randomly sampled order |
| Objective | Teacher candidate-distribution KL | Full-sequence text cross-entropy |
| Updated parameters | Attention Q/K/V/O LoRA | All language-model parameters |
| Model | Setting | Native | Frozen SP | SP + KD |
|---|---|---|---|---|
| LLaVA | Text: V* | 46.62 / 28.27 / 61.26 | 43.54 / 42.41 / 95.29 | 47.56 / 47.12 / 98.95 |
| Text: A-OKVQA | 68.98 / 54.06 / 67.42 | 70.72 / 70.13 / 97.64 | 70.71 / 69.61 / 97.73 | |
| Image: OCR-VQA | 74.84 / 71.24 / 92.16 | 77.78 / 77.78 / 99.35 | 84.31 / 84.31 / 100.00 | |
| Image: POPE | 77.75 / 64.50 / 73.50 | 77.70 / 77.10 / 98.80 | 77.85 / 77.30 / 98.90 | |
| Pair: CelebA-HQ | 25.87 / 14.58 / 20.83 | 18.27 / 17.71 / 93.75 | 17.71 / 17.71 / 98.96 | |
| Pair: MMBench | 65.98 / 62.79 / 91.13 | 65.75 / 64.94 / 97.93 | 65.27 / 64.25 / 97.59 |
| Frozen SP Native | SP + KD Frozen SP | SP + KD Native | |
|---|---|---|---|
| Model | AA / AC | AA / AC | AA / AC |
| LLaVA | -3.63 / +8.66 | +2.91 / +2.97 | -0.72 / +11.63 |
| Qwen | +3.07 / +11.72 | +2.95 / +3.29 | +6.03 / +15.01 |
| InternVL | +0.78 / +7.23 | +2.66 / +3.04 | +3.45 / +10.27 |
| All models | +0.08 / +9.20 | +2.84 / +3.10 | +2.92 / +12.30 |
| SP-B Native | SP-V SP-B | |
|---|---|---|
| Model / Dataset | AA / AC | AA / AC |
| LLaVA / V* | -6.54 / +12.57 | +2.09 / +2.62 |
| LLaVA / A-OKVQA | -15.07 / +2.62 | -3.28 / -3.14 |
| Qwen / V* | -8.64 / +8.90 | +10.73 / +9.95 |
| Qwen / A-OKVQA | -22.84 / -14.67 | +23.45 / +23.84 |
| InternVL / V* | -19.11 / -9.42 | +13.35 / +13.09 |
| Model | Native | MV | SP + FT | SP + KD (Ours) |
|---|---|---|---|---|
| LLaVA-1.5-7B | 57.10 / 44.30 | 56.85 / 56.85 | 54.46 / 53.98 | 56.38 / 55.93 |
| Qwen2.5-VL-3B | 66.38 / 56.62 | 67.23 / 67.23 | 68.79 / 67.93 | 72.41 / 71.62 |
| InternVL3.5-4B | 66.29 / 58.93 | 65.77 / 65.77 | 66.32 / 64.99 | 69.74 / 69.20 |
Permutation-Invariant Learning
Permutation-invariant learning builds models whose outputs do not change when equivalent inputs are reordered.
See all 35 papers