Skip to main content

Food Pairing Based on Generative Adversarial Networks

  • Conference paper
  • First Online:
Big Data (BigData 2020)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1320))

Included in the following conference series:

Abstract

The Generative Adversarial Networks (GAN) has received great attention and achieved great successes in many applications. It is still being intensively developed and get many different variants of GAN. GAN was proposed to generate similar-looking samples to those in the training data sets. The emergence of GAN and its variants also provide new ideas for food pairing. In this paper, we have tried to invent a novel technique for food pairing using GAN and its variants. Specifically, we adopted the Long Short Term-Memory (LSTM) as the generator and the Convolutional Neural Network (CNN) as the discriminator. The sequences of recipes as the input will be encoded by LSTM into target sequences, which were finally identified by CNN to compute the differences between the generated recipes and their original input. The CNN will give a feedback to LSTM to optimize its parameters until the end of training process. As different customers have different food tastes, we have improved our method and invented new model using Conditional GAN (CGAN) to incorporate the personal demands in food pairing. We have conducted extensive experiments on real data sets to evaluate the efficiency of our proposed methods. The experimental results proved that our methods can generate better food pairings.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    www.meishij.net.

References

  1. Abadi, M., et al.: TensorFlow: a system for large-scale machine learning. In: OSDI 2016, pp. 265–283 (2016)

    Google Scholar 

  2. Denton, E.L., Chintala, S., Szlam, A., Fergus, R.: Deep generative image models using a Laplacian pyramid of adversarial networks. In: NIPS 2015, pp. 1486–1494 (2015)

    Google Scholar 

  3. Fedus, W., Goodfellow, I.J., Dai, A.M.: MaskGAN: better text generation via filling in the \(\_\). In: ICLR 2018 (2018)

    Google Scholar 

  4. Goodfellow, I.J., et al.: Generative adversarial nets. In: NIPS 2014, pp. 2672–2680 (2014)

    Google Scholar 

  5. Gu, J., et al.: Recent advances in convolutional neural networks. Pattern Recog. 2018(77), 354–377 (2018)

    Article  Google Scholar 

  6. Guo, J., Lu, S., Cai, H., Zhang, W., Yu, Y., Wang, J.: Long text generation via adversarial training with leaked information. In: AAAI 2018, pp. 5141–5148 (2018)

    Google Scholar 

  7. Hinton, G.E., Osindero, S., Teh, Y.W.: A fast learning algorithm for deep belief nets. Neural Comput. 2006(18), 1527–1554 (2006)

    Article  MathSciNet  Google Scholar 

  8. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 1997(9), 1735–1780 (1997)

    Article  Google Scholar 

  9. Kingma, D.P., Welling, M.: Auto-encoding variational Bayes. In: ICLR 2014 (2014)

    Google Scholar 

  10. Krizhevsky, A., Sutskever, I., Hinton, G.E.: ImageNet classification with deep convolutional neural networks. Commun. ACM 60, 84–90 (2017)

    Article  Google Scholar 

  11. Li, J., Monroe, W., Shi, T., Jean, S., Ritter, A., Jurafsky, D.: Adversarial learning for neural dialogue generation. In: EMNLP 2017, pp. 2157–2169 (2017)

    Google Scholar 

  12. Mirza, M., Osindero, S.: Conditional generative adversarial nets. CoRR 2014 abs/1411.1784 (2014)

    Google Scholar 

  13. Papineni, K., Roukos, S., Ward, T., Zhu, W.J.: BLEU: a method for automatic evaluation of machine translation. In: ACL 2002, pp. 311–318 (2002)

    Google Scholar 

  14. Sutton, R.S., McAllester, D.A., Singh, S.P., Mansour, Y.: Policy gradient methods for reinforcement learning with function approximation. In: NIPS 1999, pp. 1057–1063 (1999)

    Google Scholar 

  15. Wang, H., et al.: GraphGAN: graph representation learning with generative adversarial nets. In: AAAI 2108, pp. 2508–2515 (2018)

    Google Scholar 

  16. Wang, J., et al.: IRGAN: a minimax game for unifying generative and discriminative information retrieval models. In: SIGIR 2017, pp. 515–524 (2017)

    Google Scholar 

  17. Yu, L., Zhang, W., Wang, J., Yu, Y.: SeqGAN: sequence generative adversarial nets with policy gradient. In: AAAI 2107, pp. 2852–2858 (2017)

    Google Scholar 

  18. Zhang, X., LeCun, Y.: Text understanding from scratch. CoRR 2015 abs/1502.01710 (2015)

    Google Scholar 

  19. Zhang, Y., Gan, Z., Carin, L.: Generating text via adversarial training. In: NIPS 2016, vol. 21 (2016)

    Google Scholar 

  20. Zhang, Y., et al.: Adversarial feature matching for text generation. In: ICML 2017, pp. 4006–4015 (2017)

    Google Scholar 

  21. Zhang, Y., Barzilay, R., Jaakkola, T.S.: Aspect-augmented adversarial networks for domain adaptation. TACL 5, 515–528 (2017)

    Article  Google Scholar 

Download references

Acknowledgment

This work was supported by the project of Natural Science Foundation of China (No. 61402329, No. 61972456) and the Natural Science Foundation of Tianjin (No. 19JCYBJC15400).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chuitian Rong .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bai, Y., Rong, C., Zhang, X. (2021). Food Pairing Based on Generative Adversarial Networks. In: Mei, H., et al. Big Data. BigData 2020. Communications in Computer and Information Science, vol 1320. Springer, Singapore. https://doi.org/10.1007/978-981-16-0705-9_11

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-0705-9_11

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-0704-2

  • Online ISBN: 978-981-16-0705-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics