Signal Processing 179 (2021) 107807 Contents lists available at ScienceDirect Signal Processing journal homepage: www.elsevier.com/locate/sigpro Approximal operator with application to audio inpainting R Ond ˇ rej Mokrý, Pavel Rajmic ∗ Signal Processing Laboratory, Department of Telecommunications, Faculty of Electrical Engineering and Communication, Brno University of Technology, Technická 12, Brno 612 00, Czech Republic a r t i c l e i n f o Article history: Received 4 May 2020 Revised 31 August 2020 Accepted 3 September 2020 Available online 9 September 2020 Keywords: Proximal operator Proximal algorithms Approximation Sparsity Audio inpainting a b s t r a c t In their recent evaluation of time-frequency representations and structured sparsity approaches to audio inpainting, Lieb and Stark (2018) have used a particular mapping as a proximal operator. This operator serves as the fundamental part of an iterative numerical solver. However, their mapping is improperly justified. The present article proves that their mapping is indeed a proximal operator, and also derives its proper counterpart. Furthermore, it is rationalized that Lieb and Stark’s operator can be understood as an approximation of the proper mapping. Surprisingly, in most cases, such an approximation (referred to as the approximal operator) is shown to provide even better numerical results in audio inpainting compared to its proper counterpart, while being computationally much more effective. ©2020 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY license ( http://creativecommons.org/licenses/by/4.0/ ) 1. Introduction In signal and image processing, the so-called proximal splitting algorithms represent an effective way of finding numerical solutions to various problems [1] . However, despite their conceptual simplicity, proximal algorithms are not always computationally tractable. For instance, in the area of audio signal restoration, it is often necessary to handle the proximal operator of a composition of a linear (or affine) transform and a functional. This happens in many variations of audio inpainting tasks [2–4] (further discussed in Section 3 ), audio declipping [5–8] , and audio dequantization [9–11] . To introduce the concept more specifically, let L : W → V be a linear mapping between two vector spaces, and let g : V → R be a convex lower semi-continuous functional. We are interested in computing the proximal operator prox f , where f = g ◦L (the symbol ◦shall denote the composition of two functions), i.e. the mapping L is applied first, followed by g . In some cases, explicit formulas for prox g ◦L are available. For instance, [1] provides an explicit formula for the case of real-valued operator L between finite-dimensional spaces such that LL = αId . A similar result is presented in [12] , where L is assumed to be complex-valued and satisfying the condition that LL ∗is diagonal R The work was supported by the Czech Science Foundation (GA ˇ CR) project number 20-29009S . The authors would like to thank Rémi Gribonval for sharing his expertise and discussing the manuscript. ∗Corresponding author. E-mail addresses:
[email protected] (O. Mokrý), ra[email protected].cz (P. Rajmic). (the asterisk denotes the adjoint operator). However, it is limited to the case when prox g is the operator of projection onto a boxtype set. In the present contribution, we provide an analysis of the case when L L = αId , which is closely related to [1] , and this is motivated by a recent signal processing application [4] . In Section 2 , we derive a formula for prox g ◦L in such a scenario. Furthermore, an approximation of the derived proximal operator is introduced and analyzed, provided that an explicit formula for prox αg exists. Section 3 shows its usefulness in the case of sparsity-based audio inpainting. The error arising from computing the proximal step of an iterative algorithm only approximately is evaluated on the example of audio inpainting. Throughout the whole article, the symbol · may denote a general norm on a Hilbert space V , the common 2 norm on a finite-dimensional real or complex vector space, or the induced operator norm. The particular case should be clear from the context. The inner product inducing · will be denoted ·, · . Should any other (pseudo)norm appear, it will be identified using the lower index notation, e.g. · 0 , · 1 . 2. Proximal operator of a composition of a proper convex function and an affine mapping and its approximation 2.1. Theoretical proposition It has already been stated that the novel proposition of the paper is related to the known formula for prox g ◦L in the case of semiorthogonal L , i.e. LL = αId . To build upon this relation, we start by quoting the corresponding lemma. https://doi.org/10.1016/j.sigpro.2020.107807 0165-1684/© 2020 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY license ( http://creativecommons.org/licenses/by/4.0/ )
2 O. Mokrý and P. Rajmic / Signal Processing 179 (2021) 107807 Lemma 1 (the original lemma from [ 13 , p. 140]) . Let g : R m → R ∪ {∞} be a proper convex function, and let f(x ) = g(L x + b ) , where b ∈ R m and L : V → R m is a linear transformation satisfying LL = αId for some constant α> 0 . Then for any x ∈ V , prox f (x ) = x + α−1 L prox αg (L x + b ) −L x −b . (1) Note that when prox αg is known explicitly, Eq. (1) provides an explicit form of prox f . As an example, take f = L · 1 = · 1 ◦L . Then g is the 1 norm and the corresponding prox αg is the soft thresholding operator with the threshold α. Lemma 1 may also be used when g is the indicator function of a closed convex set C ⊂ R m , g(x ) = ιC (x ) = 0 x ∈ C, ∞ x / ∈ C. (2) In such a case, the proximal operator of αg is the operator of projecting onto C , denoted prox αg (x ) = proj C (x ) . Additionally, the frame theory provides an example of L that fits the lemma—it may be the synthesis operator of a tight frame in R m [14–18] . In brief, a frame is a (commonly overcomplete) set of vectors generating R m ; this allows representation of any vector from R m using a sequence of coefficients in V = R n . These coefficients are obtained by the injective analysis operator. Its adjoint, the synthesis operator, produces a vector in R m as a linear combination of the generators. In the setting of Lemma 1 , L may represent the synthesis operator and L the analysis operator. Tight frames are a special subgroup of frames, for which the condition LL = αId holds. The question is: If we want to employ the analysis operator in place of L , how will formula (1) be affected? The following lemma answers the question. Lemma 2 (the proposed lemma) . Let g : R m → R ∪ {∞} be a proper convex function, and let f(x ) = g(A x + b ) , where b ∈ R m and A : V → R m is a linear transformation satisfying A A = αId for some constant α> 0 . Then for any x ∈ V , prox f (x ) = α−1 A prox αg+ ι(R (A )+ b ) (A x + b ) −b , (3) where ι(R (A )+ b ) is the indicator function of the affine space which we obtain by shifting the range space of A by a vector b . Although the proof is given in Appendix A including the vector b , we will for simplicity further assume b = 0 . From the viewpoint of frame theory, the operator A in Lemma 2 is the analysis operator of a tight frame. Suppose that V = R n , i.e. A : R n → R m . It is a straightforward consequence of the assumption A A = αId that in such a case, it must hold n ≤m due to the property n = rank A A = rank ( A ) ≤m. (4) Observe that the crucial difference between the two lemmas is that in the latter case, the image of the proximal operator of αg is forced to lie in the subspace R (A ) . Omitting this condition, Eq. (3) would be obtained simply by using Eq. (1) and plugging in the property A A = αId . Such a step is correct when A is surjective, in which case m = n (as a consequence of Eq. (4) ) and the indicator function ιR (A ) equals zero on whole R n and therefore prox αg+ ιR (A ) = prox αg . However, the consequence of A being fullrank 1 is that the operator is unitary and by taking A = L = L −1 , Lemmas 1 and 2 coincide. Finally, observe that Lemma 1 provides a constructive way to compute prox g ◦L when prox αg is known explicitly. On the contrary, Lemma 2 is not constructive in the case of n < m , since the explicit form of prox αg does not guarantee the existence of an explicit form of prox αg+ ιR (A ) . 1 In the case of A : R n → R m , the operator A has full rank if rank (A ) = min { m, n } . 2.2. Explicit approximation The strength of Lemma 1 is that it offers an explicit form of prox f when the explicit form of prox αg is available. This is possible for example in the aforementioned cases of the (weighted) 1 norm or the indicator function in the role of g . However, the proximal operator including an additional restriction, which is the case of prox αg+ ιR (A ) in Lemma 2 , is seldom known 2 , resulting in the need for a reasonable approximation of prox αg+ ιR (A ) . Since the orthogonal projection onto R (A ) in the case of A A = αId is expressed easily as [14] proj R (A ) (x ) = α−1 AA x , (5) a natural possibility is to study the approximation prox αg+ ιR (A ) ≈proj R (A ) ◦prox αg , (6) i.e. the composition of two known operators. Such an approximation will thus take the form of approx f (x ) = α−1 A proj R (A ) prox αg (A x ) , (7) where we introduced the denotation ‘approx’ for the approximal operator . The most important property of approx f is pointed out in the following lemma. Lemma 3. Under the conditions of Lemma 2 , the approximal operator is approx f (x ) = α−1 A prox αg (A x ) (8) and it is a proximal operator of some convex lower semi-continuous function. Note that the shortened form of approx f in Eq. (8) was obtained by plugging (5) into (7) and using the above-mentioned property A A = αId . The lemma is proved in Appendix A , justifying two properties of proximal operators, one of which is the non-expansivity of approx f . As mentioned in [19, p. 7] , the non-expansivity plays a role in the convergence analysis of iterative proximal algorithms. Recently, a proposition similar to Lemma 3 has been independently proven in [ 20 , Theorem 3.3]. Furthermore, [20, Theorem 3.4] proposes a formula for the function φsuch that approx f = prox φ, which is summarized in the following lemma. Lemma 4 (adapted based on [20, Theorem 3.4] ) . Denote g h the infimal convolution of the functions g, h : R m → R ∪ {∞} , defined pointwise as (g h )(x ) = inf y ∈ R m { g(y ) + h (x −y ) } ∀ x ∈ R m . (9) The operator approx f defined by Eq. (8) , assuming A A = αId , is the proximal operator of the function φ: V → R ∪ {∞} defined pointwise as φ(x ) = 1 ααg 1 2 · 2 + ιN(A ) (A x ) = α−1 inf y ∈ R m αg(y ) + 1 2 A x −y 2 + ιN(A ) (A x −y ) , (10) where N (A ) ⊂R m denotes the null space of the operator A : R m → V . It is straightforward to derive the lemma from [ 20 , Theorem 3.4], using [ 20 , Lemma 3.1] and the explicit form of the pseudoinverse of A , i.e. A † = (A A ) −1 A = α−1 A . 2 A rare example is the proximal operator of (weighted) 1 norm over a box [13, pp. 145–146] .
O. Mokrý and P. Rajmic / Signal Processing 179 (2021) 107807 3 Although Eq. (10) provides a compact definition for the function φ, it still includes the infimal convolution, impractical in numerical applications. A minor insight into the properties of φis provided by the following lemma. Lemma 5. For any x ∈ V , φ( x ) ≤f ( x ) . Proof. From Eq. (10) , it holds (putting y = A x ) φ(x ) ≤α−1 αg(A x ) + 1 2 A x −A x 2 + ιN(A ) (A x −A x ) = g(A x ) = f(x ) (11) for any x ∈ V . Besides this theoretical result, an illustrative example of φfor g = · 1 is included in Appendix B . In the following section, an application from the field of audio processing demonstrates the suitability of approx f as an approximation of prox f . 3. Experiments 3.1. Sparsity-based audio inpainting Audio inpainting is a rather modern term for the task of filling highly degraded or missing samples of digital audio [3] . The same task is referred to as the interpolation of missing samples [2,21] or packet-loss concealment [22,23] . Popular audio inpainting methods are based on the assumption that musical audio signals are sparse with respect to a suitable time-frequency (TF) transform. To proceed with the formalization of this assumption, denote y ∈ C n the observed (i.e. degraded) signal and let M : C n → C n be the operator which fills with zeros the missing information in the signal. Denote the set of signals consistent with the observed signal y , = { x ∈ C n | Mx = My } . (12) The inpainting task is then formulated as the following optimization task: Find the signal from with the corresponding TF coefficients as sparse as possible. Let us recall two operators: Let A : C n → C m , m ≥n , be the analysis operator, expanding the time-domain signal into the vector of TF coefficients, and let A ∗: C m → C n be its synthesis counterpart, producing a signal, given the coefficients. With this notation, the above formulation can be understood in two ways: arg min z z 0 s. t. A ∗z ∈ , (13a) arg min x A x 0 s. t. x ∈ . (13b) The symbol · 0 denotes sparsity, i.e. the pseudonorm that counts the non-zero entries of the argument. Since Eq. (13a) includes the synthesis operator, it is referred to as the synthesis formulation ; by the same reasoning, Eq. (13b) is called the analysis formulation [24] . Note that the two formulations are equivalent only when the operator A is unitary, i.e. it holds A ∗= A −1 . However, this is not the case of the commonly used Gabor, wavelet or ERBlet transforms [15,18] . 3.1.1. Convex relaxation Formulations (13) are problematic in that they include the 0 pseudonorm, resulting in the task being NP-hard. Two possible classes of methods exist to solve (13) , in general only approximately. Either a non-convex heuristic algorithm is employed to tackle (13) , e.g. the OMP [3] or SPAIN [25] . Alternatively, the task needs to be relaxed to a convex optimization problem [26,27] . Denoting S : C m → R a convex sparsity-related penalty, the convex relaxations of (13a) and (13b) attain the form arg min z { S(z ) + ι(A ∗z ) } , (14a) arg min x { S(A x ) + ι(x ) } . (14b) The constraints from (13) are now included in the objective function using the indicator function ι. Note that is a convex set by design. Thus, in order to have an overall convex problem, S has to be a convex function, and it shall promote sparsity. As an example of a suitable and widely used penalty S, we mention the (weighted) 1 norm. 3.1.2. Inconsistent reformulation In (14) , the solution is forced to be equal to the observed signal in its reliable (non-degraded) parts. However, this assumption may be too strong, for instance when the observed signal y is noisy. In such a case, the alternative reformulations to solve are the socalled inconsistent problems arg min z { S(z ) + λ MA ∗z −My } , (15a) arg min x { S(A x ) + λ Mx −My } , (15b) where the parameter λ> 0 balances consistency with the data and the sparsity. 3.1.3. Solving the task Formulations (14) and (15) consist of sums of lower semicontinuous convex functions. Such a scenario allows using proximal algorithms to solve the tasks numerically [1] . To find the minimum of the sum of lower semicontinuous convex functions f 1 and f 2 using the proximal splitting approach, one must be able to evaluate both prox f 1 and prox f 2 , or, in the case of differentiable f 1 or f 2 , the corresponding gradient. These are evaluated in every iteration, meaning that simple, computationally cheap formulas are preferred. To choose suitable algorithms for solving (14) and (15) , assume that the explicit form of prox S is available. Note that in practice, this assumption is not too restrictive. Sometimes the situation is even the opposite, meaning that a suitable operator in the place of prox S is used although an explicit form of Sis not available, for instance in the case of the (persistent) empirical Wiener and similar operators [19,28] . Moreover, assume using a tight frame as the TF transformation, i.e. A ∗A = αId . To solve the synthesis model (14a) , Lemma 1 is used (putting L = A ∗) to compute the prox of the second term, prox ι◦A ∗(x ) = x + α−1 A ( proj (A ∗x ) −A ∗x ) , (16) which enables the use of the Douglas–Rachford (DR) algorithm [1, Section 4] . The reason is that for any time-domain signal s ∈ C n , the projection proj (s ) is computed simply entry-by-entry by setting the samples at the reliable positions equal to the observed ones, and keeping the rest unchanged. It should be pointed out that Lemma 1 is used here to handle a complex-valued operator. This is treated in Appendix C , where one can find the argumentation why using complex variables in place of real variables does not affect the proposed theoretical results of both lemmas. To solve the analysis model (14b) , prox S◦A has to be known in order to be used in the DR algorithm; formally, it is constructed using Lemma 2 as prox S◦A (x ) = α−1 A ∗prox αS+ ιR (A ) (A x ) . (17) The numerical treatment of (17) , however, requires choosing one of the following three options:
4 O. Mokrý and P. Rajmic / Signal Processing 179 (2021) 107807 •prox αS+ ιR (A ) is only approximated by the operator approx S◦A defined by Eq. (8) , •prox S◦A (x ) = arg min u S(A u ) + 1 2 u −x 2 is computed using a nested iterative subroutine, since it is by definition nothing but another optimization task, •finally, the Chambolle–Pock (CP) algorithm [29] can also be used instead of the DR algorithm to solve (14b) without nested iterations, since it allows composing a convex functional with a linear mapping. In analogy to the above, solving (15a) is not a problem, but for (15b) the approximation of prox S◦A is needed. For both inconsistent cases, a suitable iterative algorithm to produce the numerical result is ISTA or FISTA (fast iterative shrinkage-thresholding algorithm) [30] . 3.2. Evaluation setting Our experiments basically follow and extend the experiment from [ 4 , Section 3]. The motivation is that [4] applies Lemma 1 instead of Lemma 2 to compute prox S◦A . As a result, [4] actually uses approx S◦A (unintentionally). This is clear from plugging A in place of L in Eq. (1) , which (recalling A A = αId ) directly produces approx S◦A . The MATLAB codes and data from [4] are available at https://github.com/flieb/AudioInpainting . We recomputed their results using the shared code, and on top of that, we aimed at answering the question: Does the more accurate (but more complicated) use of prox S◦A produce b in the audio inpainting task, compared to the use of approx S◦A ? Hence, our contribution concerns the analysis model. There we decided to use the CP algorithm instead of the DR algorithm in the consistent case, while in the inconsistent case, the CP algorithm approximates prox S◦A in each iteration of FISTA. Exactly the same as in [4] , the algorithms are tested on four musical signals from [31] sampled at 44.1 kHz that are degraded by dropping out 80% of the samples at random positions. As the convex sparsity-related penalty, the 1 norm is used, i.e. S(·) = · 1 . Three different transforms [ 4 , Section 3.3.1] are used: •Gabor transform (GAB) with the Hann window of length 23 ms (1024 samples), time sampling parameter a = 3 . 6 ms (160 samples) and M = 3125 frequency channels, •ERBlet transform (ERB) with qvar = 0 . 08 and bins = 18 , •wavelet transform (WAV) with f min = 100 Hz, bw = 3 Hz and bins = 120 . For the algorithm specific parameters, see [ 4 , Section 3.3.3 and 4] and particularly the accompanying GitHub repository with the MATLAB codes (link in Section 3.4 ). The reconstruction performance is evaluated using the SNR, computed in agreement with [4] as SNR (s , ˆ s ) = 20 log 10 σ(s ) σ(s −ˆ s ) , (18) where s is the original (non-degraded) signal, ˆ s is the reconstructed signal and σdenotes the standard deviation. Since we work with real time-domain signals only, both s and ˆ s in formula (18) are real. It is worth noting that the reliable parts of s and ˆ s are not taken into account in Eq. (18) . 3.3. Results and discussion Table 1 is a slightly reordered reproduction of the table provided in [ 4 , Section 4]. As explained above, the results based on the synthesis model correspond to (14a) and (15a) , whereas the analysis-based results only approximate the solutions to Eqs. (14b) and (15b) , since the operator approx S◦A is used. Table 1 Values of SNR in dB from [ 4 , Table 2], based on the four test signals, three TF dictionaries and for both the consistent and the inconsistent approach, corresponding to problems (14) and (15) , respectively. # DR (consistent) FISTA (inconsistent) GAB WAV ERB GAB WAV ERB 1 Synthesis 18.7 26.0 26.4 15.5 25.5 25.9 Analysis 16.9 25.9 26.3 18.6 25.2 25.6 2 Synthesis 20.1 25.9 25.9 16.8 25.1 25.2 Analysis 18.3 25.6 25.6 19.7 25.1 25.2 3 Synthesis 18.6 19.2 19.3 17.4 18.9 19.1 Analysis 17.9 19.2 19.3 18.5 19.2 19.2 4 Synthesis 16.2 19.8 20.4 13.6 19.3 20.1 Analysis 15.1 19.7 20.4 16.1 19.7 20.4 Table 2 Difference between the values of SNR taken from the original experiment and from its correct implementation. The latter uses the CP algorithm instead of the DR algorithm in the consistent case, and in the inconsistent case, prox S◦A is evaluated using the CP algorithm in each iteration of FISTA. Only the results of the analysis-based approach are shown. Positive values indicate cases in which the new implementation performs better. # DR/CP (consistent) FISTA (inconsistent) GAB WAV ERB GAB WAV ERB 1 1.71 0.09 0.15 0.02 0.01 0.01 2 1.72 −0 . 05 −0 . 04 0.11 −0 . 02 0.00 3 0.68 −0 . 02 −0 . 01 0.03 0.00 −0 . 02 4 1.11 0.07 0.00 0.02 −0 . 01 −0 . 01 Since our modifications stem from the use of approx S◦A in the analysis-based model, Table 2 presents only the results of this model. Also, for better readability, only the difference between the values of SNR is shown. Table 2 shows two remarkable results. On the right side, the SNR for FISTA is almost independent of whether prox S◦A is computed accurately or not. The other note concerns the left side, showing the results of DR and CP algorithms, representing the use of approx S◦A and prox S◦A , respectively. Here, the more accurate approach with prox S◦A outperforms the approximate approach with approx S◦A only with the Gabor dictionary, whereas for wavelets and ERBlets the results are hardly distinguishable in terms of the SNR. Recall that the inconsistent analysis model employs a nested iterative CP algorithm within FISTA, which results in the computational cost being remarkably higher compared to the synthesis model. Furthermore, we examine the performance of the DR (original) and the CP (new) algorithm in the analysis model while choosing stricter convergence criteria than in the previously described experiment. In the implementation of [4] , the parameters indicating convergence are the maximum number of iterations ( param.maxit ) and the relative norm of solutions in subsequent iterations ( param.tol ). The algorithm stops when either of the criteria is reached. The settings of these parameters in the experiments are as follows: criterion setting for Tables 1 and 2 setting for Tables 3 and 4 param.maxit 200 500 param.tol 10 −3 10 −5 In Table 3 , the results of synthesis-based model using the DR algorithm are also recomputed with the new choice of parameters. Note that the inconsistent approach is omitted, since even with the less strict convergence criteria, the results of the two
O. Mokrý and P. Rajmic / Signal Processing 179 (2021) 107807 5 Table 3 Values for the DR (original) and the CP (new) algorithms for the analysis-based approach. The parameters were set to param.maxit = 500 and param.tol = 1e-5 . # DR CP GAB WAV ERB GAB WAV ERB 1 18.01 26.44 26.79 18.53 26.61 26.98 2 19.34 26.23 26.28 19.99 26.34 26.42 3 18.39 19.28 19.37 18.58 19.24 19.36 4 15.84 19.77 20.45 16.16 19.76 20.42 Table 4 Difference in the values of SNR in dB presented in Table 3 . # DR/CP GAB WAV ERB 1 0.52 0.16 0.19 2 0.65 0.11 0.14 3 0.19 −0 . 04 −0 . 01 4 0.33 −0 . 01 −0 . 03 approaches are almost identical. For the purpose of direct comparison, Table 4 presents the differences in SNR shown in Table 3 . As mentioned above, positive values indicate a better performance of the implementation based on prox S◦A . It is clear from Table 4 that letting the algorithms converge closer to the actual solution of the corresponding optimization tasks reduces the difference between the more and the less accurate approach. Nonetheless, it can still be seen that not only the results in general but also the inaccuracy of the DR algorithm in the analysis-based approach depend on the choice of (redundant) time-frequency representation of the audio signal. 3.4. Software and reproducible research All the experimental data were generated using MATLAB R2017b while using LTFAT [32] version 2.3.1 and NSGToolbox [17] version 0.1.0. The example in Appendix B is generated using CVX, a package for specifying and solving convex programs [33,34] . The MATLAB codes are available online at https://github. com/ondrejmokry/ApproximalOperator . 4. Conclusions The article presents the proximal operator of a composition of a convex function with a linear mapping A that satisfies A A = αId , which is the case of A being the (redundant) analysis operator of a tight frame. So far, a compact formula for such an operator has been known only for the composition with A (in the current notation). The theoretical derivation does not yield a really effective way to apply the proximal operator in practice. Nevertheless, it is shown that using the fast explicit approximation from [4] , the approximal operator , is not only meaningful, but it is also reasonably close to the proper solution obtained with the exact proximal operator. The practical experiment was limited only to audio inpainting scenarios originally performed in [4] , yet the theoretical result has a straightforward application to the problems of audio declipping or dequantization as well, or even in the related problems in image and video processing. Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Appendix A. Proofs Proof of Lemma 2. Recall that g : R m → R ∪ {∞} is assumed to be a proper convex function, f(x ) = g(A x + b ) , where b ∈ R m and A : V → R m is a linear transformation satisfying A A = αId for some constant α> 0. We start the proof by quoting the first part of the proof of Lemma 1 , as presented in [ 13 , pp. 140–141], since the assumed property of the linear transform is not crucial at first. By definition, prox f : V → V for f(u ) = g(A u + b ) is a mapping such that prox f ( x ) is the optimal solution to min u ∈ V g(A u + b ) + 1 2 u −x 2 . (A.1) The above problem can be formulated as the following constrained problem: min u ∈ V , z ∈ R m g(z ) + 1 2 u −x 2 s. t. z = A u + b . (A.2) Denote the optimal solution of (A.2) by ( ˜ u , ˜ z ) (the existence and uniqueness of ˜ u and ˜ z follow from the underlying assumption that g is proper close and convex). Note that ˜ u = prox f (x ) . Fixing z = ˜ z , we obtain that ˜ u is the optimal solution to min u ∈ V 1 2 u −x 2 s. t. A u = ˜ z −b . (A.3) Since strong duality holds for the problem (A.3) [ 13 , pp. 439–440], it follows that there exists y ∈ R m for which the two conditions ˜ u ∈ arg min u ∈ V 1 2 u −x 2 + y , A u −˜ z + b , (A.4) A u = z −b (A.5) are satisfied. Since the objective function in (A.4) is strictly convex and differentiable, the unique minimizer ˜ u is obtained by setting its gradient to zero, which leads to ˜ u = x −A y . (A.6) Substituting this expression of ˜ u into (A.5) , we obtain A (x −A y ) = ˜ z −b . (A.7) Quoting [13] must be stopped here, since we will further utilize a different assumption on the linear operator. Since A A = αId , applying the synthesis A onto both sides of Eq. (A.7) leads to x −A y = α−1 A ( ˜ z −b ) . (A.8) The important observation here is that (A.8) is equivalent to (A.7) only when ˜ z −b ∈ R (A ) , which is enforced by the left hand side of the relation (A.7) . Substituting this result into (A.6) leads to an explicit expression for ˜ u in terms of ˜ z (still limited to ˜ z −b ∈ R (A ) ): ˜ u = α−1 A ( ˜ z −b ) . (A.9) Plugging this result in the minimization problem (A.2) , we obtain that ˜ z is given by ˜ z = arg min z g(z ) + ι(R (A )+ b ) (z )+ 1 2 α−1 A (z−b )−x 2 , (A.10) where the relation ˜ z −b ∈ R (A ) is enforced by the indicator function ι(R (A )+ b ) . Now recall two useful properties: 1. Viewing A from the perspective of frame theory, it is an analysis operator corresponding to a tight frame, for which it holds A z 2 = α z 2 for all z ∈ V .
6 O. Mokrý and P. Rajmic / Signal Processing 179 (2021) 107807 2. Since we require ˜ z −b ∈ R (A ) , it follows from Eq. (5) that α−1 AA ( ˜ z −b ) = ˜ z −b . Using the first property, we can rewrite (A.10) as ˜ z = arg min z g(z ) + ι(R (A )+ b ) (z )+ 1 2 α Aα−1 A (z−b )−A x 2 . (A.11) Using the second property and multiplying the objective function by the (positive) constant αleads to ˜ z = arg min z αg(z ) + ι(R (A )+ b ) (z )+ 1 2 z−(A x+b ) 2 (A.12) = prox αg+ ι(R (A )+ b ) (A x + b ) . (A.13) Plugging the expression for ˜ z into (A.9) produces the desired result. Proof of Lemma 3. To prove that a function F : V → V is a proximal operator of a convex lower semi-continuous function, it is sufficient to show two properties [ 35 , Corollary 10.c]: 1. there exists a convex lower semi-continuous function ψ such that for any y ∈ V , F ( y ) ∈ ∂ψ( y ), 2. F is non-expansive, i.e. F (y ) −F y ≤ y −y , ∀ y , y ∈ V . (A.14) The symbol ∂ψ( y ) denotes the subdifferential of the function ψ at the point y , see e.g. [ 36 , Def. 1.2.1, p. 167]. Observe that the first property is necessarily satisfied for F = prox αg , since it is a proximal operator. This means that there exists a convex lower semi-continuous function ηsuch that ∀ x ∈ R m prox αg (x ) ∈ ∂η(x ) = { s | η(y ) ≥η(x ) + s , y −x ∀ y ∈ R m } . (A.15) If this relation holds for all x , it must also hold for vectors in the form x = A z , leading to ∀ z ∈ V prox αg (A z ) ∈ ∂η(A z ) = { s | η(y ) ≥η(A z ) + s , y −A z ∀ y ∈ R m } . (A.16) Then also ∀ z α−1 A prox αg (A z ) ∈ α−1 A ∂η(A z ) . (A.17) Recalling the property [ 36 , Theorem 4.2.1, p. 184] ∂(h ◦A )(x ) = A ∂h (A x ) ∀ x ∈ R n , (A.18) Eq. (A.17) further implies ∀ z α−1 A prox αg (A z ) ∈ α−1 ∂(η◦A )(z ) = ∂(α−1 η◦A )(z ) . (A.19) Since ηis a lower semi-continuous and convex function and A is a linear operator, η◦A and α−1 η◦A are also lower semi-continuous and convex. Property 1. is thus satisfied for F = approx f with ψ = α−1 η◦A . The non-expansivity can be shown similarly: Substituting (8) into (A.14) and using the fundamental property of operator norm leads to α−1 A prox αg (A y ) −prox αg (A y ) ≤ α−1 A prox αg (A y ) −prox αg (A y ) . (A.20) First, let us compute the operator norm of α−1 A . The property A x 2 = α x 2 ∀ x implies A x = √ α x , i.e. A = √ α. Thus α−1 A = α−1 A = α−1 A = 1 √ α. (A.21) Now, since prox αg meets (A.14) , it holds prox αg (A y ) −prox αg (A y ) ≤ A y −A y = A (y −y ) = √ α y −y . (A.22) Plugging (A.21) and (A.22) into (A.20) shows that (A.14) truly holds for the approx f operator. Appendix B. Illustrative example The example illustrates the difference of f and φ, which are the functions that prox f and prox φ= approx f belong to, respectively. The example is closely related to the experiment in Section 3 . The function g is the 1 norm on R m = R 4 , g = · 1 : R 4 → R , and f = g ◦A : V = R n = R 2 → R . The dimensions are set such that the functions f and φcan be visualized. The operator A : R 2 → R 4 is identified with the matrix A = ⎡ ⎢ ⎣ 0 . 7464 0 . 04 4 4 0 . 1588 0 . 9127 −0 . 9348 0 . 7795 −0 . 7375 −0 . 7466 ⎤ ⎥ ⎦ (B.1) Fig. B1. Illustrative example. Proximal operator of the function f = g ◦A is defined by Lemma 2 . When this operator is only approximated by approx f , the underlying functional of the proximal operator is φ, defined in Lemma 4 . The example is plotted for g = · 1 and A consisting as a matrix of the generators in Fig. B.1 a.
O. Mokrý and P. Rajmic / Signal Processing 179 (2021) 107807 7 and represents the analysis of a tight frame with α= 2 . The synthesis operator can be represented by the transposed matrix A = 0 . 7464 0 . 1588 −0 . 9348 −0 . 7375 0 . 04 4 4 0 . 9127 0 . 7795 −0 . 7466 . (B.2) Fig. B.1 a depicts the columns of A , i.e. the tight frame as a set of vectors (generators) in the real plane. In the finite-dimensional and convex setting, the function φcan be numerically computed using Eq. (10) as φ(x ) = α−1 min y ∈ R 4 α y 1 + 1 2 A x −y 2 + ιN(A ) (A x −y ) . (B.3) For the purpose of this illustration, we sample the functions f and φon a discrete grid in R 2 . To be more specific, the values for x ∈ R 2 are taken equidistantly from the range [ −2 , 2] ×[ −2 , 2] with a step of 0.2 in each direction. The result is plotted in Fig. B.1 b. As expected based on Lemma 5 , the function φis less or equal to f at each point. Furthermore, the functions f and φclosely resemble each other, which explains the results in the audio inpainting experiment. Appendix C. Comments on the use of complex-valued operators In the experimental part, the complex-valued analysis operator A : C n → C m and its synthesis counterpart A ∗(instead of A ) are used. Nonetheless, both Lemmas 1 and 2 remain valid also in such a case. The place in the proof that could make trouble in the complex case is the formulation of the Lagrangian in Eq. (A.4) , since it should be real; the rest of the manipulations also hold in the complex case. To deal with the Lagrangian for complex variables, observe that A u = ˜ z −b ⇔ (A u −˜ z + b ) = 0 ∧ (A u −˜ z + b ) = 0 , (C.1) which can be rewritten in matrix form as (A ) − (A ) (A ) (A ) ˆ A (u ) (u ) ˆ u − ( ˜ z −b ) ( ˜ z −b ) ˆ c = 0 , (C.2) where ˆ A : R 2 n → R 2 m , ˆ u ∈ R 2 n and ˆ c ∈ R 2 m . Rewriting x ∈ C n in a similar way into a real vector ˆ x ∈ R 2 n leads to the Lagrangian 1 2 ˆ u −ˆ x 2 + ˆ y , ˆ A ˆ u −ˆ c , (C.3) where ˆ y ∈ R 2 m . The unique minimizer of (C.3) is ˆ u = ˆ x −ˆ A ˆ y . (C.4) It can be easily shown that the real and imaginary parts of the complex solution ˜ u = x −A ∗y obtained using Eq. (A.6) match the results in just presented real case. Note that in the case of the complex Gabor transform presented earlier, the mapping prox f should map the real signal x to a real signal ˜ u . This would be ensured by a particular convex-conjugate structure of A, A ∗and also y in such a case. For a more detailed description, see the discussion in [12, p. 9] and the references therein. A similar argumentation would be used regarding the proof of Lemma 3 and the concept of subdifferentials, where, once again, we would define the real-valued inner product for complex vectors. CRediT authorship contribution statement Ond ˇ rej Mokrý: Software, Validation. Pavel Rajmic : Resources, Supervision, Project administration, Funding acquisition. The rest of the contributor roles are shared by the two authors in a fair way and cannot be distinguished. References [1] P. Combettes, J. Pesquet, Proximal splitting methods in signal processing, in: Fixed-Point Algorithms for Inverse Problems in Science and Engineering, 2011, pp. 185–212, doi: 10.1007/978- 1- 4419- 9569- 8 _ 10 . [2] A.J.E.M. Janssen, R.N.J. Veldhuis, L.B. Vries, Adaptive interpolation of discretetime signals that can be modeled as autoregressive processes, IEEE Trans. Acoust. Speech Signal Process. 34 (2) (1986) 317–330, doi: 10.1109/TASSP.1986. 1164824 . [3] A. Adler, V. Emiya, M. Jafari, M. Elad, R. Gribonval, M. Plumbley, Audio inpainting, IEEE Trans. Audio Speech Lang.Process. 20 (3) (2012) 922–932, doi: 10.1109/ TASL.2011.2168211 . [4] F. Lieb, H.G. Stark, Audio inpainting: evaluation of time-frequency representations and structured sparsity approaches, Signal Process. 153 (2018) 291–299, doi: 10.1016/j.sigpro.2018.07.012 . [5] K. Siedenburg , M. Kowalski , M. Dorfler , Audio declipping with social sparsity, in: 2014 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), IEEE, 2014, pp. 1577–1581 . [6] P. Záviška, P. Rajmic, J. Schimmel, Psychoacoustically motivated audio declipping based on weighted l1 minimization, in: 2019 42nd International Conference on Telecommunications and Signal Processing (TSP), 2019, pp. 338–342, doi: 10.1109/TSP.2019.8769109 . [7] S. Kiti ´ c, L. Jacques, N. Madhu, M. Hopwood, A. Spriet, C. De Vleeschouwer, Consistent iterative hard thresholding for signal declipping, in: 2013 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2013, pp. 5939–5943, doi: 10.1109/ICASSP.2013.6638804 . [8] S. Kiti ´ c , N. Bertin , R. Gribonval , Sparsity and cosparsity for audio declipping: a flexible non-convex approach, in: LVA/ICA 2015 – The 12th International Conference on Latent Variable Analysis and Signal Separation, Liberec, Czech Republic, 2015 . [9] L. Rencker , F. Bach , W. Wang , M.D. Plumbley , Fast iterative shrinkage for signal declipping and dequantization, iTWIST’18 – International Traveling Workshop on Interactions between low-complexity data models and Sensing Techniques, 2018 . [10] C. Brauer, T. Gerkmann, D. Lorenz, Sparse reconstruction of quantized speech signals, in: 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2016, pp. 5940–5944, doi: 10.1109/ICASSP.2016.7472817 . [11] P. Záviška, P. Rajmic, Sparse and cosparse audio dequantization using convex optimization, 2020, arXiv:2003.04222 [12] P. Rajmic, P. Záviška, V. Veselý, O. Mokrý, A new generalized projection and its application to acceleration of audio declipping, Axioms 8(3) 10.3390/axioms8030105 [13] A. Beck , First-Order Methods in Optimization, SIAM-Society for Industrial and Applied Mathematics, 2017 . [14] O. Christensen , Frames and Bases, An Introductory Course, Birkhäuser, Boston, 2008 . [15] O. Christensen , An Introduction to Frames and Riesz Bases, Birkhäuser, Boston-Basel-Berlin, 2003 . [16] K. Gröchenig, Foundations of Time-Frequency Analysis, Birkhäuser, 2001, [17] P. Balazs, M. Dörfler, F. Jaillet, N. Holighaus, G. Velasco, Theory, implementation and applications of nonstationary Gabor frames, J. Comput. Appl. Math. 236 (6) (2011) 1481–1496, doi: 10.1016/j.cam.2011.09.011 . [18] T. Necciari, P. Balazs, N. Holighaus, P.L. Søndergaard, The ERBlet transform: an auditory-based time-frequency representation with perfect reconstruction, in: 2013 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 2013, pp. 498–502, doi: 10.1109/ICASSP.2013.6637697 . [19] R. Gribonval, M. Nikolova, A characterization of proximity operators, arXiv: 1807.04014v2 [20] M. Hasannasab, J. Hertrich, S. Neumayer, G. Plonka, S. Setzer, G. Steidl, Parseval proximal neural networks, J. Fourier Anal. Appl. 26(4) 10.10 07/s0 0 041-020- 09761-7 [21] W. Etter, Restoration of a discrete-time signal segment by interpolation based on the left-sided and right-sided autoregressive parameters, IEEE Trans. Signal Process. 44 (5) (1996) 1124–1135, doi: 10.1109/78.502326 . [22] J. Lindblom, P. Hedelin, Packet loss concealment based on sinusoidal modeling, in: Speech Coding, 2002, IEEE Workshop Proceedings, IEEE, 10.1109/scw.2002.1215725. [23] C. Rodbro, M. Murthi, S. Andersen, S. Jensen, Hidden Markov modelbased packet loss concealment for voice over IP, IEEE Trans. Audio Speech Lang.Process. 14 (5) (2006) 1609–1623, doi: 10.1109/TSA.2005.858561 . [24] M. Elad , P. Milanfar , R. Rubinstein , Analysis versus synthesis in signal priors, Inverse Probl. 23 (20 0) (20 05) 947–968 . [25] O. Mokrý, P. Záviška , P. Rajmic , V. Veselý, Introducing SPAIN (SParse audio IN- painter), in: 2019 27th European Signal Processing Conference (EUSIPCO), IEEE, 2019 . [26] A.M. Bruckstein , D.L. Donoho , M. Elad , From sparse solutions of systems of equations to sparse modeling of signals and images, SIAM Rev. 51 (1) (2009) 34–81 . [27] D.L. Donoho , M. Elad , Optimally sparse representation in general (nonorthogonal) dictionaries via 1 minimization, Proc. Natl. Acad. Sciences 100 (5) (2003) 2197–2202 . [28] M. Kowalski, K. Siedenburg, M. Dörfler, Social Sparsity! Neighborhood systems enrich structured shrinkage operators, IEEE Trans. Signal Process. 61 (10) (2013) 2498–2511, doi: 10.1109/TSP.2013.2250967 .
8 O. Mokrý and P. Rajmic / Signal Processing 179 (2021) 107807 [29] A. Chambolle, T. Pock, A first-order primal-dual algorithm for convex problems with applications to imaging, J. Math. Imaging Vis. 40 (1) (2011) 120–145, doi: 10.1007/s10851-010-0251-1 . [30] A. Beck, M. Teboulle, A fast iterative shrinkage-thresholding algorithm for linear inverse problems, SIAM J. Imaging Sci. 2 (1) (2009) 183–202, doi: 10.1137/ 080716542 . [31] K. Siedenburg, M. Doerfler, Persistent time-frequency shrinkage for audio denoising, J. Audio Eng. Soc 61 (1-2) (2013) 29–38. http://www.aes.org/e-lib/ browse.cfm?elib=16665 [32] Z. Pr ˚ uša, P.L. Søndergaard, N. Holighaus, C. Wiesmeyr, P. Balazs, The large timefrequency analysis toolbox 2.0, in: Sound, Music, and Motion, Lecture Notes in Computer Science, Springer International Publishing, 2014, pp. 419–442, doi: 10.1007/978- 3- 319- 12976- 1 _ 25 . [33] M. Grant, S. Boyd, CVX: Matlab software for disciplined convex programming, http://cvxr.com/cvx [34] M.C. Grant, S.P. Boyd, Graph implementations for nonsmooth convex programs, in: Lecture Notes in Control and Information Sciences, Springer, London, 2008, pp. 95–110, doi: 10.1007/978- 1- 84800- 155- 8 _ 7 . [35] J.J. Moreau , Proximité et dualité dans un espace hilbertien, Bull. Soc. Math. France 93 (1965) 273–299 . [36] J.-B. Hiriart-Urruty , C. Lemaréchal , Fundamentals of Convex Analysis, Springer, 2001 .