Clicky

Some Useful Bijections

In constrained optimization problems with very simple (constant) constraints it is sometimes useful to simply use a global optimization algorithm with an appropriate one-to-one transformation of the parameters. Suppose we want to optimize an objective function f(θ) where θ∈A. If there exists a continuous mapping ϕ:ℝ→A such that for all x,y∈A, ϕ(x)=ϕ(y) if and only if x=y, then it is equivalent to optimize f(ϕ(x)) over ℝ. If x¯ is the resulting optimum, then we can apply the inverse transformation to obtain θ¯=ϕ −1(x¯).

Below is a table of useful transformations of this type. Most of them are not very difficult to derive, but it seems useful to have a list of them in one place. A denotes the constraint set. They can be scaled as needed for other intervals.

Useful Bijections
Aℝ→AA→ℝ
[0,∞)e xln(x)
(−∞,0]−e xln(−x)
[0,1]11+e −x−ln(1θ−1)
[−1,1]21+e −x−1−ln(2θ+1−1)

Note that the mapping ℝ to [0,1] is the Sigmoid Function.

Finally, a multidimensional transformation is useful when the parameters represent probabilities. Suppose θ∈A where A={(θ 1,θ 2,…,θ n)|0≤θ i≤1and∑ iθ i=1}. Here, A is the standard n−1 simplex. The corresponding mapping is ϕ:ℝ n−1→A where ϕ i(x)=e x i1+∑ j=1 n−1e x j for 1≤i≤n−1 and ϕ n(x)=11+∑ j=1 n−1e x j. This is the same mapping that arises in the multinomial logit and conditional logit regression models.