acceptodds
Published as a conference paper at NeurIPS 2026

Learning Distributions from Multiple Data Providers

Jon Kleinberg, Amin Saberi, Xizhi Tan, Grigoris Velegkas

Abstract

Motivated by learning from heterogeneous and overlapping data providers, we study a stylized model of distribution learning from restricted conditional samples. The goal is to learn an unknown distribution on a finite domain . The learner is given a fixed family of queryable sets , and each query to returns an independent sample from the conditional distribution . Learnability is governed by the co-occurrence graph associated with : two domain elements are connected if they appear together in some queryable set. Pointwise consistency is achievable when this graph is connected on the target support. PAC learning requires more: it is possible when the co-occurrence graph is complete. The sample complexity of PAC learning ranges from nearly linear to quadratic. Every query family with complete co-occurrence graph admits sample complexity , and this bound is tight in the worst case. On the other hand, if every subset is queryable, the optimal worst-case complexity improves to . More generally, we identify hierarchical comparability as a sufficient structural condition on under which the optimal complexity is nearly linear, , with pairwise query families as a canonical example. Finally, the full range of polynomial rates between linear and quadratic is attainable: for every , there exists a query family with optimal PAC rate .

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_45fPOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
4
Quality
3
Significance
3
Read review
Summary

Consider the problem of learning a probability distribution pp over [n][n], given sample access to pp. A folklore fact is that Θ(n/ϵ2)\Theta(n/\epsilon^2) samples are necessary and sufficient to solve the problem up to TV-distance ϵ\epsilon. This paper considers the following twist. Suppose instead one has sample access only to the distribution conditioned on a given family of subsets, S⊂2[n]\mathcal{S} \subset 2^{[n]}. They ask, (a) for what types of families is learning possible, and (b) how does the structure of the query family determine the query complexity? This type of query model has been extensively studied in the distribution testing literature, although with the ability to query any subset. The paper proves the following results:

  • PAC learning is possible if and only if every x,y∈[n]x,y \in [n] appear together in some subset S∈SS \in \mathcal{S}. That is, the co-occurence graph is complete. On the other hand, the weaker notion of pointwise consistency is achievable if and only if the co-occurence graph is connected.

  • An Ω(n/ϵ2)\Omega(n/\epsilon^2) lower bound even when the learner has conditional sample access from \emph{any} subset.

  • Θ(n2/ϵ2)\Theta(n^2/\epsilon^2) samples are necessary and sufficient in the worst case for general query families with complete co-occurence graph.

  • For every γ∈(0,1)\gamma \in (0,1), there exists a query family with sample complexity Θ~(n1+γ/ϵ2)\widetilde{\Theta}(n^{1+\gamma}/\epsilon^2).

  • The paper introduces a notion of “hierarchical comparability” of a query family, which they prove is a sufficient condition for near-linear sample complexity.

Strengths and weaknesses

Strengths: This paper fits nicely into the distribution testing and learning literature and offers a new angle. I like the setting of the problem they introduce where sample access is restricted and the sample-complexity is dependent on the structure of the allowed queries. The paper offers a nice collection of results showing how the complexity can degrade from linear to quadratic, depending on the structure of the query family.

Cons: While the paper shows that hierarchical comparability is a sufficient condition for near-linear sample complexity, it is not established as a necessary condition. If a condition was given that is both sufficient and necessary, this would make the result much more compelling. I wish that it was clear what structural property of the query family is parameterizing the sample complexity in Theorem 4.9. If sample complexity was characterized as a function of some structural parameter, I think this would make more a more meaningful conceptual contribution.

Questions
  • Can the sample complexity in Theorem 4.9 be formally tied to some parameter related to the query family?

  • I appreciate the distinction between PAC-learning of pointwise consistency, but you don’t give any quantitative results related to the latter notion. Is there something you can say about this?

  • In the abstract, you write “On the other hand, if every subset is queryable, the optimal worst-case complexity improves to Θ(n/ϵ2)\Theta(n/\epsilon^2). I found this sentence a bit misleading, since one does not need every subset to be queryable (only the set [n] is needed, unless I’m mistaken). Assuming I am understanding this correctly, I recommend you rephrase this.

Limitations

Yes

Paper formatting concerns

None

Final justification

I believe this is a well-written paper that presents a new and interesting perspective on a fundamental problem (distribution learning) and provides a satisfying set of results. In my initial review I had two main questions to which the authors provided a very satisfactory response which caused me to raise my score from a 4 to a 5:

Formally tying the smooth tradeoff result with a query family parameter I had wanted to know whether there was some interesting parameter controlling the sample complexity in Theorem 4.9. The authors provided a high-level discussion which they will add to the final version which I think clarifies this and improves the presentation.

Results on point-wise consistency The paper had mentioned point-wise consistency as an alternative learning objective, but had not included their results with respect to this notion. In the rebuttal, they mentioned that they do have results here and will add them to the final version.

1 comment

We thank the reviewer for their support of our work; we were happy to see that they liked the setting we introduced. Please find below our answers to the technical questions:

  1. This is a good point. Indeed, we can give a more conceptual understanding of the intermediate rates based on a natural parametrization of the query family that gives rise to these bounds. As a first step, we write the domain of this problem as U={0}∪A1∪B1∪A2∪B2∪…∪Am∪BmU=\{0\}\cup A_{1}\cup B_{1}\cup A_{2}\cup B_{2}\cup\ldots\cup A_{m}\cup B_{m}, where AiA_{i} and BiB_{i} are sets of points. Let n=∣U∣n=\vert{}U\vert{} and H=2m+1H=2m+1. The learner is allowed to query AiA_{i} and BiB_{i} individually (to find the distribution of the mass within each of these sets), as well as sets of the form Tjk={0}∪Aj∪Bj∪Ak∪BkT_{jk}=\{0\}\cup A_{j}\cup B_{j}\cup A_{k}\cup B_{k} to see the distribution of the mass across different sets. Thus, HH denotes the total number of elements we would have gotten if we were to merge the entire AiA_{i} and BiB_{i} sets into "super-points." In our construction, the element 00 has some heavy mass (e.g., 1/21/2 of the mass), the mass within each AiA_{i} and BiB_{i} is uniform, and the masses of AiA_{i} and BiB_{i} differ by a small amount. The key intuition is that we cannot compare the relative masses of AiA_{i} and BiB_{i} directly, but we have to do it by querying a set that contains the heavy element 00. Under this notation, we can show the optimal rate for this family is (n+H2)/ϵ2(n+H^{2})/\epsilon^{2} (up to poly-logarithmic factors). If each of these sets contains a single element, then H=Θ(n)H=\Theta(n) and we recover the worst-case bound of n2/ϵ2n^{2}/\epsilon^{2} (notice that we cannot choose H=ω(n)H=\omega(n)). Different choices of HH give different "intermediate rates". We will add a comment to our result explaining the previous interpretation of the bound.

  2. Thank you for raising this question. We do have quantitative bounds for paint-wise consistency which we have included in the revision. Notice that since the pointwise consistency definition allows the number of samples needed to achieve a given error to depend on the target distribution, the usual way to give quantitative bounds is by studying the learning curves, i.e., the decay of the error as we increase the sample size (this has also been studied under the term universal rates, see, e.g., [1]). In our setting, we can show that whenever the co-occurrence graph is connected, as we increase the sample size tt the error of the algorithm drops as C/tC/\sqrt{t}, where CC is a distribution-dependent constant. This follows by a more careful analysis of the spanning-tree based learner we have presented in the current version of our work. We have included a new subsection on this result, including its formal proof, which will appear in the next version of our work.

  3. Your understanding is correct, and thanks for catching that! The main point we wanted to convey is that when we have sample access to [n][n], we can achieve the n/ϵ2n/\epsilon^{2} bound, while having access to all subsets of [n][n] does not improve that bound. We have revised the abstract accordingly.

Regarding sufficient and necessary condition for near linear rate: We agree that coming up with necessary and sufficient conditions on S\mathcal{S} which dictate the precise rate is an interesting open question and we hope our work can inspire follow-up exploration of such questions. The technical challenges of this problem are already apparent in our work: the learner that merely queries [n][n] can get an n/ϵ2n/\epsilon^2 rate, whereas given a query family satisfying hierarchical comparability, a more sophisticated learner can also achieve a near-linear rate. Any necessary and sufficient condition would have to capture both of these query family + algorithmic approaches in a unified way.

We would also like to point out that hierarchical comparability is a natural structural condition to consider. It generalizes the pairwise conditional sampling model (PCOND), where the learner is allowed to query any subset that consists of two elements, which has been extensively studied in the distribution testing literature. Furthermore, this condition naturally models learning from hierarchical taxonomies, such as navigating Wikipedia categories from broad subjects down to specific entities.

[1] Bousquet O, Hanneke S, Moran S, Van Handel R, Yehudayoff A. A theory of universal learning. InProceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing 2021 Jun 15 (pp. 532-541).

Reviewer_QfzcOpenReview ↗
Rating
4
Clarity
4
Confidence
4
Originality
3
Quality
4
Significance
3
Read review
Summary

This paper is about learning a discrete unstructured distribution pp on [n][n] from restricted conditional sampling queries. Given a family of subsets of [n][n], the learner can query any subset SS, to get a sample from pp conditioned on SS. The focus on the paper is on PAC learning pp in total variation distance, with as few sampling queries as possible.

It is well known that with unconditional queries, O(n/ϵ2)O(n/\epsilon^2) queries are necessary and sufficient. The first main result of this paper is that if the "co-occurrence" graph of the family is complete, meaning that for any two a,b∈[n]a,b \in [n] there is some set SS in the family containing both of them, then O(n2/ϵ2)O(n^2/\epsilon^2) queries are sufficient. The paper also shows that this is tight, and that without the completeness assumption, learning is impossible. The paper also shows that under a "hierarchical comparability" assumption on the family, the query complexity of O(n/ϵ2)O(n/\epsilon^2) can be recovered.

There are some auxiliary results about pointwise consistency, a lower bound showing that O(n/ϵ2)O(n/\epsilon^2) queries are necessary even in this model (which in principle can be stronger than unconditional sampling), and a construction showing that there is no linear/quadratic dichotomy and all rates are achievable by some family.

Strengths and weaknesses

Quality: The theorems are rigorously stated and the proofs seem correct. The authors are clear about what their results show.

Clarity: The paper is very well-written.

Significance: I think the theoretical model introduced in this paper (of learning from restricted conditional queries) will likely be of interest to the learning theory community. The motivation for the model given in the paper seems a bit tenuous to me -- when data comes from multiple providers, I don't see why they are going to be providing conditional distributions rather than more conflicting data; moreover, the assumption that the distribution is on a bounded support [n] is rather unrealistic for most modern learning applications.

That said, this is a theory paper, and I think the theoretical model is both clean and fundamental, so I do not see these as fatal weaknesses of the paper.

Originality As mentioned above, I think the introduction of this theoretical model is a noteworthy contribution. From a technical perspective, most of the results are quite unsurprising (likely since there is little structure to exploit in the problem), but this is to be expected from a paper that's opening a new problem area.

One exception is the O(n2/ϵ2)O(n^2/\epsilon^2) learning algorithm based on a simple but clever Markov chain for simulating unconditional sampling. I find this idea quite neat, beside the question of learning, I think it could be interesting to further explore variants of the problem where the end goal is precisely sampling.

The other exceptions are (1) the result showing that for every γ\gamma there is some family for which O(n1+γ/ϵ2)O(n^{1+\gamma}/\epsilon^2) query complexity is optimal, and (2) the result showing that O(n/ϵ2)O(n/\epsilon^2) is achievable under "hierarchical comparability"; both of these are quite technically involved contributions. That said, (1) is a fairly common type of question to investigate in learning theory but the motivation is unclear. For (2), hierarchical comparability seems excessively strong of an assumption so I'm not sure how interesting the result is.

Questions

Do the authors have any hypothetical application in mind for this type of problem, where one might plausibly expect these sorts of assumptions (on having conditional sampling access) to be satisfied? I know this is a theory paper, but having a guidepost (even if it's not literally a direct application) would solidify the introductory motivation.

Limitations

Yes

Paper formatting concerns

N/A

Final justification

The paper initiates study of a learning model that is theoretically interesting but quite stylized (e.g. requiring finite support). As the authors acknowledge in the rebuttal, this is meant to be just a first step towards a richer theory. As such, I weakly recommend acceptance.

1 comment

We thank the reviewer for their positive feedback and for recognizing our model as clean and fundamental. Below, we respond to the question and some of the technical comments. We will incorporate part of the discussion to the next version of our manuscript.

Motivation of the model: We agree with the reviewer that the model is intended as a stylized theoretical abstraction; to answer your question about hypothetical applications in stylized form, we are motivated by considerations like the following. When companies that are building large language models are seeking to ensure that the models cover all the topics a user might want to engage with, they look to do business with a diverse range of data providers for coverage of different topics in their training. ESPN might offer sports news from its archives; Bloomberg might offer business news; CSPAN might offer transcripts of legislative proceedings. These are all subsamples of the full space of human-produced text, but they offer different conditional distributions over it. Our model asks how -- when faced with a large set of different conditional distributions offered by different providers -- we should allocate a limited budget in order to learn the overall distribution. Note that this necessarily involves both (i) drawing enough samples from different conditional distributions so as to learn their fine structure, but also (ii) learning from places where the different distributions ``overlap'': if the conditional distributions had fully disjoint support, then we would have no way to tell whether one of sports text or business text massively dominated the other in pure frequency in the overall distribution, but the fact that providers have partially overlapping coverage with others allows us to chain together the overlaps and estimate these relative frequencies. Our model, despite its clean structure, is rich enough to let us explore all of these trade-offs theoretically. The fact that many of these real considerations emerge from a clean model that makes very few assumptions is something we take to be a strength of the formalism.

Finite Support: As the reviewer pointed out, our main goal was to establish a new model that can be of interest to the community, and we felt that studying finitely supported distributions is a natural first step. As it turns out, even this setting reveals a non-trivial landscape that requires technically involved ideas to resolve. We hope our work can serve as a foundation to inspire follow-up results in more general spaces.

We would also like to provide our perspective on two comments from the reviewer:

Regarding the intermediate rates being a natural question to ask: We agree with the reviewer that trying to understand the landscape of possible optimal rates is a natural question to ask from a learning-theoretic point of view. However, we believe the answer to this question in the particular setting we are studying is surprising. Unlike classical settings (such as binary or multiclass classification) where learnability induces a unique optimal learning rate (like dVC/ϵd_{\text{VC}}/\epsilon), PAC learnability in our model permits a full continuum of optimal rates between Θ~(n/ϵ2)\tilde{\Theta}(n/\epsilon^2) and Θ~(n2/ϵ2)\tilde{\Theta}(n^2/\epsilon^2). Moreover, the two endpoints of this continuum are off only by a factor of nn. This also contrasts sharply with related tasks like distribution testing, which often exhibit exponential separations – testing with query access only to [n][n] requires poly(n)\text{poly(n)} samples while for testing with query access to any subset of [n][n] only poly(logn)\text{poly(log{n})}queries suffice [1, 2] (to the best of our knowledge, the continuum of possible rates has not been established in this setting since it has not been studied systematically under arbitrary query families S\mathcal{S}).

Perspective on Hierarchical Comparability: We appreciate that the reviewer found the result technically interesting. We would like to point out that Hierarchical Comparability generalizes the pairwise conditional sampling model (PCOND) where the learner is allowed to query any subset that consists of two elements, which has been extensively studied in the distribution testing literature. Furthermore, this condition naturally models learning from hierarchical taxonomies, such as navigating Wikipedia categories from broad subjects down to specific entities. That said, we believe that coming up with necessary and sufficient conditions on S\mathcal{S} which dictate the precise rate is an interesting open question and we hope our work can inspire follow-up exploration of such questions.

[1] Canonne, C. L., Ron, D., & Servedio, R. A. (2015). Testing Probability Distributions using Conditional Samples. SIAM Journal on Computing, 44, 540–616.

[2] Chakraborty, S., Fischer, E., Goldhirsh, Y., & Matsliah, A. (2013). On the power of conditional samples in distribution testing. Proceedings of the 4th conference on Innovations in Theoretical Computer Science, 561–580.

Reviewer_ZY2MOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper studies the problem of learning discrete probability distributions when different subsets of their domains can be conditionally queried to obtain conditional samples. More formally, given a distribution p, and several subsets of its domains S\\{S\\}, the algorithm can obtain conditional samples from the sets S\\{S\\} and the goal is to output a distribution p^\hat{p} such that dTV(p,p^)≤εd_{TV}(p, \hat{p}) \leq \varepsilon whp. The sets S\\{S\\} are given as different data providers. Interestingly, the learning algorithm can not choose these query sets, it has already been determined.

The study of conditional sampling (COND) was introduced by (Canonne, Ron, and Servedio, 15) and (Chakraborty, Fischer, Goldhirsh, and Matsliah, 16). In the most general variant of COND, the algorithm can query arbitrary sets adaptively, and it can learn the distributions using only poly-logarithmic (in the support size of the distribution). A similar model for non-adaptive setting has also been studied where all the sets are determined before performing any queries. However, the setting here is different, although it can not choose the query sets, it can perform conditional queries inside a set.

The authors first study the problem of learnability in this model. They prove that in order to learn the distribution in PAC setting, the co-occurrence graph (Definition 3.1) associated with the query sets needs to be complete. Then they show that instead of PAC learning, learning pointwise consistently (the algorithm needs to be suited only for a target distribution, instead of all target distributions), the co-occurrence graph needs to be connected (Theorem 3.2).

Later they study quantitative bounds for PAC learning and prove that the sample complexity ranges from Θ~(n/ε2)\tilde{\Theta}(n/\varepsilon^2) to Θ~(n2/ε2)\tilde{\Theta}(n^2/\varepsilon^2). The overall idea of the general upper bound of Θ~(n2/ε2)\tilde{\Theta}(n^2/\varepsilon^2) (Theorem 4.2 and Theorem 4.3) is to simulate a Markov chain whose stationary distribution is the unknown distribution. While the above Θ~(n2/ε2)\tilde{\Theta}(n^2/\varepsilon^2) bound is tight in general, additional structural assumptions can improve it to Θ~(n/ε2)\tilde{\Theta}(n/\varepsilon^2). For Θ~(n/ε2)\tilde{\Theta}(n/\varepsilon^2) upper bound (Theorem 4.7) , they study the notion of hierarchical comparability (based on a balanced binary tree structure, see Definition 4.5) and query suitably on the internal nodes of the binary tree. The lower bound follows from information-theoretic techniques, where the idea is to take an element with a large mass along with many elements of small masses, such that conditional sampling more often only reveals the large mass element, showing the desired lower bound for finding the small mass elements. They also show that between Θ~(n/ε2)\tilde{\Theta}(n/\varepsilon^2) and Θ~(n2/ε2)\tilde{\Theta}(n^2/\varepsilon^2), there exists query family with complexity Θ~(nα/ε2)\tilde{\Theta}(n^{\alpha}/\varepsilon^2) for every α∈(1,2)\alpha \in (1,2) (Theorem 4.9).

Strengths and weaknesses

Strengths:

  1. I think this is a nice new variant of the well-studied COND model.
  2. The bounds obtained are almost tight.

Weakness: I did not find any major weakness. However, I have some suggestions for the authors, mentioned below.

Questions
  1. I think here, although the query sets are fixed, say S=1,2,3S=\\{1,2,3\\}, the algorithm can choose to obtain conditional samples based on a subset of S, such as 1,2\\{1,2\\}. Can you please confirm this? If this is the case, please mention it explicitly while describing the model in the introduction.

  2. In my opinion, this model is somewhat similar to a sample-based testing framework, where the algorithm receives (x,f(x))(x,f(x)) as samples and can not actively query for any $ x$. In such cases, in the function property testing literature, there are exponential separations known for active and sample-based testing. I suggest that the authors mention this.

  3. There is a typo in the appendix: a missing reference in Lemma B.6 (Line 648). I suggest that the authors go over the appendix.

Limitations

NA

Paper formatting concerns

NA

Final justification

I thank the authors for addressing my comments. I suggest the authors mention them in the final version. Overall, I think this is a nice variant of the now very well-studied conditional sampling model, and shows interesting results. I recommend acceptance of this paper.

1 comment

We thank the reviewer for their comments and positive feedback. Below we answer the questions raised:

  1. This is an important point to clarify, and thank you for raising it. Our model does not allow the learner to query subsets TT of some S∈SS \in \mathcal{S} (unless TT is itself in S\mathcal{S}). If this form of subset access were allowed, any query family with a complete co-occurrence graph could simulate the PCOND model (pairwise comparisons) by querying subsets of size two. Using our hierarchical comparability result, this would imply that whenever S\mathcal{S} is learnable the learner can achieve an error bound of n/ϵ2n/\epsilon^2. In contrast, we have shown that there are learnable S\mathcal{S} for which the optimal algorithm has error at least n2/ϵ2n^2/\epsilon^2. We will emphasize it in the next revision of the paper.

  2. This is a good point, indeed, one can study other learning problems in this setting such as distribution testing. As the reviewer correctly points out, there are known exponential separations for specific query families. To the best of our knowledge, there has not been a systematic study of these tasks under arbitrary query families. We hope our work can inspire such studies. We will add a discussion of this connection in the next revision of the paper.

  3. Thanks for catching the typo! We have corrected it, and we will go over the appendix to make sure there are no further typos.

Comments on the paper

1 comment
Meta-review

Initial metareview: Please address the technical questions from reviewers. In addition, my primary concern is that this paper lacks comparison to recent work on multi-distribution learning, see e.g.

Hanashiro, Shetty, Jaillet. Is Multi-Distribution Learning as Easy as PAC Learning: Sharp Rates with Bounded Label Noise, 2026

and references therein.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.