선정목록으로
Model selection for inverse problems: Best choice of basis functions and model order selection
화학·수지 · (21) 에폭시수지
기본 정보
- 저자
- DOI
- 10.48550/arxiv.physics/0111020
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.physics/0111020
- 토픽
- Electron and X-Ray Spectroscopy Techniques
- OpenAlex ID
- W6891912003
평가 내용
- 관련도
- 사업분야
- 화학·수지 · (21) 에폭시수지
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '화학·수지 > 에폭시수지' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
A complete solution for an inverse problem needs five main steps: choice of basis functions for discretization, determination of the order of the model, estimation of the hyperparameters, estimation of the solution, and finally, characterization of the proposed solution. Many works have been done for the three last steps. The first two have been neglected for a while, in part due to the complexity of the problem. However, in many inverse problems, particularly when the number of data is very low, a good choice of the basis functions and a good selection of the order become primary. In this paper, we first propose a complete solution within a Bayesian framework. Then, we apply the proposed method to an inverse elastic electron scattering problem.
본문 32,572자
본문 펼치기
# Model selection for inverse problems: Best choice of basis functions and model order selection
## A. Mohammad-Djafari
_Laboratoire des Signaux et Systèmes_
_Supélec, Plateau de Moulon, 91192 Gif–sur–Yvette Cedex, France_
Abstract. A complete solution for an inverse problem needs five main steps: choice of basis functions for discretization, determination of the order of the model, estimation of the hyperparameters,
estimation of the solution, and finally, characterization of the proposed solution. Many works have
been done for the three last steps. The first two have been neglected for a while, in part due to the
complexity of the problem. However, in many inverse problems, particularly when the number of
data is very low, a good choice of the basis functions and a good selection of the order become
primary. In this paper, we first propose a complete solution within a Bayesian framework. Then, we
apply the proposed method to an inverse elastic electron scattering problem.
## INTRODUCTION
In a very general linear inverse problem, the relation between the data y = [y1, ···,ym] <sup>t</sup>
and the unknown function f (.) is
yi =
hi(r) f (r) dr, i = 1, ···,m, (1)
��
where hi(r) is the system response for the data yi. We assume here that the hi(r) are
known perfectly. The first step for any numerical processing is the choice of a basis
function bj(r) and an order k, in such a way to be able to write
f (r) =
k
j=1
xj bj(r). (2)
This leads to
y = Ax + ǫ (3)
with y = [y1, ···,ym] <sup>t</sup>, x = [x1, ···,xk] <sup>t</sup> and
Ai,j =
hi(r) bj(r) dr, i = 1, ···,m, j = 1, ···,k, (4)
��
where ǫ = [ǫ1, ···,ǫm] <sup>t</sup> represents the errors (both the measurement noise and the modeling and the approximation related to the numerical computation of matrix elements
Ai,j). Even when the choice of the basis functions bi(r) and the model order k is fixed,
obtaining a good estimate for x needs other assumptions about the noise ǫ and about
x itself. The Bayesian approach provides a coherent and complete framework to handle
the random nature of ǫ and the _a priori_ incomplete knowledge of x.
The first step in a Bayesian approach is to assign the prior probability laws
p(y | x, φ,k,l) = pǫ(y − Ax | φ,k,l), p(x | ψ,k,l), p(φ | k,l) and p(ψ | k,l), where
pǫ(y − Ax|φ,k,l) is the probability law of the noise, and (φ, ψ) the hyperparameters of
the problem. Note that x represents the unknown parameters, k = dim(x) is the order of
the model, m = dim(y) is the number of the data and l is an index to a particular choice
of basis functions. Note that the elements of the matrix A depend on the choice of the
basis functions. However, to simplify the notations, we do not write this dependence
explicitly. We assume that we have to select one set l of basis functions among a finite
set (indexed by [1 : lmax]) of them. Thus, for a given l ∈ [1,lmax] and a given model
order k ∈ [1,kmax], and using the mentioned prior laws, we define the joint probability
law
p(y, x, φ, ψ | k,l) = p(y | x, φ,k,l) p(x | ψ,k,l) p(φ | k,l) p(ψ | k,l). (5)
From this probability law, we obtain, either by integration or by summation, any
marginal law, and any _a posteriori_ probability law using the Bayes rule.
What we propose in this paper is to consider the following problems:
- Parameter estimation:
p(x | y, φ <sup>�</sup>, ψ <sup>�</sup>, k, <sup>�</sup> l <sup>�</sup> )
, (6)
where
and
x
x� = arg max
p(x | y, φ, ψ,k,l) = p(y, x | φ, ψ,k,l) /p(y | φ, ψ,k,l), (7)
p(y, x | φ, ψ,k,l) = p(y | x, φ,k,l) p(x | ψ,k,l) (8)
p(y | φ, ψ,k,l) =
- Hyperparameter estimation:
p(y, x | φ, ψ,k,l) dx. (9)
��
, (10)
p(φ, ψ | y, k, <sup>�</sup> l <sup>�</sup> )
where
and
(φ,ψ)
(φ <sup>�</sup>, ψ <sup>�</sup> ) = arg max
p(φ, ψ | y,k,l) = p(y, φ, ψ | k,l) /p(y | k,l) (11)
p(y | k,l) =
p(y, φ, ψ | k,l) dφ dψ. (12)
����
- Model order selection:
k
k� = arg max
where
, (13)
where
p(k | y,l) = p(y | k,l) p(k)/p(y | l) (14)
p(k | y, l <sup>�</sup> )
and
p(y | l) =
kmax
k=1
p(y | k,l) p(k). (15)
- Basis function selection:
l
l� = arg max
where
{p(l | y)}, (16)
where
p(l | y) = p(y | l) p(l)/p(y) (17)
and
p(y) =
lmax
l=1
p(y | l) p(l). (18)
l=1
- Joint parameter, hyperparameter, model order and basis function estimation:
(x,φ,ψ,k,l
(x <sup>�</sup>, φ <sup>�</sup>, ψ <sup>�</sup>, k, <sup>�</sup> l <sup>�</sup> ) = arg max
{p(y, x, φ, ψ | k,l) p(k) p(l)} . (19)
(x,φ,ψ,k,l)
As it can be easily seen, the first problem is, in general, a well posed problem and the
solution can be computed, either analytically or numerically. The others (except the last)
need integrations. These integrals can be done analytically only in the case of Gaussian
laws. In other cases, one can either use a numerical integration (either deterministic or
stochastic) or to resort to approximations such as the Laplace method which allows us
to obtain a closed-form expression for the optimality criterion.
Here, we consider these problems for the particular case of Gaussian prior laws:
- <sup>1</sup>
2
<sup>1</sup> 2 <sup>ψ</sup> <sup>∥x∥2</sup>, (21)
p(y | x,φ,k,l) = N
p(x | ψ,k,l) = N
Ax, <sup>1</sup>
- φ
0, <sup>1</sup>
- ψ <sup>I</sup>
= (2π/ψ) <sup>−k/2</sup> exp
<sup>1</sup>
φ <sup>I</sup>
= (2π/φ) <sup>−m/2</sup> exp
- <sup>1</sup>
2
2 <sup>1</sup> <sup>φ</sup> <sup>∥y −</sup> <sup>Ax∥2</sup> (20)
where φ <sup>1</sup>
ψ <sup>1</sup> <sup>are respectively the variance of the noise and the parameters.</sup>
φ <sup>1</sup> <sup>and</sup> ψ <sup>1</sup>
## PARAMETER ESTIMATION
First note that in this special case we have
p(y, x | φ,ψ,k,l) = (2π/φ) <sup>−m/2</sup> (2π/ψ) <sup>−k/2</sup> exp
- <sup>1</sup> 2
<sup>1</sup> . (22)
2 <sup>φ</sup> <sup>∥y −</sup> <sup>Ax∥2 −</sup> <sup>1</sup> 2 <sup>ψ</sup> <sup>∥x∥2</sup>
Integration with respect to x can be done analytically and we have:
p(y | φ,ψ,k,l) =
p(y, x | φ,ψ,k,l) dx = N (0, P y), (23)
��
with
P y = ψ <sup>1</sup>
ψ <sup>1</sup> <sup>AAt + 1</sup> φ
φ <sup>I</sup> <sup>=</sup> ψ <sup>1</sup>
ψ <sup>1</sup> <sup>(AAt +</sup> <sup>λI)</sup> <sup>and</sup> <sup>λ =</sup> <sup>ψ</sup> φ
(24)
<sup>ψ</sup> φ <sup>.</sup>
It is then easy to see that the _a posteriori_ law of x is also Gaussian:
P = <sup>1</sup> P A <sup>t</sup> y. (25)
with <sup>�</sup> φ <sup>(AtA</sup> <sup>+</sup> <sup>λI)−1 and</sup> <sup>x� = φ�</sup>
p(x | y,φ,ψ,k,l) = N
P
x�, <sup>�</sup>
Thus the parameter estimation in this case is straightforward:
{p(x | y,φ,ψ,k,l)} = arg min
x
{J1(x)}, (26)
with
x
x� = arg max
J1(x) = ∥y − Ax∥ <sup>2</sup> + λ∥x∥ <sup>2</sup>, (27)
which is a quadratic function of x. The solution is then a linear function of the data y
and is given by
with K(λ) = (A <sup>t</sup> A + λI) <sup>−1</sup> A <sup>t</sup> . (28)
x� = K(λ) y
## HYPERPARAMETER ESTIMATION
For the hyperparameter estimation problem we note that:
p(φ | k,l) p(ψ | k,l)
p(φ,ψ | y,k,l) = p(y | φ,ψ,k,l)
p(y | k,l)
p(φ | k,l) p(ψ | k,l)
= (2π) <sup>−m/2</sup> |P y| <sup>−1/2</sup> exp
p(y | k,l)
Thus, the hyperparameter estimation problem becomes:
−2 <sup>1</sup> <sup>ytP −</sup> y <sup>1y</sup>
. (29)
= arg min {J2(φ,ψ)} (30)
(φ,ψ)
p(φ,ψ | y, k, <sup>�</sup> l <sup>�</sup> )
where
J2(φ,ψ) = − ln p(φ | k,l) - ln p(ψ | k,l)+ 2 <sup>1</sup>
(φ,ψ)
(φ, <sup>�</sup> ψ <sup>�</sup> ) = arg max
<sup>1</sup> y <sup>y.</sup> (31)
2 <sup>ln</sup> <sup>|P y|</sup> <sup>+ 1</sup> 2 <sup>ytP −1</sup>
Unfortunately, in general, there is not an analytical expression for the solution, but this
optimization can be done numerically. Many works have been investigated to perform
this optimization appropriately for particular choices of p(φ | k,l) and p(ψ | k,l). Among
the others, we may note the choice of improper prior laws such as Jeffreys’ prior
p(φ | k,l) ∝ <sup>1</sup> 1
φ <sup>and</sup> <sup>p(ψ</sup> <sup>|</sup> <sup>k,l) ∝</sup> ψ <sup>1</sup> <sup>or</sup> <sup>proper</sup> <sup>uniform</sup> <sup>prior</sup> <sup>laws</sup> <sup>p(φ</sup> <sup>|</sup> <sup>k,l) =</sup> φmax−φmin
p(φ | k,l) ∝ <sup>1</sup> 1
φ <sup>and</sup> <sup>p(ψ</sup> <sup>|</sup> <sup>k,l) ∝</sup> ψ <sup>1</sup> <sup>or</sup> <sup>proper</sup> <sup>uniform</sup> <sup>prior</sup> <sup>laws</sup> <sup>p(φ</sup> <sup>|</sup> <sup>k,l) =</sup> φmax−φmin
and p(ψ | k,l) = ψmax−1 ψmin <sup>or still the proper Gamma prior laws.</sup>
One main issue with improper prior laws is the existence of the solution, because
p(φ,ψ | y,k,l) may not even have a maximum or its maximum can be located at the
border of the domain of variation of (φ,ψ). Here, we propose to use the following proper
Gamma priors :
p(φ) = G(α1,β1) ∝ φ <sup>(α1−1)</sup> exp[−β1φ] −→ E {φ} = α1/β1 (32)
p(ψ) = G(α2,β) ∝ ψ <sup>(α2−1)</sup> exp[−β2ψ] −→ E {ψ} = α2/β2. (33)
With these priors, we have
φ <sup>1</sup> <sup>and</sup> <sup>p(ψ</sup> <sup>|</sup> <sup>k,l) ∝</sup> ψ <sup>1</sup>
J2(φ,ψ) = (1 - α1)ln φ +(1 - α2)ln ψ + β1φ + β2ψ + <sup>1</sup> y <sup>y.</sup> (34)
2 <sup>ln</sup> <sup>|P y|</sup> <sup>+ 1</sup> 2 <sup>ytP −1</sup>
The second main issue is the numerical optimization. Many works have been done
on this subject. Among the others we can mention those who try to integrate out one
of the two parameters directly or after some transformation. For example transforming
(φ,ψ) −→ (φ,λ) and using the identities
and
we have
and
y <sup>t</sup> P <sup>−1</sup>
(35)
���AAt + λI��� = λm−k ���AtA + λI���
(AA <sup>t</sup> + λI) <sup>−1</sup> = <sup>1</sup>
λ
<sup>1</sup> (36)
λ <sup>(I −</sup> <sup>AK(λ)),</sup>
ln |P y| = −m ln φ - k ln λ +ln
(37)
���AtA + λI���
Then, we obtain
<sup>−</sup> y <sup>1y = φ</sup> <sup>yt(I −</sup> <sup>AK(λ))y = φ</sup> <sup>yt(y −</sup> <sup>Ax�) = φ</sup> <sup>yt(y −</sup> <sup>y�).</sup> (38)
J2(φ,ψ) = (1 - α1 − <sup>m</sup> 2 <sup>−k</sup>
(1 - α1 − <sup>m</sup> 2 <sup>−k</sup> <sup>)ln</sup> <sup>φ</sup> <sup>+(1</sup> <sup>−</sup> <sup>α2 −</sup> <sup>k</sup> 2 <sup>)ln</sup> <sup>ψ +</sup> <sup>β1φ</sup> <sup>+</sup> <sup>β2ψ</sup>
+ <sup>1</sup> 2 <sup>ln</sup> φ <sup>I</sup>
<sup>φ</sup> <sup>+(1</sup> <sup>−</sup> <sup>α2 −</sup> <sup>k</sup> 2 <sup>)ln</sup> <sup>ψ +</sup> <sup>β1φ</sup> <sup>+</sup> <sup>β2ψ</sup>
(39)
��� + φ2 <sup>yt(y −</sup> <sup>y�).</sup>
or
J2(φ,λ) = (2 - α1 − α2 − <sup>m</sup> 2
(2 - α1 − α2 − <sup>m</sup> 2 <sup>)ln</sup> <sup>φ</sup> <sup>+(1</sup> <sup>−</sup> <sup>α2 −</sup> <sup>k</sup> 2 <sup>)ln</sup> <sup>λ</sup> <sup>+</sup> <sup>β1φ</sup> <sup>+</sup> <sup>β2φλ</sup>
+ <sup>1</sup> 2 <sup>ln</sup>
- α1 − <sup>m</sup> 2 <sup>−k</sup> <sup>)ln</sup>
<sup>1</sup> 2 <sup>ln</sup> φ <sup>I</sup>
���AtA + ψ
- α1 − α2 − <sup>m</sup> 2 <sup>)ln</sup> <sup>φ</sup> <sup>+(1</sup> <sup>−</sup> <sup>α2 −</sup> <sup>k</sup> 2 <sup>)ln</sup> <sup>λ</sup> <sup>+</sup> <sup>β1φ</sup> <sup>+</sup> <sup>β2φλ</sup>
(40)
<sup>1</sup> 2 <sup>ln</sup>
, equating to zero the derivative of this expression with respect to���AtA + λI��� + φ2 <sup>yt(y −</sup> <sup>y�).</sup> φ gives an
For fixed λ, equating to zero the derivative of this expression with respect to φ gives an
explicit solution which is
∂J2(φ,λ)
<sup>m</sup> β1 + λβ2 + <sup>1</sup>
2 <sup>+</sup> <sup>α1 +</sup> <sup>α2 −</sup> <sup>2)</sup> <sup>/</sup>
2
2(φ,λ) = 0 −→ φ = ( <sup>m</sup>
∂φ 2
<sup>1</sup> . (41)
2 <sup>yt(y −</sup> <sup>y�)</sup>
λ which can be
Putting this expression into J2 we obtain a criterion depending only on λ which can be
optimized numerically. In addition, it is possible to integrate out φ to obtain p(λ|y,k,l),
but the expression is too complex to write.
## JOINT ESTIMATION
One may try to estimate all the unknowns simultaneously by
(x,φ,ψ,k,l)
(x <sup>�</sup>, φ, <sup>�</sup> ψ, <sup>�</sup> k, <sup>�</sup> l <sup>�</sup> ) = arg max
{J3(x,φ,ψ,k,l)}, (42)
(x,φ,ψ,k,l)
{p(x,φ,ψ,k,l|y} = arg min
(x,φ,ψ,k,l)
{p(x,φ,ψ,k,l|y} = arg min
where
J3(x,φ,ψ,k,l) = - ln p(k) - ln p(l) - ( <sup>m</sup> 2
<sup>1)ln</sup> <sup>φ</sup>
<sup>1</sup> + ψ
2 <sup>∥y −</sup> <sup>Ax∥2�</sup>
- ln p(k) - ln p(l) - ( <sup>m</sup> 2 <sup>+</sup> <sup>α1 −</sup> <sup>1)ln</sup> <sup>φ</sup>
−( <sup>k</sup> 2 <sup>+</sup> <sup>α2 −</sup> <sup>1)ln</sup> <sup>ψ +</sup> <sup>φ</sup> β1 + <sup>1</sup>
- 2 <sup>∥y −</sup>
2 <sup>+</sup> <sup>α1 −</sup>
<sup>k</sup> 2 <sup>+</sup> <sup>α2 −</sup> <sup>1)ln</sup> <sup>ψ +</sup> <sup>φ</sup> β1 + <sup>1</sup>
- 2
β2 + <sup>1</sup> .
- 2 <sup>∥x∥2�</sup> (43)
The main advantage of this criterion is that we obtain explicit solutions for x, φ and ψ
by equating to zero the derivatives of J3(x,φ,ψ,k,l) with respect to them:
(44)
with λ = φ/ψ;
2 <sup>+</sup> <sup>α1 −</sup> <sup>1)/</sup> β1 + <sup>1</sup> ;
x� = (A <sup>t</sup> A + λI) <sup>−1</sup> A <sup>t</sup> y,
φ� = ( m2 <sup>+</sup> <sup>α2 −</sup> <sup>1)/</sup> β2 + <sup>1</sup> .
2 <sup>∥y −</sup> <sup>Ax�∥2�</sup>
ψ� = ( k 2 <sup>∥x�∥2�</sup>
2 <sup>+</sup> <sup>α1 −</sup> <sup>1)/</sup> β1 + <sup>1</sup> ;
x� = (A <sup>t</sup> A + λI) <sup>−1</sup> A <sup>t</sup> y,
φ� = ( m2 <sup>+</sup> <sup>α2 −</sup> <sup>1)/</sup> β2 + <sup>1</sup> .
2 <sup>∥y −</sup> <sup>Ax�∥2�</sup>
ψ� = ( k 2 <sup>∥x�∥2�</sup>
<sup>1</sup> .
2 <sup>∥y −</sup>
2 <sup>∥x�∥2�</sup>
choice for p(k) and p(l). These relations suggest an iterative algorithm such as:
We cannot obtain closed form expressions for k <sup>�</sup> and l <sup>�</sup> which depend on the particular
Joint MAP estimation algorithm 1
for l = 1 : lmax
for k = 1 : kmax
compute the elements of the matrix A;
repeat until convergency:
initialize λ <sup>�</sup> = λ0;
2 <sup>+</sup> <sup>α1 −</sup> <sup>1)/</sup> β1
x� = (A <sup>t</sup> A + λ <sup>�</sup> I) <sup>−1</sup> A <sup>t</sup> y;
φ� = ( m2 <sup>+</sup> <sup>α2 −</sup> <sup>1)/</sup> β2
ψ� = ( k
<sup>1</sup>
2 <sup>∥y −</sup> <sup>Ax�∥2�</sup>
2 <sup>∥x�∥2�</sup> −→ λ <sup>�</sup> = φ/ <sup>�</sup> ψ <sup>�</sup>
2 <sup>+</sup> <sup>α1 −</sup> <sup>1)/</sup> β1 + <sup>1</sup> ;
= (A <sup>t</sup> A + λ <sup>�</sup> I) <sup>−1</sup> A <sup>t</sup> y;
φ� = ( m2 <sup>+</sup> <sup>α2 −</sup> <sup>1)/</sup> β2 + <sup>1</sup> 2 <sup>∥y −</sup> <sup>Ax�∥2�</sup>
ψ� = ( k 2 <sup>∥x�∥2�</sup>
2 <sup>+</sup> <sup>α1 −</sup> <sup>1)/</sup> β1 + <sup>1</sup>
= (A <sup>t</sup> A + λ <sup>�</sup> I) <sup>−1</sup> A <sup>t</sup> y;
φ� = ( m2 <sup>+</sup> <sup>α2 −</sup> <sup>1)/</sup> β2 + <sup>1</sup> 2
ψ� = ( k 2
end
end
end compute J(k,l) = J3(x <sup>�</sup>, φ, <sup>�</sup> ψ,k,l <sup>�</sup> );
choose the best model and the best order by
(l, <sup>�</sup> k <sup>�</sup> ) = arg min(k,l) {J(k,l)}
x, φ and ψ, the criteria J3
Note however that, for fixed x, φ and ψ, the criteria J3 in (43) or J5 in (47) are mainly
linear functions of k if we choose a uniform law for p(k). This means that we may not
have a minimum for these criteria as a function of k. The choice of the prior p(k) is then
important. One possible choice is the following:
p(k) =
kmax2(kmax(kmax−k−)1) 1 ≤ k < kmax
- 0 k > kmax
(45)
which is a decreasing function of k in the range k ∈ [1,kmax] and zero elsewhere. This
choice may insure the existence of a minimum if kmax is chosen appropriately. For p(l)
we propose to choose a uniform law, because we do not want to give any favor to any
model.
a criterion depending only on (φ,ψ):
Another algorithm can be obtained if we replace the expression of x <sup>�</sup> into J3 to obtain
- ln p(k) - ln p(l) - ( <sup>m</sup> 2 <sup>+</sup> <sup>α1 −</sup> <sup>1)ln</sup> <sup>φ</sup> <sup>−</sup> <sup>( k</sup> 2 <sup>+</sup> <sup>α2 −</sup> <sup>1)ln</sup> <sup>ψ</sup>
+φ β1 + <sup>1</sup> + ψ β2 + <sup>1</sup>
-
J4(φ,ψ,k,l) = - ln p(k) - ln p(l) - ( <sup>m</sup> 2
2 <sup>+</sup> <sup>α1</sup>
<sup>1</sup> + ψ
2 <sup>∥y −</sup> <sup>y�(λ)∥2�</sup>
<sup>1)ln</sup>
β2 + <sup>1</sup>
- 2
<sup>φ</sup> <sup>−</sup> <sup>( k</sup> 2 <sup>+</sup> <sup>α2 −</sup> <sup>1)ln</sup> <sup>ψ</sup>
(46)
<sup>1</sup>
2 <sup>∥x�(λ)∥2�</sup>
β1 + <sup>1</sup>
- 2
or on (φ,λ):
J5(φ,λ,k,l) = - ln p(k) - ln p(l) - ( <sup>m</sup> 2 <sup>+k</sup>
- ln p(k) - ln p(l) - ( <sup>m</sup> 2 <sup>+k</sup> + α1 + α2 − 2)ln φ - ( <sup>k</sup> 2 <sup>+</sup> <sup>α2 −</sup> <sup>1)ln</sup> <sup>λ</sup>
+φ β1 + <sup>1</sup> +(λφ) β2 + <sup>1</sup>
-
β1 + <sup>1</sup>
- 2
2 <sup>+k</sup> + α1 + α2 − 2)ln φ - ( <sup>k</sup> 2
2 + α1
<sup>1</sup> +(λφ)
2 <sup>∥y −</sup> <sup>y�(λ)∥2�</sup>
α2 −
β2 + <sup>1</sup>
- 2
φ - ( <sup>k</sup> 2
<sup>1</sup>
2 <sup>∥x�(λ)∥2�</sup>
(47)
2 <sup>∥y −</sup> <sup>y�(λ)∥2�</sup> 2 <sup>∥x�(λ)∥2�</sup>
and then optimize it with respect to them. In the second case, we can again obtain first
φ and put its expression
(β1 + <sup>1</sup>
2
<sup>1</sup> (48)
2 <sup>∥y −</sup> <sup>y�(λ)∥2)+</sup> <sup>λ(β2 + 1</sup> 2 <sup>∥x�(λ)∥2)</sup>
λ and optimize it numeri
φ� =
+ α1 + α2 − 2 /
- m 2+ k
in the criterion to obtain another criterion depending only on λ and optimize it numerically. This gives the following algorithm:
Joint MAP estimation algorithm 2
for l = 1 : lmax
for k = 1 : kmax
compute the elements of the matrix A;
for λ ∈ 10 <sup>[−8:1:4]</sup>
compute x <sup>�</sup> = (A <sup>t</sup> A + λI) <sup>−1</sup> A <sup>t</sup> y and y <sup>�</sup> = Ax <sup>�</sup>
endcompute φ <sup>�</sup> using (eq. 48)
compute J(λ) = J5(φ,λ,k,l <sup>�</sup> ) (eq. 47)
choose λ <sup>�</sup> = arg minλ {J(λ)}
compute x <sup>�</sup> = (A <sup>t</sup> A + λ <sup>�</sup> I) <sup>−1</sup> A <sup>t</sup> y;
endcompute φ <sup>�</sup> using (eq. 48);
end compute J(k,l) = J5(φ, <sup>�</sup> λ,k,l <sup>�</sup> ) (eq. 47)
choose the best model and the best order by
(l, <sup>�</sup> k <sup>�</sup> ) = arg min(k,l) {J(k,l)}
## MODEL ORDER SELECTION
The model order selection
{p(k | y,l)} = arg min
k
{J6(k)}, (49)
with
k
k� = arg max
J6(k) = − ln p(k) - ln p(y | k,l), (50)
needs one more integration
p(y | k,l) =
p(y,φ,ψ | k,l) dφ dψ. (51)
��
or
p(y | k,l) =
p(y,φ,λ|k,l) dφ dλ, (52)
��
where p(y,φ,λ|k,l) ∝ exp[−J2(φ,λ)] given by (40). As we mentioned in the preceeding
section, these integrations can only be down numerically. A good approximation can be
obtained using the following:
i
j
p(y | k,l) =
p(y,φ,ψ | k,l) dφ dψ ≃
��
p(y|φj,ψi,k,l), (53)
where {φj} and {ψi} are samples generated using the prior laws p(φ) and p(ψ).
## BEST BASIS OR MODEL SELECTION
The model selection
{p(l | y)} = arg min
l
{J7(l)} (54)
with
l
�l = arg max
J7(l) = − ln p(l) - ln p(y | l) (55)
does not need any more integration, but only one summation. Choosing p(l) uniform
and making the same previous approximations we have
J7(l) = − ln
kmax
k=1
p(y | k,l) p(k). (56)
## PROPOSED ALGORITHMS
Based on equations (55), (53), (50), (39) and (40), we propose the following algorithm:
Marginal MAP estimation algorithm 2
Generate a set of samples {φj} drawn from p(φ)
Generate a set of samples {ψi} drawn from p(ψ)
for l = 1 : lmax
for k = 1 : kmax
compute the elements of the matrix A;
for φ ∈{φj}
for ψ ∈{ψi}
compute λ = φ/ψ,
compute pψ(i,j,k,l) = exp[−J2(φj,ψi)] (eq. 39)
end x� = (A <sup>t</sup> A + λI) <sup>−1</sup> A <sup>t</sup> y and y� = Ax�
normalize pψ(i,j,k,l) = pψ(i,j,k,l) / i <sup>p</sup> ψ <sup>(i,j,k,l)</sup>
normalize pψ(i,j,k,l) = pψ(i,j,k,l) / i <sup>p</sup> ψ <sup>(i,j,k,l)</sup>
compute pφ(j,k,l) = i <sup>p</sup> ψ <sup>(i,j,k,l)</sup>
compute pφ(j,k,l) = i <sup>p</sup> ψ <sup>(i,j,k,l)</sup>
end
normalize pφ(j,k,l) = pφ(j,k,l) / j <sup>p</sup>
normalize pφ(j,k,l) = pφ(j,k,l) / j <sup>p</sup> φ <sup>(j,k,l)</sup>
j <sup>p</sup> φ <sup>(j,k,l)</sup>
compute pk(k,l) = <sup>�</sup>
k <sup>p</sup> k <sup>(k,l)</sup>
j <sup>p</sup> φ <sup>(j,k,l)</sup>
end
compute pk(k,l) = <sup>�</sup>
k <sup>p</sup>
k <sup>p</sup> k <sup>(k,l)</sup>
normalize pk(k,l) = pk(k,l) / <sup>�</sup>
compute pl(l) = <sup>�</sup>
k <sup>p</sup> k <sup>(k,l)</sup>
k <sup>p</sup> k <sup>(k,l)</sup>
normalize pk(k,l) = pk(k,l) / <sup>�</sup>
compute pl(l) = <sup>�</sup>
l <sup>p(l)</sup>
k <sup>p</sup> k <sup>(k,l)</sup>
endnormalize pk(k,l) = pk(k,l
compute pl(l) = <sup>�</sup>
l <sup>p(l</sup>
normalize pl(l) = pl(l) / <sup>�</sup>
choose the best model by l <sup>�</sup> =
pk(k, l <sup>�</sup> )
l <sup>p(l)</sup>
normalize pl(l) = pl(l) / <sup>�</sup>
choose the best model by l <sup>�</sup> = arg maxl {pl(l)}
choose the best model order by k <sup>�</sup> = arg maxk
choose the best value for φ = φ�j with <sup>�</sup> j = arg
choose the best model order by k <sup>�</sup> = arg maxk pk(
choose the best value for φ = φ�j with <sup>�</sup> j = arg maxj
choose the best value for ψ = ψ�i with <sup>�</sup> i = arg maxi
choose the best value for φ = φ�j with <sup>�</sup> j = arg maxj
choose the best value for ψ = ψ�i with <sup>�</sup> i = arg maxi
compute λ <sup>�</sup> = φ/ <sup>�</sup> ψ <sup>�</sup>
l <sup>�</sup> )
pφ(j, l, <sup>�</sup> k <sup>�</sup> )
pψ(i, <sup>�</sup> j, l, <sup>�</sup>
pφ(j, l, <sup>�</sup> k <sup>�</sup> )
pψ(i, <sup>�</sup> j, l, <sup>�</sup> k <sup>�</sup> )
choose the best value for ψ = ψ�i with <sup>�</sup> i = arg maxi pψ(i,
compute λ <sup>�</sup> = φ/ <sup>�</sup> ψ <sup>�</sup>
compute the elements of the matrix A for l = <sup>�</sup> l and k = k <sup>�</sup>
compute x <sup>�</sup> = (A <sup>t</sup> A + λ <sup>�</sup> I) <sup>−1</sup> A <sup>t</sup> y.
## APPLICATION: ELECTRON SCATTERING DATA INVERSION
Elastic electron scattering provides a means of determining the charge density of a nucleus, ρ(r), from the experimentally determined charge form factor, F (q). The connection between the charge density and the cross section is well understood and in plane
wave Born approximation F (q) is just the Fourier transform of ρ(r), which for the case
of even-even nuclei, which we shall consider, is simply given by
F (q) = 4π
0
- ∞
r <sup>2</sup> J0(qr)ρ(r) dr, (57)
0
∞
where J0 is the spherical Bessel function of zero order and q is the absolute value of the
three momentum transfer.
We applied the proposed method with the following usual discretization procedure:
ρ(r) =
j=1 <sup>xj bj(r)</sup> r ≤ Rc
(58)
0 r > Rc
��k
which results in
and
y = Ax + ǫ, (60)
r <sup>2</sup> J0(qr) bj(r) dr (59)
0
- Rc
F (q) = 4π
k
j=1
xj
where x is a vector containing the coefficients {xj,j = 1, ···,k}, y is a vector containing
the form factor data {F (qi),i = 1, ···,m} and A an (m × k) matrix containing the
coefficients Ai,j given by
Ai,j = 4π
r <sup>2</sup> J0(qir) bj(r) dr. (61)
0
- Rc
To compute Ai,j we define a discretization step ∆r = Rc/N, a vector r = {rn =
(n - 1)∆r,n = 1, ···,N}, a (N × k) matrix B with elements Bn,j = bj(rn), a (m × N)
matrix C with elements Ci,n = (4π∆r)rn <sup>2J0(qirn)</sup> <sup>such</sup> <sup>that</sup> <sup>we</sup> <sup>have</sup> <sup>A = CB.</sup> <sup>Note</sup>
matrix C with elements Ci,n = (4π∆r)rn <sup>2J0(qirn)</sup> <sup>such</sup> <sup>that</sup> <sup>we</sup> <sup>have</sup> <sup>A = CB.</sup> <sup>Note</sup>
also that when the vector x is determined, we can compute ρ = {ρ(rn), n = 1, ···,N}
by ρ = Bx.
To test the proposed methods, we used the following simulation procedure:
- Select a model type l and an order k and generate the matrices B, C and A, and
for a random set of parameters x generate the data y = Ax.
- Add some noise ǫ on y to obtain y = Ax + ǫ.
x, y = Ax and ρ = Bx.
- Compute the estimates l <sup>�</sup>, k <sup>�</sup>, x <sup>�</sup>, y <sup>�</sup> = A x <sup>�</sup> and ρ <sup>�</sup> = Bx <sup>�</sup> and compare them with l, k,
We chose the following basis functions:
- l = 1 : bj(r) = J0(qjr)— This is a natural choice due to the integral kernel and
the orthogonality property of the Bessel functions.
- l = 2 : bj(r) = sinc(qjr)— This choice is also natural due to the orthogonality
and the limited support hypothesis for the function ρ(r).
l = 3 : bj(r) = exp - <sup>1</sup> - This choice can account for the positivity of
the function ρ(r) if the� {x2j <sup>(</sup> } <sup>q</sup> are constrained to be positive. <sup>jr)2�</sup>
l = 4 : bj(r) = exp - <sup>1</sup> J0(qjr)— This choice combines the first and the
third properties. - 2 <sup>(qjr)2�</sup>
- <sup>1</sup>
- {x2
- <sup>1</sup>
- 2
- l = 3 : bj(r) = exp
- l = 4 : bj(r) = exp
- l = 5 : bj(r) = 1/(cosh(qjr))— This choice has the same properties as the third
one.
- l = 6 : bj(r) = 1/(1+(qjr) <sup>2</sup> )— This choice has the same properties as the third
one.
In all these experiments we chose k = 6, m = 20, N = 100, Rc = 8 and qi = iπ/Rc.
The following figures show typical solutions. Figures 1 and 2 show the details of the
procedure for the case l = 1. Figures 3, 4 and 5 show the results for the cases l = 1 to
l = 6.
1
0.5
0
−0.5
0 1 2 3 4 5 6 7 8
r
bj(r)
j = 1,...,k = 6
1
0.8
0.6
0.4
0.2
0
ρ(r) =
k
j=1
xj bj(r)
j=1
with
x1 = x2 = ··· = x6 = 1
−0.2
0 1 2 3 4 5 6 7 8
r
5
4
3
2
1
0
−1
−2
−3
−4
<u>F</u> (qi) =
k
j=1
Aij xj
j=1
j=1
<u>Aij =</u> r <sup>2</sup> J0(qir) bj(r) dr
i = 1,...,m = 14
j = 1,...,k = 6
<u>Aij =</u>
−5
0 1 2 3 4 5 6 7 8
q
Fig. 1: a) basis functions bj(r), b) ρ(r), c) data F (qi) in a logarithmic scale.
0.8
0.6
0.4
0.2
0.1
0.05
0
1 2 3 4 5 6
model order
model number
0.1
0.08
0.06
0.04
0.02
0
1 2 3 4 5 6
model number
0
1 2 3 4 5 6 7 8 9101112131415
model order
p(k,l)
p(l) and p(k|l <sup>�</sup> )
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
−0.1
0 1 2 3 4 5 6 7 8
4
3
2
1
0
−1
−2
−3
−4
0 1 2 3 4 5 6 7
ρand�(r) =
ρ(r) =
k
j=1
k
j=1
x�j bj(r)
xj bj(r)
Fand�(qi) =
F (qi) =
k
j=1
k
j=1
k
j=1
k
j=1
Aij x�j
Aij xj
Fig. 2: a) p(k,l|y), p(l|y) and p(k|y, l <sup>�</sup> ), b) original ρ(r) and estimated ρ�(r),
c) original F (qi) and estimated F <sup>�</sup> (qi).
1
0.5
0
−0.50 1 2 3 4 5 6 7 8
r
1
0.8
0.6
0.4
0.2
0
−0.2
−0.40 1 2 3 4 5 6 7 8
r
0.45
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0 1 2 3 4 5 6
Model number
0.16
0.14
0.12
0.1
0.08
0.06
0.04
0.02
0 1 2 3 4 5 6 7 8 9101112131415
Model order
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0 1 2 3 4 5 6
Model number
0.18
0.16
0.14
0.12
0.1
0.08
0.06
0.04
0.02
0 1 2 3 4 5 6 7 8 9101112131415
Model order
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
−0.10 1 2 3 4 5 6 7 8
4
3
2
1
0
−1
−2
−3
−40 1 2 3 4 5 6 7
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
00 1 2 3 4 5 6 7 8
5
4
3
2
1
0
−1
−2
−3
−4
−50 1 2 3 4 5 6 7
Fig. 3: Left: l = 1 Right: l = 2
a) basis functions bj(r), b) p(k|y) and p(k|y, l <sup>�</sup> ), c) ρ(r) and ρ�(r),
d) F (qi) and F <sup>�</sup> (qi).
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
00 1 2 3 4 5 6 7 8
r
1
0.8
0.6
0.4
0.2
0
−0.20 1 2 3 4 5 6 7 8
r
0.5
0.45
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0 1 2 3 4 5 6
Model number
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0 1 2 3 4 5 6 7 8 9101112131415
Model order
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0 1 2 3 4 5 6
Model number
0.12
0.1
0.08
0.06
0.04
0.02
0 1 2 3 4 5 6 7 8 9101112131415
Model order
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
00 1 2 3 4 5 6 7 8
<u>4</u>
3
2
1
0
−1
−2
−3
−40 1 2 3 4 5 6 7
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
00 1 2 3 4 5 6 7 8
4
~~3~~
2
1
0
−1
−2
−3
−40 1 2 3 4 5 6 7
Fig. 4: Left: l = 3 Right: l = 4
a) basis functions bj(r), b) p(k|y) and p(k|y, l <sup>�</sup> ), c) ρ(r) and ρ�(r),
d) F (qi) and F <sup>�</sup> (qi).
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
00 1 2 3 4 5 6 7 8
r
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
00 1 2 3 4 5 6 7 8
r
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0 1 2 3 4 5 6
Model number
0.25
0.2
0.15
0.1
0.05
0 1 2 3 4 5 6 7 8 9101112131415
Model order
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0 1 2 3 4 5 6
Model number
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0 1 2 3 4 5 6 7 8 9101112131415
Model order
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
00 1 2 3 4 5 6 7 8
5
4
3
2
1
0
−1
−2
−3
−4
−50 1 2 3 4 5 6 7
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
00 1 2 3 4 5 6 7 8
5
4
3
2
1
0
−1
−20 1 2 3 4 5 6 7
Fig. 5: Left: l = 5 Right: l = 6
a) basis functions bj(r), b) p(k|y) and p(k|y, l <sup>�</sup> ), c) ρ(r) and ρ�(r),
d) F (qi) and F <sup>�</sup> (qi).
Note that in these tests, we know perfectly the model and generated the data according
to our hypothesis. To test the method in a more realistic case, we choose a model for
which we can have an exact analytic expression for the integrals. For example, if we
choose a symmetric Fermi distribution [4]
cosh(R/d)
ρ(r) = α (62)
cosh(R/d)+cosh(r/d) <sup>,</sup>
an analytical expression for the corresponding charge form factor can easily be obtained [5]:
. (63)
F (q) = − <sup>4π2αd</sup>
q
cosh(R/d)
sinh(R/d)
�Rsinh( cos(πqdqR)) <sup>−</sup> <sup>πd</sup> <sup>sin(</sup> sinh <sup>qR2)cosh(</sup> (πqd) <sup>πqd)</sup>
Only two of the parameters α, R and d are independent since the charge density must
fulfill the normalization condition
4π r <sup>2</sup> ρ(r) dr = Z. (64)
Figure 6 shows the theoretical charge density ρ(r) of 12C (Z=6) obtained from (62)
for r ∈ [0, 8] fm with R = 1.1 A and d = 0.626 fm and the theoretical charge form factor
F (q) obtained by (63) for q ∈ [0, 8] fm <sup>−1</sup> and the 15 simulated data:
q = [0.001,.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0] fm <sup>−1</sup>
which are used as inputs to the inversion method.
Charge density
1
0.8
0.6
0.4
0.2
0
4
2
0
−2
−4
−6
−8
−10
−12
−0.2
0 1 2 3 4 5 6 7 8
−14
0 1 2 3 4 5 6 7 8
Radius Momentum transfer
Fig. 6: Theoretical charge density ρ(r), charge form factor log |F (q)| and the data
Radius
[stars] used for numerical experiments [right].
First note that, even with the exact data, there are an infinite number of solutions
which fits exactly the data. The following figure shows a few sets of these solutions.
0.06
0.04
0.02
0
1 2 3 4 5 6
model order
model number
0.4
0.3
0.2
0.1
0
1 2 3 4 5 6
model number
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 1 2 3 4 5 6 7 8
0.06
0.05
0.04
0.03
0.02
0.01
0
1 2 3 4 5 6 7 8 9101112131415
model order
4
2
0
−2
−4
−6
−8
−10
−12
0 1 2 3 4 5 6 7
Fig. 7: a) p(k,l|y)
b) p(k|y) c) p(k|y, l <sup>�</sup> )
d) ρ(r) and ρ�(r) e) F (qi) and F <sup>�</sup> (qi).
## CONCLUSIONS
We discussed the different steps for a complete resolution of an inverse problem and
focused on the choice of a basis function selection and the order of the model. An
algorithm based on Bayesian estimation is proposed and tested on simulated data.
## REFERENCES
1. J. L. Friar and J. W. Negele, Nucl. Phys. A 212, 93 (1973).
2. B. Dreher _et al._, Nucl. Phys. A 235, 219 (1974).
3. J. Heisenberg and H. P. Blok, Ann. Rev. Nucl. Part. Sc. 33, 569 (1983).
4. M. E. Grypeos, G. A. Lalazissis, S. E. Massen, and C. P. Panos, J. Phys. G 17, 1093 (1991).
5. R. E. Kozak, Am. J. Phys. 59, 74 (1991).
6. J. Baker-Jarvis, J. Math. Phys. 30, 302 (1989).
7. J. Baker-Jarvis, M. Racine, and J. Alameddine, J. Math. Phys. 30, 1459 (1989).
8. N. Canosa, H. G. Miller, A. Plastino and R. Rossignoli, Physica A220, 611 (1995).
9. Buck and Macaulay, “Linear inversion by the method of maximum entropy,” in _Maximum Entropy_
_and Bayesian Methods 89_, (J. Skilling, ed.), Kluwer Academic Publishers, 1990.
10. A. Mohammad-Djafari, “A full Bayesian approach for inverse problems,” in _Maximum Entropy and_
_Bayesian Methods 95_, (K. Hanson and R. Silver, ed.), Kluwer Academic Publishers, 1996.
11. D.J.C. MacKay, “Hyperparameters: Optimize or integrate out?” in _Maximum Entropy and Bayesian_
_Methods 93_, (G. Heidbreder, ed.), pp. 43–59, Kluwer Academic Publishers, 1996.
12. V.A. Macaulay and B. Buck, “A fresh look at model selection in inverse scattering,” in _Maximum_
_Entropy_ _and_ _Bayesian_ _Methods_ _94_, (J. Skilling and S. Sibisi ed.), Kluwer Academic Publishers,
1996.
13. A. Mohammad-Djafari and J. Idier, “A scale invariant Bayesian method to solve linear inverse
problems”, pp. 121–134. in _Maximum_ _Entropy_ _and_ _Bayesian_ _Methods_ _94_, (G. Heidbreder, ed.),
Kluwer Academic Publishers, 1996.
14. A. Mohammad-Djafari and J. Idier, “Maximum entropy prior laws of images and estimation of their
parameters,” pp. 285–293. in _Maximum Entropy and Bayesian Methods 90_, (T. Grandy, ed.), Kluwer
Academic Publishers, 1991.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.