January 01, 1970
Blind image quality assessment (BIQA) is commonly built on two basic learning paradigms: regression and ranking. Regression calibrates absolute scores, whereas ranking recovers quality structure from ordinal relations. Although joint regression-ranking supervision often improves BIQA, the relation between the two paradigms remains largely empirical and underexplored. In this work, we revisit what underlies regression and ranking and identify pairwise relational distance, termed quality margin, as their common bridge. Our derivation shows that, at the objective-optimization level, both paradigms fit quality margins: regression fits margins induced by score endpoints, while ranking fits transformed or sign-level margins through preference probabilities. Motivated by this insight, we propose MR-IQA, a direct quality-margin optimization framework for reinforcement learning (RL)-based BIQA. MR-IQA samples quality scores and optimizes pairwise margin errors as policy rewards, thereby modeling quality structure more explicitly. Experiments on six BIQA benchmarks show competitive general performance, and controlled comparisons demonstrate that MR-IQA achieves the strongest average PLCC/SRCC over regression- or ranking-based RL methods. Our findings provide a new insight into unifying regression and ranking, offering a theoretical basis for understanding quality-structure modeling in BIQA and beyond.
Blind image quality assessment (BIQA) seeks to model how humans judge perceptual image quality from visual content. Along with the development of machine learning, BIQA has evolved from hand-crafted statistical priors [1], [2] to deep visual representations [3]–[8] and, more recently, to multimodal large language models (MLLMs) [9]–[13]. These frameworks have expanded BIQA from score prediction alone toward a unified assessment interface that can produce language-based quality reasoning.
Despite this shift in representation framework, recent MLLM-based BIQA methods [9]–[15] still rely on classical regression or ranking algorithms to define supervision. Regression provides a calibrated score target, but it also ties learning to dataset-specific score anchors. Pairwise ranking alleviates this issue by comparing images directly. In supervised fine-tuning (SFT)-based MLLM training, DeQA [10] combines score regression with a weighted Thurstone-style [16] fidelity loss to balance pointwise calibration and ordinal comparison. In reinforcement learning (RL)-based MLLM training, Q-Insight [11] adopts a regression-style reward, while VisualQuality-R1 (VQ-R1) [14] uses a Thurstone fidelity reward for pairwise ranking. Later work such as Zoom-IQA [15] also explores joint regression-ranking rewards. These designs are effective in practice, but the relation between regression and ranking remains largely empirical: their complementarity is usually adjusted by loss weights or reward design rather than explained by a shared optimization principle. To explore this issue, we revisit regression and ranking under an RL training framework. For each training image, the reward should admit a theoretical optimum. Regardless of whether supervision is derived from regression, ranking, or their combination, these objectives are eventually projected into the same reward space. This projection suggests that regression and ranking may share an underlying optimization target rather than acting as two independent signals. We therefore revisit these methods under the RL framework. As illustrated in 1, both regression and ranking can be interpreted by the same relative quality distance, termed the quality margin. At the objective level, regression fits margins induced by pointwise score endpoints together with a dataset-anchor term, while Thurstone-style ranking [16] fits transformed margins through preference probabilities. We further connect this observation with the target metric of BIQA, showing that margin alignment bridges regression and ranking through the relational quality structure measured by PLCC. Based on this view, we propose MR-IQA. Given a group of images, MR-IQA models the quality margin for every image pair within the group, suppressing the dataset-anchor interference inherited from regression, simplifying the ranking loss, and restoring the continuous distance information often ignored by preference-only supervision. Our main contributions are summarized as:
We bridge regression and ranking with a unified quantity, quality margin, and theoretically derive why paradigms can be viewed as margin-oriented optimization.
We instantiate margin learning as MR-IQA, a scale-controlled RL algorithm that directly evaluates whether predicted score gaps are underestimated, calibrated, or overestimated with respect to MOS margins.
We validate MR-IQA under controlled RL settings across six BIQA benchmarks, where it achieves the best average performance and provides a margin-based baseline for future RL-based BIQA studies.
Beyond empirical results, our derivation shows that quality margins connect score calibration with ordinal comparison through a unified relational structure. This view provides a foundation for BIQA and may also inform broader quality and ranking tasks such as aesthetic assessment, video quality assessment, and learning-to-rank.
CNNIQA [17] is an early representative showing that a CNN can learn no-reference quality prediction directly from image patches, while DeepBIQ [18] and DBCNN [3] further strengthened CNN-based score regression with deeper visual representations and bilinear feature modeling. NIMA [19] takes a different route: it predicts a softmax distribution over ordered rating bins and derives the final quality score. MUSIQ [4] and MANIQA [5] then extend score prediction with Transformer-based [20] multi-scale and attention representations. Recent MLLM-based BIQA methods inherit this score-estimation view through label-wise supervision. Q-Align [9] uses discrete quality labels, and DeQA [10] extends one-hot labels to multi-label score distributions with cross-entropy supervision. With the shift to RL, Q-Insight [11] converts label-wise score supervision into a continuous numerical reward for quality prediction. Regression-based method is easy to interpret, but remains sensitive to dataset-specific score anchors.
Gao et al. [21] introduce learning-to-rank into BIQA, and dipIQ [22] further learns from discriminable image pairs. RankIQA [23] constructs ranked examples from synthetically distorted images, while RRLW [24] and CLRIQA [25] extend the idea to recursive or controllable list-wise ranking. Transformer-based BIQA by Golestaneh et al. [26] combines relative ranking with self-consistency, and later pairwise formulations such as rank-smoothed pairwise learning [27] and PICNIQ [28] further emphasize the usefulness of comparison labels. In MLLM-based BIQA, DeQA [10] introduces Thurstone-style [16] fidelity loss for ranking. VisualQuality-R1 (VQ-R1) [14] extends this method to the RL region. But most ordinary ranking supervision mainly preserves preference direction and leaves the relative distance between images weakly specified.
MLLM-based BIQA [9]–[15], [29], [30] is mainly trained through supervised fine-tuning (SFT) or reinforcement learning (RL). SFT methods such as Q-Align [9], DeQA [10], Q-Instruct [13], and DepictQA [12] adapt MLLMs with discrete labels, score-bin distributions, or curated instruction responses. This is effective for task adaptation, but when the training data lacks diversity, fixed targets can encourage template overfitting and weaken the original reasoning behavior of the model. RL instead computes rewards after sampling, allowing continuous values, pairwise relations, and reasoning behaviors to be supervised while retaining more of the base model’s reasoning capability.
In this section, we first revisit regression and ranking as two ways of optimizing margin-related objectives. We then explain why the margin acts as a bridge in relational quality structure. Finally, we instantiate margin learning as an RL algorithm that directly supervises pairwise margins.
Following the statistical quality modeling view in DeQA [10] and VQ-R1 [14], we regard the perceived quality of an image \(x_i\) as a Gaussian variable and define the pairwise quality margin between two images \(x_i\) and \(x_j\) as \[x_i \sim \mathcal{N}(\mu_i,\sigma_i^2), \qquad \Delta\mu_{ij} = \mu_i-\mu_j. \label{eq:quality-margin-def}\tag{1}\] In the rest of this work, we use \(\mu\) to denote human MOS, \(\sigma\) to denote inter-rater standard deviation, and \(s\) to denote model-sampled quality estimates.
In this part, we explain why pointwise regression has a strong connection with quality margins. For pointwise regression, each image has an endpoint error \(e_i\); for quality margins, each image pair has a relational error \(\delta_{ij}\), as defined in . We introduce the centered residual \(\tilde{e}_i\) to make the dataset mean explicit: \[\begin{align} \tilde{e}_i &= (s_i-\bar{s})-(\mu_i-\bar{\mu}), \tag{2}\\ e_i &= s_i-\mu_i = \tilde{e}_i+(\bar{s}-\bar{\mu}), \tag{3}\\ \delta_{ij} &= \Delta s_{ij}-\Delta\mu_{ij} = \tilde{e}_i-\tilde{e}_j . \tag{4} \end{align}\] Under an \(L_2\) constraint, the accumulated errors of margin learning and pointwise regression can be decomposed as \[\begin{align} \sum_{i<j}\delta_{ij}^{2} &= \sum_{i<j}(\tilde{e}_i-\tilde{e}_j)^2 = N\sum_{i=1}^{N}\tilde{e}_i^2 , \tag{5}\\ \sum_{i=1}^{N} e_i^2 &= \underbrace{ \sum\nolimits_{i=1}^{N}\tilde{e}_i^2 }_{ \substack{\text{margin error}} } + \underbrace{N(\bar{s}-\bar{\mu})^2}_{\text{dataset-anchor}} . \tag{6} \end{align}\] Thus, pointwise regression can be viewed as optimizing two coupled parts: margin-error fitting and dataset-anchor learning. The global prediction shift \(\bar{s}-\bar{\mu}\) can become restrictive under cross-dataset calibration shifts. Removing the dataset-anchor learning should benefit generalization.
In this part, we show the relation between ranking and margin learning by analyzing the optimization objective with a general ranking method as an example. Thurstone-style ranking is a representative formulation in BIQA [10], [14], [16]. Under Thurstone Case III [16], the discriminal score associated with each image \(x_i\) is modeled as an image-specific Gaussian distribution, and different images are assumed independent: \[z_{ij} = \frac{\Delta\mu_{ij}}{\sqrt{\sigma_i^2+\sigma_j^2}}, \quad \Phi(z) = \int_{-\infty}^{z} \frac{e^{-\frac{t^2}{2}}}{\sqrt{2\pi}}\,dt . \label{eq:discussion-thurstone-z-cdf}\tag{7}\] \[P_{ij} = \Phi\!\left( \frac{\Delta\mu_{ij}}{\sqrt{\sigma_i^2+\sigma_j^2}} \right), \label{eq:discussion-thurstone-probability}\tag{8}\] Here \(z_{ij}\) is the normalized margin term, \(\Phi(\cdot)\) is the standard normal cumulative distribution function, and \(P_{ij}\) represents the label-side probability that \(x_i\) has higher perceived quality than \(x_j\) under the Thurstone model [16]. Fidelity-based ranking models then compare the chosen label-side probability \(P_{ij}\) with the prediction-side probability \(\hat{P}_{ij}\). The fidelity-based ranking loss is \[\begin{align} \mathcal{L}_{\mathrm{fd},ij} &= 1 - \sqrt{P_{ij}\hat{P}_{ij}} - \sqrt{(1-P_{ij})(1-\hat{P}_{ij})} , \end{align} \label{eq:discussion-fidelity-loss}\tag{9}\] \[\begin{align} \frac{\partial \mathcal{L}_{\mathrm{fd},ij}}{\partial \hat{P}_{ij}} &= -\frac{1}{2} \sqrt{\frac{P_{ij}}{\hat{P}_{ij}}} + \frac{1}{2} \sqrt{\frac{1-P_{ij}}{1-\hat{P}_{ij}}}. \end{align} \label{eq:discussion-fidelity-gradient}\tag{10}\] From 10 , the optimal solution of the fidelity loss is \(\hat{P}_{ij}^{\star}=P_{ij}\). Since \(\Phi(\cdot)\) in 7 is strictly monotonic, it is invertible. The corresponding predicted and human margins can therefore be recovered as \[\begin{align} \Delta s_{ij} &= \sqrt{\hat{\sigma}_i^2+\hat{\sigma}_j^2}\, \Phi^{-1}\!\left(\hat{P}_{ij}\right),\\ \Delta\mu_{ij} &= \sqrt{\sigma_i^2+\sigma_j^2}\, \Phi^{-1}\!\left(P_{ij}\right). \end{align} \label{eq:discussion-margin-inverse}\tag{11}\] Therefore, the optimization direction of fidelity ranking is similar to \(\Delta s_{ij}\approx\Delta\mu_{ij}\). Moreover, VQ-R1 [14] uses a hard label, which collapses the continuous probability into a discrete target and weaken label-side continuity. We discuss the variance-scale issue in [app:interrater-variance] [app:baseline-reward-definitions]. In this sense, Thurstone-style ranking also relies on normalized margins.
[sec:method-margin-view-regression,sec:method-margin-view-ranking] show that both regression and ranking are related to quality margins, but this relation alone is not sufficient to explain why margins form a bridge between them. We next show that, in the BIQA setting, the bridge role of margins comes from their direct connection to relational quality structure. Intuitively, both regression and ranking can serve BIQA as long as they recover a reliable relational quality structure. From a theoretical view, this structure is commonly evaluated by PLCC between estimated scores and human MOS. Given \(N\) images, PLCC is defined as \[\mathrm{PLCC}(\mathbf{s},\boldsymbol{\mu}) = \frac{ \sum_{n=1}^{N}(s_n-\bar{s})(\mu_n-\bar{\mu}) }{ \sqrt{\sum_{n=1}^{N}(s_n-\bar{s})^2} \sqrt{\sum_{n=1}^{N}(\mu_n-\bar{\mu})^2} }, \label{eq:plcc-original}\tag{12}\] where \(\mathbf{s}=(s_1,\ldots,s_N)\), \(\boldsymbol{\mu}=(\mu_1,\ldots,\mu_N)\), \(\bar{s}\) and \(\bar{\mu}\) denote their sample means, and \(\Delta s_{ij}=s_i-s_j\) denotes the predicted margin for each image pair \(i<j\). The connection becomes exact after expanding the centered covariance term.1 Specifically, \[\sum_{i<j} \Delta s_{ij}\Delta\mu_{ij} = N \sum_{n=1}^{N} (s_n-\bar{s})(\mu_n-\bar{\mu}). \label{eq:plcc-cov-derivation}\tag{13}\] The corresponding variance terms can be written as \[\begin{align} \sum_{n=1}^{N}(s_n-\bar{s})^2 &= \frac{1}{N} \sum_{i<j} (\Delta s_{ij})^2, \tag{14} \\ \sum_{n=1}^{N}(\mu_n-\bar{\mu})^2 &= \frac{1}{N} \sum_{i<j} (\Delta\mu_{ij})^2. \tag{15} \end{align}\] Using 13 14 15 in 12 shows that PLCC is equivalent to the cosine similarity between predicted and human margin vectors: \[\begin{align} \mathrm{PLCC}(\mathbf{s},\boldsymbol{\mu}) &= \frac{ \sum_{i<j}\Delta s_{ij}\Delta\mu_{ij} }{ \sqrt{\sum_{i<j}(\Delta s_{ij})^2} \sqrt{\sum_{i<j}(\Delta\mu_{ij})^2} } \\ &= \operatorname{cosine}\!\left( \{\Delta s_{ij}\}_{i<j}, \{\Delta\mu_{ij}\}_{i<j} \right). \end{align} \label{eq:plcc-pairwise}\tag{16}\] This equivalence theoretically explains the effectiveness of regression and ranking for BIQA. It also provides a new perspective: the underlying logic or optimization target of both regression and ranking is quality margin fitting. Therefore, directly modeling quality margins may provide a more direct and effective way to estimate quality structure.
We illustrate the concrete margin-learning pipeline in 3. Consider a group of \(N\) images \(\mathcal{G}=\{x_i\}_{i=1}^{N}\), where each image \(x_i\) is annotated with a MOS mean \(\mu_i\). Following the margin definition in 1 , sufficient pairwise margins can describe the relative quality structure within the group. For each image \(x_i\), the policy samples \(K\) completions and produces scalar quality scores \(\{s_i^{(k)}\}_{k=1}^{K}\). We summarize the sampled scores of each image by their mean value: \[\bar{s}_i = \frac{1}{K} \sum_{k=1}^{K}s_i^{(k)}. \label{eq:model-mean}\tag{17}\] For the pairwise construction of completion \(k\) from image \(x_i\), we choose any comparison image \(x_j\) with \(j\ne i\) and compare the sampled score against the sampled mean of \(x_j\): \[\begin{align} \Delta {s}_{ij}^{(k)} &= s_i^{(k)}-\bar{s}_j. \end{align} \label{eq:pairwise-margin-def}\tag{18}\] To separate margin modeling from the choice of error scale, we define a scale-controlled margin error: \[z_{ij}^{(k)} = \frac{ \Delta {s}_{ij}^{(k)}-\Delta\mu_{ij} }{ \tau_{ij} }. \label{eq:mr-normalized-error}\tag{19}\] where \(\tau_{ij}\) is a positive scale term. We consider two choices: \(\tau_{ij}^{\mathrm{raw}}=1\) and \(\tau_{ij}^{\mathrm{unc}}=\sqrt{\sigma_i^2+\sigma_j^2}\). The raw version penalizes the absolute mismatch between predicted and MOS margins, while the uncertainty-normalized version measures the mismatch relative to inter-rater disagreement. We convert this error into reward with zero-centered margin estimators: \[r_{L_1,ij}^{(k)}=e^{-\left|z_{ij}^{(k)}\right|},\qquad r_{L_2,ij}^{(k)}=e^{-\frac{1}{2}\left(z_{ij}^{(k)}\right)^2}. \label{eq:margin-rewards}\tag{20}\] The \(L_1\) form corresponds to a unit-scale Laplace likelihood with the constant factor omitted, while the \(L_2\) estimator corresponds to a unit-variance Gaussian error model. The \(L_1\) estimator is more robust to large normalized errors, while the \(L_2\) estimator applies stronger pressure to large deviations; we use them as reward-design ablations.
The pairwise identities in 3.4 use \(i<j\) only to enumerate each unordered pair once. In the training pipeline, \(x_i\) is the queried image, so completion \(s_i^{(k)}\) is compared with every other image in the group; no ordering constraint is imposed, except that \(j\ne i\). For a group of \(N\) images, each queried image \(x_i\) forms \(N{-}1\) pairwise comparisons with the other images. We aggregate these pairwise rewards directly into the final training reward: \[R_i^{(k)} = r_{\text{format},i}^{(k)} + \frac{1}{N-1} \sum_{\substack{j=1\\ j\ne i}}^{N} r_{\mathrm{margin},ij}^{(k)}. \label{eq:mr-reward}\tag{21}\] where \(r_{\mathrm{margin},ij}^{(k)}\) can be instantiated by either the \(L_1\) or \(L_2\) estimator in 20 . The format reward \(r_{\text{format},i}^{(k)}\) checks whether the response follows the required answer format and whether the score can be parsed.
Following DeepSeek-Math [31], we use Group Relative Policy Optimization (GRPO) as the policy-update algorithm. GRPO converts the scalar rewards above into relative advantages for policy update. In one training rollout (3), the policy samples \(K_i\) completions for each \(x_i\), parses their scores, computes \(R_i^{(k)}\) by comparing \(s_i^{(k)}\) with \(\bar{s}_j\) for all \(j\ne i\), and then normalizes rewards across completions of the same image: \[A_i^{(k)} = \frac{ R_i^{(k)} - \mathrm{mean}_{l}\!\left(R_i^{(l)}\right)}{\mathrm{std}_{l}\!\left(R_i^{(l)}\right)+\varepsilon}, \label{eq:grpo-advantage}\tag{22}\] where \(A_i^{(k)}\) is the advantage for completion \(k\). A completion with above-average margin consistency receives a positive advantage and is reinforced, while a lower-reward completion is suppressed. With the importance ratio \(\rho_i^{(k)}=\pi_\theta(o_i^{(k)}\mid x_i)/\pi_{\theta_{\text{old}}}(o_i^{(k)}\mid x_i)\) and its clipped version \(\rho_{i,\mathrm{c}}^{(k)}=\mathrm{clip}(\rho_i^{(k)},1{-}\epsilon_{\mathrm{clip}},1{+}\epsilon_{\mathrm{clip}})\), the clipped GRPO objective is \[\begin{align} \mathcal{L}_{\text{GRPO}}(\theta) = -\,\mathbb{E}\Big[ &\min\!\left( \rho_i^{(k)} A_i^{(k)}, \rho_{i,\mathrm{c}}^{(k)} A_i^{(k)} \right) \\ &- \beta_{\text{KL}}\, \mathrm{KL}\!\left(\pi_\theta\,\|\,\pi_{\text{ref}}\right) \Big], \end{align} \label{eq:grpo-loss}\tag{23}\] where \(\epsilon_{\mathrm{clip}}\) is the GRPO clipping range and \(\beta_{\text{KL}}\) controls reference-policy regularization. Larger values strengthen this regularization, trading adaptation for stability.
| Authentic | AI-generated | Synthetic | Average | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2-7 (lr)8-9 (lr)10-13 (lr)14-15 | KonIQ | SPAQ | LIVE-W | AGIQA-3K | KADID-10k | CSIQ | Avg. | |||||||
| 2-3 (lr)4-5 (lr)6-7 (lr)8-9 (lr)10-11 (lr)12-13 (lr)14-15 Method | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC |
| Hand-crafted | ||||||||||||||
| NIQE [1] | 0.533 | 0.530 | 0.679 | 0.664 | 0.493 | 0.449 | 0.560 | 0.533 | 0.468 | 0.405 | 0.718 | 0.628 | 0.575 | 0.535 |
| BRISQUE [2] | 0.225 | 0.226 | 0.490 | 0.406 | 0.361 | 0.313 | 0.541 | 0.497 | 0.429 | 0.356 | 0.740 | 0.556 | 0.464 | 0.392 |
| Deep-learning-based | ||||||||||||||
| NIMA [19] | 0.896 | 0.859 | 0.838 | 0.856 | 0.814 | 0.771 | 0.715 | 0.654 | 0.532 | 0.535 | 0.695 | 0.649 | 0.748 | 0.721 |
| DBCNN [3] | 0.884 | 0.875 | 0.812 | 0.806 | 0.773 | 0.730 | 0.641 | 0.648 | 0.497 | 0.484 | 0.586 | 0.572 | 0.699 | 0.686 |
| MUSIQ [4] | 0.924 | 0.929 | 0.868 | 0.863 | 0.789 | 0.830 | 0.722 | 0.630 | 0.575 | 0.556 | 0.771 | 0.710 | 0.775 | 0.753 |
| MANIQA [5] | 0.849 | 0.834 | 0.768 | 0.758 | 0.849 | 0.832 | 0.723 | 0.636 | 0.499 | 0.465 | 0.623 | 0.627 | 0.719 | 0.692 |
| CLIP-IQA+ [6] | 0.909 | 0.895 | 0.866 | 0.864 | 0.832 | 0.805 | 0.736 | 0.685 | 0.653 | 0.654 | 0.772 | 0.719 | 0.795 | 0.770 |
| MLLM-based: SFT training | ||||||||||||||
| C2Score [33] | 0.923 | 0.910 | 0.867 | 0.860 | 0.786 | 0.772 | 0.777 | 0.671 | 0.500 | 0.453 | 0.735 | 0.705 | 0.765 | 0.729 |
| Q-Align [9] | 0.941 | 0.940 | 0.886 | 0.887 | 0.853 | 0.860 | 0.772 | 0.735 | 0.674 | 0.684 | 0.671 | 0.737 | 0.800 | 0.807 |
| DeQA [10] | 0.953 | 0.941 | 0.895 | 0.896 | 0.892 | 0.879 | 0.809 | 0.729 | 0.694 | 0.687 | 0.787 | 0.744 | 0.838 | 0.813 |
| MLLM-based: RL training | ||||||||||||||
| Q-Insight (regression) [11] | 0.918 | 0.895 | 0.903 | 0.903 | 0.870 | 0.839 | 0.816 | 0.766 | 0.702 | 0.702 | 0.685 | 0.640 | 0.816 | 0.791 |
| VQ-R1 (ranking) [14] | 0.886 | 0.919 | 0.867 | 0.887 | 0.817 | 0.869 | 0.744 | 0.718 | 0.635 | 0.640 | 0.709 | 0.721 | 0.776 | 0.792 |
| MR-IQA (ours) | 0.949 | 0.931 | 0.892 | 0.897 | 0.899 | 0.883 | 0.804 | 0.732 | 0.672 | 0.683 | 0.767 | 0.732 | 0.831 | 0.810 |
2.5pt
We train all controlled models only on the training split of KonIQ-10k [34], which contains \(7{,}046\) in-the-wild images at \(512{\times}384\) resolution. Evaluation is performed on the KonIQ test split (\(N{=}2{,}010\)) [34] as the in-distribution authentic benchmark. For out-of-distribution (OOD) evaluation, we use authentic distortion datasets SPAQ (\(N{=}11{,}125\)) [35] and LIVE-Challenge (\(N{=}1{,}169\)) [36], the AI-generated image quality dataset AGIQA-3K (\(N{=}2{,}982\)) [37], and synthetic distortion datasets KADID-10k (\(N{=}10{,}125\)) [38] and CSIQ (\(N{=}866\)) [39].
We initialize the policy model from Qwen3-VL-2B [32] and perform full-parameter fine-tuning with GRPO (23 ). The backbone variants are drawn from Qwen3-VL [32] and Qwen2.5-VL [40]. We use AdamW [41] with learning rate \(1\times10^{-5}\), zero weight decay, and momentum parameters \(\beta_1=0.9\), \(\beta_2=0.999\). Runs use random seed \(42\). For GRPO [31], we use \(N=8\) images as a group, sample \(K=6\) completions per image, set \(\beta_{\mathrm{KL}}=0.02\), use temperature \(0.7\), and perform four iterations per batch. Training runs for \(10\) epochs on \(8{\times}\) NVIDIA A6000 GPUs with per-device batch size \(48\) generated completions; the per-epoch wall-clock time is approximately \(57\) minutes for Qwen3-VL-2B [32], \(1\) h \(54\) min for Qwen3-VL-4B [32], and \(2\) h for Qwen2.5-VL-7B [40].
Our controlled comparison focuses on general BIQA models under a fixed KonIQ-only training protocol [34]. Methods whose training pipelines rely on additional data, teacher distillation, non-matched protocols, or unavailable implementation code are treated as complementary literature rather than controlled baselines.
| Authentic | AI-generated | Synthetic | Average | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2-7 (lr)8-9 (lr)10-13 (lr)14-15 | KonIQ | SPAQ | LIVE-W | AGIQA-3K | KADID-10k | CSIQ | Avg. | |||||||
| 2-3 (lr)4-5 (lr)6-7 (lr)8-9 (lr)10-11 (lr)12-13 (lr)14-15 Variant | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC |
| Baseline | 0.685 | 0.669 | 0.780 | 0.797 | 0.717 | 0.722 | 0.733 | 0.691 | 0.565 | 0.551 | 0.696 | 0.707 | 0.696 | 0.690 |
| MR-IQA (\(L_1\), \(\tau_{ij}=1\)) | 0.915 | 0.916 | 0.879 | 0.881 | 0.811 | 0.837 | 0.777 | 0.710 | 0.604 | 0.605 | 0.692 | 0.691 | 0.780 | 0.773 |
| MR-IQA (\(L_1\), \(\tau_{ij}^{\mathrm{unc}}\)) | 0.934 | 0.922 | 0.875 | 0.891 | 0.870 | 0.851 | 0.808 | 0.715 | 0.557 | 0.601 | 0.736 | 0.705 | 0.797 | 0.781 |
| MR-IQA (\(L_2\), \(\tau_{ij}=1\)) | 0.949 | 0.931 | 0.892 | 0.897 | 0.899 | 0.883 | 0.804 | 0.732 | 0.672 | 0.683 | 0.767 | 0.732 | 0.831 | 0.810 |
| MR-IQA (\(L_2\), \(\tau_{ij}^{\mathrm{unc}}\)) | 0.933 | 0.923 | 0.883 | 0.885 | 0.853 | 0.849 | 0.800 | 0.711 | 0.602 | 0.631 | 0.730 | 0.712 | 0.800 | 0.785 |
2.1pt
| Authentic | AI-generated | Synthetic | Average | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3-8 (lr)9-10 (lr)11-14 (lr)15-16 Backbone | Reward | KonIQ | SPAQ | LIVE-W | AGIQA-3K | KADID-10k | CSIQ | Avg. | |||||||
| 3-4 (lr)5-6 (lr)7-8 (lr)9-10 (lr)11-12 (lr)13-14 (lr)15-16 | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | |
| Qwen3-2B | Baseline | 0.685 | 0.669 | 0.780 | 0.797 | 0.717 | 0.722 | 0.733 | 0.691 | 0.565 | 0.551 | 0.696 | 0.707 | 0.696 | 0.690 |
| Q-Insight | 0.934 | 0.923 | 0.883 | 0.886 | 0.872 | 0.863 | 0.800 | 0.731 | 0.652 | 0.673 | 0.759 | 0.752 | 0.817 | 0.805 | |
| VQ-R1 | 0.886 | 0.919 | 0.867 | 0.887 | 0.817 | 0.869 | 0.744 | 0.718 | 0.635 | 0.640 | 0.709 | 0.721 | 0.776 | 0.792 | |
| MR-IQA | 0.949 | 0.931 | 0.892 | 0.897 | 0.899 | 0.883 | 0.804 | 0.732 | 0.672 | 0.683 | 0.767 | 0.732 | 0.831 | 0.810 | |
| Qwen3-4B | Baseline | 0.748 | 0.688 | 0.873 | 0.875 | 0.771 | 0.757 | 0.794 | 0.737 | 0.649 | 0.666 | 0.785 | 0.750 | 0.770 | 0.745 |
| Q-Insight | 0.934 | 0.918 | 0.886 | 0.888 | 0.868 | 0.857 | 0.806 | 0.720 | 0.590 | 0.618 | 0.724 | 0.701 | 0.801 | 0.784 | |
| VQ-R1 | 0.931 | 0.924 | 0.886 | 0.889 | 0.849 | 0.873 | 0.779 | 0.710 | 0.627 | 0.642 | 0.673 | 0.683 | 0.791 | 0.787 | |
| MR-IQA | 0.945 | 0.927 | 0.893 | 0.895 | 0.876 | 0.870 | 0.793 | 0.710 | 0.670 | 0.695 | 0.758 | 0.747 | 0.823 | 0.807 | |
| Qwen2.5-7B | Baseline | 0.741 | 0.684 | 0.872 | 0.871 | 0.772 | 0.742 | 0.811 | 0.753 | 0.601 | 0.581 | 0.699 | 0.652 | 0.750 | 0.714 |
| Q-Insight | 0.920 | 0.907 | 0.886 | 0.884 | 0.878 | 0.851 | 0.806 | 0.767 | 0.629 | 0.699 | 0.687 | 0.634 | 0.801 | 0.790 | |
| VQ-R1 | 0.897 | 0.921 | 0.849 | 0.891 | 0.761 | 0.858 | 0.774 | 0.754 | 0.662 | 0.675 | 0.517 | 0.605 | 0.743 | 0.784 | |
| MR-IQA | 0.950 | 0.936 | 0.861 | 0.862 | 0.888 | 0.877 | 0.818 | 0.756 | 0.669 | 0.669 | 0.702 | 0.681 | 0.815 | 0.797 | |
2.0pt
Compared model families. 1 compares MR-IQA with representative BIQA families. The hand-crafted group includes NIQE [1] and BRISQUE [2]; the deep-learning-based group includes NIMA [19], DBCNN [3], MUSIQ [4],
MANIQA [5], and CLIP-IQA+ [6]. For MLLM-based BIQA, we separate SFT methods, including C2Score [33], Q-Align [9], and DeQA [10], from RL methods, including Q-Insight [11], and VQ-R1 [14].
Competitive overall performance. Across all methods, MR-IQA reaches an average PLCC/SRCC of \(0.831/0.810\), which is close to the strong SFT-based model DeQA [10] at \(0.838/0.813\). This gap is notable because MR-IQA remains an RL-based model and can preserve response-level quality reasoning behavior. We argue that quality margin
learning has the potential to approach DeQA [10] with delicate optimization, because DeQA [10] adopts a joint loss.
RL-based comparison. Within the RL-training block, Q-Insight [11] is included as the regression representative using its reported
Qwen2.5-VL-7B [40] performance, while VQ-R1 [14] is included as the ranking representative. VQ-R1 and MR-IQA are evaluated under the controlled Qwen3-VL-2B [32]
reproduction because the original VQ-R1 protocol is not matched. MR-IQA obtains the best average RL performance. At the same time, Q-Insight remains stronger on AGIQA-3K [37] and KADID-10k [38]. Since these gaps may be affected by backbone and training environment differences, 4.4 further compares regression, ranking, and margin learning under matched backbone settings.
Reward function. Under the Qwen3-VL-2B [32] baseline, we compare the \(L_1\) and \(L_2\) margin estimators with two scale choices: the raw margin scale \(\tau_{ij}=1\) and the human-uncertainty scale \(\tau_{ij}^{\mathrm{unc}}=\sqrt{\sigma_i^2+\sigma_j^2}\). The raw-margin \(L_2\) design achieves the best overall performance, with average PLCC/ SRCC gains of \(0.135/0.120\) over the baseline. In contrast, human-uncertainty normalization does not consistently improve the results, suggesting that inter-rater variance is not always a reliable training-time margin scale.
To examine whether the gap between MR-IQA and regression/ranking algorithms depends on a specific backbone, 3 evaluates the algorithm families on Qwen3-VL-2B/4B [32] and Qwen2.5-VL-7B [40]. Qwen2.5-VL-7B [40] is the backbone used by the original Q-Insight [11] and VQ-R1 [14] settings. Except for the Qwen2.5-VL-7B [40] Q-Insight [11] run, which follows its official training script, the controlled RL rows use matched data and hyperparameter settings under the protocol in 4.1. Under these controlled settings, margin learning achieves the strongest average PLCC/SRCC across the tested backbones, indicating that its gains over regression and ranking algorithms are not tied to a single model scale nor a specific backbone.2
4 compares Q-Insight (regression) [11], VQ-R1 (ranking) [14], and MR-IQA on in- and out-of-distribution samples. MR-IQA may show dataset-anchor shifts without pointwise MOS regression, but it estimates relative margins more accurately than both baselines and identifies correct perceptual evidence earlier.
In the Thurstone model [16], variance characterizes the instability of an image’s perceived quality distribution. In BIQA, this
instability is usually observed as inter-rater variance. A natural expectation is therefore that variance should help calibrate margin learning by down-weighting uncertain image pairs. However, our controlled ablation in 2
shows that using inter-rater variance as the normalization scale does not consistently improve performance. In other Thurstone-style models, DeQA [10] uses a fixed
variance during training, whereas VQ-R1 [14] uses model sampling variance rather than human variance.
Possible reasons. (1) There is a human-model mismatch. Human inter-rater variance can be large because individuals have different perceptual preferences and annotation habits. Model sampling variance is usually much
smaller because stable score generation is itself a desirable behavior for BIQA models. (2) Model variance may not be fully captured by repeated sampled scalar outputs. A more faithful uncertainty estimate may need token-level
alternatives. (3) Dataset-level variance behavior differs strongly; see Appendix 11. (4) The standard BIQA metrics, PLCC and SRCC, evaluate mean score prediction and rank
order rather than predictive variance. From the evaluation perspective, variance may describe reliability or ambiguity, but it is not directly rewarded by the metrics.
This work has several limitations. First, inter-rater variance did not consistently improve margin learning, although uncertainty may still encode reliability or ambiguity. Second, experiments mainly use Qwen-family MLLMs; testing other MLLMs and non-MLLM backbones is needed for generality and efficiency. Third, margin learning needs sufficient pair coverage and sampled completions, so small datasets may yield noisy margins. Finally, we do not deeply analyze visual-quality reasoning; future work should examine reasoning traces, and attribute-level explanations.
This work revisits regression and ranking in BIQA through the lens of quality margins. We show that pointwise regression fits pairwise margins together with a dataset-anchor term, while Thurstone-style ranking fits transformed margins through preference probabilities. Together with the pairwise form of PLCC, this reveals margin fitting as a shared mechanism behind score calibration and ordinal comparison. Guided by this view, we propose MR-IQA, an RL-based framework that directly rewards calibrated MOS margins from sampled scores. Across general BIQA benchmarks and controlled comparisons, MR-IQA achieves competitive overall performance. Overall, this unified margin view explains why previous joint regression and ranking designs can be effective and provides a foundation for future optimization methods that directly model quality structure. It further turns the empirical complementarity between score calibration and ordinal comparison into an explicit optimization principle for future BIQA design.
We provide the derivation of the pairwise margin-covariance identity in Eq. (13) of the main paper. Let \[T = \sum_{i=1}^{N}\sum_{j=1}^{N} (s_i-s_j)(\mu_i-\mu_j). \label{eq:app-pairwise-t}\tag{24}\] Each unordered pair \((i,j)\) with \(i<j\) appears twice in the ordered summation, as \((i,j)\) and \((j,i)\), and the two terms have the same product. Therefore, \[T = 2\sum_{i<j} (s_i-s_j)(\mu_i-\mu_j) = 2\sum_{i<j} \Delta s_{ij}\Delta\mu_{ij}. \label{eq:app-unordered-to-ordered}\tag{25}\] On the other hand, expanding \(T\) gives \[\begin{align} T &= \sum_{i=1}^{N}\sum_{j=1}^{N} \left( s_i\mu_i - s_i\mu_j - s_j\mu_i + s_j\mu_j \right) \notag\\ &= N\sum_{i=1}^{N}s_i\mu_i - \left(\sum_{i=1}^{N}s_i\right) \left(\sum_{j=1}^{N}\mu_j\right) \notag\\ &\quad - \left(\sum_{j=1}^{N}s_j\right) \left(\sum_{i=1}^{N}\mu_i\right) + N\sum_{j=1}^{N}s_j\mu_j \notag\\ &= 2N\sum_{n=1}^{N}s_n\mu_n - 2N^2\bar{s}\bar{\mu}. \label{eq:app-t-expanded} \end{align}\tag{26}\] The centered covariance term satisfies \[\begin{align} &\sum_{n=1}^{N} (s_n-\bar{s}) (\mu_n-\bar{\mu}) \notag\\ &= \sum_{n=1}^{N}s_n\mu_n - \bar{\mu}\sum_{n=1}^{N}s_n - \bar{s}\sum_{n=1}^{N}\mu_n + N\bar{s}\bar{\mu} \notag\\ &= \sum_{n=1}^{N}s_n\mu_n - N\bar{s}\bar{\mu}. \label{eq:app-centered-cov} \end{align}\tag{27}\] Combining 26 27 yields \[T = 2N \sum_{n=1}^{N} (s_n-\bar{s})(\mu_n-\bar{\mu}). \label{eq:app-t-centered}\tag{28}\] Finally, combining 28 with 25 gives \[\sum_{i<j} (s_i-s_j)(\mu_i-\mu_j) = N \sum_{n=1}^{N} (s_n-\bar{s})(\mu_n-\bar{\mu}). \label{eq:app-pairwise-cov-identity}\tag{29}\]
We further investigate the effect of group size \(N\) and sampling number \(K\). The \(N\)/\(K\) rows of 4 use the same Qwen3-VL-2B [32] backbone, and the same training protocol as in main-paper.
| Authentic | AI-generated | Synthetic | Average | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3-8 (lr)9-10 (lr)11-14 (lr)15-16 \(N\) | \(K\) | KonIQ | SPAQ | LIVE-W | AGIQA-3K | KADID-10k | CSIQ | Avg. | |||||||
| 3-4 (lr)5-6 (lr)7-8 (lr)9-10 (lr)11-12 (lr)13-14 (lr)15-16 | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | PLCC | SRCC | |
| 8 | 6 | 0.949 | 0.931 | 0.892 | 0.897 | 0.899 | 0.883 | 0.804 | 0.732 | 0.672 | 0.683 | 0.767 | 0.732 | 0.831 | 0.810 |
| 6 | 6 | 0.945 | 0.929 | 0.893 | 0.896 | 0.887 | 0.877 | 0.805 | 0.713 | 0.648 | 0.655 | 0.768 | 0.749 | 0.824 | 0.803 |
| 4 | 6 | 0.944 | 0.927 | 0.890 | 0.895 | 0.880 | 0.868 | 0.806 | 0.726 | 0.646 | 0.658 | 0.775 | 0.742 | 0.823 | 0.803 |
| 6 | 8 | 0.911 | 0.901 | 0.877 | 0.876 | 0.801 | 0.823 | 0.779 | 0.706 | 0.604 | 0.603 | 0.714 | 0.723 | 0.781 | 0.772 |
| 6 | 6 | 0.945 | 0.929 | 0.893 | 0.896 | 0.887 | 0.877 | 0.805 | 0.713 | 0.648 | 0.655 | 0.768 | 0.749 | 0.824 | 0.803 |
| 6 | 4 | 0.938 | 0.923 | 0.890 | 0.891 | 0.871 | 0.860 | 0.799 | 0.708 | 0.608 | 0.626 | 0.768 | 0.749 | 0.812 | 0.793 |
| Epoch 3 | 0.944 | 0.931 | 0.892 | 0.897 | 0.890 | 0.878 | 0.804 | 0.722 | 0.620 | 0.656 | 0.732 | 0.697 | 0.814 | 0.797 | |
| Epoch 10 | 0.949 | 0.931 | 0.892 | 0.897 | 0.899 | 0.883 | 0.804 | 0.732 | 0.672 | 0.683 | 0.767 | 0.732 | 0.831 | 0.810 | |
| \(\Delta\) | +0.005 | +0.000 | +0.000 | +0.000 | +0.009 | +0.005 | +0.000 | +0.010 | +0.052 | +0.027 | +0.035 | +0.035 | +0.017 | +0.013 | |
1.7pt
Overall, the setting with sampling number \(K=6\) and a group size of \(N=8\) images achieves the best average performance. When \(K\) is fixed at \(6\), a larger group size appears more favorable within the tested range. When \(N\) is fixed at \(6\), \(K=6\) performs best, but the effect of sampling number does not show a clear monotonic trend. Sweeping \(K\) under a larger group size such as \(N=8\) is not computationally affordable for us and is left for future study.
We examine convergence behavior on a diagnostic subset of \(200\) randomly sampled in-domain KonIQ [34] images to visualize optimization dynamics. 5 shows that MR-IQA converges faster in the in-domain setting. Compared with the ranking baseline, this behavior is reasonable because margin learning preserves scale information in addition to ordinal direction. More interestingly, MR-IQA also rises faster than the regression baseline. One possible explanation is that regression observes each image as an isolated target, whereas a margin reward compares each image with multiple peers in the same group and therefore exposes richer relational supervision per update. The checkpoint rows in 4 further compare the epoch-3 checkpoint with the epoch-10 checkpoint under the same cross-benchmark protocol. The epoch-3 checkpoint already performs close to the final checkpoint on several benchmarks, suggesting that the model reaches a strong solution early. Continued training still brings modest average gains of \(+0.017\) PLCC and \(+0.013\) SRCC, with larger improvements on synthetic datasets. This suggests that later epochs primarily refine cross-dataset generalization rather than changing the learned in-domain quality structure.
We further audit the per-image human disagreement statistics available in the current data manifests. To ensure consistency with the training and evaluation settings, and to keep the score scales comparable across datasets, we use the normalized statistics provided by DeQA [10]. 6 visualizes the MOS-conditioned variance distributions for KonIQ [34], SPAQ [35], LIVE-W [36], AGIQA-3K [37], KADID-10k [38], and CSIQ [39].
The statistics help explain why directly using manifest variance as a human-uncertainty proxy can be fragile. First, the absolute variance scale is strongly dataset-dependent: LIVE-W [36] and KADID-10k [38] have much larger variance than KonIQ [34], whereas CSIQ [39] has substantially lower variance. When such values are placed in the denominator of a normalized margin error, the reward becomes less sensitive on high-variance datasets and overly sharp on low-variance datasets, even if the downstream evaluation only uses MOS means. Second, the MOS-conditioned variance pattern is not stable: some datasets show higher variance around middle quality levels, while others exhibit flatter or lower-variance distributions. Thus, a large annotated variance does not always mean that a pairwise quality relation should be down-weighted in the same way across datasets. These observations do not imply that rater variance is useless. Rather, they suggest that the current field mixes multiple factors, including observer disagreement, dataset protocol, score normalization, and possibly content difficulty. This can explain why variance-aware normalization may underperform or behave inconsistently compared with the variant without variance in main-paper Table 2. A more reliable use of human uncertainty may require dataset-specific calibration, robust clipping, or richer annotation models beyond a Gaussian standard deviation.
For the Q-Insight baseline [11], we follow the official fixed-threshold binary reward: \[r_{\mathrm{QI},i}^{(k)} = \mathbf{1}\!\left[ |s_i^{(k)}-\mu_i|\le \tau \right], \qquad \tau=0.35. \label{eq:qinsight-reward}\tag{30}\] The continuous Thurstone preference probability [16] is \[p(i>j) = \Phi\!\left( \frac{\mu_i-\mu_j}{\sqrt{\sigma_i^2+\sigma_j^2}} \right). \label{eq:thurstone}\tag{31}\] For the VQ-R1 baseline [14], we follow the official Thurstone-style [16] fidelity reward. Here “Thurstone-style” refers to the preference-modeling principle, while the implemented reward is prediction-dependent and uses the model prediction sampling variance. Let \(\hat{\sigma}_i^2\) and \(\hat{\sigma}_j^2\) denote the model prediction sampling variances. The predicted preference probability for completion \(k\) of image \(x_i\) is \[p_{ij}^{(k)} = \Phi\!\left( \frac{s_i^{(k)}-\bar{s}_j}{\sqrt{\hat{\sigma}_i^2+\hat{\sigma}_j^2}} \right). \label{eq:vqr1-predicted-probability}\tag{32}\] Compared with the continuous probability in 31 , the official VQ-R1 implementation [14] discretizes the MOS relation into three outcomes, breaking the continuity of the original Thurstone formulation, and converts it into a hard label: \[y_{ij}= \begin{cases} 1, & \mu_i>\mu_j,\\ 0.5, & \mu_i=\mu_j,\\ 0, & \mu_i<\mu_j. \end{cases} \label{eq:vqr1-hard-label}\tag{33}\] With the hard label in 33 , the fidelity reward is \[r_{\mathrm{VQ\text{-}R1},ij}^{(k)} = \sqrt{p_{ij}^{(k)}y_{ij}} + \sqrt{(1-p_{ij}^{(k)})(1-y_{ij})}. \label{eq:vqr1-fidelity-reward}\tag{34}\] The uncertainty-normalized MR-IQA variant uses human opinion variance through \(\tau_{ij}^{\mathrm{unc}}=\sqrt{\sigma_i^2+\sigma_j^2}\), whereas the raw variant sets \(\tau_{ij}=1\) and the VQ-R1 baseline [14] uses model sampling variance in 32 .
Margin learning is not direct PLCC optimization. Quality margin is a relational variable induced by human opinion scores, while PLCC is an evaluation metric. Their connection arises because both remove global offsets and focus on relative variation. During training, MR-IQA uses sampled pairwise errors in main-paper Eq. (19), not PLCC or the cosine identity in main-paper Eq. (16), keeping the feedback local and avoiding group-dependent metric rewards.
Additional ablation studies and training dynamics are provided in Appendix [app:additional-ablation] [app:convergence-efficiency].↩︎