ArticleslgStudy

computer science

Algorithmic inference

Algorithmic inference 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 Algorithmic inference rather than just read about it. In short: Algorithmic inference gathers new developments in the statistical inference methods made feasible by the powerful computing devices widely available to any data analyst. Cornerstones in this field are computational learning theory, granular computing, bioinformatics, and, long ago, structural probability (Fraser 1966).

Algorithmic inference — main illustration
Algorithmic inference — illustration

Key takeaways

  • Algorithmic inference 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 Algorithmic inference to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Algorithmic inference from memory before moving on to harder problems.

Reference excerpt

Algorithmic inference gathers new developments in the statistical inference methods made feasible by the powerful computing devices widely available to any data analyst. Cornerstones in this field are computational learning theory, granular computing, bioinformatics, and, long ago, structural probability (Fraser 1966). The main focus is on the algorithms which compute statistics rooting the study of a random phenomenon, along with the amount of data they must feed on to produce reliable results. This shifts the interest of mathematicians from the study of the distribution laws to the functional properties of the statistics, and the interest of computer scientists from the algorithms for processing data to the information they process.

The Fisher parametric inference problem Concerning the identification of the parameters of a distribution law, the mature reader may recall lengthy disputes in the mid 20th century about the interpretation of their variability in terms of fiducial distribution (Fisher 1956), structural probabilities (Fraser 1966), priors/posteriors (Ramsey 1925), and so on. From an epistemology viewpoint, this entailed a companion dispute as to the nature of probability: is it a physical feature of phenomena to be described through random variables or a way of synthesizing data about a phenomenon? Opting for the latter, Fisher defines a fiducial distribution law of parameters of a given random variable that he deduces from a sample of its specifications. With this law he computes, for instance "the probability that μ (mean of a Gaussian variable – omeur note) is less than any assigned value, or the probability that it lies between any assigned values, or, in short, its probability distribution, in the light of the sample observed".

The classic solution Fisher fought hard to defend the difference and superiority of his notion of parameter distribution in comparison to analogous notions, such as Bayes' posterior distribution, Fraser's constructive probability and Neyman's confidence intervals. For half a century, Neyman's confidence intervals won out for all practical purposes, crediting the phenomenological nature of probability. With this perspective, when you deal with a Gaussian variable, its mean μ is fixed by the physical features of the phenomenon you are observing, where the observations are random operators, hence the observed values are specifications of a random sample. Because of their randomness, you may compute from the sample specific intervals containing the fixed μ with a given probability that you denote confidence.

Example Let X be a Gaussian variable with parameters μ and σ2 and {X1,…,Xm} a sample drawn from it. Working with statistics Sμ=∑i=1mXi and Sσ2=∑i=1m(Xi−X‾)2, where X‾=Sμm is the sample mean, we recognize that T=Sμ−mμSσ2m−1m=X‾−μSσ2/(m(m−1)) follows a Student's t distribution (Wilks 1962) with parameter (degrees of freedom) m − 1, so that fT(t)=Γ(m/2)Γ((m−1)/2)1π(m−1)(1+t2m−1)m/2. Gauging T between two quantiles and inverting its expression as a function of μ you obtain confidence intervals for μ. With the sample specification: 𝐱={7.14,6.3,3.9,6.46,0.2,2.94,4.14,4.69,6.02,1.58} having size m = 10, you compute the statistics sμ=43.37 and sσ2=46.07, and obtain a 0.90 confidence interval for μ with extremes (3.03, 5.65).

Inferring functions with the help of a computer From a modeling perspective the entire dispute looks like a chicken-egg dilemma: either fixed data by first and probability distribution of their properties as a consequence, or fixed properties by first and probability distribution of the observed data as a corollary. The classic solution has one benefit and one drawback. The former was appreciated particularly back when people still did computations with sheet and pencil. Per se, the task of computing a Neyman confidence interval for the fixed parameter θ is hard: you do not know θ, but you look for disposing around it an interval with a possibly very low probability of failing. The analytical solution is allowed for a very limited number of theoretical cases. Vice versa a large variety of instances may be quickly solved in an approximate way via the central limit theorem in terms of confidence interval around a Gaussian distribution – that's the benefit. The drawback is that the central limit theorem is applicable when the sample size is sufficiently large. Therefore, it is less and less applicable with the sample involved in modern inference instances. The fault is not in the sample size on its own part. Rather, this size is not sufficiently large because of the complexity of the inference problem. With the availability of large computing facilities, scientists refocused from isolated parameters inference to complex functions inference, i.e. re sets of highly nested parameters identifying functions. In these cases we speak about learning of functions (in terms for instance of regression, neuro-fuzzy system or computational learning) on the basis of highly informative samples. A first effect of having a complex structure linking data is the reduction of the number of sample degrees of freedom, i.e. the burning of a part of sample points, so that the effective sample size to be considered in the central limit theorem is too small. Focusing on the sample size ensuring a limited learning error with a given confidence level, the consequence is that the lower bound on this size grows with complexity indices such as VC dimension or detail of a class to which the function we want to learn belongs.

Example A sample of 1,000 independent bits is enough to ensure an absolute error of at most 0.081 on the estimation of the parameter p of the underlying Bernoulli variable with a confidence of at least 0.99. The same size cannot guarantee a threshold less than 0.088 with the same confidence 0.99 when the error is identified with the probability that a 20-year-old man living in New York does not fit the ranges of height, weight and waistline observed on 1,000 Big Apple inhabitants. The accuracy shortage occurs because both the VC dimension and the detail of the class of parallelepipeds, among which the one observed from the 1,000 inhabitants' ranges falls, are equal to 6.

The general inversion problem solving the Fisher question With insufficiently large samples, the approach: fixed sample – random properties suggests inference procedures in three steps:

… excerpt ends here. Continue reading the full article.

Illustrations

Algorithmic inference: Cumulative distribution function of the mean M of a Gaussian random variable
Cumulative distribution function of the mean M of a Gaussian random variable
Algorithmic inference: Upper (purple curve) and lower (blue curve) extremes of a 90% confidence interval of the mean M of a Gaussian random variable for a fixed σ and different values of the statistic sm.
Upper (purple curve) and lower (blue curve) extremes of a 90% confidence interval of the mean M of a Gaussian random variable for a fixed σ and different values of the statistic sm.
Algorithmic inference: 90% confidence region for the family of support vector machines endowed with hyperbolic tangent profile function
90% confidence region for the family of support vector machines endowed with hyperbolic tangent profile function
Algorithmic inference: 90% confidence region for the hazard function of breast cancer recurrence computed from the censored sample t=(9,13,>13,18,12,23,31,34,>45,48,>161),

with > t denoting a censored time
90% confidence region for the hazard function of breast cancer recurrence computed from the censored sample t=(9,13,>13,18,12,23,31,34,>45,48,>161), with > t denoting a censored time

Worked examples

Example 1 — a first encounter with Algorithmic inference

Start with the simplest possible case. Write down what Algorithmic inference 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 Algorithmic inference 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 Algorithmic inference 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 Algorithmic inference

In research
Algorithmic inference 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 Algorithmic inference 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
Algorithmic inference is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algorithmic inference, Machine learning, so understanding it makes those chapters shorter.
In everyday life
Look for Algorithmic inference 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 “Algorithmic inference” →

How to study Algorithmic inference in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Algorithmic inference 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 Algorithmic inference out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Algorithmic inference in simple terms?

Algorithmic inference gathers new developments in the statistical inference methods made feasible by the powerful computing devices widely available to any data analyst. Cornerstones in this field are computational learning theory, granular computing, bioinformatics, and, long ago, structural proba…

Why does Algorithmic inference 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 Algorithmic inference?

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 Algorithmic inference.

Tags

  • Algorithmic inference
  • Machine learning

Keep exploring