Proceedings

Reparameterizable Subset Sampling via Continuous Relaxations

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Main track. Pages 3919-3925.

https://doi.org/10.24963/ijcai.2019/544

Abstract

Many machine learning tasks require sampling a subset of items from a collection based on a parameterized distribution. The Gumbel-softmax trick can be used to sample a single item, and allows for low-variance reparameterized gradients with respect to the parameters of the underlying distribution. However, stochastic optimization involving subset sampling is typically not reparameterizable. To overcome this limitation, we define a continuous relaxation of subset sampling that provides reparameterization gradients by generalizing the Gumbel-max trick. We use this approach to sample subsets of features in an instance-wise feature selection task for model interpretability, subsets of neighbors to implement a deep stochastic k-nearest neighbors model, and sub-sequences of neighbors to implement parametric t-SNE by directly comparing the identities of local neighbors. We improve performance in all these tasks by incorporating subset sampling in end-to-end training.

  1. [Chen et al., 2018] Jianbo Chen, Le Song, Martin Wain- wright, and Michael Jordan. Learning to explain: An information-theoretic perspective on model interpretation. In Jennifer Dy and Andreas Krause, editors, Proceedings of the 35th International Conference on Machine Learn- ing, volume 80 of Proceedings of Machine Learning Re- search, pages 883-892, Stockholmsmässan, Stockholm Sweden, 10-15 Jul 2018. PMLR.
  2. [Efraimidis and Spirakis, 2006] Pavlos S. Efraimidis and Paul G. Spirakis. Weighted random sampling with a reser- voir. Information Processing Letters, 97(5):181 -185, 2006.
  3. [Grover et al., 2019] Aditya Grover, Eric Wang, Aaron Zweig, and Stefano Ermon. Stochastic optimization of sorting networks via continuous relaxations. In Interna- tional Conference on Learning Representations, 2019.
  4. [Jang et al., 2016] Eric Jang, Shixiang Gu, and Ben Poole. Categorical reparameterization with gumbel-softmax. CoRR, abs/1611.01144, 2016.
  5. [Kim et al., 2016] Carolyn Kim, Ashish Sabharwal, and Ste- fano Ermon. Exact sampling with integer linear programs and random perturbations. In Proceedings of the Thirti- eth AAAI Conference on Artificial Intelligence, AAAI'16, pages 3248-3254. AAAI Press, 2016.
  6. [Kim, 2014] Yoon Kim. Convolutional neural networks for sentence classification. In Proceedings of the 2014 Confer- ence on Empirical Methods in Natural Language Process- ing, EMNLP 2014, October 25-29, 2014, Doha, Qatar, A meeting of SIGDAT, a Special Interest Group of the ACL, pages 1746-1751, 2014.
  7. [Kingma and Welling, 2013] Diederik P Kingma and Max Welling. Auto-encoding variational bayes, 2013. cite arxiv:1312.6114.
  8. [Kingma et al., 2014] Durk P Kingma, Shakir Mohamed, Danilo Jimenez Rezende, and Max Welling. Semi- supervised learning with deep generative models. In Z. Ghahramani, M. Welling, C. Cortes, N. D. Lawrence, and K. Q. Weinberger, editors, Advances in Neural Infor- mation Processing Systems 27, pages 3581-3589.
  9. Curran Associates, Inc., 2014.
  10. [Kool et al., 2019] Wouter Kool, Herke Van Hoof, and Max Welling. Stochastic beams and where to find them: The Gumbel-top-k trick for sampling sequences without re- placement. In Kamalika Chaudhuri and Ruslan Salakhut- dinov, editors, Proceedings of the 36th International Con- ference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 3499-3508, Long Beach, California, USA, 09-15 Jun 2019. PMLR.
  11. [Kusner and Hernández-Lobato, 2016] Matt J. Kusner and José Miguel Hernández-Lobato. GANS for sequences of discrete elements with the gumbel-softmax distribution. CoRR, abs/1611.04051, 2016.
  12. [LeCun and Cortes, 2010] Yann LeCun and Corinna Cortes. MNIST handwritten digit database. 2010.
  13. [Li et al., 2015] Jiwei Li, Minh-Thang Luong, and Dan Ju- rafsky. A hierarchical neural autoencoder for paragraphs and documents. In ACL (1), pages 1106-1115. The Asso- ciation for Computer Linguistics, 2015.
  14. [Maas et al., 2011] Andrew L. Maas, Raymond E. Daly, Pe- ter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Tech- nologies, pages 142-150, Portland, Oregon, USA, June 2011. Association for Computational Linguistics.
  15. [Maddison et al., 2017] Chris J. Maddison, Andriy Mnih, and Yee Whye Teh. The Concrete Distribution: A Contin- uous Relaxation of Discrete Random Variables. In Inter- national Conference on Learning Representations, 2017.
  16. [Plötz and Roth, 2018] Tobias Plötz and Stefan Roth. Neu- ral nearest neighbors networks. In S. Bengio, H. Wal- lach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Pro- cessing Systems 31, pages 1095-1106.
  17. Curran Associates, Inc., 2018.
  18. [Roweis, 2009] Sam Roweis. Data for matlab hackers, 2009.
  19. [van der Maaten, 2009] Laurens van der Maaten. Learning a parametric embedding by preserving local structure. In David van Dyk and Max Welling, editors, Proceedings of the Twelth International Conference on Artificial In- telligence and Statistics, volume 5 of Proceedings of Ma- chine Learning Research, pages 384-391, Hilton Clearwa- ter Beach Resort, Clearwater Beach, Florida USA, 16-18 Apr 2009. PMLR.
  20. [Venna and Kaski, 2006] Jarkko Venna and Samuel Kaski. Visualizing gene interaction graphs with local multidimen- sional scaling. 2006.
  21. [Vieira, 2014] Tim Vieira. Gumbel-max trick and weighted reservoir sampling, 2014.
  22. [Vitter, 1985] Jeffrey S. Vitter. Random sampling with a reservoir. ACM Trans. Math. Softw., 11(1):37-57, March 1985.
  23. [Williams, 1992] Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforce- ment learning. Mach. Learn., 8(3-4):229-256, May 1992.
  24. [Xu et al., 2015] Kelvin Xu, Jimmy Lei Ba, Ryan Kiros, Kyunghyun Cho, Aaron Courville, Ruslan Salakhutdinov, Richard S. Zemel, and Yoshua Bengio. Show, attend and tell: Neural image caption generation with visual attention. In Proceedings of the 32Nd International Conference on International Conference on Machine Learning -Volume 37, ICML'15, pages 2048-2057. JMLR.org, 2015.
  25. [Yellott, 1977] John I. Yellott. The relationship between luce's choice axiom, thurstone's theory of comparative judgment, and the double exponential distribution. Journal of Mathematical Psychology, 15(2):109 -144, 1977.

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

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