1
$\begingroup$

Let $f$ be a probability density function (positive such that $\int_{\mathbb{R}} f(x) \mathrm{d} x = 1$) and $X_0 = \{x_n\}_{1\leq n \leq N}$ be $N$ given real points. We also fix $1 \leq P \leq N$ an integer.

For $X$ a subset of $X_0$ of size $P$, we set $$f_X(x) = \frac{1}{P} \sum_{x_0 \in X} g(x-x_0),$$ where $g$ is a Gaussian of mean $0$ and variance $1$.

We consider the following optimisation problem: $$\min_{X \subset X_0} \int_{\mathbb{R}} \lvert f (x) - f_X(x) \rvert \mathrm{d} x.$$

This means that we aim at approximating $f(x)$ optimally with a density of the form $f_X$, the challenge being to adequately select $P$ points among the $N$ that are initially given.

Is there any smart way to tackle such optimization task?

NB: $g$ can be changed for any other density if the problem is easier to solve.

$\endgroup$
7
  • 1
    $\begingroup$ My starting point would be evenly distributed quantiles: the solutions to either $CDF(x_0)=i/(P+1)$ or $CDF(x_0)=(i-1/2)/P$ for $1\le i\le P$. $\endgroup$
    – user44143
    Dec 9, 2018 at 17:33
  • $\begingroup$ Does such approximation make sense? $\endgroup$
    – user64494
    Dec 9, 2018 at 17:52
  • $\begingroup$ @user64494 Yes. It is essentially a combinatorial search problem. $\endgroup$ Dec 9, 2018 at 18:01
  • $\begingroup$ @Josia Park: Can you kindly base your claim? I mean sense from probability theory viewpoint. $\endgroup$
    – user64494
    Dec 9, 2018 at 18:10
  • $\begingroup$ The functional to be minimized is of the form $\int |\frac{1}{P} \sum \limits_{i} (f(x)-g(x-x_i))| dx$ where $x_i$ are chosen without replacement from the set $X_0$. Optimization problems where functions are sampled without replacement are well motivated problems, see: pdfs.semanticscholar.org/fed5/… $\endgroup$ Dec 9, 2018 at 19:40

1 Answer 1

1
$\begingroup$

One approach is to reformulate the problem as an integer convex optimization problem.

For $\lambda \in \mathbb{R}^N$, $\lambda = (\lambda_1, \ldots, \lambda_N)$, let $g_{\lambda}(x) = \frac{1}{P} \sum_i \lambda_i g(x - x_i)$. Now consider $V : \mathbb{R}^N \to \mathbb{R}$ given by

$$ V : \lambda \mapsto \int_{\mathbb{R}} | f(x) - g_{\lambda}(x) | \, dx $$

The function $V$ is convex, and the desired solution is the integer lattice minimizer of $V$ subject to the constraints $0 \leq \lambda_i \leq 1$ and $\sum_i \lambda_i = P$. Techniques exist to minimize convex functions on a convex domain in the integer lattice by reformulating as an integer linear programming problem with added slack variables.

This approach has the advantages of being general (it will work for any choice of the approximating distribution $g$ for instance) and of being supported by various mature software packages, but it has the disadvantage that it doesn't make much use of the specifics of the problem in question.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.