ArticleslgStudy

computer science

Distribution learning theory

Distribution learning theory is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Distribution learning theory rather than just read about it. In short: The distributional learning theory or learning of probability distribution is a framework in computational learning theory. It has been proposed from Michael Kearns, Yishay Mansour, Dana Ron, Ronitt Rubinfeld, Robert Schapire and Linda Sellie in 1994 and it was inspired from the PAC-framework introduced by Leslie Valiant.

Key takeaways

  • Distribution learning theory belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Distribution learning theory to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Distribution learning theory from memory before moving on to harder problems.

Reference excerpt

The distributional learning theory or learning of probability distribution is a framework in computational learning theory. It has been proposed from Michael Kearns, Yishay Mansour, Dana Ron, Ronitt Rubinfeld, Robert Schapire and Linda Sellie in 1994 and it was inspired from the PAC-framework introduced by Leslie Valiant. In this framework the input is a number of samples drawn from a distribution that belongs to a specific class of distributions. The goal is to find an efficient algorithm that, based on these samples, determines with high probability the distribution from which the samples have been drawn. Because of its generality, this framework has been used in a large variety of different fields like machine learning, approximation algorithms, applied probability and statistics. This article explains the basic definitions, tools and results in this framework from the theory of computation point of view.

Definitions Let X be the support of the distributions of interest. As in the original work of Kearns et al. if X is finite it can be assumed without loss of generality that X={0,1}n where n is the number of bits that have to be used in order to represent any y∈X. We focus in probability distributions over X. There are two possible representations of a probability distribution D over X.

probability distribution function (or evaluator) an evaluator ED for D takes as input any y∈X and outputs a real number ED[y] which denotes the probability that of y according to D, i.e. ED[y]=Pr⁡[Y=y] if Y∼D. generator a generator GD for D takes as input a string of truly random bits y and outputs GD[y]∈X according to the distribution D. Generator can be interpreted as a routine that simulates sampling from the distribution D given a sequence of fair coin tosses. A distribution D is called to have a polynomial generator (respectively evaluator) if its generator (respectively evaluator) exists and can be computed in polynomial time. Let CX a class of distribution over X, that is CX is a set such that every D∈CX is a probability distribution with support X. The CX can also be written as C for simplicity. In order to evaluate learnability, it is necessary to have a way to measure how well an approximated distribution D′ fits the sampled distribution D. There are several ways to measure the divergence between two distributions. Three common possibilities are

Kullback–Leibler divergence Total variation distance of probability measures Kolmogorov distance Total variation and Kolmogorov distance are true metrics, while KL divergence is not (it lacks symmetry). These measures are ordered by convergence strength: closeness in KL divergence implies closeness in total variation (via Pinsker's inequality), which in turn implies closeness in Kolmogorov distance. Therefore, a learnability result proven under KL divergence automatically holds under the weaker measures, but not vice versa. Since certain measures may be more appropriate in specific applications, we will use d(D,D′) to denote a selected divergence between the distribution D and the distribution D′. The basic input that we use in order to learn a distribution is a number of samples drawn by this distribution. For the computational point of view the assumption is that such a sample is given in a constant amount of time. So it's like having access to an oracle GEN(D) that returns a sample from the distribution D. Sometimes the interest is, apart from measuring the time complexity, to measure the number of samples that have to be used in order to learn a specific distribution D in class of distributions C. This quantity is called sample complexity of the learning algorithm. In order for the problem of distribution learning to be more clear consider the problem of supervised learning as defined in. In this framework of statistical learning theory a training set S={(x1,y1),…,(xn,yn)} and the goal is to find a target function f:X→Y that minimizes some loss function, e.g. the square loss function. More formally f=arg⁡ming∫V(y,g(x))dρ(x,y), where V(⋅,⋅) is the loss function, e.g. V(y,z)=(y−z)2 and ρ(x,y) the probability distribution according to which the elements of the training set are sampled. If the conditional probability distribution ρx(y) is known then the target function has the closed form f(x)=∫yydρx(y). So the set S is a set of samples from the probability distribution ρ(x,y). Now the goal of distributional learning theory if to find ρ given S which can be used to find the target function f. Definition of learnability A class of distributions C is called efficiently learnable if for every ϵ>0 and 0<δ≤1 given access to GEN(D) for an unknown distribution D∈C, there exists a polynomial time algorithm A, called learning algorithm of C, that outputs a generator or an evaluator of a distribution D′ such that

Pr⁡[d(D,D′)≤ϵ]≥1−δ If we know that D′∈C then A is called proper learning algorithm, otherwise is called improper learning algorithm. In some settings the class of distributions C is a class with well known distributions which can be described by a set of parameters. For instance C could be the class of all the Gaussian distributions N(μ,σ2). In this case the algorithm A should be able to estimate the parameters μ,σ. In this case A is called parameter learning algorithm. Obviously the parameter learning for simple distributions is a very well studied field that is called statistical estimation and there is a very long bibliography on different estimators for different kinds of simple known distributions. But distributions learning theory deals with learning class of distributions that have more complicated description.

First results In their seminal work, Kearns et al. deal with the case where A is described in term of a finite polynomial sized circuit and they proved the following for some specific classes of distribution.

OR gate distributions for this kind of distributions there is no polynomial-sized evaluator, unless #P⊆P/poly. On the other hand, this class is efficiently learnable with generator. Parity gate distributions this class is efficiently learnable with both generator and evaluator. Mixtures of Hamming Balls this class is efficiently learnable with both generator and evaluator. Probabilistic Finite Automata this class is not efficiently learnable with evaluator under the Noisy Parity Assumption which is an impossibility assumption in the PAC learning framework.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Distribution learning theory

Start with the simplest possible case. Write down what Distribution learning theory claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Distribution learning theory before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Distribution learning theory ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Distribution learning theory

In research
Distribution learning theory appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Distribution learning theory in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Distribution learning theory is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational learning theory, so understanding it makes those chapters shorter.
In everyday life
Look for Distribution learning theory outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Distribution learning theory” →

How to study Distribution learning theory in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Distribution learning theory means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Distribution learning theory out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Distribution learning theory in simple terms?

The distributional learning theory or learning of probability distribution is a framework in computational learning theory. It has been proposed from Michael Kearns, Yishay Mansour, Dana Ron, Ronitt Rubinfeld, Robert Schapire and Linda Sellie in 1994 and it was inspired from the PAC-framework intro…

Why does Distribution learning theory matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Distribution learning theory?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Distribution learning theory.

Tags

  • Computational learning theory

Keep exploring