ArticleslgStudy

computer science

Intrinsic dimension

Intrinsic dimension 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 Intrinsic dimension rather than just read about it. In short: In mathematics, the intrinsic dimension of a subset can be thought of as the minimal number of variables needed to represent the subset. The concept has widespread applications in geometry, dynamical systems, signal processing, statistics, and other fields.

Intrinsic dimension — main illustration
Intrinsic dimension — illustration

Key takeaways

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

Reference excerpt

In mathematics, the intrinsic dimension of a subset can be thought of as the minimal number of variables needed to represent the subset. The concept has widespread applications in geometry, dynamical systems, signal processing, statistics, and other fields. Due to its widespread applications and vague conceptualization, there are many different ways to define it rigorously. Consequently, the same set might have different intrinsic dimensions according to different definitions. The intrinsic dimension can be used as a lower bound of what dimension it is possible to compress a data set into through dimension reduction, but it can also be used as a measure of the complexity of the data set or signal. For a data set or signal of N variables, its intrinsic dimension M satisfies 0 ≤ M ≤ N, although estimators may yield higher values.

Exact dimension

Differential In differential geometry, given a differentiable manifold N and a submanifold M, the intrinsic dimension of M is its dimension. Suppose N has n dimensions and M has m dimensions, then that means around any point in M, there exists a local coordinate system (x1,…,xm,xm+1,…,xn) of N, such that the manifold M is simply the subset of N defined by xm+1=0,…,xn=0.

Metric

Given a mere metric space, we can still define its intrinsic dimension. The most general case is the Hausdorff dimension, though for metric spaces occurring in practice, the box-counting dimension and the packing dimension often are identical to the Hausdorff dimension. Let X,d be a metric space and A⊂X be totally bounded. Define the covering numberN(A,ε)=min⁡{k:A⊂⋃i=1kB(xi,ε)}.The metric entropy is H(A,ε)=log⁡N(A,ε) (any log base). The upper and lower metric entropy dimensions aredim‾EA=lim supε↓0H(A,ε)log⁡(1/ε),dim_EA=lim infε↓0H(A,ε)log⁡(1/ε).If they are equal, then dimEA is that common value, called the metric entropy dimension. The entropy dimensions are usually used in information theory, and especially coding theory, since entropy is involved in its definition.

Topological

If X is merely a topological space, then we can still define its intrinsic dimension, using the topological dimension or Lebesgue covering dimension. An open cover of a topological space X is a family of open sets Uα such that their union is the whole space, ∪α Uα = X. The order or ply of an open cover 𝔄 = {Uα} is the smallest number m (if it exists) for which each point of the space belongs to at most m open sets in the cover: in other words Uα1 ∩ ⋅⋅⋅ ∩ Uαm+1 = ∅︀ for α1, ..., αm+1 distinct. A refinement of an open cover 𝔄 = {Uα} is another open cover 𝔅 = {Vβ}, such that each Vβ is contained in some Uα. The covering dimension of a topological space X is defined to be the minimum value of n such that every finite open cover 𝔄 of X has an open refinement 𝔅 with order n + 1. The refinement 𝔅 can always be chosen to be finite. Thus, if n is finite, Vβ1 ∩ ⋅⋅⋅ ∩ Vβn+2 = ∅︀ for β1, ..., βn+2 distinct. If no such minimal n exists, the space is said to have infinite covering dimension.

Introductory example Let f(x1,x2) be a two-variable function (or signal) which is of the form f(x1,x2)=g(x1) for some one-variable function g which is not constant. This means that f varies, in accordance to g, with the first variable or along the first coordinate. On the other hand, f is constant with respect to the second variable or along the second coordinate. It is only necessary to know the value of one, namely the first, variable in order to determine the value of f. Hence, it is a two-variable function but its intrinsic dimension is one. A slightly more complicated example isf(x1,x2)=g(x1+x2). f is still intrinsic one-dimensional, which can be seen by making a variable transformation y1=x1+x2 and y2=x1−x2 which gives f(y1+y22,y1−y22)=g(y1). Since the variation in f can be described by the single variable y1 its intrinsic dimension is one. For the case that f is constant, its intrinsic dimension is zero since no variable is needed to describe variation. For the general case, when the intrinsic dimension of the two-variable function f is neither zero or one, it is two. In the literature, functions which are of intrinsic dimension zero, one, or two are sometimes referred to as i0D, i1D or i2D, respectively.

Signal processing In signal processing of multidimensional signals, the intrinsic dimension of the signal describes how many variables are needed to generate a good approximation of the signal. For an N-variable function f, the set of variables can be represented as an N-dimensional vector x: f=f(𝐱) where 𝐱=(x1,…,xN). If for some M-variable function g and M × N matrix A it is the case that

for all x; f(𝐱)=g(𝐀𝐱), M is the smallest number for which the above relation between f and g can be found, then the intrinsic dimension of f is M. The intrinsic dimension is a characterization of f, it is not an unambiguous characterization of g nor of A. That is, if the above relation is satisfied for some f, g, and A, it must also be satisfied for the same f and g′ and A′ given by g′(𝐲)=g(𝐁𝐲) and 𝐀′=𝐁−1𝐀 where B is a non-singular M × M matrix, since f(𝐱)=g′(𝐀′𝐱)=g(𝐁𝐀′𝐱)=g(𝐀𝐱).

The Fourier transform of signals of low intrinsic dimension An N variable function which has intrinsic dimension M < N has a characteristic Fourier transform. Intuitively, since this type of function is constant along one or several dimensions its Fourier transform must appear like an impulse (the Fourier transform of a constant) along the same dimension in the frequency domain.

A simple example Let f be a two-variable function which is i1D. This means that there exists a normalized vector 𝐧∈ℝ2 and a one-variable function g such that f(𝐱)=g(𝐧T𝐱) for all 𝐱∈ℝ2. If F is the Fourier transform of f (both are two-variable functions) it must be the case that F(𝐮)=G(𝐧T𝐮)⋅δ(𝐦T𝐮). Here G is the Fourier transform of g (both are one-variable functions), δ is the Dirac impulse function and m is a normalized vector in ℝ2 perpendicular to n. This means that F vanishes everywhere except on a line which passes through the origin of the frequency domain and is parallel to m. Along this line F varies according to G.

The general case Let f be an N-variable function which has intrinsic dimension M, that is, there exists an M-variable function g and M × N matrix A such that f(𝐱)=g(𝐀𝐱)∀𝐱. Its Fourier transform F can then be described as follows:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Intrinsic dimension

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

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

How to study Intrinsic dimension in 20 minutes

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

Frequently asked questions

What is Intrinsic dimension in simple terms?

In mathematics, the intrinsic dimension of a subset can be thought of as the minimal number of variables needed to represent the subset. The concept has widespread applications in geometry, dynamical systems, signal processing, statistics, and other fields.

Why does Intrinsic dimension 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 Intrinsic dimension?

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 Intrinsic dimension.

Tags

  • Computer vision
  • Image processing

Keep exploring