2 Development of different abs-smooth forms
Throughout, we consider the minimization problems of the form
for a function , that exhibit so-called Level-1 nonsmoothness. Namely, the objective function φ is defined as a composition of smooth elemental functions and the absolute value function as introduced in [6]. From an AD perspective, any such function can be stated as shown in Table 12.1. Here, all consecutive smooth elemental functions are combined into larger smooth elemental functions such that all evaluations of the absolute value function can be clearly identified and exploited. The number of absolute values occurring during the function evaluation will be denoted by . The arguments of the absolute value functions cause the switches in the corresponding derivative values and therefore, is called switching vector. The values of z always depend on the value of x. However, for notational simplicity, we skip this dependence in the notation. The switching vector defines the signature vector .
Table 12.1Evaluation procedure including absolute value evaluations.
An evaluation procedure as shown in Table 12.1, where can only influence if , was the starting point to derive abs-smooth forms. The calculation of derivative information for such an extended evaluation procedure in the sense of AD was analyzed in [3]. However, to build mathematical theory on top of it, an evaluation procedure is not a beneficial representation of a function. Therefore, in [4], [6], the so-called abs-normal form was introduced covering all functions that can be evaluated by a pseudocode as given in Table 12.1. For that purpose, the calculation of all switching variables is formulated as an equality constraint by means of a function F. Furthermore, the vector of the absolute values of the switching variables is introduced as an extra argument of the target function f and the constraining function F. Thus, we obtain the following representation:
where and are at least once differentiable in the region of interest. Here and throughout, denotes the componentwise modulus of a vector z. Furthermore, sometimes and similar vectors of absolute values are considered as variable vectors in their own right. With this reformulation, the unconstrained problem in (12.1) can be stated as a constrained optimization problem with the equality constraints given by (12.2b).
As mentioned already above, Equation (12.2) was called abs-normal form in earlier papers like [4], [6]. To unify the notation, we will call such a representation of φ now abs-smooth form of type (12.2).
Since Equation (12.2b) defines the arguments of the absolute value function and hence also causes nonsmoothness, this equation is called switching equation. Motivated by the evaluation procedure, it is assumed that for the calculation of only values , , are needed. Hence, z is uniquely determined by Equation (12.2b). Furthermore, we assume that all components of z are used as arguments of the absolute value function, that is, they are all used for the calculation of the objective function, such that they indeed cause nonsmoothness. If this assumption does not hold, the corresponding component of z can be eliminated yielding a reduced function representation without further impact.
Depending on the specific application at hand it might be a bit restrictive to allow only absolute values of the vector z as argument of F and f, respectively. An explicit dependence on z might also lead to larger but much sparser derivative matrices. For a discussion of this effect see, for example, [9]. Therefore, an alternative to the abs-smooth form of type (12.2) is given by
where and are again at least once differentiable in the region of interest. As above, we assume that only depends on values , , such that is uniquely determined by Equation (12.3b) and that all serve as argument of an absolute value evaluation that is used to calculate the value of the target function. We will call this representation of an element of the function class considered in this paper abs-smooth form of type (12.3).
As it turned out in the theoretical analysis, it might be advantageous to allow the absolute value function only in the switching equation. This setting was considered, for example, in [8], [11] yielding the representation
where and are again at least once differentiable in the region of interest. Once more, we assume that is uniquely determined by Equation (12.4b) in that for computing only values , are used. We will call this representation of an element of the function class considered in this paper abs-smooth form of type (12.4). It is important to note that for the abs-smooth form of type (12.4), the last element of , that is, , is not used as an argument of the absolute value. Hence, it does not cause any nonsmoothness. This observation also motivates our notation , where all components of are assumed to be used as arguments of the absolute value similar to the abs-smooth forms of type (12.2) and (12.3).
To illustrate our later results, we consider the following target function that can be seen as prototype of a very simple neural network.
Example 12.1.
Let , . For and , define
For as a solution to the switching equation (12.4b), that is, , using
yields
Thus, the functions and represent .