skip to main content
10.1145/3487553.3524721acmconferencesArticle/Chapter ViewAbstractPublication PageswwwConference Proceedingsconference-collections
research-article

CCGG: A Deep Autoregressive Model for Class-Conditional Graph Generation

Authors Info & Claims
Published:16 August 2022Publication History

ABSTRACT

Graph data structures are fundamental for studying connected entities. With an increase in the number of applications where data is represented as graphs, the problem of graph generation has recently become a hot topic. However, despite its significance, conditional graph generation that creates graphs with desired features is relatively less explored in previous studies. This paper addresses the problem of class-conditional graph generation that uses class labels as generation constraints by introducing the Class Conditioned Graph Generator (CCGG). We built CCGG by injecting the class information as an additional input into a graph generator model and including a classification loss in its total loss along with a gradient passing trick. Our experiments show that CCGG outperforms existing conditional graph generation methods on various datasets. It also manages to maintain the quality of the generated graphs in terms of distribution-based evaluation metrics.

References

  1. Rim Assouel, Mohamed Ahmed, Marwin H Segler, Amir Saffari, and Yoshua Bengio. 2018. Defactor: Differentiable edge factorization-based probabilistic graph generation. arXiv preprint arXiv:1811.09766(2018).Google ScholarGoogle Scholar
  2. Aleksandar Bojchevski, Oleksandr Shchur, Daniel Zügner, and Stephan Günnemann. 2018. NetGAN: Generating Graphs via Random Walks. In International Conference on Machine Learning. 609–618.Google ScholarGoogle Scholar
  3. Jun Cheng, Fuxiang Wu, Yanling Tian, Lei Wang, and Dapeng Tao. 2020. RiFeGAN: Rich feature generation for text-to-image synthesis from prior knowledge. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 10911–10920.Google ScholarGoogle ScholarCross RefCross Ref
  4. Nicola De Cao and Thomas Kipf. 2018. MolGAN: An implicit generative model for small molecular graphs. In ICML Workshop on Theoretical Foundations and Applications of Deep Generative Models.Google ScholarGoogle Scholar
  5. Paul Erdős and Alfréd Rényi. 1960. On the evolution of random graphs. Publ. Math. Inst. Hung. Acad. Sci 5, 1 (1960), 17–60.Google ScholarGoogle Scholar
  6. Federico Errica, Marco Podda, Davide Bacciu, and Alessio Micheli. 2019. A fair comparison of graph neural networks for graph classification. arXiv preprint arXiv:1912.09893(2019).Google ScholarGoogle Scholar
  7. Faezeh Faez, Yassaman Ommi, Mahdieh Soleymani Baghshah, and Hamid R Rabiee. 2021. Deep graph generators: A survey. IEEE Access 9(2021), 106675–106702.Google ScholarGoogle ScholarCross RefCross Ref
  8. Shuangfei Fan and Bert Huang. 2020. Attention-Based Graph Evolution. In Pacific-Asia Conference on Knowledge Discovery and Data Mining. Springer, 436–447.Google ScholarGoogle Scholar
  9. Anuththari Gamage, Eli Chien, Jianhao Peng, and Olgica Milenkovic. 2020. Multi-MotifGAN (MMGAN): Motif-Targeted Graph Generation And Prediction. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 4182–4186.Google ScholarGoogle ScholarCross RefCross Ref
  10. Swati Goswami, C.A. Murthy, and Asit K. Das. 2018. Sparsity measure of a network graph: Gini index. Information Sciences 462(2018), 16–39. https://doi.org/10.1016/j.ins.2018.05.044Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Bin Guo, Hao Wang, Yasan Ding, Shaoyang Hao, Yueqi Sun, and Zhiwen Yu. 2019. c-TextGen: Conditional Text Generation for Harmonious Human-Machine Interaction. CoRR abs/1909.03409(2019). arXiv:1909.03409http://arxiv.org/abs/1909.03409Google ScholarGoogle Scholar
  12. Xiaojie Guo, Liang Zhao, Zhao Qin, Lingfei Wu, Amarda Shehu, and Yanfang Ye. 2020. Interpretable deep graph generation with node-edge co-disentanglement. In Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery & data mining. 1697–1707.Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Will Hamilton, Zhitao Ying, and Jure Leskovec. 2017. Inductive representation learning on large graphs. In Advances in neural information processing systems. 1024–1034.Google ScholarGoogle Scholar
  14. Eric Jang, Shixiang Gu, and Ben Poole. 2017. Categorical Reparameterization with Gumbel-Softmax. arxiv:1611.01144 [stat.ML]Google ScholarGoogle Scholar
  15. Wengong Jin, Kevin Yang, Regina Barzilay, and Tommi Jaakkola. 2019. Learning Multimodal Graph-to-Graph Translation for Molecular Optimization. arxiv:1812.01070 [cs.LG]Google ScholarGoogle Scholar
  16. Minguk Kang and Jaesik Park. 2020. Contragan: Contrastive learning for conditional image generation. Advances in Neural Information Processing Systems 33 (2020), 21357–21369.Google ScholarGoogle Scholar
  17. Yitong Li, Zhe Gan, Yelong Shen, Jingjing Liu, Yu Cheng, Yuexin Wu, Lawrence Carin, David Carlson, and Jianfeng Gao. 2019. Storygan: A sequential conditional gan for story visualization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 6329–6338.Google ScholarGoogle ScholarCross RefCross Ref
  18. Yibo Li, Liangren Zhang, and Zhenming Liu. 2018. Multi-objective de novo drug design with conditional graph generative model. Journal of cheminformatics 10, 1 (2018), 33.Google ScholarGoogle ScholarCross RefCross Ref
  19. Renjie Liao, Yujia Li, Yang Song, Shenlong Wang, Will Hamilton, David K Duvenaud, Raquel Urtasun, and Richard Zemel. 2019. Efficient graph generation with graph recurrent attention networks. In Advances in Neural Information Processing Systems. 4257–4267.Google ScholarGoogle Scholar
  20. Qi Liu, Miltiadis Allamanis, Marc Brockschmidt, and Alexander Gaunt. 2018. Constrained graph variational autoencoders for molecule design. In Advances in neural information processing systems. 7795–7804.Google ScholarGoogle Scholar
  21. Yuzhong Liu, Qiyang Zhao, and Cheng Jiang. 2017. Conditional image generation using feature-matching GAN. In 2017 10th International Congress on Image and Signal Processing, BioMedical Engineering and Informatics (CISP-BMEI). 1–5. https://doi.org/10.1109/CISP-BMEI.2017.8302049Google ScholarGoogle ScholarCross RefCross Ref
  22. Tengfei Ma, Jie Chen, and Cao Xiao. 2018. Constrained generation of semantically valid graphs via regularizing variational autoencoders. In Advances in Neural Information Processing Systems. 7113–7124.Google ScholarGoogle Scholar
  23. Anh Viet Phan, Minh Le Nguyen, Yen Lam Hoang Nguyen, and Lam Thu Bui. 2018. DGCNN: A convolutional neural network over large-scale labeled graphs. Neural Networks 108(2018), 533–543. https://doi.org/10.1016/j.neunet.2018.09.001Google ScholarGoogle ScholarCross RefCross Ref
  24. Martin Simonovsky and Nikos Komodakis. 2018. Graphvae: Towards generation of small graphs using variational autoencoders. In International Conference on Artificial Neural Networks. Springer, 412–422.Google ScholarGoogle ScholarCross RefCross Ref
  25. Ke Wang and Xiaojun Wan. 2018. SentiGAN: Generating Sentimental Texts via Mixture Adversarial Networks. In IJCAI.Google ScholarGoogle Scholar
  26. Wenlin Wang, Zhe Gan, Hongteng Xu, Ruiyi Zhang, Guoyin Wang, Dinghan Shen, Changyou Chen, and Lawrence Carin. 2019. Topic-Guided Variational Autoencoders for Text Generation. arxiv:1903.07137 [cs.CL]Google ScholarGoogle Scholar
  27. Xinchen Yan, Jimei Yang, Kihyuk Sohn, and Honglak Lee. 2016. Attribute2image: Conditional image generation from visual attributes. In European Conference on Computer Vision. Springer, 776–791.Google ScholarGoogle ScholarCross RefCross Ref
  28. Carl Yang, Peiye Zhuang, Wenhan Shi, Alan Luu, and Pan Li. 2019. Conditional structure generation through graph variational generative adversarial nets. In Advances in Neural Information Processing Systems. 1340–1351.Google ScholarGoogle Scholar
  29. Rex Ying, Jiaxuan You, Christopher Morris, Xiang Ren, William L. Hamilton, and Jure Leskovec. 2018. Hierarchical Graph Representation Learning with Differentiable Pooling. CoRR abs/1806.08804(2018). arXiv:1806.08804http://arxiv.org/abs/1806.08804Google ScholarGoogle Scholar
  30. Jiaxuan You, Rex Ying, Xiang Ren, William Hamilton, and Jure Leskovec. 2018. GraphRNN: Generating Realistic Graphs with Deep Auto-regressive Models. In International Conference on Machine Learning. 5708–5717.Google ScholarGoogle Scholar
  31. Tianhao Zhang, Hung-Yu Tseng, Lu Jiang, Weilong Yang, Honglak Lee, and Irfan Essa. 2021. Text as neural operator: Image manipulation by text instruction. In Proceedings of the 29th ACM International Conference on Multimedia. 1893–1902.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. CCGG: A Deep Autoregressive Model for Class-Conditional Graph Generation

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          WWW '22: Companion Proceedings of the Web Conference 2022
          April 2022
          1338 pages
          ISBN:9781450391306
          DOI:10.1145/3487553

          Copyright © 2022 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 16 August 2022

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article
          • Research
          • Refereed limited

          Acceptance Rates

          Overall Acceptance Rate1,899of8,196submissions,23%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader

        HTML Format

        View this article in HTML Format .

        View HTML Format