We study the problems of learning and testing junta distributions on with respect to the uniform distribution, where a distribution is a -junta if its probability mass function depends on a subset of at most variables. The main contribution is an algorithm for finding relevant coordinates in a -junta distribution with subcube conditioning [BC18, CCKLW20]. We give two applications: 1. An algorithm for learning -junta distributions with subcube conditioning queries, and 2. An algorithm for testing -junta distributions with subcube conditioning queries. All our algorithms are optimal up to poly-logarithmic factors. Our results show that subcube conditioning, as a natural model for accessing high-dimensional distributions, enables significant savings in learning and testing junta distributions compared to the standard sampling model. This addresses an open question posed by Aliakbarpour, Blais, and Rubinfeld [ABR17].
View on arXiv