{"title":"关于三元对抗生成网络的思考","authors":"Kennichi Nakamura, Hiroki Nakahara","doi":"10.1109/ISMVL57333.2023.00012","DOIUrl":null,"url":null,"abstract":"Generative adversarial networks (GANs), which can generate and transform data, have been attracting attention. However, the model must be lightweight and fast when applied in the field. As for the ternarization of GAN, (TernaryGAN,) which restricts the value of the weights to {−1, 0, +1} during forwarding propagation of the generator, has already been proposed. In this paper, we investigated by experiment how ternary generator and/or discriminator affects the training of GANs. To make not only generator ternary, but also discriminator, we propose the DGR (Decomposition with Gradient Retained) method, which can change discriminator’s input images to binary. We trained GANs for the cases where the generator and the discriminator are ternarized, and for the case where only one of them is ternarized, and measured the degree of image degradation using the FID (Fréchet inception distance) score. Only the ternarized generator is showed the lowest accuracy degradation, implying that GANs contain some parts that are not suitable for ternarization. We found the useful insight that when reducing the weight of GAN, the generator can be compressed relatively more, while the discriminator should not be so much.","PeriodicalId":419220,"journal":{"name":"2023 IEEE 53rd International Symposium on Multiple-Valued Logic (ISMVL)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Consideration on Ternary Adversarial Generative Networks\",\"authors\":\"Kennichi Nakamura, Hiroki Nakahara\",\"doi\":\"10.1109/ISMVL57333.2023.00012\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Generative adversarial networks (GANs), which can generate and transform data, have been attracting attention. However, the model must be lightweight and fast when applied in the field. As for the ternarization of GAN, (TernaryGAN,) which restricts the value of the weights to {−1, 0, +1} during forwarding propagation of the generator, has already been proposed. In this paper, we investigated by experiment how ternary generator and/or discriminator affects the training of GANs. To make not only generator ternary, but also discriminator, we propose the DGR (Decomposition with Gradient Retained) method, which can change discriminator’s input images to binary. We trained GANs for the cases where the generator and the discriminator are ternarized, and for the case where only one of them is ternarized, and measured the degree of image degradation using the FID (Fréchet inception distance) score. Only the ternarized generator is showed the lowest accuracy degradation, implying that GANs contain some parts that are not suitable for ternarization. We found the useful insight that when reducing the weight of GAN, the generator can be compressed relatively more, while the discriminator should not be so much.\",\"PeriodicalId\":419220,\"journal\":{\"name\":\"2023 IEEE 53rd International Symposium on Multiple-Valued Logic (ISMVL)\",\"volume\":\"14 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 IEEE 53rd International Symposium on Multiple-Valued Logic (ISMVL)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISMVL57333.2023.00012\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 IEEE 53rd International Symposium on Multiple-Valued Logic (ISMVL)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISMVL57333.2023.00012","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
生成式对抗网络(GANs)是一种能够生成和转换数据的网络,一直受到人们的关注。然而,该模型在现场应用时必须是轻量级的和快速的。对于GAN的三化,已经提出了(TernaryGAN),它将生成器转发传播过程中的权值限制为{−1,0,+1}。本文通过实验研究了三元生成器和/或鉴别器对gan训练的影响。为了实现生成器和鉴别器的三元化,我们提出了将鉴别器的输入图像转换为二值化的DGR (Decomposition with Gradient Retained)方法。我们训练了生成器和鉴别器被三化的情况下的gan,以及只有其中一个被三化的情况下的gan,并使用FID (fr起始距离)分数来测量图像退化的程度。只有三元化生成器的精度下降最小,这表明gan中含有一些不适合三元化的部分。我们发现了一个有用的见解,当减少GAN的重量时,生成器可以被相对地压缩更多,而鉴别器不应该被压缩那么多。
A Consideration on Ternary Adversarial Generative Networks
Generative adversarial networks (GANs), which can generate and transform data, have been attracting attention. However, the model must be lightweight and fast when applied in the field. As for the ternarization of GAN, (TernaryGAN,) which restricts the value of the weights to {−1, 0, +1} during forwarding propagation of the generator, has already been proposed. In this paper, we investigated by experiment how ternary generator and/or discriminator affects the training of GANs. To make not only generator ternary, but also discriminator, we propose the DGR (Decomposition with Gradient Retained) method, which can change discriminator’s input images to binary. We trained GANs for the cases where the generator and the discriminator are ternarized, and for the case where only one of them is ternarized, and measured the degree of image degradation using the FID (Fréchet inception distance) score. Only the ternarized generator is showed the lowest accuracy degradation, implying that GANs contain some parts that are not suitable for ternarization. We found the useful insight that when reducing the weight of GAN, the generator can be compressed relatively more, while the discriminator should not be so much.