Skip to content

[TMM] MINT-IQA: Quality Assessment for AI Generated Images with Instruction Tuning

License

Notifications You must be signed in to change notification settings

IntMeGroup/MINT-IQA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MINT-IQA: Quality Assessment for AI Generated Images with Instruction Tuning (TMM)

This is the official repo of the paper Quality Assessment for AI Generated Images with Instruction Tuning


Abstract: Artificial Intelligence Generated Content (AIGC) has grown rapidly in recent years, among which AI-based image generation has gained widespread attention due to its efficient and imaginative image creation ability. However, AI-generated Images (AIGIs) may not satisfy human preferences due to their unique distortions, which highlights the necessity to understand and evaluate human preferences for AIGIs. To this end, in this paper, we first establish a novel Image Quality Assessment (IQA) database for AIGIs, termed AIGCIQA2023+, which provides human visual preference scores and detailed preference explanations from three perspectives including quality, authenticity, and correspondence. Then, based on the constructed AIGCIQA2023+ database, this paper presents a MINT-IQA model to evaluate and explain human preferences for AIGIs from Multi-perspectives with INstruction Tuning. Specifically, the MINT-IQA model first learn and evaluate human preferences for AI-generated Images from multi-perspectives, then via the vision-language instruction tuning strategy, MINT-IQA attains powerful understanding and explanation ability for human visual preference on AIGIs, which can be used for feedback to further improve the assessment capabilities. Extensive experimental results demonstrate that the proposed MINT-IQA model achieves state-of-the-art performance in understanding and evaluating human visual preferences for AIGIs, and the proposed model also achieves competing results on traditional IQA tasks compared with state-of-the-art IQA models. The AIGCIQA2023+ database and MINT-IQA model will be released to facilitate future research.


2f36546a4514aa8ba744d62432b7b95

Database

The constructed AIGCIQA2023 database can be accessed using the links below. Download AIGCIQA2023 database:[百度网盘 (提取码:q9dt)], [Terabox]

a82d1d832f524caf4e1b93d4a85eb36

The mapping relationship between MOS points and filenames are as follows:

mosz1: Quality

mosz2: Authenticity

mosz3: Correspondence

Code

d9cb2afb495449c3ddd397d0cbfe363

🛠️ Installation

Clone this repository:

git clone https://github.com/wangjiarui153/MINT-IQAL.git

Create a conda virtual environment and activate it:

conda create -n MINTIQA python=3.8
conda activate MINTIQA

Install dependencies using requirements.txt:

pip install -r requirements.txt

🚀 Weight and Database Download

The codes and inference weights can be downloaded from IntMeGroup/MINT-IQA_pretrain

or

通过网盘分享的文件:MINT-IQA 链接: https://pan.baidu.com/s/10e_x4NOwibf4z0e7s2Euhg 提取码: 89jg

The Database is in: https://github.com/wangjiarui153/AIGCIQA2023

🌈 Inference

Set img_path in inference.py line29 Set the corresponding prompt to the image in inference.py line31 file setting in config/options_infer.py

python inference.py

🚀 Training

For Stage 1 Score Training

python train_stage1.py

or You can choose to train with LoRA

python train_stage1_lora3.py

For Stage 2 Explanation Training

python train_stage2.py

🌈 Evaluation

For Stage 1 Score Evaluation

evaluate_3scores.py

For Stage 2 Explanation Evaluation

evaluate_instruct.py

📌 TODO

  • ✅ Release the AIGCIQA2023 database
  • ✅ Release the Inference code (stage1 and stage2)
  • ✅ Release the training code (stage1 and stage2)

📧 Contact

If you have any inquiries, please don't hesitate to reach out via email at wangjiarui@sjtu.edu.cn

🎓Citations

If you find MINT-IQA is helpful, please cite:

@misc{wang2024understandingevaluatinghumanpreferences,
      title={Understanding and Evaluating Human Preferences for AI Generated Images with Instruction Tuning}, 
      author={Jiarui Wang and Huiyu Duan and Guangtao Zhai and Xiongkuo Min},
      year={2024},
      eprint={2405.07346},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2405.07346}, 
}

About

[TMM] MINT-IQA: Quality Assessment for AI Generated Images with Instruction Tuning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages