Papers › Adaptive Image Quality Assessment via Teaching Large Multimodal Model to Compare

Adaptive Image Quality Assessment via Teaching Large Multimodal Model to Compare

29 May 2024arXiv:2405.19298archive 2025-07-28

Hanwei Zhu, HaoNing Wu, Yixuan Li, ZiCheng Zhang, Baoliang Chen, Lingyu Zhu, Yuming Fang, Guangtao Zhai, Weisi Lin, Shiqi Wang

While recent advancements in large multimodal models (LMMs) have significantly improved their abilities in image quality assessment (IQA) relying on absolute quality rating, how to transfer reliable relative quality comparison outputs to continuous perceptual quality scores remains largely unexplored. To address this gap, we introduce Compare2Score-an all-around LMM-based no-reference IQA (NR-IQA) model, which is capable of producing qualitatively comparative responses and effectively translating these discrete comparative levels into a continuous quality score. Specifically, during training, we present to generate scaled-up comparative instructions by comparing images from the same IQA dataset, allowing for more flexible integration of diverse IQA datasets. Utilizing the established large-scale training corpus, we develop a human-like visual quality comparator. During inference, moving beyond binary choices, we propose a soft comparison method that calculates the likelihood of the test image being preferred over multiple predefined anchor images. The quality score is further optimized by maximum a posteriori estimation with the resulting probability matrix. Extensive experiments on nine IQA datasets validate that the Compare2Score effectively bridges text-defined comparative levels during training with converted single image quality score for inference, surpassing state-of-the-art IQA models across diverse scenarios. Moreover, we verify that the probability-matrix-based inference conversion not only improves the rating accuracy of Compare2Score but also zero-shot general-purpose LMMs, suggesting its intrinsic effectiveness.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.19298")

Code

Syntology Ran 11 of 16 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 8 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Q-Future/Compare2Score officialmentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 11 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran · fixture could not drive it
8ran
5unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Q-Future/Compare2Score. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_intermediate_size Q-Future/Compare2Score/q_align/model/convert_mplug_owl2_weight_to_hf.py official repository ran fingerprinted MIT (permissive) · 0c540da8d3df6b6e · report
expand2square Q-Future/Compare2Score/q_align/mm_utils.py official repository ran · our draft was wrong MIT (permissive) · 592b3c1a88f93d7c · report
expand2square Q-Future/Compare2Score/q_align/model/modeling_mplug_owl2.py official repository ran MIT (permissive) · 0d475d995befa10b · report
get_2d_sincos_pos_embed Q-Future/Compare2Score/q_align/model/visual_encoder.py official repository ran fingerprinted MIT (permissive) · 77e8a3ac46f3afec · report
load_image_from_base64 Q-Future/Compare2Score/q_align/mm_utils.py official repository ran MIT (permissive) · c3ee9d07c900dd55 · report
load_video Q-Future/Compare2Score/q_align/load_video.py official repository ran · fixture could not drive it MIT (permissive) · 72950fb8c1bfc7a8 · report
norm_cdf Q-Future/Compare2Score/q_align/evaluate/scorer.py official repository ran fingerprinted MIT (permissive) · a245d607af047838 · report
process_images Q-Future/Compare2Score/q_align/mm_utils.py official repository ran MIT (permissive) · af0990e5a0f15a4d · report
read_json Q-Future/Compare2Score/q_align/model/convert_mplug_owl2_weight_to_hf.py official repository ran · our draft was wrong MIT (permissive) · c5bcf01d18bba63d · report
softmax Q-Future/Compare2Score/q_align/evaluate/scorer.py official repository ran fingerprinted MIT (permissive) · 50d788b8ddf322fa · report
tokenizer_image_token Q-Future/Compare2Score/q_align/model/modeling_mplug_owl2.py official repository ran MIT (permissive) · cc3979386481ae15 · report
get_2d_sincos_pos_embed_from_grid Q-Future/Compare2Score/q_align/model/visual_encoder.py official repository unverified MIT (permissive) · 2884deadbb637c3e · report
get_abs_pos Q-Future/Compare2Score/q_align/model/visual_encoder.py official repository unverified MIT (permissive) · 90a8e3b4b2b4aaf0 · report
load_pretrained_model Q-Future/Compare2Score/q_align/model/builder.py official repository unverified MIT (permissive) · edad6c046a6dc4a6 · report
optimize_score_map_pytorch_cuda Q-Future/Compare2Score/q_align/evaluate/scorer.py official repository unverified MIT (permissive) · 9203d35835a1d34c · report
write_model Q-Future/Compare2Score/q_align/model/convert_mplug_owl2_weight_to_hf.py official repository unverified MIT (permissive) · c40b2d63fc02cac4 · report

Tasks

Image Quality AssessmentNo-Reference Image Quality Assessment

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections