Illustrative Application of the 2nd-Order Adjoint Sensitivity Analysis Methodology to a Paradigm Linear Evolution/Transmission Model: Reaction-Rate Detector Response

Abstract

This work continues the illustrative application of the “Second Order Comprehensive Adjoint Sensitivity Analysis Methodology” (2nd-CASAM) to a benchmark mathematical model that can simulate the evolution and/or transmission of particles in a heterogeneous medium. The model response considered in this work is a reaction-rate detector response, which provides the average interactions of particles with the respective detector or, alternatively, the time-average of the concentration of a mixture of substances in a medium. The definition of this model response includes both uncertain boundary points of the benchmark, thereby providing both direct and indirect contributions to the response sensitivities stemming from the boundaries. The exact expressions for the 1st- and 2nd-order response sensitivities to the boundary and model parameters obtained in this work can serve as stringent benchmarks for inter-comparing the performances of all (deterministic and statistical) sensitivity analysis methods.

Share and Cite:

Cacuci, D. (2020) Illustrative Application of the 2nd-Order Adjoint Sensitivity Analysis Methodology to a Paradigm Linear Evolution/Transmission Model: Reaction-Rate Detector Response. American Journal of Computational Mathematics, 10, 382-397. doi: 10.4236/ajcm.2020.103020.

1. Introduction

This work continues to illustrate the application of the general second-order adjoint sensitivity analysis methodology (2nd-CASAM) presented in [1] by using the evolution/transmission mathematical benchmark model introduced in [2], but considering a “reaction-rate” detector response, as opposed to the “point-detector” response considered in [2]. As in [2], the mathematical model considered in this work could represent [3] [4] the time-evolution of the concentration of a substance in a homogeneous mixture of materials or, alternatively, it could represent [4] [5] [6] the transmission/attenuation of the flux of uncollided particles (e.g., photons) travelling through a one-dimensional homogenized multi-material slab of imprecisely known thickness.

Although simple, the model comprises a large number of model parameters, thereby involving a correspondingly large number of sensitivities (i.e., functional derivatives) of the model’s responses to the model parameters. Furthermore, the model has been deliberately designed so that a large number of relative response sensitivities display identical values. The application of the 2nd-CASAM [1] yields the exact expressions of the 1st- and 2nd-order sensitivities of the reaction-rate response to the uncertain model and boundary parameters. These exact expressions can be used to benchmark any other statistical or deterministic software used for computing sensitivities.

This work is organized as follows: Section 2 presents the mathematical formulation and expression of a reaction-rate detector for the paradigm evolution/transmission model. Section 3 illustrates the application of the 2nd-CASAM [1] for obtaining efficiently the exact closed-form expressions of the first- and second-order sensitivities of the reaction-rate detector response to both model and boundary parameters. Section 4 offers concluding remarks.

2. Mathematical Modeling of a Paradigm Evolution/Transmission Benchmark Problem

The general methodology presented in Part I (Cacuci, 2020) is applied in this work to a simple paradigm model, admitting a closed-form analytic solution for convenient verification of all results to be obtained, which simulates a typical evolution or attenuation of a quantity that will be denoted as ρ ( t ) , satisfying the following linear conservation equation:

d ρ ( t ) d t + ρ ( t ) i = 1 N n i σ i = 0 , 0 β l t β u < , (1)

ρ ( β l ) = ρ i n , at t = β l . (2)

As has been discussed in [2], Equations (1) and (2) occur in the mathematical modeling of many physical systems, including the evolution of the concentration of a substance in a homogeneous mixture of N materials (from an imprecisely known initial quantity, denoted as ρ i n , measured at an initial-time value t = β l towards an imprecisely known final-time value t = β u ) or the mono-directional propagation of the flux of uncollided particles travelling through a one-dimensional homogenized multi-material slab of imprecisely known thickness ( β u β l ) in a direction parallel to the t-coordinate.

An important typical response of interest for the physical problem modeled by Equations (1) and (2) is a “reaction rate” detector response, which will be denoted as R 2 ( ρ ; α , β ) , and which is represented mathematically by the following functional:

R 2 ( ρ ; α , β ) = Σ d β l β u ρ ( t ) d t , (3)

where Σ d represents the detector’s reaction cross section. In Equation (3), the vector α denotes the “vector of model parameters” and defined as follows:

α ( α 1 , , α N α ) ( n 1 , , n N , σ 1 , , σ N , ρ i n , Σ d ) . (4)

Similarly, the vector β denotes the “vector of boundary parameters” and is defined as follows:

β ( β l , β u ) . (5)

Throughout this work, the symbol “ ” is used to denote “is defined as” or “is by definition,” while the “dagger” ( ) superscript is used to denote “transposition.”

For subsequent verification of the expressions that will be obtained for various response sensitivities, the closed-form solution of Equations (1) and (2) is provided below:

ρ ( t ) = ρ i n exp [ ( β l t ) i = 1 N n i σ i ] . (6)

Although the model parameters ρ i n , n i , σ i , Σ d , together with the boundary parameters β l and β u are considered to be imperfectly known and subject to uncertainties, the actual probability distributions of these parameters are not known in practice. Usually, only the “nominal” (or “mean”) values and the respective variations from the nominal values (e.g., standard deviations) of the respective components are known. The nominal values will be denoted using the superscript “zero” so that the vector comprising the nominal values of the model parameters, denoted as α 0 , will be defined for the system under consideration as follows:

α 0 ( α 1 0 , , α N α 0 ) ( n 1 0 , , n N 0 , σ 1 0 , , σ N 0 , ρ i n 0 , Σ d 0 ) . (7)

Similarly, the vector comprising the nominal values of the boundary parameters is denoted as β 0 and is defined for the system under consideration as follows:

β 0 ( β l 0 , β u 0 ) . (8)

In practice, the nominal solution, denoted as ρ 0 ( t ) , is computed by solving numerically Equations (1) and (2) using the nominal values for the model and boundary parameters. For this illustrative example, the nominal solution of Equations (1) and (2) has the following expression:

ρ 0 ( t ) = ρ i n 0 exp [ ( β l 0 t ) i = 1 N n i 0 σ i 0 ] . (9)

The closed-form expression of R 2 ( ρ ; α , β ) is readily obtained by inserting into Equation (3) the expression of ρ ( t ) provided in Equation (6) and performing the respective integration, which yields the following expression:

R 2 ( ρ ; α , β ) = ρ i n Σ d i = 1 N n i σ i { 1 exp [ ( β l β u ) i = 1 N n i σ i ] } . (10)

As indicated be the expression in Equation (10), even though the forward function ρ ( t ) is independent of the boundary point β u , the response R 2 ( ρ ; α , β ) evidently depends on β u , so its sensitivities with respect to β u will not vanish.

3. Application of the 2nd-CASAM for Computing Exactly and Efficiently the 1st- and 2nd-Order Response Sensitivities of R 2 ( ρ ; α , β ) with Respect to the Uncertain Model and Boundary Parameters

The variations between the true and the nominal values of the model and boundary parameters will be considered to constitute the components of the vectors δ α and δ β , respectively, defined as follows:

δ α ( δ α 1 , , δ α N α ) , δ α i α i α i 0 , (11)

δ β ( δ β l , δ β u ) , δ β l β l β l 0 , δ β u β u β u 0 . (12)

Since the state function is related to the model and boundary parameters α and β through Equations (1) and (2), it follows that the variations and δ β in the model and boundary parameters will cause a corresponding variation in the state function ρ ( t ) around the nominal solution ρ 0 ( t ) . In turn, these variations will cause variations in the responses R 1 ( ρ ; α , β ) around the respective nominal response values. For subsequent derivations, it is convenient to use the compact notation e ( ρ ; α , β ) , with the corresponding nominal values denoted as e 0 ( ρ 0 ; α 0 , β 0 ) .

3.1. Computing the 1st-Order Sensitivities R 2 ( ρ ; α , β ) Using the 1st-LASS

The first-order total sensitivity of the response R 2 ( ρ ; α , β ) defined in Equation (3) is provided by the first-order G-differential of this response, which is obtained by G-differentiating Equation (3) as shown in Part I (Cacuci, 2020), to obtain the following expression:

δ R 2 ( e 0 ; δ ρ ; δ α , δ β ) = ( δ R 2 ) i n d + ( δ R 2 ) d i r (13)

where the indirect-effect term ( δ R 2 ) i n d and the direct-effect term ( δ R 2 ) d i r , respectively, are defined as follows:

( δ R 2 ) i n d Σ d 0 β l 0 β u 0 δ ρ ( t ) d t , (14)

( δ R 2 ) d i r ( δ Σ d ) β l 0 β u 0 ρ ( t ) d t + Σ d 0 { ρ ( t ) } t = β u 0 δ β u Σ d 0 { ρ ( t ) } t = β l 0 δ β l . (15)

The direct effect term, ( δ R 2 ) d i r , can be computed directly by using in Equation (15) the nominal solution provided in Equation (9) to obtain:

( δ R 2 ) d i r ( δ Σ d ) ρ i n 0 i = 1 N w i 0 σ i 0 { 1 exp [ ( β l 0 β u 0 ) i = 1 N w i 0 σ i 0 ] } + ( δ β u ) Σ d 0 ρ i n 0 exp [ ( β l 0 β u 0 ) i = 1 N w i 0 σ i 0 ] ( δ β l ) Σ d 0 ρ i n 0 . (16)

The indirect effect term, ( δ R 2 ) i n d , depends on the unknown variation δ ρ ( t ) , of the state function ρ ( t ) , which is the solution of the following First-Level Forward Sensitivity System (1st-LFSS) obtained by G-differentiating Equations (1) and (2) around the nominal parameter values:

d [ δ ρ ( t ) ] d t + δ ρ ( t ) i = 1 N n i 0 σ i 0 = ρ 0 ( t ) i = 1 N ( n i 0 δ σ i + σ i 0 δ n i ) , 0 β l 0 t β u 0 < , (17)

δ ρ ( β l 0 ) + δ β l { d ρ ( t ) d t } t = β l 0 = δ ρ i n , at t = β l 0 . (18)

The need for performing the many large-scale computations for obtaining for all possible variations in the model and boundary parameters can be avoided by applying the 2nd-CASAM presented in [1]. In order to apply the 2nd-CASAM, the function δ ρ ( t ) is considered to be an element of a Hilbert space H ( 1 ) ( Ω t ) , Ω t ( β l 0 , β u 0 ) , endowed with the following inner product, denoted as ρ 1 ( t ) , ρ 2 ( t ) , between two (square-integrable) functions ρ 1 ( t ) H ( 1 ) ( Ω t ) and ρ 2 ( t ) H ( 1 ) ( Ω t ) :

ρ 1 ( t ) , ρ 2 ( t ) β l 0 β u 0 ρ 1 ( t ) ρ 2 ( t ) d t . (19)

The indirect effect term, ( δ R 2 ) i n d , is computed by applying the general 2nd-CASAM presented in [1] to Equation (17), which commences by using the definition of the inner product provided in Equation (19) to form the inner product of Equation (17) with a square-integrable function θ ( 1 ) ( t ) H ( 1 ) ( Ω t ) and integrating the left-side of the resulting equation by parts once, so as to transfer the differential operation from δ ρ ( t ) onto θ ( 1 ) ( t ) , to obtain:

β l 0 β u 0 θ ( 1 ) ( t ) [ d [ δ ρ ( t ) ] d t + δ ρ ( t ) i = 1 N w i 0 σ i 0 ] d t = β l 0 β u 0 δ ρ ( t ) [ d θ ( 1 ) ( t ) d t + θ ( 1 ) ( t ) i = 1 N w i 0 σ i 0 ] d t + θ ( 1 ) ( β u 0 ) δ ρ ( β u 0 ) θ ( 1 ) ( β l 0 ) δ ρ ( β l 0 ) . (20)

The following sequence of operations is performed next using Equation (20):

1) Require that the first term on the right-side of Equation (20) be identical with the indirect effect ( δ R 2 ) i n d defined in Equation (14).

2) Use the right-side of Equation (17) to replace the term multiplying θ ( 1 ) ( t ) on the left-side of Equation (20).

3) Eliminate the unknown quantity δ ρ ( β u 0 ) on the right-side of Equation (20) by imposing the condition θ ( 1 ) ( β u 0 ) = 0 .

4) Insert the boundary condition provided in Equation (18) into the resulting expression.

The result of the above sequence of operations is the following expression for the indirect-effect term ( δ R 2 ) i n d :

( δ R 2 ) i n d = i = 1 N ( n i 0 δ σ i + σ i 0 δ n i ) β l 0 β u 0 θ ( 1 ) ( t ) ρ 0 ( t ) d t + θ ( 1 ) ( β l 0 ) [ δ ρ i n δ β { ρ ( t ) t } t = β l 0 ] , (21)

where the first-level adjoint function θ ( 1 ) ( t ) appearing in Equation (21) is the solution of the following First-Level Adjoint Sensitivity System (1st-LASS):

d θ ( 1 ) ( t ) d t + θ ( 1 ) ( t ) i = 1 N n i 0 σ i 0 = Σ d 0 , 0 β l 0 t β u 0 < , (22)

θ ( 1 ) ( β u 0 ) = 0 . (23)

Since the 1st-LASS does not depend on any parameter or boundary variation, a single large-scale computation for obtaining the adjoint function θ ( 1 ) ( t ) suffices for computing exactly and efficiently, using quadrature formulas, all of the 2 N + 4 sensitivities of the response R 2 ( ρ ; α , β ) with respect to all model and boundary parameters. Solving the 1st-LASS defined by Equations (22) and (23) yields the following expression for the first-level adjoint function θ ( 1 ) ( t ) :

θ ( 1 ) ( t ) = Σ d 0 i = 1 N n i 0 σ i 0 { 1 exp [ ( t β u 0 ) i = 1 N n i 0 β i 0 ] } . (24)

Adding Equations (21) and (15), and identifying the quantities that multiply the respective parameter variations yields the following expressions for the first-order sensitivities of R 2 ( ρ ; α , β ) in terms of the first-level adjoint function θ ( 1 ) ( t ) :

( R 2 ρ i n ) e 0 = θ ( 1 ) ( β l 0 ) , (25)

( R 2 σ i ) e 0 = n i 0 β l 0 β u 0 θ ( 1 ) ( t ) ρ 0 ( t ) d t , i = 1 , , N , (26)

( R 2 n i ) e 0 = σ i 0 β l 0 β u 0 θ ( 1 ) ( t ) ρ 0 ( t ) d t , i = 1 , , N , (27)

( R 2 Σ d ) e 0 = β l 0 β u 0 ρ ( t ) d t , (28)

( R 2 β u ) e 0 = Σ d 0 { ρ ( t ) } t = β u 0 , (29)

( R 2 β l ) e 0 = Σ d 0 { ρ ( t ) } t = β l 0 θ ( 1 ) ( β l 0 ) { ρ ( t ) t } t = β l 0 . (30)

The results in Equations (26) and (27) indicate that the relative sensitivities of the response to the parameters σ i , [ R 2 / σ i ] [ σ i / R 2 ] , are identical to the relative sensitivities [ R 2 / n i ] [ n i / R 2 ] of the response to the parameters n i , for each i = 1 , , N , for all of these 2N model parameters, since

R 2 σ i σ i R 2 = σ i n i R 2 0 t f [ θ ( 1 ) ( t ) ρ ( t ) ] d t R 2 n i n i R 2 , i = 1 , , N . (31)

As indicated in Equations (28) and (29), the first-order sensitivities of R 2 ( ρ ; α , β ) with respect to the model/detector parameter Σ d and the boundary parameter β u stem exclusively from the direct effect term, ( δ R 2 ) d i r , and can therefore be computed directly using the solution ρ ( t ) , provided in Equation (6), of the forward model [cf., Equations (1) and (2)]. Thus, inserting the expression of ρ ( t ) and performing the operations indicated in Equations (28) and (29), respectively, yields the following expressions:

( R 2 Σ d ) e 0 = ρ i n 0 i = 1 N n i 0 σ i 0 { 1 exp [ ( β l 0 β u 0 ) i = 1 N n i 0 σ i 0 ] } , (32)

( R 2 β u ) e 0 = Σ d 0 ρ i n 0 exp [ ( β l 0 β u 0 ) i = 1 N n i 0 σ i 0 ] . (33)

On the other hand, as indicated in Equations (25)-(27), the first-order sensitivities of R 2 ( ρ ; α , β ) with respect to the model parameters ρ i n , σ i , and n i stem exclusively from the indirect effect term ( δ R 2 ) i n d and can therefore be computed after having obtained the first-level adjoint function θ ( 1 ) ( t ) by solving the 1st-LASS, namely Equations (22) and (23). Finally, the sensitivity of R 2 ( ρ ; α , β ) with respect to the boundary parameter β l stems from contributions arising from both the direct and the indirect effect terms, as indicated by Equation (30).

Using the result for the first-level adjoint function θ ( 1 ) ( t ) obtained in Equation (24) in Equations (25)-(27) and performing the respective operations yields the following results:

( R 2 ρ i n ) e 0 = Σ d 0 i = 1 N n i 0 σ i 0 { 1 exp [ ( β l 0 β u 0 ) i = 1 N n i 0 σ i 0 ] } , (34)

( R 2 σ i ) e 0 = ρ i n 0 Σ d 0 n i 0 ( i = 1 N n i 0 σ i 0 ) 2 { 1 + [ ( β l 0 β u 0 ) i = 1 N n i 0 σ i 0 1 ] exp [ ( β l 0 β u 0 ) i = 1 N n i 0 σ i 0 ] } , (35)

( R 2 n i ) e 0 = ρ i n 0 Σ d 0 σ i 0 ( i = 1 N n i 0 σ i 0 ) 2 { 1 + [ ( β l 0 β u 0 ) i = 1 N n i 0 σ i 0 1 ] exp [ ( β l 0 β u 0 ) i = 1 N n i 0 σ i 0 ] } . (36)

Finally, the sensitivity of R 2 ( ρ ; α , β ) with respect to the boundary parameter β l is computed by using in Equation (30) the expression of first-level adjoint function θ ( 1 ) ( t ) obtained in Equation (24) together with the expression of ρ 0 ( t ) provided in Equation (9), to obtain the following result:

( R 2 β l ) e 0 = Σ d 0 ρ i n 0 exp [ ( β l 0 β u 0 ) i = 1 N n i 0 σ i 0 ] . (37)

Notably for the result obtained in Equation (37), the contribution from the indirect effect term involving θ ( 1 ) ( t ) partially offsets the contribution from the direct effect term involving the expression of ρ ( t = β l 0 ) .

3.2. Computing the 2nd-Order Sensitivities of the Response R 2 ( ρ ; α , β ) Using Second-Level Adjoint Sensitivity Systems (2nd-LASS)

As indicated by the general methodology presented in [1], the 2nd-order sensitivities of R 2 ( ρ ; α , β ) are obtained by computing successively the 1st-order G-differentials of the 1st-order sensitivities obtained in Equations (25)-(30). The detailed steps will be illustrated by computing the 2nd-order sensitivities corresponding to defined in Equation (26), which is representative of the steps that would be repeated for the computations of the other 2nd-order sensitivities of R 2 ( ρ ; α , β ) , which would be derived from the 1st-order G-differentials of the expressions presented in Equations (25) and (27)-(30). Omitting, for notational simplicity, the superscript “zero” (which denotes “nominal values” in this work), the 1st-order G-differential of the expression provided in Equation (26) is obtained as follows:

{ δ ( R 2 σ i ) } e 0 d d ε { ( n i + ε δ n i ) β l 0 + ε δ β l β u 0 + ε δ β u [ θ ( 1 ) ( t ) + ε δ θ ( 1 ) ( t ) ] [ ρ ( t ) + ε δ ρ ( t ) ] d t } ( e = e 0 , ε = 0 ) = { [ δ ( R 2 σ i ) ] d i r } e 0 + { [ δ ( R 2 σ i ) ] i n d i r } e 0 , (38)

where

{ [ δ ( R 2 σ i ) ] d i r } e 0 ( δ n i ) β l 0 β u 0 θ ( 1 ) ( t ) ρ ( t ) d t + ( δ β l ) n i θ ( 1 ) ( β l 0 ) ρ ( β l 0 ) , for i = 1 , , N ; (39)

{ [ δ ( R 2 σ i ) ] i n d i r } e 0 { n i β l 0 β u 0 δ θ ( 1 ) ( t ) ρ ( t ) d t n i β l 0 β u 0 θ ( 1 ) ( t ) δ ρ ( t ) d t } e 0 , for i = 1 , , N . (40)

The direct-effect term defined by Equation (39) can be computed immediately, since the 1st-level adjoint function θ ( 1 ) ( t ) and the forward function ρ ( t ) are known. However, the indirect-effect term defined by Equation (40) contains the variation δ θ ( 1 ) ( t ) in the 1st-level adjoint function and, respectively, the variation δ ρ ( t ) in the forward function, both of which depend on parameter variations and neither of which is immediately available. The variation δ θ ( 1 ) ( t ) of the 1st-level adjoint function θ ( 1 ) ( t ) is related to the parameter variations through the G-differential of the 1st-LASS, which is derived by applying the definition of the G-differential to Equations (22) and (23) to obtain the following equations, evaluated at the nominal parameter values:

d [ δ θ ( 1 ) ( t ) ] d t + δ θ ( 1 ) ( t ) i = 1 N n i σ i = ( δ Σ d ) θ ( 1 ) ( t ) i = 1 N ( n i δ σ i + σ i δ n i ) , 0 β l 0 t β u 0 < , (41)

{ δ θ ( 1 ) ( t ) + ( δ β u ) d θ ( 1 ) ( t ) d t } t = β u 0 = δ θ ( 1 ) ( β u 0 ) = 0. (42)

Since Equations (41) and (42) depend on the parameter variations, solving them would be just as impractical computationally as solving the 1st-LFSS. Therefore, the need for solving these equations will be circumvented by expressing the indirect-effect term defined in Equation (40) in an alternative way so as to eliminate the appearance of δ θ ( 1 ) ( t ) and δ ρ ( t ) . For this purpose, we introduce another Hilbert space, denoted as H ( 2 ) ( Ω t ) , Ω t ( β l 0 , β u 0 ) , which comprises, as elements, two-component vectors of the form

ψ i ( 2 ) ( t ) [ ψ i 1 ( 2 ) ( t ) , ψ i 2 ( 2 ) ( t ) ] , with square-integrable functions ψ i j ( 2 ) ( t ) , j = 1 , 2 . The inner product between two elements ψ i ( 2 ) ( t ) [ ψ i 1 ( 2 ) ( t ) , ψ i 2 ( 2 ) ( t ) ] H ( 2 ) ( Ω t )

and φ i ( 2 ) ( t ) [ φ i 1 ( 2 ) ( t ) , φ i 2 ( 2 ) ( t ) ] H ( 2 ) ( Ω t ) in the Hilbert space H ( 2 ) ( Ω t ) will be denoted as ψ i ( 2 ) ( t ) , φ i ( 2 ) ( t ) 2 and is defined as follows:

ψ i ( 2 ) ( t ) , φ i ( 2 ) ( t ) 2 j = 1 2 β l 0 β u 0 ψ i j ( 2 ) ( t ) φ i j ( 2 ) ( t ) d t . (43)

Using the definition given in Equation (43), construct the inner product of Equations (41) and (17) with a square integrable two-component function θ 1 ( 2 ) ( t ) [ θ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) ] H ( 2 ) ( Ω t ) to obtain the following relation:

β l 0 β u 0 [ θ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) ] ( d d t + i = 1 N n i σ i 0 0 d d t + i = 1 N n i σ i ) ( δ θ ( 1 ) ( t ) δ ρ ( t ) ) d t = β l 0 β u 0 [ θ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) ] ( ( δ Σ d ) θ ( 1 ) ( t ) i = 1 N ( n i δ σ i + σ i δ n i ) ρ ( t ) i = 1 N ( n i δ σ i + σ i δ n i ) ) d t . (44)

Integrating by parts the left-side of Equation (44) so as to transfer the differential operations on δ θ ( 1 ) ( t ) and δ ρ ( t ) to differential operations on θ 11 ( 2 ) ( t ) and θ 12 ( 2 ) ( t ) yields the following result:

β l 0 β u 0 θ 11 ( 2 ) ( t ) [ d d t δ θ ( 1 ) ( t ) + δ θ ( 1 ) ( t ) i = 1 N n i σ i ] d t + β l 0 β u 0 θ 12 ( 2 ) ( t ) [ d d t δ ρ ( t ) + δ ρ ( t ) i = 1 N n i σ i ] d t = θ 11 ( 2 ) ( β u 0 ) δ θ ( 1 ) ( β u 0 ) + θ 11 ( 2 ) ( β l 0 ) δ θ ( 1 ) ( β l 0 ) + θ 12 ( 2 ) ( β u 0 ) δ ρ ( β u 0 ) θ 12 ( 2 ) ( β l 0 ) δ ρ ( β l 0 ) + β l 0 β u 0 δ θ ( 1 ) ( t ) [ d θ 11 ( 2 ) ( t ) d t + θ 11 ( 2 ) ( t ) i = 1 N n i σ i ] d t + β l 0 β u 0 δ ρ ( t ) [ d θ 12 ( 2 ) ( t ) d t + θ 12 ( 2 ) ( t ) i = 1 N n i σ i ] d t . (45)

The last two terms on the right-side of Equation (45) are now required to represent the indirect-effect term defined in Equation (40) by imposing the following relations:

d θ 11 ( 2 ) ( t ) d t + θ 11 ( 2 ) ( t ) i = 1 N n i σ i = n i ρ ( t ) = n i ρ i n exp [ ( β l t ) i = 1 N n i σ i ] , (46)

d θ 12 ( 2 ) ( t ) d t + θ 12 ( 2 ) ( t ) i = 1 N n i σ i = n i θ ( 1 ) ( t ) = n i Σ d i = 1 N n i σ i { 1 exp [ ( t β u ) i = 1 N n i σ i ] } . (47)

The boundary conditions for Equations (46) and (47) are established by requiring the contributions involving the unknown quantities δ θ ( 1 ) ( β l ) and δ ρ ( β u ) in Equation (45) to vanish, which can be accomplished by imposing the following conditions:

θ 11 ( 2 ) ( β l ) = 0 , θ 12 ( 2 ) ( β u ) = 0. (48)

The system of equations comprising Equations (46)-(48), which is independent of parameter variations, constitutes the 2nd-Level Adjoint Sensitivity System (2nd-LASS) for the two-component 2nd-level adjoint function θ 1 ( 2 ) ( t ) [ θ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) ] H ( 2 ) ( Ω t ) .

Replacing the left-side of Equation (45) by the right-side of Equation (44) and taking into account Equations (46)-(48) yields the following expression for the indirect effect term defined in Equation (40):

[ δ ( R 2 σ i ) ] i n d i r = β l 0 β u 0 d t [ θ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) ] ( ( δ Σ d ) θ ( 1 ) ( t ) i = 1 N ( n i δ σ i + σ i δ n i ) ρ ( t ) i = 1 N ( n i δ σ i + σ i δ n i ) ) + θ 11 ( 2 ) ( β u 0 ) δ θ ( 1 ) ( β u 0 ) + θ 12 ( 2 ) ( β l 0 ) δ ρ ( β l 0 ) , for i = 1 , , N . (49)

Using the conditions given in Equations (18) and (42) in the last terms on the right side of Equation (49) yields the following expression for the indirect-effect term:

[ δ ( R 2 σ i ) ] i n d i r = β l 0 β u 0 [ θ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) ] ( ( δ Σ d ) θ ( 1 ) ( t ) i = 1 N ( n i δ σ i + σ i δ n i ) ρ ( t ) i = 1 N ( n i δ σ i + σ i δ n i ) ) d t + θ 12 ( 2 ) ( β l ) { δ ρ i n δ β l [ d ρ ( t ) d t ] t = β l 0 } , for i = 1 , , N . (50)

Adding the direct-effect term defined in Equation (39) to Equation (50) and identifying in the resulting expression the coefficients multiplying the variations δ σ i , δ n i , δ ρ i n , δ t d , δ β l and δ β u yields the following expression for the respective 2nd-order sensitivities of the response R 2 ( ρ ; α , β ) :

2 R 2 σ j σ i = n j β l 0 β u 0 θ 11 ( 2 ) ( t ) θ ( 1 ) ( t ) d t n j β l 0 β u 0 θ 12 ( 2 ) ( t ) ρ ( t ) d t ; i , j = 1 , , N ; (51)

2 R 2 n j σ i = σ j β l 0 β u 0 θ 11 ( 2 ) ( t ) θ ( 1 ) ( t ) d t σ j β l 0 β u 0 θ 12 ( 2 ) ( t ) ρ ( t ) d t δ i j β l 0 β u 0 θ ( 1 ) ( t ) ρ ( t ) d t ; i , j = 1 , , N ; δ i j = { 1 , i = j ; 0 , i j ; (52)

2 R 2 ρ i n σ i = θ 12 ( 2 ) ( β l ) ; i = 1 , , N ; (53)

2 R 2 Σ d σ i = β l 0 β u 0 θ 11 ( 2 ) ( t ) d t ; i = 1 , , N ; (54)

2 R 2 β u σ i = θ 11 ( 2 ) ( β u ) [ d θ ( 1 ) ( t ) d t ] t = β u 0 ; i = 1 , , N ; (55)

2 R 2 β l σ i = n i θ ( 1 ) ( β l ) ρ ( β l ) θ 12 ( 2 ) ( β l ) [ d ρ ( t ) d t ] t = β l 0 ; i = 1 , , N . (56)

The 2nd-order sensitivities shown in Equations (51)-(56) can be computed after having determined the 2nd-level adjoint function θ 1 ( 2 ) ( t ) [ θ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) ] by solving the 2nd-LASS comprising Equations (46)-(48) using the nominal parameter values (the superscript “zero,” which indicates “nominal values,” has been omitted, for simplicity). Since the model parameters n i depend on the index i = 1 , , N , it follows that the right-sides of Equations (46)-(48) also depend on this index. Strictly speaking, therefore, the 2nd-level adjoint sensitivity function θ 1 ( 2 ) ( t ) [ θ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) ] is a function of the index i = 1 , , N . Hence, in the most unfavorable situation, the 2nd-LASS, comprising Equations (46)-(48) would need to be solved numerically for each distinct value n i , for a total of N-times. Even in such a “worse-case scenario,” however, only the right sides (i.e., “sources”) of Equations (46) and (47) would need to be modified, which is relatively easy to implement computationally. The left-sides of these equations remain unchanged since they are independent of the index i = 1 , , N . Notably, the change of the dependent variables

θ 11 ( 2 ) ( t ) = n i u 11 ( 2 ) ( t ) = n i φ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) = n i u 12 ( 2 ) ( t ) , (57)

would transform (46)-(48) into the following form:

d u 11 ( 2 ) ( t ) d t + u 11 ( 2 ) ( t ) i = 1 N n i β i = ρ ( t ) , (58)

d u 12 ( 2 ) ( t ) d t + u 12 ( 2 ) ( t ) i = 1 N n i β i = θ ( 1 ) ( t ) , (59)

u 11 ( 2 ) ( β l ) = 0 , u 12 ( 2 ) ( β u ) = 0. (60)

The above (alternative) 2nd-LASS, comprising Equations (58)-(60) is independent of the index i = 1 , , N , and would need to be solved (numerically or analytically) only once, to obtain the following expressions for the functions u 11 ( 2 ) ( t ) and u 12 ( 2 ) ( t ) :

u 11 ( 2 ) ( t ) = ρ i n ( β l t ) exp [ ( β l t ) i = 1 N n i σ i ] = φ 11 ( 2 ) ( t ) , (61)

u 12 ( 2 ) ( t ) = Σ d i = 1 N n i σ i { [ β u t + ( i = 1 N n i σ i ) 1 ] exp [ ( t β u ) i = 1 N n i σ i ] ( i = 1 N n i σ i ) 1 } . (62)

The components of the 2nd-level adjoint function θ 1 ( 2 ) ( t ) are obtained by multiplying the functions u 11 ( 2 ) ( t ) and u 12 ( 2 ) ( t ) by the respective model parameters n i , to obtain the following expressions for the components of the 2nd-level adjoint function θ 1 ( 2 ) ( t ) [ θ 11 ( 2 ) ( t ) , θ 12 ( 2 ) ( t ) ] :

θ 11 ( 2 ) ( t ) = n i ρ i n ( β l t ) exp [ ( β l t ) i = 1 N n i σ i ] , (63)

θ 12 ( 2 ) ( t ) = n i Σ d ( i = 1 N n i σ i ) 2 { 1 + [ ( t β u ) i = 1 N n i σ i 1 ] exp [ ( t β u ) i = 1 N n i σ i ] } . (64)

Using Equations (63) and (64) in Equations (51)-(56) and performing the respective operations yields the following results for the partial 2nd-order sensitivities:

2 R 2 σ j σ i = 2 n i n j ρ i n Σ d ( i = 1 N n i σ i ) 3 { 1 + [ ( β l β u ) i = 1 N n i σ i 1 ] exp [ ( β l β u ) i = 1 N n i σ i ] } n i n j ( β l β u ) ρ i n Σ d ( i = 1 N n i σ i ) 2 [ ( β l β u ) i = 1 N n i σ i 1 ] exp [ ( β l β u ) i = 1 N n i σ i ] n i n j ( β l β u ) ρ i n Σ d ( i = 1 N n i σ i ) 2 exp [ ( β l β u ) i = 1 N n i σ i ] , i , j = 1 , , N ; (65)

2 R 2 n j σ i = ρ i n Σ d ( i = 1 N n i σ i ) 3 [ 2 n i σ j δ i j i = 1 N n i σ i ] × { 1 + [ ( β l β u ) i = 1 N n i σ i 1 ] exp [ ( β l β u ) i = 1 N n i σ i ] } n i σ j ( β l β u ) ρ i n Σ d ( i = 1 N n i σ i ) 2 [ ( β l β u ) i = 1 N n i σ i 1 ] exp [ ( β l β u ) i = 1 N n i σ i ] n i σ j ( β l β u ) ρ i n Σ d ( i = 1 N n i σ i ) 2 exp [ ( β l β u ) i = 1 N n i σ i ] , i , j = 1 , , N ; (66)

2 R 2 ρ i n σ i = n i Σ d { 1 + [ ( β l β u ) i = 1 N n i σ i 1 ] exp [ ( β l β u ) i = 1 N n i σ i ] } ( i = 1 N n i σ i ) 2 , i = 1 , , N ; (67)

2 R 2 Σ d σ i = n i ρ i n { 1 + [ ( β l β u ) i = 1 N n i σ i 1 ] exp [ ( β l β u ) i = 1 N n i σ i ] } ( i = 1 N n i σ i ) 2 , i = 1 , , N ; (68)

2 R 2 β u σ i = n i ρ i n Σ d ( β l β u ) exp [ ( β l β u ) i = 1 N n i σ i ] ; i = 1 , , N ; (69)

2 R 2 β l σ i = n i ρ i n Σ d ( β l β u ) exp [ ( β l β u ) i = 1 N n i σ i ] , i = 1 , , N . (70)

As before, the right-sides of expressions shown in Equations (65)-(70) are to be evaluated at the nominal values for the parameters, but the superscript “zero,” which indicates “nominal values,” has been omitted, for notational simplicity.

The expressions of the remaining 2nd-order sensitivities of R 2 ( ρ ; α , β ) can be derived following the same procedure as outlined above, and as also outlined in [2] since these derivations would not illustrate any new concepts, they will not be presented in this work.

4. Conclusions

The results obtained by applying the general 2nd-CASAM presented in [1] to the paradigm evolution/transmission benchmark analyzed in this work indicate the following major characteristics of this powerful methodology for computing exactly and efficiently the 1st- and 2nd-order sensitivities of model responses with respect to model and boundary parameters:

1) For a model comprising N α distinct but uncertain model parameters and N β distinct but uncertain distinct boundary parameters, a single adjoint computation, to solve the 1st-LASS, is necessary for computing exactly all of the N α + N β 1st-order response sensitivities to the model’s uncertain parameters and boundaries. In contradistinction, N α + N β computations would be needed to obtain approximate values for the 1st-order sensitivities if forward and/or statistical methods were used.

2) By considering each 1st-order sensitivity as a response and developing a corresponding 2nd-level adjoint sensitivity system (2nd-LASS) for computing the respective 2nd-order sensitivities, the application of the 2nd-CASAM yields exact expressions/values for all (mixed and unmixed) 2nd-order sensitivities. For each 1st-order sensitivity, the solution of each of the 2nd-LASS is at most a two-component (vector) 2nd-level adjoint sensitivity function of the form ψ i ( 2 ) ( t ) [ ψ i 1 ( 2 ) ( t ) , ψ i 2 ( 2 ) ( t ) ] , i = 1 , , N α + N β . Hence, although these 2nd-level adjoint sensitivity functions are independent of any parameter variations, the 2nd-LASS would need to be solved for N α + N β distinct right-sides (i.e., “source terms”), in the most unfavorable situation. Even in this “worse-case scenario,” only the right sides of the 2nd-LASS would need to be modified in computational computer codes, which is a relatively easy programming task. The left-sides of the 2nd-LASS equations (which contain differential operators, and which would therefore involve “solvers” that would be much more difficult to modify computationally) remain unchanged.

3) In many practical situations, it is possible to reduce drastically the number of computations involving the 2nd-LASS. Occasionally, the solutions of some of the 2nd-LASS can be written down by inspection, without actually solving the corresponding 2nd-LASS. For the paradigm evolution problem analyzed in this chapter, for example, the 2nd-LASS would need to be solved only four times, to compute the 2nd-level adjoint functions ψ j ( 2 ) ( t ) [ ψ j 1 ( 2 ) ( t ) , ψ j 2 ( 2 ) ( t ) ] , j = 1 , 2 , 3 , 4 , which would suffice for obtaining all of the ( N α + N β ) ( N α + N β + 1 ) / 2 distinct 2nd-order response sensitivities. Of course, such a very large reduction in the number of large-scale computation cannot be expected in every practical problem, but in most cases, the number of computations required for computing the complete set of 2nd-order response sensitivities if far less than the number, ( N α + N β ) , of model parameters.

4) The specific 2nd-order sensitivities of interest can be selected “a priori,” based on the magnitude/importance of the 1st-order sensitivities.

5) As has been generally shown by Cacuci [1] [2] [3], the mixed 2nd-order sensitivities are obtained twice, stemming from distinct 2nd-LASS. This fact enables the 2nd-CASAM to provide an inherent independent verification of the correctness and accuracy of the 2nd-level adjoint sensitivity functions that are used to compute the respective mixed 2nd-order sensitivities.

6) The un-mixed 2nd-order sensitivities of the form 2 ρ ( t 1 ) / α i 2 are obtained only once. Therefore, they can be independently verified either by solving the 2nd-LFSS, which would yield their exact values, or they can be computed approximately (rather than exactly) by using finite difference formulas in conjunction with re-computations, e.g., 2 R / α i 2 [ R ( α i 0 + δ α i ) 2 R ( α i 0 ) + R ( α i 0 δ α i ) ] | δ α i | 2 .

7) Notably, contributions to the response sensitivities with respect to the uncertain boundary parameters can arise from either the model’s boundary conditions, from the definition of the model’s response or from both. It has been shown that in some cases, the contributions from the model’s boundary conditions may cancel partially the “direct-effect” contributions stemming from the response’s definition.

Ongoing work aims at extending the 2nd-CASAM to include the consideration of additional responses (e.g., ratios of functionals), as well as consideration of coupled physical systems having common imprecisely known internal interfaces in phase-space.

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

References

[1] Cacuci, D.G. (2020) Second-Order Adjoint Sensitivity Analysis Methodology for Computing Exactly Response Sensitivities to Uncertain Parameters and Boundaries of Linear Systems: Mathematical Framework. AJCM, 10, 329-354.
https://doi.org/10.4236/ajcm.2020.103018
[2] Cacuci, D.G. (2020) Illustrative Application of the 2nd-Order Adjoint Sensitivity Analysis Methodology to a Paradigm Linear Evolution/Transmission Model: Point-Detector Response, AJCM, 10, 355-381.
https://doi.org/10.4236/ajcm.2020.103019
[3] Cacuci, D.G., Badea, A.F., Badea, M.C. and Peltz, J.J. (2016) Efficient Computation of Operator-Type Response Sensitivities for Uncertainty Quantification and Predictive Modeling: Illustrative Application to a Spent Nuclear Fuel Dissolver Model. International Journal for Numerical Methods in Fluids, 83, 149-174.
https://doi.org/10.1002/fld.4258
[4] Cacuci, D.G. and Badea, M.C. (2018) Second-Order Adjoint Sensitivity Analysis of a Generic Evolution System with Applications to Radiation Transport and Fuel Reprocessing. PHYSOR-2018, Cancun, Mexico.
[5] Cacuci, D.G. (2017) Inverse Predictive Modeling of Radiation Transport through Optically Thick Media in the Presence of Counting Uncertainties. Nuclear Science and Engineering, 186, 199-223.
https://doi.org/10.1080/00295639.2017.1305244
[6] Cacuci, D.G. and Favorite, J.A. (2018) Second-Order Sensitivity Analysis of Uncollided Particle Contributions to Radiation Detector Responses. Nuclear Science and Engineering, 190, 105-133.
https://doi.org/10.1080/00295639.2018.1426899

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.