Proceedings

CGI: Identifying Conditional Generative Models with Example Images

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 7227-7235.

https://doi.org/10.24963/ijcai.2025/804

Abstract

Generative models have achieved remarkable performance recently, and thus model hubs have emerged. Existing model hubs typically assume basic text matching is sufficient to search for models. However, in reality, due to different abstractions and the large number of models in model hubs, it is not easy for users to review model descriptions and example images, choosing which model best meets their needs. Therefore, it is necessary to describe model functionality wisely so that future users can efficiently search for the most suitable model for their needs. Efforts to address this issue remain limited. In this paper, we propose Conditional Generative Model Identification (CGI), which aims to provide an effective way to identify the most suitable model using user-provided example images rather than requiring users to manually review a large number of models with example images. To address this problem, we propose the Prompt-Based Model Identification (PMI), which can adequately describe model functionality and precisely match requirements with specifications. To evaluate PMI approach and promote related research, we provide a benchmark comprising 65 models and 9100 identification tasks. Extensive experimental and human evaluation results demonstrate that PMI is effective. For instance, 92% of models are correctly identified with significantly better FID scores when four example images are provided.

  1. [Arjovsky et al., 2017] Mart´in Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein generative adversarial net- works. In Proceedings of the 34th International Confer- ence on Machine Learning, pages 214-223, 2017.
  2. [Brock et al., 2019] Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fi- delity natural image synthesis. In Proceedings of the 7th International Conference on Learning Representations, 2019.
  3. [Choi et al., 2020] Yunjey Choi, Youngjung Uh, Jaejun Yoo, and Jung-Woo Ha. Stargan v2: Diverse image synthe- sis for multiple domains. In Proceedings of IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8185-8194, 2020.
  4. [Creswell et al., 2018] Antonia Creswell, Tom White, Vin- cent Dumoulin, Kai Arulkumaran, Biswa Sengupta, and Anil A. Bharath. Generative adversarial networks: An overview. IEEE Signal Processing Magazine, 35(1):53- 65, 2018.
  5. [Dhariwal and Nichol, 2021] Prafulla Dhariwal and Alexan- der Quinn Nichol. Diffusion models beat GANs on image synthesis. In Advances in Neural Information Processing Systems, pages 8780-8794, 2021.
  6. [Goodfellow et al., 2014] Ian J. Goodfellow, Jean Pouget- Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron C. Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Infor- mation Processing Systems, pages 2672-2680, 2014.
  7. [Guo et al., 2023] Lan-Zhe Guo, Zhi Zhou, Yu-Feng Li, and Zhi-Hua Zhou. Identifying useful learnwares for hetero- geneous label spaces. In Proceedings of the 40th Inter- national Conference on Machine Learning, pages 12122- 12131, 2023.
  8. [Jebara, 2012] Tony Jebara. Machine Learning: Discrimina- tive and Generative. Springer Science & Business Media, 2012.
  9. [Johnson et al., 2019] Jeff Johnson, Matthijs Douze, and Hervé Jégou. Billion-scale similarity search with GPUs. IEEE Transactions on Big Data, 7(3):535-547, 2019.
  10. [Kingma and Welling, 2014] Diederik P. Kingma and Max Welling. Auto-encoding variational bayes. In Proceedings of the 2nd International Conference on Learning Repre- sentations, 2014.
  11. [Kingma and Welling, 2019] Diederik P. Kingma and Max Welling. An introduction to variational autoencoders. Foundations and Trends in Machine Learning, 12(4):307- 392, 2019.
  12. [Lu et al., 2023] Daohan Lu, Sheng-Yu Wang, Nupur Ku- mari, Rohan Agarwal, Mia Tang, David Bau, and Jun-Yan Zhu. Content-based search for deep generative models. In SIGGRAPH Asia 2023 Conference Papers, pages 71:1- 71:12, 2023.
  13. [Luo et al., 2024] Michael Luo, Justin Wong, Brandon Tra- bucco, Yanping Huang, Joseph E. Gonzalez, Zhifeng Chen, Ruslan Salakhutdinov, and Ion Stoica. Stylus: Au- tomatic adapter selection for diffusion models, 2024.
  14. [Nichol and Dhariwal, 2021] Alexander Quinn Nichol and Prafulla Dhariwal. Improved denoising diffusion prob- abilistic models. In Proceedings of the 38th Interna- tional Conference on Machine Learning, pages 8162- 8171, 2021.
  15. [Parmar et al., 2021] Gaurav Parmar, Dacheng Li, Kwon- joon Lee, and Zhuowen Tu. Dual contradistinctive genera- tive autoencoder. In Proceedings of the IEEE/CVF Confer- ence on Computer Vision and Pattern Recognition, pages 823-832, 2021.
  16. [Radford et al., 2021] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agar- wal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervi- sion. In Proceedings of the 38th International Conference on Machine Learning, pages 8748-8763, 2021.
  17. [Rezende and Mohamed, 2015] Danilo Jimenez Rezende and Shakir Mohamed. Variational inference with nor- malizing flows. In Proceedings of the 32nd International Conference on Machine Learning, pages 1530-1538, 2015.
  18. [Rombach et al., 2022] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10684-10695, 2022.
  19. [Shen et al., 2023] Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang. Hug- gingGPT: Solving AI tasks with ChatGPT and its friends in HuggingFace. CoRR, abs/2303.17580, 2023.
  20. [Smola et al., 2007] Alexander J. Smola, Arthur Gretton, Le Song, and Bernhard Schölkopf. A hilbert space em- bedding for distributions. In Proceedings of the 18th In- ternational Conference on Algorithmic Learning Theory, pages 13-31, 2007.
  21. [Sohl-Dickstein et al., 2015] Jascha Sohl-Dickstein, Eric A. Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermody- namics. In Proceedings of the 32nd International Con- ference on Machine Learning, pages 2256-2265, 2015.
  22. [Sohn et al., 2015] Kihyuk Sohn, Honglak Lee, and Xinchen Yan. Learning structured output representation using deep conditional generative models. In Advances in Neural In- formation Processing Systems, pages 3483-3491, 2015.
  23. [Vahdat and Kautz, 2020] Arash Vahdat and Jan Kautz. NVAE: A deep hierarchical variational autoencoder. In Advances in Neural Information Processing Systems, pages 19667-19679, 2020.
  24. [van den Oord et al., 2017] Aäron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. Neural discrete rep- resentation learning. In Advances in Neural Information Processing Systems, pages 6306-6315, 2017.
  25. [Wu et al., 2023] Xi-Zhu Wu, Wenkai Xu, Song Liu, and Zhi-Hua Zhou. Model reuse with reduced kernel mean embedding specification. IEEE Transactions on Knowl- edge and Data Engineering, 35(1):699-710, 2023.
  26. [Xu et al., 1994] Lei Xu, Adam Krzyzak, and Alan L. Yuille. On radial basis function nets and kernel regression: Sta- tistical consistency, convergence rates, and receptive field size. Neural Networks, 7(4):609-628, 1994.
  27. [Zhou and Tan, 2022] Zhi-Hua Zhou and Zhi-Hao Tan. Learnware: Small models do big. CoRR, abs/2210.03647, 2022.
  28. [Zhou et al., 2024] Zhi Zhou, Ming Yang, Jiang-Xin Shi, Lan-Zhe Guo, and Yufeng Li. Decoop: Robust prompt tuning with out-of-distribution detection. In Proceedings of the 41st International Conference on Machine Learn- ing, pages 62161-62177, 2024.
  29. [Zhou et al., 2025] Zhi Zhou, Kun-Yang Yu, Lan-Zhe Guo, and Yu-Feng Li. Fully test-time adaptation for tabular data. In Proceedings of the 39th AAAI Conference on Artificial Intelligence, pages 23027-23035, 2025.
  30. [Zhou, 2016] Zhi-Hua Zhou. Learnware: on the future of machine learning. Frontiers of Computer Science, 10(4):589-590, 2016.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards