Pushforward, invariance and canonicalization¶
This page states the law-determined property, the pushforward identity, the invariance theorem, the existence and measurability conditions, the parameter-dependent construction and the discretization used by the canonicalizer.
Law-determined measures¶
Definition 1 (Law-determined measure)
A measure functional is law-determined if
implies
whenever both sides are defined.
The mean, the variance, the mean-standard-deviation tradeoff, the quantile, the joint chance measure and the individual chance measure are law-determined by construction: each is an integral, a root of a distribution function, or a monotone transform of such a quantity.
The worst-case measure is not law-determined in general. When the extremum is
taken over the support of the law, it is a function of the law. When it is
taken over a fixed optimization domain, it is not: two variables with the same
law need not have the same extremum over that domain. For example, a uniform
variable on and its opposite have the same law, but their
minima over
are
and
. The optimization
domain is therefore part of the model. A canonicalization preserves a
worst-case extremum only when the domain is transported together with the law,
for example when it is the image of the reference domain under
, or
when it is the support of
itself.
The property is not automatic. A pathwise maximum over a fixed sample is not law-determined: it depends on the sample, not only on the law. This is the reason the worst-case measure needs an explicit support and domain policy, and the reason a sample-average approximation is a numerical method rather than a measure.
Pushforward and canonicalization¶
Theorem 1 (Pushforward identity)
Let be a probability measure on
, let
be measurable, and let
. For every measurable
such that
either side is integrable,
This is the standard change-of-measure identity for pushforward measures; see [Billingsley1995] and [Bogachev2007] for the measure-theoretic proof.
If and
have densities
and
, and
is a diffeomorphism, the same identity is the
familiar change-of-variables formula
The measure-theoretic form is preferable here because isoprobabilistic transformations can be non-smooth at the boundary of a support, for example a quantile transformation from a normal reference to a bounded uniform distribution.
Theorem 2 (Invariance)
Let and let
and
satisfy
. Then, for every
and
,
Consequently, for every law-determined measure ,
with , and similarly for
and
the reliability measure.
The statement follows by applying Theorem 1 to the indicator of a Borel set and using Definition 1; see [Billingsley1995].
The theorem does not require to be invertible. It only requires
the pushforward equality. Invertibility is needed for round-trip diagnostics
and for the support statement of the worst-case measure, not for the law of
.
The reference must not depend on
. If it did, the
canonical measure would be
, and the measure
distribution would have to be rebuilt at every evaluation of the optimizer.
The measure protocol of
MeasureEvaluation owns one
distribution and the function owns one parameter vector; a fixed reference
keeps the parameter dimension, the quadrature grid and the common random
numbers fixed. The price is that must be rebuilt, or at least
re-parameterized, when
changes. The class
ParametricDistributionTransformation does exactly that.
Existence and joint measurability¶
For a continuous distribution , a transport
exists.
One construction is the Rosenblatt transform composed with its inverse;
another is the quantile transform in dimension one; the
DistributionTransformation class provides the
isoprobabilistic constructions. The transport need not be unique and need
not be invertible: only the pushforward equality matters.
When is a decision variable, the map
must be jointly measurable and
must be a Caratheodory function, so that
is a well-defined function of
. The isoprobabilistic constructions are expected to satisfy
this condition on the feasible parameter domain, except at singular values
such as a zero scale or a singular correlation matrix. Those values are
excluded by the parameter bounds. Joint measurability is not needed for the
pointwise theorem; it is needed when
is optimized, and it is stated
here as an assumption rather than claimed without proof.
The implementation uses two reference policies. The standard fast path
applies when has a parameter-free standard distribution
, for example a normal with fixed standard parameters. The
normal fallback uses
with
when the fast path is not available. A worst-case
measure needs an additional domain policy because the support is part of the
model; see Parameter-dependent distributions and canonicalization.
Parameter-dependent distributions and canonicalization¶
The parameter of the family is the active distribution parameter
. The transformation
exposes the full parameter vector
, which also contains fixed or qualified
coordinates, typically the dependence or copula block. The active indices are
available through
; the default
policy keeps every parameter active except the trailing dependence block
exposed by
Distribution.getParametersCollection, because OpenTURNS does
not provide an analytic parameter derivative for that block. The user can
override the selection with setActiveParameter on the transformation or
with CanonicalizationOptions.activeParameter on the canonicalizer.
The canonical decision vector is . The canonicalizer
RobustOptimizationProblemCanonicalizer builds the canonical
function
and rebuilds every measure with the fixed reference . The active
distribution parameter is exposed as an input of the canonical objective and
of the canonical constraints. The class
CanonicalizationOptions controls the reference, the active
parameter, the parameter bounds, the parameter starting point and the
worst-case domain. Bounds and starting points are expressed in active
coordinates; a full-dimensional value is accepted as a compatibility fallback
and is filtered to the active coordinates.
The reference selection follows these rules.
AUTOuses an explicit reference when one is set, then the standard fast path when it is available, and then.
STANDARDrequires the standard fast path and rejects a user reference.NORMALforcesand rejects a user reference.
USER_REFERENCErequires an explicit reference.USER_DOMAINuses the automatic reference policy and requires a worst-case domain.
When optimizeParameter is false, or when the active parameter is empty,
the parameter is frozen and the distribution is used
directly as the reference. The canonical decision vector is
only
and the canonicalization is exact without inventing a worst-case domain. When
it is true, a worst-case measure fails closed unless the standard fast path, a
bounded user reference or an explicit domain is available. The policies
STANDARD, NORMAL, USER_REFERENCE and USER_DOMAIN make the
choice explicit.
The canonical function is assembled from the original function and the
transport. For a measure function , the composition is
where selects the design coordinates and
selects the reference realization and the distribution parameter coordinates.
The result is wrapped in a
ParametricFunction whose
parameter is the reference realization . The measure then
integrates over the fixed
, while the optimizer sees
.
The AggregatedMeasure is canonicalized child by child.
The aggregate function concatenates the child parameter vectors, so
canonicalizing the aggregate as a single function would corrupt the
parameter order. Each child is rebuilt with its own function and the shared
distribution, and the collection is reassembled.
The robust problem rejects mixed measure distributions. If the objective
measure and the reliability measure use different distributions, the
canonicalizer cannot choose one parameter vector ; the error points
to the aggregation construction. The same check is applied recursively
inside an
AggregatedMeasure. A vector-valued robust
objective is rejected as well.
When the model is assembled from independent blocks, the supported construction is user-side. Let
be a BlockIndependentDistribution. Its parameter is the
concatenation , and its isoprobabilistic
transformation acts blockwise. For each block, define the selector
as a
SymbolicFunction; compose the block-dependent function
with and freeze the aggregate realization as the parameter. The
result uses one distribution and one parameter vector, so the canonicalizer
applies without a special case. The limitation is that the blocks must be
independent; dependent blocks must be described by a single joint
distribution.
The main failure modes are:
a stale or wrong transport, so that
;
a reference that still depends on
, for example a standard distribution whose degrees of freedom are not fixed;
a support mismatch for the worst-case measure, where the mathematical extremum is preserved but the numerical domain is not;
a discrete or mixed distribution, which is outside the continuous transport assumption;
unaggregated parameter blocks, which the canonicalizer rejects;
a vector-valued robust objective, which the problem rejects;
a measure that was discretized before canonicalization, so that the distribution parameter is no longer available;
a shallow copy of an aggregate measure, which does not rebuild its children;
a sign flip in a chance constraint, which turns the constraint into its complement;
numerical equality assumptions: the theorem is exact, but quadrature, sampling and finite differences are not.
Discretization and common random numbers¶
MeasureFactory replaces a continuous measure by a measure
with an empirical distribution,
where and
are generated by a
WeightedExperiment, for example Monte Carlo, Latin
hypercube sampling or a Sobol sequence. The discrete measure replaces the
integral by a finite sum and makes the problem tractable with deterministic
solvers.
For an expectation measure, a sample from
yields the sample-average problem
which is the empirical counterpart of
. Other measures need their own empirical definition:
for example, the empirical variance also involves the empirical second moment,
and a chance constraint involves the empirical probability. The convergence
assumptions are integrability, compactness of
and
continuity of
; chance constraints require a separate probabilistic
guarantee because the empirical probability is a step function. Common
random numbers, that is the same sample for the objective and the
constraints, reduce the variance but do not remove the bias of a fixed
sample.
The canonical problem makes common random numbers automatic: the fixed
reference and the single
MeasureFactory discretization provide the shared sample.
This is also the reason SequentialMonteCarloRobustAlgorithm
can refine the sample while keeping a single deterministic problem per
iteration.
otrobopt