arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:2406.00300v1 [cs.LG] 01 Jun 2024

Coded Computing: A Learning-Theoretic Framework

Parsa Moradi Affiliation: University of Minnesota Email: moradi@umn.edu    Behrooz Tahmasebi Affiliation: MIT CSAIL Email: bzt@mit.edu    Mohammad Ali Maddah-Ali Affiliation: University of Minnesota Email: maddah@umn.edu
Abstract

Coded computing has emerged as a promising framework for tackling significant challenges in large-scale distributed computing, including the presence of slow, faulty, or compromised servers. In this approach, each worker node processes a combination of the data, rather than the raw data itself. The final result then is decoded from the collective outputs of the worker nodes. However, there is a significant gap between current coded computing approaches and the broader landscape of general distributed computing, particularly when it comes to machine learning workloads. To bridge this gap, we propose a novel foundation for coded computing, integrating the principles of learning theory, and developing a new framework that seamlessly adapts with machine learning applications. In this framework, the objective is to find the encoder and decoder functions that minimize the loss function, defined as the mean squared error between the estimated and true values. Facilitating the search for the optimum decoding and functions, we show that the loss function can be upper-bounded by the summation of two terms: the generalization error of the decoding function and the training error of the encoding function. Focusing on the second-order Sobolev space, we then derive the optimal encoder and decoder. We show that in the proposed solution, the mean squared error of the estimation decays with the rate of 𝒪(S4N3)\mathcal{O}(S^{4}N^{-3}) and 𝒪(S8/5N3/5)\mathcal{O}(S^{\nicefrac{{8}}{{5}}}N^{\nicefrac{{-3}}{{5}}}) in noiseless and noisy computation settings, respectively, where NN is the number of worker nodes with at most SS slow servers (stragglers). Finally, we evaluate the proposed scheme on inference tasks for various machine learning models and demonstrate that the proposed framework outperforms the state-of-the-art in terms of accuracy and rate of convergence.

1 Introduction

The theory of coded computing has been developed to improve the reliability and security of large-scale machine learning platforms, effectively tackling two major challenges: (1) the detrimental impact of slow workers (stragglers) on overall computation efficiency, and (2) the threat of faulty or malicious workers that can compromise data accuracy and integrity. These challenges have been well-documented in the literature, including the seminal work [1] from Google. Furthermore, [2] reported that in a sample set of 30003000 matrix multiplication jobs on AWS Lambda, while the median job time was 4040 seconds, approximately 5%5\% of worker nodes took 100100 seconds to respond, and two nodes took as long as 375375 seconds. Moreover, coded computing has also been instrumental in addressing privacy concerns, a crucial aspect of distributed computing systems [3, 4, 5, 6, 7, 8, 9, 10, 11, 12].

The concept of coded computing has been motivated by the success of coding in communication over unreliable channels, where instead of transmitting raw data, the transmitter sends a (linear) combination of the data, known as coded data. This redundancy in the coded data enables the receiver to recover the raw data even in the presence of errors or missing values. Similarly, coded computing includes three stages [13, 3, 11] (see Figure 1(a)):

  1. (1)

    The Encoding Layer in which a master node sends a (linear) combination of data, as coded data, to each worker node.

  2. (2)

    The Computing Layer, in which the worker nodes apply a predefined computation to their assigned coded data and send the results back to the master node.

  3. (3)

    The Decoding Layer, in which the master node recovers the final results from the computation results over coded data. In this stage, the decoder leverages the coded redundancy in the computation to recover the missing results of the stragglers and detect and correct the adversarial inputs.

The existing coded computing has largely built upon algebraic coding theory, drawing inspiration from the renowned Reed-Solomon code construction in communication [14], with proven straggler and Byzantine resiliency [15]. However, the coding in communication, designed for the exact recovery of the messages, built on a foundation that is inconsistent with the computational requirements of machine learning. Developing a code that preserves its specific construction while composing with computation is extremely challenging, leading to significant restrictions. Firstly, current methods are mainly restricted to specific computation functions, such as polynomials and matrix multiplication [3, 16, 17, 13, 11]. Secondly, rooted in algebraic error correction codes, existing approaches are tailored for finite field computations, leading to numerical instability when dealing with real-valued data [18, 19]. Furthermore, these methods are unsuitable for approximate, fixed-point, or floating-point computing, where exact computation is neither possible nor necessary, such as in machine learning inference or training tasks. Finally, these schemes typically have a recovery threshold, which is the minimum number of samples required to recover results from coded outputs of worker nodes [3, 13]. If the number of workers falls below this threshold, the recovery process fails entirely.

Several works have attempted to mitigate the aforementioned issues and transform the coded computing scheme into a more robust and adaptable one, applicable to a wide range of computation functions. These efforts include approximating non-polynomial functions with polynomial ones [20, 5], refining the coding mechanism to enhance stability [21, 22, 23, 24, 25], and leveraging approximation computing techniques to reduce the recovery threshold and increase recovery flexibility [26, 27, 28, 29]. However, these attempts fail to bridge the existing gap between coded computing and general distributed computing systems. The root cause of these issues lies in the fact that they are grounded in coding theory, based on a foundation that is not compatible with the requirements of large-scale machine learning. Therefore, this paper aims to address the following objective:

Objective: The main objective of this paper is to develop a new foundation for coded computing, not solely based on coding theory, but also grounded in learning theory, that seamlessly integrates with machine learning applications, offering a more natural and effective solution for general computing.
Refer to caption
Figure 1 (a): Coded Computing: Each node processes a combination of data (coded data). The decoder recovers the final results, even with missing node outputs.
Refer to caption
Figure 1 (b): The log-log plot of the expected error versus the number of workers (NN). Not only does LeTCC achieve a lower estimation error, but it also has a faster convergence rate.
\captionlistentry

In this paper, we establish a learning-theoretic foundation for coded computing, applicable to general computations. We adopt an end-to-end system perspective, that integrates an end-to-end loss function, to find the optimum encoding and decoding functions, focusing on straggler resiliency. We show that the loss function is upper-bounded by the sum of two terms: one characterizing the generalization error of the decoder function and the other capturing the training error of the encoder function. Regularizing the decoder stage, we derive the optimal decoder in the Reproducing Kernel Hilbert space (RKHS) of second-order Sobolev functions. This provides an explicit solution for the optimum decoder function and allows us to characterize the resulting loss of the decoding stage. The decoder loss appears as a regularizing term in optimizing the encoding function and represents the norm in another RKHS. Thus, the optimum solution for the encoding function can be derived, too. We address two noise-free and noisy computation settings, for which we derive the optimal encoder and decoder and corresponding convergence rate. We prove that the proposed framework exhibits a faster convergence rate compared to the state-of-the-art and the numerical evaluations support the theoretical derivations (see Figure 1(b)).

Contributions: The main contributions of this paper are:

  • We develop a new foundation for coded computing, based on the theory of learning, rather than the theory of coding. We define the loss function as the square error of the computation estimation, averaged over all possible sets of at most SS stragglers (Section 3.1). To be able to find the best encoding and decoding functions, we bound the loss function with the summation of two terms, one characterizing the generalization error of the decoder function and the other capturing the training error of the encoder function (Section 3).

  • Assuming that the encoder and decoder functions reside in the Hilbert space of second-order Sobolev functions, we use the theory of RKHSs to find the optimum encoding and decoding functions and characterize the convergence rate for the expected loss in both noise-free and noisy computations (Section 4).

  • We have extensively evaluated the proposed scheme across different data points and computing functions including state-of-the-art deep neural networks and demonstrated that our proposed framework considerably outperforms the state-of-the-art in terms of recovery accuracy (Section 5).

2 Preliminaries and Problem Definition

2.1 Notations

Throughout this paper, uppercase and lowercase bold letters denote matrices and vectors, respectively. Coded vectors and matrices are indicated by a \sim sign, as in 𝐱~,𝐀~\tilde{\mathbf{x}},\tilde{\mathbf{A}}. The set {1,2,,n}\{1,2,\dots,n\} is denoted as [n][n] and symbol |S||S| denotes the cardinality of the set SS. Finally, we represent first, second and kk-th order derivative of function ff as f,f′′f^{\prime},f^{\prime\prime}, and f(k)f^{(k)} respectively.

2.2 Problem Setting

Consider a master node and a set of NN workers. The master node is tasked with computing {𝐟(xk)}k=1K\{\mathbf{f}(x_{k})\}_{k=1}^{K} using a cluster of NN worker nodes, given a set of KK data points {𝐱k}k=1K,𝐱kd\{\mathbf{x}_{k}\}^{K}_{k=1},\mathbf{x}_{k}\in\mathbb{R}^{d}. Here, 𝐟:dm\mathbf{f}:\mathbb{R}^{d}\to\mathbb{R}^{m} represents an arbitrary function, which could be a simple one-dimensional function or a complex deep neural network, and K,d,mK,d,m are integers. A naive approach would be to assign the computation of 𝐟(𝐱k)\mathbf{f}(\mathbf{x}_{k}) to one worker node for k[K]k\in[K]. However, some worker nodes may act as stragglers, failing to complete their tasks within the required deadline. To mitigate this issue, the master node employs coding and sends NN coded data points to each worker node using an encoder function. Each coded data point is a combination of raw data points. Subsequently, each worker applies the function 𝐟()\mathbf{f}(\cdot) to the received coded data and sends the result, coded results, back to the master node. The master node’s goal is to approximately recover 𝐟^(𝐱k)𝐟(𝐱k)\mathbf{\hat{f}}(\mathbf{x}_{k})\approx\mathbf{f}(\mathbf{x}_{k}) using a decoder function, even if some worker nodes appear to be stragglers. The redundancy in the coded data and corresponding coded results enables the master node to recover the desirable results, {𝐟(𝐱k)}k=1K\{\mathbf{f}(\mathbf{x}_{k})\}^{K}_{k=1}.

Refer to caption
Figure 2: LeTCC framework.

3 Proposed Framework: LeTCC

Here, we propose a novel straggler-resistant Learning-Theoretic Coded Computing (LeTCC) framework for general distributed computing. As depicted in Figure 2, our framework comprises two encoding and decoding layers, with a computing layer sandwiched between them. The framework operates according to the following steps:

  1. (1)

    Encoding Layer: The master node fits an encoder regression function 𝐮enc:d\mathbf{u}_{\textrm{enc}}:\mathbb{R}\to\mathbb{R}^{d} at points {(αk,𝐱k)}k=1K\{(\alpha_{k},\mathbf{x}_{k})\}^{K}_{k=1} for fixed, distinct, and ordered values α1<α2<<αK\alpha_{1}<\alpha_{2}<\dots<\alpha_{K}\in\mathbb{R}. Then, it computes the encoder function 𝐮enc()\mathbf{u}_{\textrm{enc}}(\cdot) on another set of fixed, distinct, and ordered values {βn}n=1N\{\beta_{n}\}_{n=1}^{N} where β1<β2<<βN\beta_{1}<\beta_{2}<\dots<\beta_{N}\in\mathbb{R}, with k[K]k\in[K] and n[N]n\in[N]. Subsequently, the master node sends the coded data points 𝐱~n=𝐮enc(βn)d\tilde{\mathbf{x}}_{n}=\mathbf{u}_{\textrm{enc}}(\beta_{n})\in\mathbb{R}^{d} to worker nn for n[N]n\in[N]. Note that each coded data point 𝐱~n\tilde{\mathbf{x}}_{n} is a combination of all initial points {𝐱k}k=1K\{\mathbf{x}_{k}\}^{K}_{k=1}.

  2. (2)

    Computing Layer: Each worker node n[N]n\in[N] computes 𝐟(𝐱~n)=𝐟(𝐮enc(βn))\mathbf{f}(\tilde{\mathbf{x}}_{n})=\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\beta_{n})) on its assigned input and sends the result back to the master node.

  3. (3)

    Decoding Layer: The master node receives the results 𝐟(𝐱~v)v{\mathbf{f}(\tilde{\mathbf{x}}_{v})}_{v\in\mathcal{F}} from the non-straggler worker nodes in the set \mathcal{F}. Next, it fits a decoder regression function 𝐮dec:m\mathbf{u}_{\textrm{dec}}:\mathbb{R}\to\mathbb{R}^{m} at points (βv,𝐟(𝐱~v))v=(βv,𝐟(𝐮enc(βv)))v{(\beta_{v},\mathbf{f}(\tilde{\mathbf{x}}_{v}))}_{v\in\mathcal{F}}={(\beta_{v},\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\beta_{v})))}_{v\in\mathcal{F}}. Finally, using the function 𝐮dec()\mathbf{u}_{\textrm{dec}}(\cdot), the master node can compute 𝐟^(𝐱k):=𝐮dec(αk)\hat{\mathbf{f}}(\mathbf{x}_{k}):=\mathbf{u}_{\textrm{dec}}(\alpha_{k}) as an approximation of 𝐟(𝐱k)\mathbf{f}(\mathbf{x}_{k}) for k[K]k\in[K]. Recall that 𝐮dec(αk)𝐟(𝐮enc(αk))𝐟(𝐱k)\mathbf{u}_{\textrm{dec}}(\alpha_{k})\approx\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\alpha_{k}))\approx\mathbf{f}(\mathbf{x}_{k}).

As mentioned above, the master node selects and fixes the regression points, {αk}k=1K\{\alpha_{k}\}^{K}_{k=1} and {βn}n=1N\{\beta_{n}\}^{N}_{n=1}, which remain constant throughout the entire process. The encoder and decoder functions are the only components subject to optimization.

Note that the computational efficiency of the encoding and decoding layers is crucial. This includes the fitting process of the encoder and decoder regression functions, as well as the computation of these regression functions at points {βv}v\{\beta_{v}\}_{v\in\mathcal{F}} and {αk}k=1K\{\alpha_{k}\}^{K}_{k=1}. If the master node’s computation time is not substantially decreased compared to computing {𝐟(𝐱k)}k=1K\{\mathbf{f}(\mathbf{x}_{k})\}^{K}_{k=1} by itself, then adopting this framework would not provide any benefits for the master node.

3.1 Objective

We view the whole scheme as a unified predictive framework that provides an approximate estimation of the values {𝐟(𝐱k)}k=1K\left\{\mathbf{f}(\mathbf{x}_{k})\right\}^{K}_{k=1}. We denote the estimator function of the LeTCC scheme as 𝐟^𝜶,𝜷[𝐮enc,𝐮dec,]()\mathbf{\hat{f}}_{\bm{\alpha},\bm{\beta}}[\mathbf{u}_{\textrm{enc}},\mathbf{u}_{\textrm{dec}},\mathcal{F}](\cdot), where 𝜶:=[α1,,αK]T\bm{\alpha}:=[\alpha_{1},\dots,\alpha_{K}]^{T}, 𝜷:=[β1,,βN]T\bm{\beta}:=[\beta_{1},\dots,\beta_{N}]^{T}, and \mathcal{F} represents the set of non-straggler worker nodes.

Let us define a random variable FS,NF_{S,N} distributed over the set of all subsets of NN workers with maximum SS stragglers, {:[N],||NS}\{\mathcal{F}:\mathcal{F}\subseteq[N],|\mathcal{F}|\geqslant N-S\}. Also, suppose each worker node n[N]n\in[N] computes the function 𝐟n(x)=𝐟(x)+ϵn\mathbf{f}_{n}(x)=\mathbf{f}(x)+\bm{\epsilon}_{n}, where ϵn\bm{\epsilon}_{n}, n[N]n\in[N] are independent zero-mean noise vectors with covariance Σ\Sigma.

This enables us to define the following loss function, which evaluates the framework’s performance:

(𝐟^):=𝔼ϵ,FS,N[1Kk=1K𝐟^(𝐱k)𝐟(𝐱k)22]=𝔼ϵ,FS,N[1Kk=1K𝐮dec(αk)𝐟(𝐱k)22],\displaystyle\mathcal{R}(\mathbf{\hat{f}}):=\mathop{\mathbb{E}}_{\bm{\epsilon},\mathcal{F}\sim F_{S,N}}\left[\frac{1}{K}\sum^{K}_{k=1}\left\lVert\mathbf{\hat{f}}(\mathbf{x}_{k})-\mathbf{f}(\mathbf{x}_{k})\right\rVert^{2}_{2}\right]=\mathop{\mathbb{E}}_{\bm{\epsilon},\mathcal{F}\sim F_{S,N}}\left[\frac{1}{K}\sum^{K}_{k=1}\left\lVert\mathbf{u}_{\textrm{dec}}(\alpha_{k})-\mathbf{f}(\mathbf{x}_{k})\right\rVert^{2}_{2}\right], (1)

where 𝐟^(𝐱):=𝐟^𝜶,𝜷[𝐮enc,𝐮dec,](𝐱)\mathbf{\hat{f}}(\mathbf{x}):=\mathbf{\hat{f}}_{\bm{\alpha},\bm{\beta}}[\mathbf{u}_{\textrm{enc}},\mathbf{u}_{\textrm{dec}},\mathcal{F}](\mathbf{x}) to simplify the notation, 2\left\lVert\cdot\right\rVert_{2} represents the 2\ell_{2}-norm, and ϵ=[ϵ1,,ϵN]T\bm{\epsilon}=[\bm{\epsilon}_{1},\dots,\bm{\epsilon}_{N}]^{T}. Our objective is to find 𝐮enc(.)\mathbf{u}_{\textrm{enc}}(.) and 𝐮dec(.)\mathbf{u}_{\textrm{dec}}(.) that minimize the objective function (1), which is very challenging, given that 𝐟^(.)\mathbf{\hat{f}}(.) is a composition of 𝐮enc(.)\mathbf{u}_{\textrm{enc}}(.) and 𝐮dec(.)\mathbf{u}_{\textrm{dec}}(.) and the computation in the middle. Here, we take an important step to decompose these two, to gain a deeper understanding of interactions. Adding and subtracting 𝐟(𝐮enc(αk))\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\alpha_{k})) and utilizing inequality of arithmetic and geometric means (AM-GM), one can obtain an upper bound for (1):

(𝐟^)\displaystyle\mathcal{R}(\mathbf{\hat{f}}) =\displaystyle= 𝔼ϵ,FS,N[1Kk=1K(𝐮dec(αk)𝐟(𝐮enc(αk)))+(𝐟(𝐮enc(αk))𝐟(𝐱k))22]\displaystyle~\mathop{\mathbb{E}}_{\bm{\epsilon},\mathcal{F}\sim F_{S,N}}\left[\frac{1}{K}\sum^{K}_{k=1}\left\lVert(\mathbf{u}_{\textrm{dec}}(\alpha_{k})-\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\alpha_{k})))+(\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\alpha_{k}))-\mathbf{f}(\mathbf{x}_{k}))\right\rVert^{2}_{2}\right]
\displaystyle\leqslant 𝔼ϵ,FS,N[2Kk=1K𝐮dec(αk)𝐟(𝐮enc(αk))22]dec(𝐟^)+2Kk=1K𝐟(𝐮enc(αk))𝐟(𝐱k)22enc(𝐟^).\displaystyle\underbrace{\mathop{\mathbb{E}}_{\bm{\epsilon},\mathcal{F}\sim F_{S,N}}\left[\frac{2}{K}\sum^{K}_{k=1}\left\lVert\mathbf{u}_{\textrm{dec}}(\alpha_{k})-\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\alpha_{k}))\right\rVert^{2}_{2}\right]}_{\mathcal{L}_{\textrm{dec}}(\mathbf{\hat{f}})}+\underbrace{\frac{2}{K}\sum^{K}_{k=1}\left\lVert\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\alpha_{k}))-\mathbf{f}(\mathbf{x}_{k})\right\rVert^{2}_{2}}_{\mathcal{L}_{\textrm{enc}}(\mathbf{\hat{f}})}. (2)

The right-hand side of (2) comprises two terms, which uncover an interesting interplay between the encoder and decoder regression functions. Let us elaborate on what each term corresponds to.

  • dec(𝐟^)\mathcal{L}_{\textrm{dec}}(\mathbf{\hat{f}})The expected generalization error of the decoder regression: Recall that the master node fits a decoder regression function, 𝐮dec()\mathbf{u}_{\textrm{dec}}(\cdot), at a set of points denoted as {(βv,𝐟(𝐮enc(βv)))}v\left\{(\beta_{v},\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\beta_{v})))\right\}_{v\in\mathcal{F}}. dec\mathcal{L}_{\textrm{dec}} represents the 2\ell_{2}-norm of the decoder regression function’s error on a distinct set of points {αk}k=1K\{\alpha_{k}\}^{K}_{k=1}, which are different from its training data {βv}v\{\beta_{v}\}_{v\in\mathcal{F}}. Consequently, this term provides an unbiased estimate of the decoder’s generalization error.

    Given that the decoder regression function develops to estimate 𝐟(𝐮enc())\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\cdot)), the generalization error of the decoder regression is inherently tied to the properties of 𝐟(𝐮enc())\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\cdot)). This, in turn, is influenced by characteristics of both the 𝐟()\mathbf{f}(\cdot) and 𝐮enc()\mathbf{u}_{\textrm{enc}}(\cdot) functions, making the dec(𝐟^)\mathcal{L}_{\textrm{dec}}(\mathbf{\hat{f}}) a complex interplay of these two functions.

  • enc(𝐟^)\mathcal{L}_{\textrm{enc}}(\mathbf{\hat{f}})A proxy to the training error of the encoder regression: Remember that the encoder regression is fitted at points {(αk,𝐱k)}k=1K\{(\alpha_{k},\mathbf{x}_{k})\}^{K}_{k=1}. Consequently, the training error is calculated as 1Kk=1K𝐮enc(αk)𝐱k22\frac{1}{K}\sum^{K}_{k=1}\left\lVert\mathbf{u}_{\textrm{enc}}(\alpha_{k})-\mathbf{x}_{k}\right\rVert^{2}_{2}. Therefore, enc\mathcal{L}_{\textrm{enc}} represents the encoder training error magnified by the effect of computing function 𝐟()\mathbf{f}(\cdot). Specifically, if 𝐟()\mathbf{f}(\cdot) is qq-Lipschitz, then enc(𝐟^)\mathcal{L}_{\textrm{enc}}(\mathbf{\hat{f}}) can be upper bounded by:

    2Kk=1K𝐟(𝐮enc(αk))𝐟(𝐱k)222q2Kk=1K𝐮enc(αk)𝐱k22.\displaystyle\frac{2}{K}\sum^{K}_{k=1}\left\lVert\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\alpha_{k}))-\mathbf{f}(\mathbf{x}_{k})\right\rVert^{2}_{2}\leqslant\frac{2q^{2}}{K}\sum^{K}_{k=1}\left\lVert\mathbf{u}_{\textrm{enc}}(\alpha_{k})-\mathbf{x}_{k}\right\rVert^{2}_{2}. (3)

4 Main Results

In this section, we investigate the proposed framework from a theoretical standpoint. We provide a detailed explanation of how to design the decoder and encoder functions and subsequently analyze the convergence rate. For simplicity, we first present the results for a one-dimensional function f:f:\mathbb{R}\to\mathbb{R}. All the results have been generalized to the case where f:dmf:\mathbb{R}^{d}\to\mathbb{R}^{m} as stated in Appendix C.

Suppose the regression points, {αk}k=1K,{βn}n=1N\{\alpha_{k}\}^{K}_{k=1},\{\beta_{n}\}^{N}_{n=1}, are confined to the interval Ω:=(1,1)\Omega:=(-1,1) and uenc,udec2(Ω,)u_{\textrm{enc}},u_{\textrm{dec}}\in\mathcal{H}^{2}\left(\Omega;\mathbb{R}\right) where 2(Ω,)\mathcal{H}^{2}\left(\Omega;\mathbb{R}\right) is the RKHS of second-order Sobolev functions on interval Ω\Omega. We review the definition and properties of Sobolev spaces in Appendix A.1.

Decoder Design: Since dec(𝐟^)\mathcal{L}_{\textrm{dec}}(\mathbf{\hat{f}}) in the decomposition (2) characterizes the generalization error of the decoder function, we propose a regularized objective function for the decoder:

udec=argminu2(Ω,)1||v(u(βv)f(uenc(βv)))2+λdΩ(u′′(t))2𝑑t.\displaystyle u_{\textrm{dec}}^{\star}=\underset{u\in\mathcal{H}^{2}\left(\Omega;\mathbb{R}\right)}{\operatorname{argmin}}\frac{1}{|\mathcal{F}|}\sum_{v\in\mathcal{F}}\left(u\left(\beta_{v}\right)-f\left(u_{\textrm{enc}}\left(\beta_{v}\right)\right)\right)^{2}+\lambda_{\textrm{d}}\int_{\Omega}\left(u^{\prime\prime}(t)\right)^{2}\,dt. (4)

The first term in (4) corresponds to the mean squared error, while the second term characterizes the smoothness of the decoder function on the interval Ω\Omega. Equation (4) represents a Kernel Ridge Regression problem (KRR). It can be shown that the solution of (4) has the following form [30]:

udec(t)=d0+d1t+v=1||cvϕ(t,βiv),\displaystyle u_{\textrm{dec}}^{\star}(t)=d_{0}+d_{1}t+\sum^{|\mathcal{F}|}_{v=1}c_{v}\phi(t,\beta_{i_{v}}), (5)

where ϕ\phi is the kernel of 2(Ω,)\mathcal{H}^{2}\left(\Omega;\mathbb{R}\right), 𝐝=[d0,d1]T2\mathbf{d}=[d_{0},d_{1}]^{T}\in\mathbb{R}^{2}, and 𝐜||\mathbf{c}\in\mathbb{R}^{|\mathcal{F}|}. Substituting (5) into the main objective (4), the coefficients 𝐜\mathbf{c} and 𝐝\mathbf{d} can be efficiently computed by optimizing a quadratic equation [31]. This solution is known as the second-order smoothing spline function. We review the theoretical properties of smoothing splines in Appendix A.2.

Let us define the following variables, which characterize the maximum and minimum distances between consecutive regression points :={βi1,,βi||}\mathcal{F}:=\left\{\beta_{i_{1}},\dots,\beta_{i_{|\mathcal{F}|}}\right\}, and βi1<,<βi||\beta_{i_{1}}<\dots,<\beta_{i_{|\mathcal{F}|}}. These are the points available to the decoder after removing the missing ones due to the presence of stragglers.

Δmax:=maxn{0,,N}{βn+1βn},Δmin:=minn[N1]{βn+1βn},\displaystyle\Delta_{\textrm{max}}:=\underset{n\in\{0,\dots,N\}}{\max}\{\beta_{n+1}-\beta_{n}\},\quad\Delta_{\textrm{min}}:=\underset{n\in[N-1]}{\min}\left\{\beta_{n+1}-\beta_{n}\right\}, (6)

with β0:=1\beta_{0}:=-1 and βN+1:=1\beta_{N+1}:=1. The following theorems provide crucial insights for designing the encoder function as well as deriving the convergence rates.

Theorem 1 (Upper bound for noisy computation).

Consider the LeTCC framework with NN worker nodes and at most SS stragglers. Assume each worker node computes fn(x)=f(x)+ϵnf_{n}(x)=f(x)+\epsilon_{n} with 𝔼[ϵn]=0\mathbb{E}[\epsilon_{n}]=0 and 𝔼[ϵn2]σ02\mathbb{E}[\epsilon_{n}^{2}]\leqslant\sigma_{0}^{2}. Assume {αk}k=1K\{\alpha_{k}\}^{K}_{k=1} are equidistant in Ω=(1,1)\Omega=(-1,1), αk=1+2kK+1\alpha_{k}=-1+\frac{2k}{K+1}. Also, suppose that there are constants BB and ν\nu such that ΔmaxΔminB\frac{\Delta_{\textrm{max}}}{\Delta_{\textrm{min}}}\leqslant B, and f′′L(Ω,)ν\left\lVert f^{\prime\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\leqslant\nu. If f(.)f(.) is a qq-Lipschitz continuous function, then:

(f^)C1(NSσ02)35(p(S+1)(fuenc)′′L2(Ω,)2)25+2q2Kk=1K(uenc(αk)xk)2,\displaystyle\mathcal{R}(\hat{f})\leqslant C_{1}\left(\frac{N-S}{\sigma^{2}_{0}}\right)^{-\frac{3}{5}}\left(p(S+1)\cdot\left\lVert(f\circ u_{\textrm{enc}})^{\prime\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right)^{\frac{2}{5}}+\frac{2q^{2}}{K}\sum^{K}_{k=1}(u_{\textrm{enc}}(\alpha_{k})-x_{k})^{2}, (7)

with the optimal regularization parameter

λd=(C12)43(p(S+1)(NS)σ02(fuenc)′′L2(Ω,)2)45,\displaystyle\lambda_{\textrm{d}}^{\star}=\left(\frac{C_{1}}{2}\right)^{\frac{4}{3}}\cdot\left(\frac{p(S+1)\cdot(N-S)}{\sigma^{2}_{0}}\left\lVert(f\circ u_{\textrm{enc}})^{\prime\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right)^{-\frac{4}{5}}, (8)

where C1C_{1} is a constant, and p(S+1)p(S+1) is a degree-4 polynomial of (S+1S+1) with constant coefficients.

The proof and formula for the constant C1C_{1} are provided in Appendix B.1.

Theorem 2 (Upper bound for noiseless computation, σ0=0\sigma_{0}=0).

Consider the LeTCC framework with NN worker nodes and at most SS stragglers. Assume {αk}k=1K\{\alpha_{k}\}^{K}_{k=1} are equidistant in Ω=(1,1)\Omega=(-1,1), αk=1+2kK+1\alpha_{k}=-1+\frac{2k}{K+1} and there exist a constant JJ that ΔmaxJN\Delta_{\textrm{max}}\leqslant\frac{J}{N}. Also, suppose f′′L(Ω,)ν\left\lVert f^{\prime\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\leqslant\nu. If f(.)f(.) is a qq-Lipschitz continuous function, then:

(f^)(C2(S+1)4N3+C3(S+1)4N4)(fuenc)′′L2(Ω,)2+2q2Kk=1K(uenc(αk)xk)2,\displaystyle\mathcal{R}(\hat{f})\leqslant\left(C_{2}\frac{(S+1)^{4}}{N^{3}}+C_{3}\frac{(S+1)^{4}}{N^{4}}\right)\cdot\left\lVert(f\circ u_{\textrm{enc}})^{\prime\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\frac{2q^{2}}{K}\sum^{K}_{k=1}(u_{\textrm{enc}}(\alpha_{k})-x_{k})^{2}, (9)

with optimal regularization parameter λd=0\lambda_{\textrm{d}}^{\star}=0, where C2,C3C_{2},C_{3} are two constants.

The proof of Theorem 2 and the detailed expressions for C2C_{2} and C3C_{3}, can be found in Appendix B.2. Some results in approximation theory suggest utilizing Chebyseb points of the first kind, αk=cos((2k1)π2K)\alpha_{k}=\cos(\frac{(2k-1)\pi}{2K}), as regression points, as it is used in [29]. To cover those cases, we present the following corollary.

Corollary 1.

For αk=cos((2k1)π2K)\alpha_{k}=\cos(\frac{(2k-1)\pi}{2K}), we have the same upper bounds as in Theorems 1 and 2 with different constants.

The proof can be found in Corollary 7 in Appendix B.
Encoder Design: The upper bounds established in Theorems 1, 2 hold for all uenc2(Ω,)u_{\textrm{enc}}\in\mathcal{H}^{2}\left(\Omega;\mathbb{R}\right). However, they do not directly lead to a design for uenc()u_{\textrm{enc}}(\cdot). To address this, we present the following theorem which bounds the fuencL2(Ω,)2\left\lVert f\circ u_{\textrm{enc}}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}, enabling us to construct uenc()u_{\textrm{enc}}(\cdot) without compromising the convergence rate.

Theorem 3 (Optimal encoder).

Consider a LeTCC scheme. Assume computing function f()f(\cdot) is qq-Lipschitz continuous and f′′L(Ω,)ν\left\lVert f^{\prime\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\leqslant\nu. Then:

(f^)2q2Kk=1K(uenc(αk)xk)2+λeg(uenc~2(Ω,)),\displaystyle\mathcal{R}(\hat{f})\leqslant\frac{2q^{2}}{K}\sum^{K}_{k=1}(u_{\textrm{enc}}(\alpha_{k})-x_{k})^{2}+\lambda_{\textrm{e}}\cdot g\big(\left\lVert u_{\textrm{enc}}\right\rVert_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}\big), (10)

for some monotonically increasing function g:++g:\mathbb{R}^{+}\to\mathbb{R}^{+}, where λe\lambda_{\textrm{e}} is constant depending on (N,S,σ0,q,ν)(N,S,\sigma_{0},q,\nu), and f~2(Ω,)2:=Ω(f′′(t))2𝑑t+f(1)2+f(1)2\left\lVert f\right\rVert_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}^{2}:=\int_{\Omega}(f^{\prime\prime}(t))^{2}\,dt+f(-1)^{2}+f^{\prime}(-1)^{2}.

The norm ~2(Ω,)\left\lVert\cdot\right\rVert_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)} is an RKHS and an equivalent norm on Sobolev space introduced by [32] (see (22) in Appendix A.1). The proof can be found in Appendix B.3. By applying the representer theorem [33], we can deduce that the optimal encoder uenc(.)u_{\textrm{enc}}(.), which minimizes the right-hand side of (10) takes the form uenc(.)=k=1Kzkϕ(αk,.)u_{\textrm{enc}}(.)=\sum^{K}_{k=1}z_{k}\phi(\alpha_{k},.), where 𝐳K\mathbf{z}\in\mathbb{R}^{K}, and ϕ\phi is the kernel function of ~2(Ω,)\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right), identical to one in (5). However, due to the non-linearity of g()g(\cdot), calculating the values of the coefficients 𝐳\mathbf{z} is challenging. Nevertheless, we demonstrate that the coefficients can be efficiently derived under certain mild assumptions.

Corollary 2.

In the noiseless setting, if max{uencL2(Ω,),uencL2(Ω,),uenc′′L2(Ω,)}M\max\left\{\left\lVert u_{\textrm{enc}}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)},\left\lVert u_{\textrm{enc}}^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)},\left\lVert u_{\textrm{enc}}^{\prime\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right\}\leqslant M, for some M>0M>0, then:

(f^)2q2Kk=1K(uenc(αk)xk)2+λeuenc′′~2(Ω,)2,\displaystyle\mathcal{R}(\hat{f})\leqslant\frac{2q^{2}}{K}\sum^{K}_{k=1}(u_{\textrm{enc}}(\alpha_{k})-x_{k})^{2}+\lambda_{\textrm{e}}^{\prime}\left\lVert u_{\textrm{enc}}^{\prime\prime}\right\rVert^{2}_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}, (11)

where λe>0\lambda_{\textrm{e}}^{\prime}>0 is constant depending on (N,S,σ0,q,M)(N,S,\sigma_{0},q,M).

See Appendix B.3.1 for the proof. Corollary 2 states that under the assumptions specified in Corollary 2, smoothing spline minimizes the upper bounds (11).

Convergence Rate: Using Theorems 1, 2, and 3, we can derive the convergence rate of the proposed scheme as stated in the following theorem.

Theorem 4 (Convergence rate).

For LeTCC scheme with NN worker nodes and maximum of SS stragglers, (f^)𝒪(S85N35)\mathcal{R}(\hat{f})\leqslant\mathcal{O}\left(S^{\frac{8}{5}}N^{-\frac{3}{5}}\right) for the noisy computation, and (f^)𝒪(S4N3)\mathcal{R}(\hat{f})\leqslant\mathcal{O}\left(S^{4}N^{-3}\right) for the noiseless setting.

Theorem 4 states that for a fixed number of stragglers SS, the error converges at a rate of 𝒪(N3)\mathcal{O}(N^{-3}) in the noiseless setting, which strictly outperforms the state-of-the-art Berrut coded computing approach [29] (see Figure 1). Note that [29] does not analyze the noisy setting.

5 Experimental Results

In this section, we extensively evaluate the proposed scheme across various scenarios. Our assessments involve examining multiple deep neural networks as computing functions and exploring the impact of different numbers of stragglers on the scheme’s efficiency. The experiments are run using PyTorch [34] in a single GPU machine. We evaluate the performance of the LeTCC scheme in three different model architectures:

  • Shallow model: We choose LeNet5 [35] architecture as a known shallow network with approximately 6×1046\times 10^{4} parameters, trained on the MNIST [36].

  • Deep model with low-dimensional output: In this scenario, we evaluate the proposed scheme when the function is a deep neural network trained on color images in CIFAR-10 [37] dataset. We use the recently introduced RepVGG [38] network with around 2626 million parameters which was trained on CIFAR-1011 1 The pre-trained weights can be found here..

  • Deep model with high-dimensional output: Finally, we demonstrate the performance of the LeTCC scheme in a scenario where the input and output of the computing function are high-dimensional, and the function is a relatively large neural network. We consider the Vision Transformer (ViT) [39] as one of the state-of-the-art base neural networks in computer vision for our prediction model, with more than 8080 million parameters (in the base version). The network was trained and fine-tuned on the ImageNet-1K dataset [40]22 2 We use the official PyTorch pre-trained ViT network from here..

We use the output of the last softmax layer of each model as the output.

Table 1: Comparison of the proposed framework (LeTCC) and the state-of-the-art (BACC) in terms of the mean squared error (MSE) and the relative accuracy (RelAcc).
LeNet5 RepVGG ViT
(N,K,||)(N,K,|\mathcal{F}|) (100,20,60)(100,20,60) (60,20,20)(60,20,20) (20,8,3)(20,8,3)
Method MSE RelAcc MSE RelAcc MSE RelAcc
BACC 2.55±\pm 0.43 0.92±\pm 0.04 2.44±\pm 0.38 0.83±\pm 0.05 0.68±\pm 0.13 0.90±\pm 0.07
LeTCC 2.18±\pm 0.51 0.94±\pm 0.04 2.04±\pm 0.42 0.87±\pm 0.05 0.62±\pm 0.11 0.94±\pm 0.06

Hyper-parameters: The entire encoding and decoding process is the same for different functions, as we adhere to a non-parametric approach. The sole hyper-parameters involved are the two smoothing parameters (λenc,λdec\lambda_{\textrm{enc}},\lambda_{\textrm{dec}}) which are determined using cross-validation and greed search over different values of the smoothing parameters.
Baseline: We compare LeTCC with the Berrut approximate coded computing (BACC) introduced by [29] as the state-of-the-art coded computing scheme for general computing. The BACC framework is used in [29] for training neural networks and in [41] for inference.
Interpolation Points: We choose Chebyshev points of the first and second kind, {αi}k=1K=cos((2k1)π2K)\{\alpha_{i}\}^{K}_{k=1}=\cos\left(\frac{(2k-1)\pi}{2K}\right) and {βn}n=1N=cos((n1)πN1)\{\beta_{n}\}^{N}_{n=1}=\cos\left(\frac{(n-1)\pi}{N-1}\right), for fair comparison with [29].
Evaluation Metrics: We employ two evaluation metrics to assess the performance of the proposed framework: Relative Accuracy (RelAcc) and Mean Squared Error (MSE). RelAcc is defined as the ratio of the base model’s prediction accuracy to the accuracy of the estimated model on the initial data points. MSE, on the other hand, is our main loss defined in (1) which measures the empirical average of the mean squared difference over multiple batches of and non-straggler set \mathcal{F}, 𝔼𝐱𝒳,[1Kk=1K𝐟(𝐱k)𝐟^(𝐱k)22]\mathbb{E}_{\mathbf{x}\sim\mathcal{X},\mathcal{F}}\left[\frac{1}{K}\sum^{K}_{k=1}\|\mathbf{f}(\mathbf{x}_{k})-\mathbf{\hat{f}}(\mathbf{x}_{k})\|^{2}_{2}\right], where 𝒳\mathcal{X} is the distribution of input data.
Performance Evaluation: Table 1 presents both MSE and RelAcc metrics side by side. The results demonstrate that LeTCC outperforms BACC across various architectures and configurations, with an average improvement of 15%, 17%, and 9% in MSE for LeNet, RepVGG, and ViT architectures, respectively, and a 2%, 5%, and 4% enhancement in RelAcc.

In the subsequent analysis, we assess the performance of LeTCC in comparison to BACC for a diverse range of stragglers. For a constant number of stragglers, we execute both schemes with the same set of input data points and the same set of stragglers multiple times and record the average RelAcc and MSE metrics. Figure 3 presents the performance of both schemes on three model architectures. As depicted in Figure 3, the proposed scheme consistently outperforms BACC across nearly all values for the number of stragglers.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 3: Performance comparison of LeTCC and BACC across a diverse range of stragglers for different models.

Coded Points: We also compare the coded points {𝐱~𝐧}n=1N\{\mathbf{\tilde{x}_{n}}\}_{n=1}^{N} sent to the workers in LeTCC and BACC schemes. The results, shown in Figure 4, demonstrate that BACC coded samples exhibit high-frequency noise which causes the scheme to approximate the original prediction worse than LeTCC.

6 Related Work

Coded computing was initially introduced to tackle the challenges of distributed computation, particularly the existence of stragglers or slow workers, and also faulty or adversarial nodes. Traditional approaches to deal with stragglers primarily rely on repetition [42, 1, 43, 44, 45, 46], where each task is assigned to multiple workers either proactively or reactively. Recently, coded computing approaches have reduced the overhead of repetition by leveraging coding theory and embedding redundancy in the worker’s input data [29, 3, 13, 26, 47, 48, 49, 50, 51]. This technique, which mainly relies on theory of coding, has been developed for specific types of structured computations, such as polynomial computation and matrix multiplication [13, 3, 52, 17, 53, 48, 12, 7, 54]. Recently, there have been attempts to generalize coded computing for general computations [29, 55, 4, 5]. Towards extending the application of coding computing to machine learning computation, Kosaian et al. [55] suggest training a neural network to predict coded outputs from coded data points. However, the scheme of Kosaian et al. [55] requires a complex training process and tolerates only one straggler. In another work, Jahani-Nezhad and Maddah-Ali [29] proposes BACC, a model-agnostic and numerically stable framework for general computations. They successfully employed BACC to train neural networks on a cluster of workers, while tolerating a larger number of stragglers. Building on the BACC framework, Soleymani et al. [41] introduced ApproxIFER scheme, as a straggler resistance and Byzantine-robust prediction serving system. However, the scheme of BACC uses a reasonable rational interpolation (Berrut interpolation [56]), off the shelf, for encoding and decoding, without considering any end-to-end cost function to optimize. In contrast, we theoretically formalize a new foundation of coded computing grounded in learning theory, which can be naturally used for machine learning applications.

7 Conclusions and Future Work

In this paper, we developed a new foundation for coded computing based on learning theory, contrasting with existing works that rely on coding theory and use metrics like minimum distance and recovery threshold for design. This shift in foundations removes barriers to using coded computing for machine learning applications, allows us to design optimal encoding and decoding functions, and achieves convergence rates that outperform the state of the art. Moreover, the experimental evaluations validate the theoretical guarantees. While this work focuses on straggler mitigation, future work will extend our proposed scheme to achieve Byzantine robustness and privacy, offering promising avenues for further research.

References

  • [1] Jeffrey Dean and Luiz André Barroso. The tail at scale. Communications of the ACM, 56(2):74–80, 2013.
  • [2] Vipul Gupta, Shusen Wang, Thomas Courtade, and Kannan Ramchandran. Oversketch: Approximate matrix multiplication for the cloud. In 2018 IEEE International Conference on Big Data (Big Data), pages 298–304. IEEE, 2018a.
  • [3] Qian Yu, Songze Li, Netanel Raviv, Seyed Mohammadreza Mousavi Kalan, Mahdi Soltanolkotabi, and Salman A Avestimehr. Lagrange coded computing: Optimal design for resiliency, security, and privacy. In The 22nd International Conference on Artificial Intelligence and Statistics, pages 1215–1225. PMLR, 2019.
  • [4] Jinhyun So, Basak Guler, and Amir Salman Avestimehr. A scalable approach for privacy-preserving collaborative machine learning. In Advances in Neural Information Processing Systems, volume 33, pages 8054–8066, 2020a.
  • [5] Jinhyun So, Başak Güler, and Amir Salman Avestimehr. CodedPrivateML: A fast and privacy-preserving framework for distributed machine learning. IEEE Journal on Selected Areas in Information Theory, 2(1):441–451, 2021.
  • [6] Zhuqing Jia and Syed Ali Jafar. On the capacity of secure distributed batch matrix multiplication. IEEE Transactions on Information Theory, 67(11):7420–7437, 2021.
  • [7] Malihe Aliasgari, Osvaldo Simeone, and Jörg Kliewer. Private and secure distributed matrix multiplication with flexible communication load. IEEE Transactions on Information Forensics and Security, 2020.
  • [8] Minchul Kim and Jungwoo Lee. Private secure coded computation. In 2019 IEEE International Symposium on Information Theory (ISIT), pages 1097–1101. IEEE, 2019.
  • [9] Wei-Ting Chang and Ravi Tandon. On the upload versus download cost for secure and private matrix multiplication. In 2019 IEEE Information Theory Workshop (ITW), pages 1–5. IEEE, 2019.
  • [10] Wei-Ting Chang and Ravi Tandon. On the capacity of secure distributed matrix multiplication. In 2018 IEEE Global Communications Conference (GLOBECOM), pages 1–6, 2018.
  • [11] Qian Yu, Mohammad Ali Maddah-Ali, and A Salman Avestimehr. Straggler mitigation in distributed matrix multiplication: Fundamental limits and optimal coding. IEEE Transactions on Information Theory, 66(3):1920–1933, 2020a.
  • [12] Rafael G.L. D’Oliveira, Salim El Rouayheb, and David Karpuk. GASP codes for secure distributed matrix multiplication. IEEE Transactions on Information Theory, 66(7):4038–4050, 2020.
  • [13] Qian Yu, Mohammad Maddah-Ali, and Salman Avestimehr. Polynomial codes: an optimal design for high-dimensional coded matrix multiplication. Advances in Neural Information Processing Systems, 30, 2017.
  • [14] Irving S Reed and Gustave Solomon. Polynomial codes over certain finite fields. Journal of the society for industrial and applied mathematics, 8(2):300–304, 1960.
  • [15] Venkatesan Guruswami, Atri Rudra, and Madhu Sudan. Essential Coding Theory. Draft is Available, 2022.
  • [16] K. Lee, M. Lam, R. Pedarsani, D. Papailiopoulos, and K. Ramchandran. Speeding up distributed machine learning using codes. IEEE Transactions on Information Theory, 64(3):1514–1529, 2018.
  • [17] K. Lee, C. Suh, and K. Ramchandran. High-dimensional coded matrix multiplication. In Proceedings of IEEE International Symposium on Information Theory (ISIT), pages 2418–2422, 2017.
  • [18] Walter Gautschi and Gabriele Inglese. Lower bounds for the condition number of vandermonde matrices. Numerische Mathematik, 52(3):241–250, 1987.
  • [19] Gene H. Golub and Charles F. Van Loan. Matrix computations. JHU press, 2013.
  • [20] Jinhyun So, Basak Guler, and Salman Avestimehr. A scalable approach for privacy-preserving collaborative machine learning. Advances in Neural Information Processing Systems, 33:8054–8066, 2020b.
  • [21] Adarsh M. Subramaniam, Anoosheh Heidarzadeh, and Krishna R. Narayanan. Random Khatri-Rao-product codes for numerically-stable distributed matrix multiplication. CoRR, abs/1907.05965, 2019.
  • [22] Aditya Ramamoorthy and Li Tang. Numerically stable coded matrix computations via circulant and rotation matrix embeddings. IEEE Transactions on Information Theory, 68(4):2684–2703, 2022.
  • [23] Anindya Bijoy Das, Aditya Ramamoorthy, and Namrata Vaswani. Efficient and robust distributed matrix computations via convolutional coding. IEEE Transactions on Information Theory, 67(9):6266–6282, 2021.
  • [24] Mahdi Soleymani, Hessam Mahdavifar, and Amir Salman Avestimehr. Analog Lagrange coded computing. IEEE Journal on Selected Areas in Information Theory, 2(1):283–295, 2021.
  • [25] Mohammad Fahim and Viveck R Cadambe. Numerically stable polynomially coded computing. IEEE Transactions on Information Theory, 67(5):2758–2785, 2021a.
  • [26] Tayyebeh Jahani-Nezhad and Mohammad Ali Maddah-Ali. CodedSketch: A coding scheme for distributed computation of approximated matrix multiplication. IEEE Transactions on Information Theory, 67(6):4185–4196, 2021.
  • [27] Vipul Gupta, Shusen Wang, Thomas Courtade, and Kannan Ramchandran. OverSketch: Approximate matrix multiplication for the cloud. In 2018 IEEE International Conference on Big Data (Big Data), pages 298–304, 2018b.
  • [28] Vipul Gupta, Swanand Kadhe, Thomas Courtade, Michael W. Mahoney, and Kannan Ramchandran. Oversketched Newton: Fast convex optimization for serverless systems. In 2020 IEEE International Conference on Big Data (Big Data), pages 288–297, 2020.
  • [29] Tayyebeh Jahani-Nezhad and Mohammad Ali Maddah-Ali. Berrut approximated coded computing: Straggler resistance beyond polynomial computing. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(1):111–122, 2022.
  • [30] Jean Duchon. Splines minimizing rotation-invariant semi-norms in sobolev spaces. In Constructive Theory of Functions of Several Variables: Proceedings of a Conference Held at Oberwolfach April 25–May 1, 1976, pages 85–100. Springer, 1977.
  • [31] Grace Wahba. Smoothing noisy data with spline functions. Numerische mathematik, 24(5):383–393, 1975.
  • [32] George Kimeldorf and Grace Wahba. Some results on tchebycheffian spline functions. Journal of mathematical analysis and applications, 33(1):82–95, 1971.
  • [33] Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar. Foundations of machine learning. MIT press, 2018.
  • [34] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32, 2019.
  • [35] Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
  • [36] Yann LeCun, Corinna Cortes, Chris Burges, et al. MNIST handwritten digit database, 2010.
  • [37] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
  • [38] Xiaohan Ding, Xiangyu Zhang, Ningning Ma, Jungong Han, Guiguang Ding, and Jian Sun. Repvgg: Making vgg-style convnets great again. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 13733–13742, 2021.
  • [39] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
  • [40] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009.
  • [41] Mahdi Soleymani, Ramy E Ali, Hessam Mahdavifar, and A Salman Avestimehr. ApproxIFER: A model-agnostic approach to resilient and robust prediction serving systems. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 8342–8350, 2022.
  • [42] Matei Zaharia, Andy Konwinski, Anthony D Joseph, Randy H Katz, and Ion Stoica. Improving mapreduce performance in heterogeneous environments. In Osdi, volume 8, page 7, 2008.
  • [43] Lalith Suresh, Marco Canini, Stefan Schmid, and Anja Feldmann. C3: Cutting tail latency in cloud data stores via adaptive replica selection. In 12th USENIX Symposium on Networked Systems Design and Implementation (NSDI 15), pages 513–527, 2015.
  • [44] Nihar B Shah, Kangwook Lee, and Kannan Ramchandran. When do redundant requests reduce latency? IEEE Transactions on Communications, 64(2):715–722, 2015.
  • [45] Kristen Gardner, Samuel Zbarsky, Sherwin Doroudi, Mor Harchol-Balter, and Esa Hyytia. Reducing latency via redundant requests: Exact analysis. ACM SIGMETRICS Performance Evaluation Review, 43(1):347–360, 2015.
  • [46] Manmohan Chaubey and Erik Saule. Replicated data placement for uncertain scheduling. In 2015 IEEE International Parallel and Distributed Processing Symposium Workshop, pages 464–472. IEEE, 2015.
  • [47] Songze Li, Seyed Mohammadreza Mousavi Kalan, Amir Salman Avestimehr, and Mahdi Soltanolkotabi. Near-optimal straggler mitigation for distributed gradient methods. In 2018 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), pages 857–866. IEEE, 2018.
  • [48] Anindya B Das, Aditya Ramamoorthy, and Namrata Vaswani. Random convolutional coding for robust and straggler resilient distributed matrix computation. arXiv preprint arXiv:1907.08064, 2019.
  • [49] Aditya Ramamoorthy, Anindya Bijoy Das, and Li Tang. Straggler-resistant distributed matrix computation via coding theory: Removing a bottleneck in large-scale data processing. IEEE Signal Processing Magazine, 37(3):136–145, 2020.
  • [50] Can Karakus, Yifan Sun, Suhas Diggavi, and Wotao Yin. Straggler mitigation in distributed optimization through data encoding. Advances in Neural Information Processing Systems, 30, 2017.
  • [51] R. Tandon, Q. Lei, A. G. Dimakis, and N. Karampatziakis. Gradient coding: Avoiding stragglers in distributed learning. In Proceedings of the 34th International Conference on Machine Learning (ICML), pages 3368–3376, Sydney, Australia, August 2017.
  • [52] Aditya Ramamoorthy and Li Tang. Numerically stable coded matrix computations via circulant and rotation matrix embeddings. IEEE Transactions on Information Theory, 68(4):2684–2703, 2021.
  • [53] Qian Yu, Mohammad Ali Maddah-Ali, and Amir Salman Avestimehr. Straggler mitigation in distributed matrix multiplication: Fundamental limits and optimal coding. IEEE Transactions on Information Theory, 66(3):1920–1933, 2020b.
  • [54] Mohammad Fahim and Viveck R. Cadambe. Numerically stable polynomially coded computing. IEEE Transactions on Information Theory, 67(5):2758–2785, 2021b.
  • [55] Jack Kosaian, KV Rashmi, and Shivaram Venkataraman. Parity models: A general framework for coding-based resilience in ml inference. arXiv preprint arXiv:1905.00863, 2019.
  • [56] J-P Berrut. Rational functions for guaranteed and experimentally well-conditioned global interpolation. Computers & Mathematics with Applications, 15(1):1–16, 1988.
  • [57] Giovanni Leoni. A first course in Sobolev spaces, volume 181. American Mathematical Society, 2024.
  • [58] Robert A Adams and John JF Fournier. Sobolev spaces. Elsevier, 2003.
  • [59] Alain Berlinet and Christine Thomas-Agnan. Reproducing kernel Hilbert spaces in probability and statistics. Springer Science & Business Media, 2011.
  • [60] Grace Wahba. Spline models for observational data. SIAM, 1990.
  • [61] David L Ragozin. Error bounds for derivative estimates based on spline smoothing of exact or noisy data. Journal of approximation theory, 37(4):335–355, 1983.
  • [62] Florencio I Utreras. Convergence rates for multivariate smoothing spline functions. Journal of approximation theory, 52(1):1–27, 1988.

Appendix A Preliminaries

A.1 Sobolev spaces and Sobolev norms

Let Ω\Omega be an open interval in M\mathbb{R}^{M} and MM be a positive integer. We denote by Lp(Ω,M){L}^{p}\left(\Omega;\mathbb{R}^{M}\right) the class of all measurable functions g:Mg:\mathbb{R}\to\mathbb{R}^{M} that satisfy:

Ω|gj(t)|p𝑑t<j[M],\displaystyle\int_{\Omega}|g_{j}(t)|^{p}\,dt\ <\infty\quad\forall j\in[M], (12)

where g()=[g1(),,gM()]Tg(\cdot)=[g_{1}(\cdot),\dots,g_{M}(\cdot)]^{T}. The space Lp(Ω,M){L}^{p}\left(\Omega;\mathbb{R}^{M}\right) can be endowed with the following norm, known as 𝕃p\mathbb{L}^{p} norm:

gLp(Ω,M):=(j=1MΩ|gi(t)|p𝑑t)1p,\displaystyle||g||_{{L}^{p}\left(\Omega;\mathbb{R}^{M}\right)}:=\left(\sum^{M}_{j=1}\int_{\Omega}|g_{i}(t)|^{p}\,dt\right)^{\frac{1}{p}}, (13)

for 1p<1\leqslant p<\infty and

gL(Ω,M):=maxsuptΩj[M]|gj(t)|.\displaystyle||g||_{{L}^{\infty}\left(\Omega;\mathbb{R}^{M}\right)}:=\max_{j\in[M]}\sup_{t\in\Omega}|g_{j}(t)|. (14)

for p=p=\infty. Additionally, a function g:ΩMg:\Omega\to\mathbb{R}^{M} is in Llocp(Ω,M){L}_{\textrm{loc}}^{p}\left(\Omega;\mathbb{R}^{M}\right) if it lies in 𝕃p(V,M)\mathbb{L}^{p}(V;\mathbb{R}^{M}) for all compact subsets VΩV\subseteq\Omega.

Definition 1.

(Sobolev Space): The Sobolev space 𝕎m,p(Ω,M)\mathbb{W}^{m,p}\left(\Omega;\mathbb{R}^{M}\right) is the space of all functions gLp(Ω,M)g\in{L}^{p}\left(\Omega;\mathbb{R}^{M}\right) such that all weak derivatives of order jj, denoted by g(i)g^{(i)}, belong to Lp(Ω,M){L}^{p}\left(\Omega;\mathbb{R}^{M}\right) for j[m]j\in[m]. This space is endowed with the norm:

g𝕎m,p(Ω,M):=(gLp(Ω,M)p+i=1mg(i)Lp(Ω,M)p)1p,\displaystyle\left\lVert g\right\rVert_{\mathbb{W}^{m,p}\left(\Omega;\mathbb{R}^{M}\right)}:=\left(\left\lVert g\right\rVert_{{L}^{p}\left(\Omega;\mathbb{R}^{M}\right)}^{p}+\sum^{m}_{i=1}\left\lVert g^{(i)}\right\rVert_{{L}^{p}\left(\Omega;\mathbb{R}^{M}\right)}^{p}\right)^{\frac{1}{p}}, (15)

for 1p<1\leqslant p<\infty and

g𝕎m,(Ω,M):=maxi[m]gj(i)L(Ω,),\displaystyle||g||_{\mathbb{W}^{m,\infty}\left(\Omega;\mathbb{R}^{M}\right)}:=\max_{i\in[m]}\left\lVert g^{(i)}_{j}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}, (16)

for p=p=\infty.

Subsequently, let us define Sobolev space 𝕎locm,p(Ω,M)\mathbb{W}_{\textrm{loc}}^{m,p}\left(\Omega;\mathbb{R}^{M}\right) as the space of all functions gLlocp(Ω,M)g\in{L}_{\textrm{loc}}^{p}\left(\Omega;\mathbb{R}^{M}\right) with all weak derivatives of order jj belonging to Llocp(Ω,M){L}_{\textrm{loc}}^{p}\left(\Omega;\mathbb{R}^{M}\right) for j[M]j\in[M]. g𝕎locm,p(Ω,M)\left\lVert g\right\rVert_{\mathbb{W}_{\textrm{loc}}^{m,p}\left(\Omega;\mathbb{R}^{M}\right)} and g𝕎m,(Ω,M)\left\lVert g\right\rVert_{\mathbb{W}^{m,\infty}\left(\Omega;\mathbb{R}^{M}\right)} are defined similar to (15) and (16) respectively, using Llocp(Ω,){L}_{\textrm{loc}}^{p}\left(\Omega;\mathbb{R}\right) instead of Lp(Ω,){L}^{p}\left(\Omega;\mathbb{R}\right).

The next theorem provides an upper bound for 𝕃p\mathbb{L}^{p} norm of functions in the Sobolev space, which plays a crucial role in the proof of the main theorems of the paper.

Theorem 5.

([57, Theorem 7.34]) Let Ω\Omega\subset\mathbb{R} be an open interval and let g𝕎loc1,1(Ω,)g\in\mathbb{W}_{\textrm{loc}}^{1,1}\left(\Omega;\mathbb{R}\right). Assume 1p,q,r1\leqslant p,q,r\leqslant\infty and rqr\geqslant q. Then:

gLr(Ω,M)1r1qgLq(Ω,M)+11p+1rgLp(Ω,M),\displaystyle\left\lVert g\right\rVert_{{L}^{r}\left(\Omega;\mathbb{R}^{M}\right)}\leqslant\ell^{\frac{1}{r}-\frac{1}{q}}\left\lVert g\right\rVert_{{L}^{q}\left(\Omega;\mathbb{R}^{M}\right)}+\ell^{1-\frac{1}{p}+\frac{1}{r}}\left\lVert g^{\prime}\right\rVert_{{L}^{p}\left(\Omega;\mathbb{R}^{M}\right)}, (17)

for every 0<<1(Ω)0<\ell<\mathcal{L}^{1}(\Omega).

Note that 1(Ω)\mathcal{L}^{1}(\Omega) in Theorem 5 is the length of the interval Ω\Omega.

Corollary 3.

Suppose g𝕎loc1,1(Ω,)g\in\mathbb{W}_{\textrm{loc}}^{1,1}\left(\Omega;\mathbb{R}\right) and Ω\Omega\subset\mathbb{R} be an open interval. If gL2(Ω,M)gL2(Ω,M)<1(Ω)\frac{\left\lVert g\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}^{M}\right)}}{\left\lVert g^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}^{M}\right)}}<\mathcal{L}^{1}(\Omega) then:

gL(Ω,M)2gLq(Ω,M)gLp(Ω,M).\displaystyle\left\lVert g\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}^{M}\right)}\leqslant 2\left\lVert g\right\rVert_{{L}^{q}\left(\Omega;\mathbb{R}^{M}\right)}\cdot\left\lVert g^{\prime}\right\rVert_{{L}^{p}\left(\Omega;\mathbb{R}^{M}\right)}. (18)
Proof.

Substituting p,q=2p,q=2 and r=r=\infty in Theorem 5 and optimizing over \ell, one can derive the optimum value of \ell, denoted by \ell^{*} as

=gL2(Ω,M)gL2(Ω,M).\displaystyle\ell^{*}=\frac{\left\lVert g\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}^{M}\right)}}{\left\lVert g^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}^{M}\right)}}. (19)

Since gL2(Ω,M)gL2(Ω,M)<1(Ω)\frac{\left\lVert g\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}^{M}\right)}}{\left\lVert g^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}^{M}\right)}}<\mathcal{L}^{1}(\Omega), the optimum value is in the valid interval mentioned in Theorem 5. ∎

Corollary 4.

Theorem 5 remains true when f𝕎2,2(Ω,)f\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right):

Proof.

We prove the above corollary by showing that 𝕎2,2(Ω,)𝕎1,1(Ω,)\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)\subseteq\mathbb{W}^{1,1}\left(\Omega;\mathbb{R}\right). Using Cauchy-Schwartz inequality, one can show:

fL1(Ω,)=Ω|f(t)|𝑑t((Ω12𝑑t)(Ωf2(t)𝑑t))12(1(Ω))12(Ωf2(t)𝑑t)12<(a),\displaystyle\left\lVert f\right\rVert_{{L}^{1}\left(\Omega;\mathbb{R}\right)}=\int_{\Omega}|f(t)|\,dt\leqslant\left((\int_{\Omega}1^{2}\,dt)\cdot(\int_{\Omega}f^{2}(t)\,dt)\right)^{\frac{1}{2}}\leqslant\left(\mathcal{L}^{1}(\Omega)\right)^{\frac{1}{2}}\cdot(\int_{\Omega}f^{2}(t)\,dt)^{\frac{1}{2}}\stackrel{{\scriptstyle\text{(a)}}}{{<}}\infty, (20)

where (a) follows from the bounded length of Ω\Omega and f𝕎2,2(Ω,)f\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right). Similarly:

fL1(Ω,)=Ω|f(t)|𝑑t((Ω12𝑑t)(Ωf2(t)𝑑t))12(1(Ω))12(Ωf2(t)𝑑t)12<(a),\displaystyle\left\lVert f^{\prime}\right\rVert_{{L}^{1}\left(\Omega;\mathbb{R}\right)}=\int_{\Omega}|f^{\prime}(t)|\,dt\leqslant\left((\int_{\Omega}1^{2}\,dt)\cdot(\int_{\Omega}f^{\prime 2}(t)\,dt)\right)^{\frac{1}{2}}\leqslant\left(\mathcal{L}^{1}(\Omega)\right)^{\frac{1}{2}}\cdot(\int_{\Omega}f^{\prime 2}(t)\,dt)^{\frac{1}{2}}\stackrel{{\scriptstyle\text{(a)}}}{{<}}\infty, (21)

Equations (20) and (21) complete the proof. ∎

Equivalent norms. There have been various norms defined on Sobolev spaces in the literature that are equivalent to (15) (see [58], [59, Ch. 7], and [60, Sec. 10.2]). Note that two norms W1,W2\left\lVert\cdot\right\rVert_{W_{1}},\left\lVert\cdot\right\rVert_{W_{2}} are equivalent if there exist positive constants η1,η2\eta_{1},\eta_{2} such that η1gW2gW1η2gW2\eta_{1}\cdot\left\lVert g\right\rVert_{W_{2}}\leqslant\left\lVert g\right\rVert_{W_{1}}\leqslant\eta_{2}\cdot\left\lVert g\right\rVert_{W_{2}}. The equivalent norm that we are interested in is the one introduced in [32]. Let Ω=(a,b)\Omega=(a,b)\subset\mathbb{R}. The Sobolev space 𝕎~m,p(Ω,M)\widetilde{\mathbb{W}}^{m,p}\left(\Omega;\mathbb{R}^{M}\right) can be endowed by the norm

g𝕎~m,p(Ω,M):=(j=1Mg(a)p+i=1m1j=1M(g(i)(a))p+g(m)Lp(Ω,M)p)1p.\displaystyle\left\lVert g\right\rVert_{\widetilde{\mathbb{W}}^{m,p}\left(\Omega;\mathbb{R}^{M}\right)}:=\left(\sum^{M}_{j=1}g(a)^{p}+\sum^{m-1}_{i=1}\sum^{M}_{j=1}\left(g^{(i)}(a)\right)^{p}+\left\lVert g^{(m)}\right\rVert_{{L}^{p}\left(\Omega;\mathbb{R}^{M}\right)}^{p}\right)^{\frac{1}{p}}. (22)

The following lemma derives the equivalency constants (η1,η2\eta_{1},\eta_{2}) for the norms 𝕎2,2(Ω,)\left\lVert\cdot\right\rVert_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)} and 𝕎2,2(Ω,)\left\lVert\cdot\right\rVert_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}.

Lemma 1.

Let Ω=(a,b)\Omega=(a,b) an arbitrary interval in \mathbb{R}. Then for every g𝕎2,2(Ω,)g\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right):

g𝕎2,2(Ω,)2(6(ba).max{1,(ba)}3+1)g𝕎~2,2(Ω,)2\displaystyle\left\lVert g\right\rVert^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}\leqslant\left(6(b-a).\max\{1,(b-a)\}^{3}+1\right)\cdot\left\lVert g\right\rVert^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}\right)} (23)
g𝕎~2,2(Ω,)2(4(ba)max{1,(ba)}2+1)g𝕎2,2(Ω,)2.\displaystyle\left\lVert g\right\rVert^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}\right)}\leqslant\left(\frac{4}{(b-a)}\max\{1,(b-a)\}^{2}+1\right)\left\lVert g\right\rVert^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}. (24)
Proof.

By expanding gg around the point aa and using the integral reminder form of Taylor’s expansion, for every x(a,b)x\in(a,b):

g(x)=g(a)+axg(t)𝑑t.g(x)=g(a)+\int_{a}^{x}g^{\prime}(t)\,dt.

Thus:

g(x)2\displaystyle g(x)^{2} =g(a)2+(axg(t)𝑑t)2+2g(a)axg(t)𝑑t\displaystyle=g(a)^{2}+\left(\int_{a}^{x}g^{\prime}(t)\,dt\right)^{2}+2g(a)\cdot\int_{a}^{x}g^{\prime}(t)\,dt
(a)2g(a)2+2(axg(t)𝑑t)2\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}2g(a)^{2}+2\left(\int_{a}^{x}g^{\prime}(t)\,dt\right)^{2}
(b)2g(a)2+2(xa)axg(t)2𝑑t\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{\leqslant}}2g(a)^{2}+2(x-a)\int_{a}^{x}g^{\prime}(t)^{2}\,dt
(c)2g(a)2+2(ba)abg(t)2𝑑t,\displaystyle\stackrel{{\scriptstyle\text{(c)}}}{{\leqslant}}2g(a)^{2}+2(b-a)\int_{a}^{b}g^{\prime}(t)^{2}\,dt, (25)

where (a) follows from the 2g(a)axg(t)𝑑tg(a)2+(axg(t)𝑑t)22g(a)\cdot\int_{a}^{x}g^{\prime}(t)\,dt\leqslant g(a)^{2}+\left(\int_{a}^{x}g^{\prime}(t)\,dt\right)^{2}, (b) is based on Cauchy-Schwarz inequality, and (c) is due to xbx\leqslant b. Following the same steps as (25), we have:

g(x)22g(a)2+2(ba)abg′′(t)2𝑑t.\displaystyle g^{\prime}(x)^{2}\leqslant 2g^{\prime}(a)^{2}+2(b-a)\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt. (26)

Integrating both sides of (26) we have:

abg(y)2𝑑y\displaystyle\int_{a}^{b}g^{\prime}(y)^{2}\,dy 2abg(a)2𝑑y+2(ba)ab(abg′′(t)2𝑑t)𝑑y\displaystyle\leqslant 2\int_{a}^{b}g^{\prime}(a)^{2}\,dy+2(b-a)\int_{a}^{b}\left(\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt\right)\,dy
=2(ba).g(a)2+2(ba)2abg′′(t)2𝑑t\displaystyle=2(b-a).g^{\prime}(a)^{2}+2(b-a)^{2}\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt
(a)2(ba)max{1,(ba)}(g(a)2+g(a)2+abg′′(t)2𝑑t)\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}2(b-a)\cdot\max\{1,(b-a)\}\cdot\left(g(a)^{2}+g^{\prime}(a)^{2}+\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt\right)
=2(ba)max{1,(ba)}g𝕎~2,2(Ω,)2,\displaystyle=2(b-a)\cdot\max\{1,(b-a)\}\cdot\left\lVert g\right\rVert^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}\right)}, (27)

where (a) is based on adding a positive term g(a)2g(a)^{2}. Based on the (25),(27) we have:

abg(x)2𝑑x\displaystyle\int_{a}^{b}g(x)^{2}\,dx (a)2abg(a)2𝑑x+2(ba)ab(abg(t)2𝑑t)𝑑x\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}2\int_{a}^{b}g(a)^{2}\,dx+2(b-a)\int_{a}^{b}\left(\int_{a}^{b}g^{\prime}(t)^{2}\,dt\right)\,dx
=2(ba).g(a)2+2(ba)2abg(t)2𝑑t\displaystyle=2(b-a).g(a)^{2}+2(b-a)^{2}\int_{a}^{b}g^{\prime}(t)^{2}\,dt
(b)2(ba).g(a)2+4(ba)3.g(a)2+4(ba)4abg′′(t)2𝑑t\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{\leqslant}}2(b-a).g(a)^{2}+4(b-a)^{3}.g^{\prime}(a)^{2}+4(b-a)^{4}\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt
4(ba).max{1,(ba)3}g𝕎~2,2(Ω,)2,\displaystyle\leqslant 4(b-a).\max\{1,(b-a)^{3}\}\cdot\left\lVert g\right\rVert^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}\right)}, (28)

where (a) follows by integrating both sides of (25) and (b) is due to (26). Using (28) and (27) and the fact that abg′′(t)2𝑑tg𝕎2(Ω)2\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt\leqslant||g||^{2}_{\mathbb{W}^{2}(\Omega)}, we have:

g𝕎2,2(Ω,)2\displaystyle\left\lVert g\right\rVert^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)} :=abg′′(t)2𝑑t+abg(t)2𝑑t+abg(t)2𝑑t\displaystyle:=\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt+\int_{a}^{b}g^{\prime}(t)^{2}\,dt+\int_{a}^{b}g(t)^{2}\,dt
(6(ba).max{1,(ba)}3+1)g𝕎~2,2(Ω,)2.\displaystyle\leqslant\left(6(b-a).\max\{1,(b-a)\}^{3}+1\right)\cdot\left\lVert g\right\rVert^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}\right)}. (29)

For the other side, using the same steps as in (25), we have:

g(a)2\displaystyle g(a)^{2} =g(x)2+(axg(t)𝑑t)22g(a).axg(t)𝑑t\displaystyle=g(x)^{2}+\biggl(\int_{a}^{x}g^{\prime}(t)\,dt\biggr)^{2}-2g(a).\int_{a}^{x}g^{\prime}(t)\,dt
(a)2g(x)2+2(axg(t)𝑑t)2\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}2g(x)^{2}+2\biggl(\int_{a}^{x}g^{\prime}(t)\,dt\biggr)^{2}
(b)2g(x)2+2(xa)axg(t)2𝑑t\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{\leqslant}}2g(x)^{2}+2(x-a)\int_{a}^{x}g^{\prime}(t)^{2}\,dt
(c)2g(x)2+2(ba)abg(t)2𝑑t,\displaystyle\stackrel{{\scriptstyle\text{(c)}}}{{\leqslant}}2g(x)^{2}+2(b-a)\int_{a}^{b}g^{\prime}(t)^{2}\,dt, (30)

where (a) is because of 2g(a)axg(t)dtg(a)2+(axg(t)dt)2-2g(a)\cdot\int_{a}^{x}g^{\prime}(t)\,dt\leqslant g(a)^{2}+\left(\int_{a}^{x}g^{\prime}(t)\,dt\right)^{2}, (b) follows from Cauchy-Schwarz inequality, and (c) is due to xbx\leqslant b. Integrating both sides of (30), we have

(ba)g(a)2=abg(a)2𝑑x\displaystyle(b-a)\cdot g(a)^{2}=\int_{a}^{b}g(a)^{2}\,dx 2abg(x)2𝑑x+2(ba)ab(abg(t)2𝑑t)𝑑x\displaystyle\leqslant 2\int_{a}^{b}g(x)^{2}\,dx+2(b-a)\int_{a}^{b}\left(\int_{a}^{b}g^{\prime}(t)^{2}\,dt\right)\,dx
=(a)2abg(t)2𝑑t+2(ba)2abg(t)2𝑑t\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{=}}2\int_{a}^{b}g(t)^{2}\,dt+2(b-a)^{2}\int_{a}^{b}g^{\prime}(t)^{2}\,dt
(b)2max{1,(ba)}2(abg(t)2𝑑t+abg(t)2𝑑t+abg′′(t)2𝑑t)\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{\leqslant}}2\max\{1,(b-a)\}^{2}\left(\int_{a}^{b}g(t)^{2}\,dt+\int_{a}^{b}g^{\prime}(t)^{2}\,dt+\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt\right)
2max{1,(ba)}2g|𝕎2,2(Ω,)2,\displaystyle\leqslant 2\max\{1,(b-a)\}^{2}\left\lVert g\right\rVert|^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}, (31)

where (a) follows by a change of variable from xx to tt and (b) follows by adding a positive term abg′′(t)2𝑑t\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt to the right side. Thus, (31) directly results in

g(a)22(ba)max{1,(ba)}2g|𝕎2,2(Ω,)2.\displaystyle g(a)^{2}\leqslant\frac{2}{(b-a)}\max\{1,(b-a)\}^{2}\left\lVert g\right\rVert|^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}. (32)

Following same steps as (31) and (32) results in

g(a)22(ba)max{1,(ba)}2g|𝕎2,2(Ω,)2.\displaystyle g^{\prime}(a)^{2}\leqslant\frac{2}{(b-a)}\max\{1,(b-a)\}^{2}\left\lVert g\right\rVert|^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}. (33)

Considering the fact that abg′′(t)2𝑑tg|𝕎2,2(Ω,)2\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt\leqslant\left\lVert g\right\rVert|^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)} we complete the proof:

g|𝕎~2,2(Ω,)2\displaystyle\left\lVert g\right\rVert|^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}\right)} :=g(a)2+g(a)2+abg′′(t)2𝑑t\displaystyle:=g(a)^{2}+g^{\prime}(a)^{2}+\int_{a}^{b}g^{\prime\prime}(t)^{2}\,dt
(4(ba)max{1,(ba)}2+1)g|𝕎2,2(Ω,)2.\displaystyle\leqslant\left(\frac{4}{(b-a)}\max\{1,(b-a)\}^{2}+1\right)\left\lVert g\right\rVert|^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}. (34)

Corollary 5.

Based on Lemma 1, for Ω=(1,1)\Omega=(-1,1) we have

19g𝕎~2,2(Ω,)2g𝕎2,2(Ω,)297g𝕎~2,2(Ω,)2.\displaystyle\frac{1}{9}\cdot\left\lVert g\right\rVert^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}\right)}\leqslant\left\lVert g\right\rVert^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}\leqslant 97\cdot\left\lVert g\right\rVert^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}\right)}. (35)

Corollary 5 directly follows from Lemma 1 by substituting (a,b)=(1,1)(a,b)=(-1,1).

Corollary 6.

The result of Lemma 1 remains valid for multi-dimensional cases, where g:Mg:\mathbb{R}\to\mathbb{R}^{M}, for some M>1M>1.

Corollary 6 directly follows from applying Lemma 1 to each component of the function g()g(\cdot) and using the fact that

g𝕎2,2(Ω,M)2=j=1Mg(j)𝕎2,2(Ω,)2,g𝕎~2,2(Ω,M)2=j=1Mg(j)𝕎~2,2(Ω,)2.\left\lVert g\right\rVert^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}^{M}\right)}=\sum^{M}_{j=1}\left\lVert g^{(j)}\right\rVert^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)},\quad\left\lVert g\right\rVert^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}^{M}\right)}=\sum^{M}_{j=1}\left\lVert g^{(j)}\right\rVert^{2}_{\widetilde{\mathbb{W}}^{2,2}\left(\Omega;\mathbb{R}\right)}.

A.2 Smoothing Splines

Consider the data model yi=f(ti)+ϵiy_{i}=f(t_{i})+\epsilon_{i} for i=1,,ni=1,\dots,n, where tiΩ=(a,b)t_{i}\in\Omega=(a,b), 𝔼[ϵi]=0\mathbb{E}[\epsilon_{i}]=0, 𝔼[ϵi2]σ02\mathbb{E}[\epsilon_{i}^{2}]\leqslant\sigma_{0}^{2}. Assume f𝕎m,2(Ω,)f\in\mathbb{W}^{m,2}\left(\Omega;\mathbb{R}\right), then the solution of the following optimization problem is known as smoothing spline:

𝐒λ,n,m(𝐲):=argminu𝕎m,2(Ω,)1ni=1n(u(ti)yi)2+λΩ(u(m)(t))2𝑑t,\displaystyle\mathbf{S}_{\lambda,n,m}(\mathbf{y}):=\underset{u\in\mathbb{W}^{m,2}\left(\Omega;\mathbb{R}\right)}{\operatorname{argmin}}\frac{1}{n}\sum^{n}_{i=1}\left(u\left(t_{i}\right)-y_{i}\right)^{2}+\lambda\int_{\Omega}\left(u^{(m)}(t)\right)^{2}\,dt, (36)

where 𝐲=[y1,,yn]\mathbf{y}=[y_{1},\dots,y_{n}].

Proposition 1.

([57, Section 7.2], [59, Theorem 121]) For any open interval Ω\Omega\subseteq\mathbb{R} and m,Mm,M\in\mathbb{N},

m(Ω,m):=𝕎m,2(Ω,M),~m(Ω,M):=𝕎~m,2(Ω,M)\displaystyle\mathcal{H}^{m}\left(\Omega;\mathbb{R}^{m}\right):=\mathbb{W}^{m,2}\left(\Omega;\mathbb{R}^{M}\right),\quad\widetilde{\mathcal{H}}^{m}\left(\Omega;\mathbb{R}^{M}\right):=\widetilde{\mathbb{W}}^{m,2}\left(\Omega;\mathbb{R}^{M}\right) (37)

are Reproducing Kernel Hilbert Spaces (RKHS).

Based on 1, there exists a kernel ϕ(,)\phi(\cdot,\cdot) associated with the Sobolev norm such that for any v𝕎m,2(Ω,)v\in\mathbb{W}^{m,2}\left(\Omega;\mathbb{R}\right), we have:

v(t)=v(),ϕ(,t)2(Ω,).\displaystyle v(t)=\langle v(\cdot),\phi(\cdot,t)\rangle_{\mathcal{H}^{2}\left(\Omega;\mathbb{R}\right)}. (38)

The solution of (36) has the following form [60, 30]:

u()=i=1mdiζi()+j=1nciνi(),\displaystyle u^{*}(\cdot)=\sum^{m}_{i=1}d_{i}\zeta_{i}(\cdot)+\sum^{n}_{j=1}c_{i}\nu_{i}(\cdot), (39)

where {ζi()}i=1m\left\{\zeta_{i}(\cdot)\right\}^{m}_{i=1} are basis functions of the space of all polynomials with degree less than or equal to m1m-1, and νj()=ϕ(,tj)\nu_{j}(\cdot)=\phi(\cdot,t_{j}) for j=1,,nj=1,\dots,n. Substituting uu^{*} into (36) and optimizing over 𝐝=[d1,,dm]T,𝐜=[c1,,cn]T\mathbf{d}=[d_{1},\dots,d_{m}]^{T},\mathbf{c}=[c_{1},\dots,c_{n}]^{T}, one can show that:

𝐒λ,n,m(𝐲)=(𝐈+nλ𝚪)1𝐲,\displaystyle\mathbf{S}_{\lambda,n,m}(\mathbf{y})=(\mathbf{I}+n\lambda\mathbf{\Gamma})^{-1}\mathbf{y}, (40)

where 𝚪=(𝐍T)1Φ𝐍(1)\mathbf{\Gamma}=(\mathbf{N}^{T})^{-1}\Phi\mathbf{N}^{(-1)}, with 𝐍,𝚽n×n\mathbf{N},\mathbf{\Phi}\in\mathbb{R}^{n\times n} are defined as:

𝐍ij=νj(xi)Φij=ϕi(),ϕj()2(Ω,).\displaystyle\mathbf{N}_{ij}=\nu_{j}(x_{i})\quad\,\quad\Phi_{ij}=\langle\phi_{i}(\cdot),\phi_{j}(\cdot)\rangle_{\mathcal{H}^{2}\left(\Omega;\mathbb{R}\right)}. (41)

Equation (40) states that the smoothing spline fitted on the data points 𝐲\mathbf{y} is a linear operator, i.e., 𝐒λ,n,m[𝐲](𝐳):=(𝐈+nλ𝚪)1𝐳\mathbf{S}_{\lambda,n,m}[\mathbf{y}](\mathbf{z}):=(\mathbf{I}+n\lambda\mathbf{\Gamma})^{-1}\mathbf{z} for 𝐳n\mathbf{z}\in\mathbb{R}^{n}.

To characterize the estimation error of the smoothing spline, |f𝐒λ,n,m(𝐲)||f-\mathbf{S}_{\lambda,n,m}(\mathbf{y})|, we need to define two variables analogous to those in (6), which quantify the minimum and maximum consecutive distance of the regression points {ti}i=1n\{t_{i}\}^{n}_{i=1}.

Δmax:=maxi{0,n}{ti+1ti},Δmin:=mini[n1]{ti+1ti}.\displaystyle\Delta_{\textrm{max}}:=\underset{i\in\{0,\dots n\}}{\max}\left\{t_{i+1}-t_{i}\right\},\quad\Delta_{\textrm{min}}:=\underset{i\in[n-1]}{\min}\left\{t_{i+1}-t_{i}\right\}. (42)

Note that the boundary points are defined as (t0,tn+1):=(a,b)(t_{0},t_{n+1}):=(a,b) in (42). The following theorem offers an upper bound for the jj-th derivative of the smoothing spline estimator error function in the absence of noise (σ0=0\sigma_{0}=0).

Theorem 6.

([61, Theorem 4.10]) Consider data model yi=f(ti)y_{i}=f(t_{i}) with {ti}i=1n\{t_{i}\}^{n}_{i=1} belong to Ω=[a,b]\Omega=[a,b] for i[n]i\in[n]. Let

L=p(ΔmaxΔmin)nΔmaxbaλ2+D(m)(Δmax)2m,L=p(\frac{\Delta_{\textrm{max}}}{\Delta_{\textrm{min}}})\cdot\frac{n\Delta_{\textrm{max}}}{b-a}\frac{\lambda}{2}+D(m)\cdot\left({\Delta_{\textrm{max}}}\right)^{2m},

where pm(ΔmaxΔmin)p_{m}\left(\frac{\Delta_{\textrm{max}}}{\Delta_{\textrm{min}}}\right) is a degree mm polynomial of ΔmaxΔmin\frac{\Delta_{\textrm{max}}}{\Delta_{\textrm{min}}} with positive weights and D(m) is a function of mm. Then for each j{0,1,,m}j\in\{0,1,\dots,m\} and any f𝕎m,2(Ω,)f\in\mathbb{W}^{m,2}\left(\Omega;\mathbb{R}\right), there exist a function H(m,j)H(m,j) such that:

(f𝐒λ,n,m(𝐲))(j)22H(m,j)(1+(L(ba)2m))jmL(mj)mf(m)22.\displaystyle\left\lVert\left(f-\mathbf{S}_{\lambda,n,m}(\mathbf{y})\right)^{(j)}\right\rVert_{2}^{2}\leqslant H(m,j)\left(1+\left(\frac{L}{(b-a)^{2m}}\right)\right)^{\frac{j}{m}}\cdot L^{\frac{(m-j)}{m}}\cdot\left\lVert f^{(m)}\right\rVert^{2}_{2}. (43)

Note that (f𝐒λ,n,m(𝐲))(0):=f𝐒λ,n,m(𝐲)\left(f-\mathbf{S}_{\lambda,n,m}(\mathbf{y})\right)^{(0)}:=f-\mathbf{S}_{\lambda,n,m}(\mathbf{y}) in (43). In the presence of noise, where σ0>0\sigma_{0}>0, we can leverage the linearity of the smoothing spline operator and the mutual independence of the noises to conclude that:

Eϵ[(f𝐒λ,n,m(𝐲))22]\displaystyle E_{\bm{\epsilon}}\left[\left\lVert\left(f-\mathbf{S}_{\lambda,n,m}(\mathbf{y})\right)\right\rVert_{2}^{2}\right] =Eϵ[(f𝐒λ,n,m[𝐲](𝐟+ϵ))22]\displaystyle=E_{\bm{\epsilon}}\left[\left\lVert\left(f-\mathbf{S}_{\lambda,n,m}[\mathbf{y}](\mathbf{f}+\bm{\epsilon})\right)\right\rVert_{2}^{2}\right]
=(f𝐒λ,n,m[𝐲](𝐟))22+Eϵ[(f𝐒λ,n,m[𝐲](ϵ))22],\displaystyle=\left\lVert\left(f-\mathbf{S}_{\lambda,n,m}[\mathbf{y}](\mathbf{f})\right)\right\rVert_{2}^{2}+E_{\bm{\epsilon}}\left[\left\lVert\left(f-\mathbf{S}_{\lambda,n,m}[\mathbf{y}](\bm{\epsilon})\right)\right\rVert_{2}^{2}\right], (44)

where 𝐟=[f(t1),,f(tn)]T\mathbf{f}=[f(t_{1}),\dots,f(t_{n})]^{T}. The first term in (44) can be upper bounded using Theorem 6. The following theorem provides an upper bound for the second term when Δmax/Δmin\nicefrac{{\Delta_{\textrm{max}}}}{{\Delta_{\textrm{min}}}} is bounded:

Theorem 7.

([62, Section 5]) Consider data model yi=f(ti)+ϵiy_{i}=f(t_{i})+\epsilon_{i}, where 𝔼[ϵi]=0\mathbb{E}[\epsilon_{i}]=0 and 𝔼[ϵi2]σ02\mathbb{E}[\epsilon_{i}^{2}]\leqslant\sigma_{0}^{2} for i[n]i\in[n]. Assume there exist a constant B>0B>0 such that ΔmaxΔminB\frac{\Delta_{\textrm{max}}}{\Delta_{\textrm{min}}}\leqslant B. Then for each j{0,1,,m}j\in\{0,1,\dots,m\}, there exist a constant λ0>0\lambda_{0}>0 and function Q(m,j)Q(m,j) such that:

Eϵ[(f𝐒λ,n,m[𝐲](ϵ))(j)22]Q(m,j)σ02nλ(2j+1)2m\displaystyle E_{\bm{\epsilon}}\left[\left\lVert\left(f-\mathbf{S}_{\lambda,n,m}[\mathbf{y}](\bm{\epsilon})\right)^{(j)}\right\rVert_{2}^{2}\right]\leqslant\frac{Q(m,j)\cdot\sigma_{0}^{2}}{n}\lambda^{\frac{-(2j+1)}{2m}} (45)

for λλ0\lambda\leqslant\lambda_{0} and nλ12m1n\lambda^{\frac{1}{2m}}\geqslant 1.

Appendix B Proof of Theorems

Recall from (2) that (f^)enc(f^)+dec(f^)\mathcal{R}(\hat{f})\leqslant\mathcal{L}_{\textrm{enc}}(\hat{f})+\mathcal{L}_{\textrm{dec}}(\hat{f}), where

dec(f^)=𝔼ϵ,FS,N[2Kk=1K(udec(αk)f(uenc(αk)))22],\displaystyle\mathcal{L}_{\textrm{dec}}(\hat{f})=\mathbb{E}_{\epsilon,\mathcal{F}\sim F_{S,N}}\left[\frac{2}{K}\sum^{K}_{k=1}\left(u_{\textrm{dec}}(\alpha_{k})-f(u_{\textrm{enc}}(\alpha_{k}))\right)^{2}_{2}\right], (46)
enc(f^)=2Kk=1K(f(uenc(αk))f(xk))22.\displaystyle\mathcal{L}_{\textrm{enc}}(\hat{f})=\frac{2}{K}\sum^{K}_{k=1}\left(f(u_{\textrm{enc}}(\alpha_{k}))-f(x_{k})\right)^{2}_{2}. (47)

We begin by deriving a general intermediate bound for dec\mathcal{L}_{\textrm{dec}} and enc\mathcal{L}_{\textrm{enc}} which will be a key component in the proofs of Theorems 2 and 1. The subsequent subsections will then provide the remaining details to complete the proofs of these theorems.

Lemma 2.

Let f:f:\mathbb{R}\to\mathbb{R} be a qq-Lipschitz continuous function. Then:

enc2q2Kk=1K(uenc(αk)xk)2.\displaystyle\mathcal{L}_{\textrm{enc}}\leqslant\frac{2q^{2}}{K}\sum^{K}_{k=1}(u_{\textrm{enc}}(\alpha_{k})-x_{k})^{2}. (48)
Proof.

Using Lipschitz property, we have:

enc\displaystyle\mathcal{L}_{\textrm{enc}} =2Kk=1K(f(uenc(αk))f(xk))2\displaystyle=\frac{2}{K}\sum^{K}_{k=1}\left(f(u_{\textrm{enc}}(\alpha_{k}))-f(x_{k})\right)^{2}
=2Kk=1K(|f(uenc(αk))f(xk)|)2\displaystyle=\frac{2}{K}\sum^{K}_{k=1}\left(|f(u_{\textrm{enc}}(\alpha_{k}))-f(x_{k})|\right)^{2}
2Kk=1K(q|uenc(αk)xk|)2\displaystyle\leqslant\frac{2}{K}\sum^{K}_{k=1}\left(q\cdot|u_{\textrm{enc}}(\alpha_{k})-x_{k}|\right)^{2}
=2q2Kk=1K(uenc(αk)xk)2.\displaystyle=\frac{2q^{2}}{K}\sum^{K}_{k=1}(u_{\textrm{enc}}(\alpha_{k})-x_{k})^{2}. (49)

As previously mentioned, dec\mathcal{L}_{\textrm{dec}} represents the expected generalization error of the decoder function. To leverage the results from Theorems 6 and 7 we must establish that the composition of ff with the encoder uencu_{\textrm{enc}} belongs to the Sobolev space 𝕎2,2(Ω,)\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right).

Lemma 3.

Let f:f:\mathbb{R}\to\mathbb{R} be a qq-Lipschitz continuous function with f′′L(Ω,)q~\left\lVert f^{\prime\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\leqslant\tilde{q} and Ω\Omega\subset\mathbb{R} be an open interval. If uenc𝕎2,2(Ω,)u_{\textrm{enc}}\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right) then fuenc𝕎2,2(Ω,)f\circ u_{\textrm{enc}}\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right).

Proof.

Let us define f0(t):=f(t)f(0)f_{0}(t):=f(t)-f(0). Thus f0(0)=0f_{0}(0)=0 and f0f_{0} is qq-Lipschitz. Using Lipschitz property

|f0(uenc(t))|2=|f0(uenc(t))f0(0)|2q2uenc(t)2.\displaystyle|f_{0}(u_{\textrm{enc}}(t))|^{2}=|f_{0}(u_{\textrm{enc}}(t))-f_{0}(0)|^{2}\leqslant q^{2}\cdot u_{\textrm{enc}}(t)^{2}. (50)

Integrating both sides of (50):

Ω(f0uenc(t))2𝑑tq2Ωuenc(t)2𝑑t<(a),\displaystyle\int_{\Omega}(f_{0}\circ u_{\textrm{enc}}(t))^{2}\,dt\leqslant q^{2}\cdot\int_{\Omega}u_{\textrm{enc}}(t)^{2}\,dt\stackrel{{\scriptstyle\text{(a)}}}{{<}}\infty, (51)

where (a) follows by uenc𝕎2,2(Ω,)u_{\textrm{enc}}\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right). Given that f0f_{0} is qq-Lipschitz, its derivative is bounded in the L(Ω,){L}^{\infty}\left(\Omega;\mathbb{R}\right)-norm, i.e., f0L(Ω,)q\left\lVert f^{\prime}_{0}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\leqslant q. Thus

Ω((f0uenc(t)))2𝑑t=(a)Ω(f0(uenc(t)))2uenc(t)2𝑑tq2Ωuenc(t)2𝑑t<(b),\displaystyle\int_{\Omega}\left((f_{0}\circ u_{\textrm{enc}}(t)\right)^{\prime})^{2}\,dt\stackrel{{\scriptstyle\text{(a)}}}{{=}}\int_{\Omega}\left(f^{\prime}_{0}(u_{\textrm{enc}}(t))\right)^{2}\cdot u_{\textrm{enc}}^{\prime}(t)^{2}\,dt\leqslant q^{2}\cdot\int_{\Omega}u_{\textrm{enc}}^{\prime}(t)^{2}\,dt\stackrel{{\scriptstyle\text{(b)}}}{{<}}\infty, (52)

where (a) follows by chain rule and (b) follows by uenc𝕎2,2(Ω,)u_{\textrm{enc}}\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right).

Ω[f0(uenc(t))′′]2𝑑t\displaystyle\int_{\Omega}\left[f_{0}(u_{\textrm{enc}}(t))^{\prime\prime}\right]^{2}\,dt =(a)Ω[uenc′′(t)f0(uenc(t))+uenc(t)2f0′′(uenc(t))]2𝑑t\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{=}}\int_{\Omega}\left[u_{\textrm{enc}}^{\prime\prime}(t)\cdot f_{0}^{\prime}(u_{\textrm{enc}}(t))+u_{\textrm{enc}}^{\prime}(t)^{2}\cdot f_{0}^{\prime\prime}(u_{\textrm{enc}}(t))\right]^{2}\,dt
(b)Ω[uenc′′(t)2+uenc(t)4][f0(uenc(t))2+f0′′(uenc(t))2]𝑑t\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{\leqslant}}\int_{\Omega}\left[u_{\textrm{enc}}^{\prime\prime}(t)^{2}+u_{\textrm{enc}}^{\prime}(t)^{4}\right]\left[f_{0}^{\prime}(u_{\textrm{enc}}(t))^{2}+f_{0}^{\prime\prime}(u_{\textrm{enc}}(t))^{2}\right]\,dt
(c)(q2+q~2)Ω[uenc′′(t)2+uenc(t)4]𝑑t\displaystyle\stackrel{{\scriptstyle\text{(c)}}}{{\leqslant}}(q^{2}+\tilde{q}^{2})\int_{\Omega}\left[u_{\textrm{enc}}^{\prime\prime}(t)^{2}+u_{\textrm{enc}}^{\prime}(t)^{4}\right]\,dt
(d)(q2+q~2)[Ωuenc′′(t)2𝑑t+(Ωuenc(t)2)2𝑑t]<(e),\displaystyle\stackrel{{\scriptstyle\text{(d)}}}{{\leqslant}}(q^{2}+\tilde{q}^{2})\left[\int_{\Omega}u_{\textrm{enc}}^{\prime\prime}(t)^{2}\,dt+\left(\int_{\Omega}u_{\textrm{enc}}^{\prime}(t)^{2}\right)^{2}\,dt\right]\stackrel{{\scriptstyle\text{(e)}}}{{<}}\infty, (53)

where (a) follows by chain rule, (b) and (d) follow by Cauchy-Schwartz inequality, (c) follows by f0′′L(Ω,)q~\left\lVert f_{0}^{\prime\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\leqslant\tilde{q} and (e) follows by uenc𝕎2,2(Ω,)u_{\textrm{enc}}\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right). Equations (51), (52), and (53) prove that f0uenc𝕎2,2(Ω,)f_{0}\circ u_{\textrm{enc}}\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right). Observe that Ω\Omega is bounded and every constant function lies in the 𝕎2,2(Ω,)\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right). Therefore, we can conclude that f0uenc(t)+f(0)=fuenc(t)𝕎2,2(Ω,)f_{0}\circ u_{\textrm{enc}}(t)+f(0)=f\circ u_{\textrm{enc}}(t)\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right). ∎

Let us define the function h(t):=udec(t)f(uenc(t))h(t):=u_{\textrm{dec}}(t)-f(u_{\textrm{enc}}(t)). Based on Lemma 3, given that udec,fuenc𝕎2,2(Ω,)u_{\textrm{dec}},f\circ u_{\textrm{enc}}\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right), thus h𝕎2,2(Ω,)h\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right). The following lemmas upper bound the discrete sum present in (46) with its continuous integral.

Lemma 4.

Let Ω=(a,b)\Omega=(a,b) be an open bounded interval on \mathbb{R}, αk=a+k(ba)K+1\alpha_{k}=a+k\frac{(b-a)}{K+1} for k[K]k\in[K]. Then:

1Kk=1Kh2(αk)K+1K(ba)hL2(Ω,)2+(ba)K+1hL(Ω,)hL(Ω,).\displaystyle\frac{1}{K}\sum^{K}_{k=1}h^{2}(\alpha_{k})\leqslant\frac{K+1}{K(b-a)}\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\frac{(b-a)}{K+1}\cdot\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}. (54)
Proof.
(ba)K+1k=1Kh2(αk)\displaystyle\frac{(b-a)}{K+1}\cdot\sum^{K}_{k=1}h^{2}(\alpha_{k}) Ωh2(t)𝑑t+|(ba)K+1k=1Kh2(αk)Ωh2(t)𝑑t|\displaystyle\leqslant\int_{\Omega}h^{2}(t)\,dt+\left|\frac{(b-a)}{K+1}\cdot\sum^{K}_{k=1}h^{2}(\alpha_{k})-\int_{\Omega}h^{2}(t)\,dt\right|
=(a)Ωh2(t)𝑑t+|k=1Kh2(αk)(αkαk1)Ωh2(t)𝑑t|\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{=}}\int_{\Omega}h^{2}(t)\,dt+\left|\sum_{k=1}^{K}h^{2}(\alpha_{k})(\alpha_{k}-\alpha_{k-1})-\int_{\Omega}h^{2}(t)\,dt\right| (55)
=Ωh2(t)𝑑t+|k=1Kαk1αkh2(αk)𝑑tk=1Kαk1αkh2(t)𝑑t|\displaystyle\stackrel{{\scriptstyle\text{}}}{{=}}\int_{\Omega}h^{2}(t)\,dt+\left|\sum_{k=1}^{K}\int_{\alpha_{k-1}}^{\alpha_{k}}h^{2}(\alpha_{k})\,dt-\sum_{k=1}^{K}\int_{\alpha_{k-1}}^{\alpha_{k}}h^{2}(t)\,dt\right|
=Ωh2(t)𝑑t+|k=1Kαk1αk(h2(αk)h2(t))𝑑t|\displaystyle=\int_{\Omega}h^{2}(t)\,dt+\left|\sum_{k=1}^{K}\int_{\alpha_{k-1}}^{\alpha_{k}}(h^{2}(\alpha_{k})-h^{2}(t))\,dt\right|
=(b)Ωh2(t)𝑑t+|k=1Kαk1αk(h2)(ηk)(αkt)𝑑t|,\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{=}}\int_{\Omega}h^{2}(t)\,dt+\left|\sum_{k=1}^{K}\int_{\alpha_{k-1}}^{\alpha_{k}}(h^{2})^{\prime}(\eta_{k})(\alpha_{k}-t)\,dt\right|,
(c)Ωh2(t)dt+2hL(Ω,)hL(Ω,)k=1Kαk1αk(αkt)dt\displaystyle\stackrel{{\scriptstyle\text{(c)}}}{{\leqslant}}\int_{\Omega}h^{2}(t)\,dt+2\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\sum_{k=1}^{K}\int_{\alpha_{k-1}}^{\alpha_{k}}(\alpha_{k}-t)\,\mathrm{d}t
=Ωh2(t)𝑑t+2hL(Ω,)hL(Ω,)(ba)22K,\displaystyle=\int_{\Omega}h^{2}(t)\,dt+2\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\frac{(b-a)^{2}}{2K}, (56)

where (a) follows by αkαk1=(ba)K+1\alpha_{k}-\alpha_{k-1}=\frac{(b-a)}{K+1} with α0:=a\alpha_{0}:=a, (b) follows by Lagrange’s mean value theorem with ηk(αk1,αk)\eta_{k}\in(\alpha_{k-1},\alpha_{k}), and (c) follows by (h2)()=2h()h()(h^{2})^{\prime}(\cdot)=2h(\cdot)h^{\prime}(\cdot). Thus:

1Kk=1Kh2(αk)K+1K(ba)hL2(Ω,)2+(ba)K+1hL(Ω,)hL(Ω,).\frac{1}{K}\sum^{K}_{k=1}h^{2}(\alpha_{k})\leqslant\frac{K+1}{K(b-a)}\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\frac{(b-a)}{K+1}\cdot\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}.

Corollary 7.

Let Ω=(1,1)\Omega=(-1,1) and αk=cos((2k1)π2K)\alpha_{k}=\cos(\frac{(2k-1)\pi}{2K}) be the Chebyshev points of the first kind for k[K]k\in[K]. Then:

1Kk=1Kh2(αk)sin1(cos(πK))K+12KhL2(Ω,)2+1KhL(Ω,)hL(Ω,).\displaystyle\frac{1}{K}\sum^{K}_{k=1}h^{2}(\alpha_{k})\leqslant\sin^{-1}(\cos(\frac{\pi}{K}))\cdot\frac{K+1}{2K}\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\frac{1}{K}\cdot\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}. (57)
Proof.

Let us reformulate the first kind of Chebysev points based on equidistant points α^k=1+2kK+1\hat{\alpha}_{k}=-1+\frac{2k}{K+1} for k[K]k\in[K]:

αk=cos((2k1)π2K)=cos(γ(α^k)),\displaystyle\alpha_{k}=\cos(\frac{(2k-1)\pi}{2K})=\cos\left(\gamma(\hat{\alpha}_{k})\right), (58)

where γ(t):=(K+1)π2Kt+π2\gamma(t):=\frac{(K+1)\pi}{2K}t+\frac{\pi}{2}. Applying Lemma 4 to function h~:=h(cos(γ(α^k)))\widetilde{h}:=h\left(cos\left(\gamma\left(\hat{\alpha}_{k}\right)\right)\right), we have:

1Kk=1Kh2(αk)\displaystyle\frac{1}{K}\sum^{K}_{k=1}h^{2}(\alpha_{k}) =1Kk=1Kh~2(α^k)\displaystyle=\frac{1}{K}\sum^{K}_{k=1}\widetilde{h}^{2}(\hat{\alpha}_{k})
(a)K+12Kh~L2(Ω,)2+2K+1(K+1)π2KhL(Ω,)hL(Ω,)\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}\frac{K+1}{2K}\left\lVert\widetilde{h}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\frac{2}{K+1}\cdot\frac{(K+1)\pi}{2K}\cdot\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}
=K+12Kh~L2(Ω,)2+1KhL(Ω,)hL(Ω,),\displaystyle=\frac{K+1}{2K}\left\lVert\widetilde{h}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\frac{1}{K}\cdot\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}, (59)

where (a) is due to the fact that |cos(t)|1|\cos^{\prime}(t)|\leqslant 1. For h~L2(Ω,)2\left\lVert\widetilde{h}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)} we have:

h~L2(Ω,)2=11(udec(cos(γ(t)))f(uenc(cos(γ(t))))2𝑑tCLOSE.\displaystyle\left\lVert\widetilde{h}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}=\int_{-1}^{1}\biggl(u_{\textrm{dec}}(\cos(\gamma(t)))-f(u_{\textrm{enc}}(\cos(\gamma(t)))\biggr)^{2}\,dt. (60)

We can define a new variable denoted by t=cos(γ(t))t^{\prime}=cos(\gamma(t)) and rewrite the LHS with the fact that dt=dt.(K+1)π2Ksin((K+1)π2Kt+π2)=dt.π21t2dt^{\prime}=-dt.\frac{(K+1)\pi}{2K}\sin\left(\frac{(K+1)\pi}{2K}t+\frac{\pi}{2}\right)=-dt.\frac{\pi}{2}\sqrt{1-t^{\prime 2}}:

11[udec(cos(γ(t)))f(uenc(cos(γ(t)))]2dt=cos(π2K)cos(π2K)(udec(t)f(uenc(t)))21t2dt.\displaystyle\int_{-1}^{1}\left[u_{\textrm{dec}}(\cos(\gamma(t)))-f(u_{\textrm{enc}}(\cos(\gamma(t)))\right]^{2}\,dt=\int_{-\cos\left(\frac{\pi}{2K}\right)}^{\cos\left(\frac{\pi}{2K}\right)}\frac{\left(u_{\textrm{dec}}(t^{\prime})-f(u_{\textrm{enc}}(t^{\prime}))\right)^{2}}{\sqrt{1-t^{\prime 2}}}\,dt^{\prime}. (61)

So, the integral range remains symmetric around zero. Thus, we have:

cos(π2K)cos(π2K)h(t)1t2dt\displaystyle\int_{-\cos\left(\frac{\pi}{2K}\right)}^{\cos\left(\frac{\pi}{2K}\right)}\frac{h(t^{\prime})}{\sqrt{1-t^{\prime 2}}}\,dt^{\prime} sin1(cos(πK))cos(π2K)cos(π2K)h(t)2\displaystyle\leqslant\sin^{-1}(\cos(\frac{\pi}{K}))\cdot\int_{-\cos\left(\frac{\pi}{2K}\right)}^{\cos\left(\frac{\pi}{2K}\right)}h(t^{\prime})^{2}
sin1(cos(πK))11h(t)2\displaystyle\leqslant\sin^{-1}(\cos(\frac{\pi}{K}))\cdot\int_{-1}^{1}h(t^{\prime})^{2}
=sin1(cos(πK))hL2(Ω,)2.\displaystyle=\sin^{-1}(\cos(\frac{\pi}{K}))\cdot\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}. (62)

Therefore,

1Kk=1Kh2(αk)sin1(cos(πK))K+12KhL2(Ω,)2+1KhL(Ω,)hL(Ω,).\displaystyle\frac{1}{K}\sum^{K}_{k=1}h^{2}(\alpha_{k})\leqslant\sin^{-1}(\cos(\frac{\pi}{K}))\cdot\frac{K+1}{2K}\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\frac{1}{K}\cdot\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}. (63)

Using Lemma 4 we have:

dec2(K+1)K(ba)𝔼ϵ,[hL2(Ω,)2]+2(ba)K+1𝔼ϵ,[hL(Ω,)hL(Ω,)].\displaystyle\mathcal{L}_{\textrm{dec}}\leqslant\frac{2(K+1)}{K(b-a)}\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]+\frac{2(b-a)}{K+1}\cdot\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\right]. (64)

In the subsequent lemmas, we offer an upper bound for the second term in (64).

Lemma 5.

If Ω=(a,a)\Omega=(-a,a), then:

hL2(Ω,)hL2(Ω,)x02+a2hL2(Ω,)2a\displaystyle\|h\|_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\leqslant\left\|h^{\prime}\right\|_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdot\sqrt{x_{0}^{2}+a^{2}}\leqslant\left\|h^{\prime}\right\|_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdot\sqrt{2}a (65)
Proof.

Assume x0Ω:h(x0)=0\exists\,x_{0}\in\Omega:h\left(x_{0}\right)=0. Therefore, |h(x)|=|x0xh(x)𝑑x||h(x)|=\left|\int_{x_{0}}^{x}h^{\prime}(x)\,dx\right| for x[x0,a)x\in\left[x_{0},a\right). Thus

|h(x)||x0xh(x)𝑑x|(a)x0x|h(x)|𝑑x(b)(x0x12𝑑x)12(x0x|h(x)|2𝑑x)12,\displaystyle|h(x)|\leqslant\left|\int_{x_{0}}^{x}h^{\prime}(x)\,dx\right|\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}\int_{x_{0}}^{x}\left|h^{\prime}(x)\right|\,dx\stackrel{{\scriptstyle\text{(b)}}}{{\leqslant}}\left(\int_{x_{0}}^{x}1^{2}\,dx\right)^{\frac{1}{2}}\left(\int_{x_{0}}^{x}|h^{\prime}(x)|^{2}\,dx\right)^{\frac{1}{2}}, (66)

where (a) and (b) are followed by the triangle and Cauchy-Schwartz inequalities respectively. Integrating the square of both sides over the interval [x0,a)[x_{0},a) yields:

x0a|h(x)|2𝑑xx0a(xx0)𝑑xx0a(x0a|h(x)|2𝑑x)dx(a)x0a(xx0)aa|h(x)|2,\displaystyle\int_{x_{0}}^{a}|h(x)|^{2}\,dx\stackrel{{\scriptstyle\text{}}}{{\leqslant}}\int_{x_{0}}^{a}\left(x-x_{0}\right)\,dx\cdot\int_{x_{0}}^{a}\left(\int_{x_{0}}^{a}\left|h^{\prime}(x)\right|^{2}\,dx\right)\,dx^{\prime}\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}\int_{x_{0}}^{a}\left(x-x_{0}\right)\cdot\int_{-a}^{a}\left|h^{\prime}(x)\right|^{2}, (67)

where (a) follows by x0<ax_{0}<a. On the other side, we have the following for every x(a,x0]x\in\left(-a,x_{0}\right]:

|h(x)|=|xx0h(x)𝑑x|xx0|h(x)|𝑑x(xx012𝑑x)12(xx0|h(x)|2𝑑x)12.\displaystyle|h(x)|=\left|\int_{x}^{x_{0}}h^{\prime}(x)\,dx\right|\leqslant\int_{x}^{x_{0}}\left|h^{\prime}(x)\right|\,dx\leqslant\left(\int_{x}^{x_{0}}1^{2}\,dx\right)^{\frac{1}{2}}\cdot\left(\int_{x}^{x_{0}}\left|h^{\prime}(x)\right|^{2}\,dx\right)^{\frac{1}{2}}. (68)

Therefore, we have a similar inequality:

ax0|h(x)|2𝑑xax0(x0x)𝑑xaa|h(x)|2𝑑x.\displaystyle\qquad\int_{-a}^{x_{0}}|h(x)|^{2}\,dx\leqslant\int_{-a}^{x_{0}}\left(x_{0}-x\right)\,dx\cdot\int_{-a}^{a}|h^{\prime}(x)|^{2}\,dx. (69)

Using (67) and (69) completes the proof:

hL2(Ω)2\displaystyle\|h\|_{L^{2}(\Omega)}^{2} =ax0|h(x)|2𝑑x+x0a|h(x)|2𝑑x\displaystyle=\int_{-a}^{x_{0}}|h(x)|^{2}\,dx+\int_{x_{0}}^{a}|h(x)|^{2}\,dx
hL2(Ω,)2(ax0(x0x)𝑑x+x0a(xx0)𝑑x)\displaystyle\leqslant\left\|h^{\prime}\right\|_{{L}^{2}\left(\Omega;\mathbb{R}\right)}^{2}\cdot\left(\int_{-a}^{x_{0}}\left(x_{0}-x\right)\,dx+\int_{x_{0}}^{a}\left(x-x_{0}\right)\,dx\right)
hL2(Ω,)2(x0(x0+a)(x02a22)+(a2x022)x0(ax0))\displaystyle\leqslant\left\|h^{\prime}\right\|_{{L}^{2}\left(\Omega;\mathbb{R}\right)}^{2}\cdot\left(x_{0}\left(x_{0}+a\right)-\left(\frac{x_{0}^{2}-a^{2}}{2}\right)+\left(\frac{a^{2}-x_{0}^{2}}{2}\right)-x_{0}\left(a-x_{0}\right)\right) (70)
=hL2(Ω,)2(x02+a2)hL2(Ω,)2a.\displaystyle=\left\|h^{\prime}\right\|_{{L}^{2}\left(\Omega;\mathbb{R}\right)}^{2}\cdot\left(x_{0}^{2}+a^{2}\right)\leqslant\left\|h^{\prime}\right\|_{{L}^{2}\left(\Omega;\mathbb{R}\right)}2a. (71)

Thus, if x0x_{0} exists, the proof is complete. In the next step, we prove the existence of x0Ωx_{0}\in\Omega such that h(x0)=0h\left(x_{0}\right)=0. Recall that h(t)=udec(t)f(uenc(t))h(t)=u_{\textrm{dec}}(t)-f(u_{\textrm{enc}}(t)) and udec()u_{\textrm{dec}}(\cdot) is the solution of (4). Assume there is no such x0x_{0}. Since h𝕎2,2(Ω,)h\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right), then h()h(\cdot) is continuous. Therefore, if there exist t1,t2Ωt_{1},t_{2}\in\Omega such that h(t1)<0h(t_{1})<0 and h(t2)<0h(t_{2})<0, then the intermediate value theorem states that there exists x0(t1,t2)x_{0}\in(t_{1},t_{2}) such that h(x0)=0h(x_{0})=0. Thus, h(t)>0h(t)>0 or h(t)<0h(t)<0 for all tΩt\in\Omega. Without loss of generality, assume the first case where h(t)>0h(t)>0 for all tΩt\in\Omega. It means that udec(t)>f(uenc(t))u_{\textrm{dec}}(t)>f(u_{\textrm{enc}}(t)), tΩt\in\Omega. Let us define

β:=argminβudec(β)f(uenc(β)).\beta^{*}:=\underset{\beta\in\mathcal{F}}{\operatorname{argmin}}\,u_{\textrm{dec}}(\beta)-f(u_{\textrm{enc}}(\beta)).

Let u¯dec(t):=udec(t)udec(β)\bar{u}_{\textrm{dec}}(t):=u_{\textrm{dec}}(t)-u_{\textrm{dec}}(\beta)^{*}. Note that Ωu¯dec′′(t)𝑑t=Ωudec′′(t)𝑑t\int_{\Omega}\bar{u}_{\textrm{dec}}^{\prime\prime}(t)\,dt=\int_{\Omega}u_{\textrm{dec}}^{\prime\prime}(t)\,dt. However,

v[udec(βv)f(uenc(βv))]2\displaystyle\sum_{v\in\mathcal{F}}\left[u_{\textrm{dec}}\left(\beta_{v}\right)-f\left(u_{\textrm{enc}}\left(\beta_{v}\right)\right)\right]^{2} =v[u¯dec(βv)+udec(β)f(uenc(βv))]2\displaystyle=\sum_{v\in\mathcal{F}}\left[\bar{u}_{\textrm{dec}}\left(\beta_{v}\right)+u_{\textrm{dec}}(\beta^{*})-f\left(u_{\textrm{enc}}\left(\beta_{v}\right)\right)\right]^{2}
=v[u¯dec(βv)f(uenc(βv))]2+||udec(β)2\displaystyle=\sum_{v\in\mathcal{F}}\left[\bar{u}_{\textrm{dec}}\left(\beta_{v}\right)-f\left(u_{\textrm{enc}}\left(\beta_{v}\right)\right)\right]^{2}+|\mathcal{F}|\cdot u_{\textrm{dec}}(\beta^{*})^{2}
+2udec(β)v[u¯dec(v)f(uenc(v))]2\displaystyle\quad\quad\quad+2u_{\textrm{dec}}(\beta^{*})\sum_{v\in\mathcal{F}}[\bar{u}_{\textrm{dec}}(v)-f(u_{\textrm{enc}}(v))]^{2}
(a)v[udec(βv)f(uenc(βv))]2,\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}\sum_{v\in\mathcal{F}}\left[u_{\textrm{dec}}\left(\beta_{v}\right)-f\left(u_{\textrm{enc}}\left(\beta_{v}\right)\right)\right]^{2}, (72)

where (a) follows from udec(β)>0u_{\textrm{dec}}(\beta^{*})>0 and u¯dec(βv)>f(uenc(βv))\bar{u}_{\textrm{dec}}(\beta_{v})>f(u_{\textrm{enc}}(\beta_{v})) for all vΩv\in\Omega. This leads to a contradiction since it implies that udecu_{\textrm{dec}} is not the solution of the (4). Therefore, our initial assumption must be wrong. Thus, there exists x0Ωx_{0}\in\Omega such that h(x0)=0h(x_{0})=0. ∎

Lemma 6.

Let Ω=(1,1)\Omega=(-1,1). For h(t)=udec(t)f(uenc(t))h(t)=u_{\textrm{dec}}(t)-f(u_{\textrm{enc}}(t)) we have:

hL(Ω,)2hL2(Ω,)hL2(Ω,),\displaystyle\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\leqslant 2\left\lVert h\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}, (73)

and

hL(Ω,)hL2(Ω,)+h′′L2(Ω,).\displaystyle\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\leqslant\left\lVert h^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\left\lVert h^{\prime\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}. (74)
Proof.

Using Lemma 5 one can conclude

hL2(Ω,)hL2(Ω,)2.\displaystyle\frac{\left\lVert h\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}}{\left\lVert h^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}}\leqslant\sqrt{2}. (75)

Since h𝕎2,2(Ω,)h\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right) we can apply Corollaries 21, (20) as well as Theorem 5 with r=r=\infty and p,q=2p,q=2 to complete the proof of (73). Furthermore, using Theorem 5 with r=r=\infty and p,q=2p,q=2 and =1\ell=1 completes the proof of (74). ∎

Building upon Lemma 6, we can proceed from (64) to establish the desired result:

dec\displaystyle\mathcal{L}_{\textrm{dec}} 2(K+1)K(ba)𝔼ϵ,[hL2(Ω,)2]+2(ba)K+1𝔼ϵ,\displaystyle\leqslant\frac{2(K+1)}{K(b-a)}\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]+\frac{2(b-a)}{K+1}\cdot\mathbb{E}_{\epsilon,\mathcal{F}} [hL(Ω,)hL(Ω,)]\displaystyle\left[\left\lVert h\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}\right]
(a)2(K+1)K(ba)𝔼ϵ,[hL2(Ω,)2]+2(ba)K+1𝔼ϵ,\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}\frac{2(K+1)}{K(b-a)}\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]+\frac{2(b-a)}{K+1}\cdot\mathbb{E}_{\epsilon,\mathcal{F}} [2hL2(Ω,)hL2(Ω,)\displaystyle\Bigl[2\left\lVert h\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}
(hL2(Ω,)+h′′L2(Ω,))].\displaystyle\cdot\left(\left\lVert h^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\left\lVert h^{\prime\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right)\Bigr]. (76)

Since h𝕎2,2(Ω,)h\in\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right), we have hL2(Ω,),h′′L2(Ω,)<\left\lVert h^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)},\left\lVert h^{\prime\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}<\infty. Assume there exist constants C1C_{1} and C2C_{2} that hL2(Ω,)C1\left\lVert h^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\leqslant C_{1} and h′′L2(Ω,)C2\left\lVert h^{\prime\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\leqslant C_{2}. Defining C0:=C1+C2C_{0}:=C_{1}+C_{2}, we have:

dec\displaystyle\mathcal{L}_{\textrm{dec}} 2(K+1)K(ba)𝔼ϵ,[hL2(Ω,)2]+4(ba)C0K+1𝔼ϵ,[hL2(Ω,)hL2(Ω,)]\displaystyle\stackrel{{\scriptstyle\text{}}}{{\leqslant}}\frac{2(K+1)}{K(b-a)}\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]+\frac{4(b-a)C_{0}}{K+1}\cdot\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdot\left\lVert h^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]
(a)2(K+1)K(ba)𝔼ϵ,[hL2(Ω,)2]+4(ba)C0K+1𝔼ϵ,[hL2(Ω,)2]1/2𝔼ϵ,[hL2(Ω,)2]1/2,\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}\frac{2(K+1)}{K(b-a)}\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]+\frac{4(b-a)C_{0}}{K+1}\cdot\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]^{\nicefrac{{1}}{{2}}}\cdot\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h^{\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]^{\nicefrac{{1}}{{2}}}, (77)

where (a) follows from Cauchy-Schwartz inequality.

B.1 Proof of Theorem 1

As previously mentioned, udec()u_{\textrm{dec}}(\cdot) is a second-order smoothing spline fitted on {(βi1,fϵi1(uenc(βi1)),,(βi||,fϵi||(uenc(βi||))}\left\{(\beta_{i_{1}},f_{\epsilon_{i_{1}}}(u_{\textrm{enc}}(\beta_{i_{1}})),\dots,(\beta_{i_{|\mathcal{F}|}},f{\epsilon_{i_{|\mathcal{F}|}}}(u_{\textrm{enc}}(\beta_{i_{|\mathcal{F}|}}))\right\}, where :={βi1,,βi||}\mathcal{F}:=\left\{\beta_{i_{1}},\dots,\beta_{i_{|\mathcal{F}|}}\right\} is a set of non-straggler worker nodes and 𝒇𝒖enc:={fϵi1(uenc(βi1)),,fϵi||(uenc(βi||))}\bm{f\circ u_{\textrm{enc}}}:=\left\{f_{\epsilon_{i_{1}}}(u_{\textrm{enc}}(\beta_{i_{1}})),\dots,f{\epsilon_{i_{|\mathcal{F}|}}}(u_{\textrm{enc}}(\beta_{i_{|\mathcal{F}|}}))\right\} is a set of noisy computation values form non-straggler workers. Let us define 𝐒λd,,2()\mathbf{S}_{\lambda_{\textrm{d}},\mathcal{F},2}(\cdot) representing the smoothing spline operator of the decoder. Using the decomposition (44) we have:

𝔼ϵ,[hL2(Ω,)2]\displaystyle\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right] =𝔼\displaystyle=\mathbb{E}_{\mathcal{F}} [fuenc𝐒λd,,2(𝐟)L2(Ω,)2]\displaystyle\left[\left\lVert f\circ u_{\textrm{enc}}-\mathbf{S}_{\lambda_{\textrm{d}},\mathcal{F},2}(\mathbf{f})\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]
+𝔼ϵ,[fuenc𝐒λd,,2(ϵ)L2(Ω,)2],\displaystyle+\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert f\circ u_{\textrm{enc}}-\mathbf{S}_{\lambda_{\textrm{d}},\mathcal{F},2}(\bm{\epsilon})\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right], (78)

where 𝐟={f(uenc(βi1)),,f(uenc(βi||))}\mathbf{f}=\left\{f(u_{\textrm{enc}}(\beta_{i_{1}})),\dots,f(u_{\textrm{enc}}(\beta_{i_{|\mathcal{F}|}}))\right\} and ϵ={ϵi1,,ϵi||}\bm{\epsilon}=\left\{\epsilon_{i_{1}},\dots,\epsilon_{i_{|\mathcal{F}|}}\right\}. Let us define the following variables analogous to those in (6):

Δmax:=maxf{0,,||}{βif+1βif},Δmin:=minf{1,,||1}{βif+1βif}.\displaystyle\Delta^{\mathcal{F}}_{\textrm{max}}:=\underset{f\in\left\{0,\dots,|\mathcal{F}|\right\}}{\max}\left\{\beta_{i_{f+1}}-\beta_{i_{f}}\right\},\quad\Delta^{\mathcal{F}}_{\textrm{min}}:=\underset{f\in\left\{1,\dots,|\mathcal{F}|-1\right\}}{\min}\left\{\beta_{i_{f+1}}-\beta_{i_{f}}\right\}. (79)

Since there are at most SS stragglers among worker nodes, ΔmaxΔmin(S+1)ΔmaxΔmax(S+1)B\frac{\Delta^{\mathcal{F}}_{\textrm{max}}}{\Delta^{\mathcal{F}}_{\textrm{min}}}\leqslant(S+1)\cdot\frac{\Delta_{\textrm{max}}}{\Delta_{\textrm{max}}}\leqslant(S+1)B. Therefore, ΔmaxΔmin\frac{\Delta^{\mathcal{F}}_{\textrm{max}}}{\Delta^{\mathcal{F}}_{\textrm{min}}} is bounded. Additionally, since Δmin𝒪(1NS)\Delta_{\textrm{min}}\leqslant\mathcal{O}(\frac{1}{N-S}) and Δmax𝒪(1NS)\Delta_{\textrm{max}}\geqslant\mathcal{O}(\frac{1}{N-S}), then ΔmaxΔminB\frac{\Delta_{\textrm{max}}}{\Delta_{\textrm{min}}}\leqslant B implies that both Δmin\Delta_{\textrm{min}} and Δmin\Delta_{\textrm{min}} has the same order of 𝒪(1NS)\mathcal{O}(\frac{1}{N-S}). Thus, there exists a constant JJ such that ΔmaxJNS\Delta_{\textrm{max}}\leqslant\frac{J}{N-S} and correspondingly ΔmaxJ(S+1)NS\Delta^{\mathcal{F}}_{\textrm{max}}\leqslant\frac{J(S+1)}{N-S}.

Applying Theorems 7 and 6 with Ω=(1,1),m=2\Omega=(-1,1),m=2, we have

𝔼ϵ,[hL2(Ω,)2]\displaystyle\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right] H0(fuenc)(2)L2(Ω,)2𝔼[L]+Q0σ02NSλd14\displaystyle\stackrel{{\scriptstyle\text{}}}{{\leqslant}}H_{0}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdot\mathbb{E}_{\mathcal{F}}\left[L\right]+\frac{Q_{0}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{1}{4}} (80)

and

𝔼ϵ,[hL2(Ω,)2]\displaystyle\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h^{\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right] H1(fuenc)(2)L2(Ω,)2𝔼[L12(1+L16)12]+Q1σ02NSλd34,\displaystyle\stackrel{{\scriptstyle\text{}}}{{\leqslant}}H_{1}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdot\mathbb{E}_{\mathcal{F}}\left[L^{\frac{1}{2}}(1+\frac{L}{16})^{\frac{1}{2}}\right]+\frac{Q_{1}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{3}{4}}, (81)

where L=p2(ΔmaxΔmax)(NS)Δmax4λd+D(2)(Δmax)4L=p_{2}\left(\frac{\Delta^{\mathcal{F}}_{\textrm{max}}}{\Delta^{\mathcal{F}}_{\textrm{max}}}\right)\cdot\frac{(N-S)\Delta^{\mathcal{F}}_{\textrm{max}}}{4}\lambda_{\textrm{d}}+D(2)\cdot\left({\Delta_{\textrm{max}}}\right)^{4}, H0,H1:=H(2,0),H(2,1)H_{0},H_{1}:=H(2,0),H(2,1), and Q0,Q1:=Q(2,0),Q(2,1)Q_{0},Q_{1}:=Q(2,0),Q(2,1) as defined in Theorems 6 and  7. Since ΔmaxΔmin<(S+1)B\frac{\Delta^{\mathcal{F}}_{\textrm{max}}}{\Delta^{\mathcal{F}}_{\textrm{min}}}<(S+1)B, we have:

𝔼[L]\displaystyle\mathbb{E}_{\mathcal{F}}[L] 𝔼[p2(S+1)nΔmax4λd+D(Δmax)4]\displaystyle\leqslant\mathbb{E}_{\mathcal{F}}\left[p_{2}(S+1)\cdot\frac{n\Delta^{\mathcal{F}}_{\textrm{max}}}{4}\lambda_{\textrm{d}}+D\cdot\left({\Delta_{\textrm{max}}}\right)^{4}\right]
(a)p2(S+1)J(S+1)4λd+DJ4(S+1)4\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}p_{2}(S+1)\cdot\frac{J(S+1)}{4}\lambda_{\textrm{d}}+DJ^{4}(S+1)^{4}
=p3(S+1)λd+DJ4(S+1)4,\displaystyle\stackrel{{\scriptstyle\text{}}}{{=}}p_{3}(S+1)\cdot\lambda_{\textrm{d}}+DJ^{4}(S+1)^{4}, (82)

where D:=D(2)D:=D(2), p3(S+1):=p2(S+1)J(S+1)4p_{3}(S+1):=p_{2}(S+1)\cdot\frac{J(S+1)}{4} is a degree three polynomial of (S+1)(S+1), and (a) follows from the fact that ΔmaxJ(S+1)N\Delta^{\mathcal{F}}_{\textrm{max}}\leqslant\frac{J(S+1)}{N}. Substituting in (80), we have:

𝔼ϵ,[hL2(Ω,)2]\displaystyle\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right] H0(fuenc)(2)L2(Ω,)2(p3(S+1)λd+DJ4(S+1)4(NS)4)+Q0σ02NSλd14\displaystyle\stackrel{{\scriptstyle\text{}}}{{\leqslant}}H_{0}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\left(p_{3}(S+1)\cdot\lambda_{\textrm{d}}+DJ^{4}\frac{(S+1)^{4}}{(N-S)^{4}}\right)+\frac{Q_{0}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{1}{4}}
(a)H0(fuenc)(2)L2(Ω,)2λd(p3(S+1)+DJ4(S+1)4)+Q0σ02NSλd14\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}H_{0}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\lambda_{\textrm{d}}\cdot\left(p_{3}(S+1)+DJ^{4}(S+1)^{4}\right)+\frac{Q_{0}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{1}{4}}
=(b)H0(fuenc)(2)L2(Ω,)2λdp4(S+1)+Q0σ02NSλd14,\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{=}}H_{0}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\lambda_{\textrm{d}}\cdot p_{4}(S+1)+\frac{Q_{0}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{1}{4}}, (83)

where (a) follows from the fact that λd(NS)41\lambda_{\textrm{d}}(N-S)^{-4}\leqslant 1, as assumed in Theorem 7 and (b) is by definition p4(S+1):=p3(S+1)+DJ4(S+1)4p_{4}(S+1):=p_{3}(S+1)+DJ^{4}(S+1)^{4}. An analogous upper bound can be derived for 𝔼ϵ,[hL2(Ω,)2]\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h^{\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right] as

𝔼ϵ,[hL2(Ω,)2]\displaystyle\mathbb{E}_{\epsilon,\mathcal{F}}\left[\left\lVert h^{\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right] H1λd12p4(S+1)12(1+λdp4(S+1)16)12+Q1σ02NSλd34\displaystyle\stackrel{{\scriptstyle\text{}}}{{\leqslant}}H_{1}\cdot\lambda_{\textrm{d}}^{\frac{1}{2}}\cdot p_{4}(S+1)^{\frac{1}{2}}\cdot\left(1+\lambda_{\textrm{d}}\frac{p_{4}(S+1)}{16}\right)^{\frac{1}{2}}+\frac{Q_{1}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{3}{4}}
(a)H1λd12p4(S+1)12(1+λ0p4(S+1)16)12+Q1σ02NSλd34\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}H_{1}\cdot\lambda_{\textrm{d}}^{\frac{1}{2}}\cdot p_{4}(S+1)^{\frac{1}{2}}\cdot\left(1+\lambda_{0}\frac{p_{4}(S+1)}{16}\right)^{\frac{1}{2}}+\frac{Q_{1}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{3}{4}}
=(b)H1¯λd12p4(S+1)12+Q1σ02NSλd34,\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{=}}\bar{H_{1}}\cdot\lambda_{\textrm{d}}^{\frac{1}{2}}\cdot p_{4}(S+1)^{\frac{1}{2}}+\frac{Q_{1}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{3}{4}}, (84)

where (a) is by definition λdλ0\lambda_{\textrm{d}}\leqslant\lambda_{0} and (b) is by definition H1¯:=H0(1+λ0p4(S+1)16)12\bar{H_{1}}:=H_{0}\left(1+\lambda_{0}\frac{p_{4}(S+1)}{16}\right)^{\frac{1}{2}}. Using the last upper bound for dec\mathcal{L}_{\textrm{dec}} in (77) and combining the results from (83) and (84), we can conclude that:

dec\displaystyle\mathcal{L}_{\textrm{dec}} (a)(K+1)K\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}\frac{(K+1)}{K} μ0(S)λd+Q0σ02NSλd14\displaystyle\mu_{0}(S)\lambda_{\textrm{d}}+\frac{Q_{0}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{1}{4}}
+8C0K+1(μ0(S)λd+Q0σ02NSλd14)12(μ1(S)λd12+Q1σ02NSλd34)12\displaystyle+\frac{8C_{0}}{K+1}\cdot\left(\mu_{0}(S)\lambda_{\textrm{d}}+\frac{Q_{0}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{1}{4}}\right)^{\frac{1}{2}}\cdot\left(\mu_{1}(S)\lambda_{\textrm{d}}^{\frac{1}{2}}+\frac{Q_{1}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{3}{4}}\right)^{\frac{1}{2}}
(b)(K+1)K\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{\leqslant}}\frac{(K+1)}{K} μ0(S)λd+Q0σ02NSλd14+8C0K+1λd14(μmax(S)λd12+Qmaxσ02NSλd34)\displaystyle\mu_{0}(S)\lambda_{\textrm{d}}+\frac{Q_{0}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{1}{4}}+\frac{8C_{0}}{K+1}\lambda_{\textrm{d}}^{\frac{1}{4}}\left(\mu_{\textrm{max}}(S)\lambda_{\textrm{d}}^{\frac{1}{2}}+\frac{Q_{\textrm{max}}\sigma_{0}^{2}}{N-S}\lambda_{\textrm{d}}^{-\frac{3}{4}}\right)
=λd34\displaystyle\stackrel{{\scriptstyle\text{}}}{{=}}\lambda_{\textrm{d}}^{\frac{3}{4}}\cdot ((K+1)Kμ0(S)λd14+8C0K+1μmax(S))+λd12Qmaxσ02NS(Q0Qmaxλd14+8C0K+1)\displaystyle\left(\frac{(K+1)}{K}\mu_{0}(S)\lambda_{\textrm{d}}^{\frac{1}{4}}+\frac{8C_{0}}{K+1}\mu_{\textrm{max}}(S)\right)+\lambda_{\textrm{d}}^{-\frac{1}{2}}\frac{Q_{\textrm{max}}\sigma_{0}^{2}}{N-S}\left(\frac{Q_{0}}{Q_{\textrm{max}}}\lambda_{\textrm{d}}^{\frac{1}{4}}+\frac{8C_{0}}{K+1}\right)
(c)λd34\displaystyle\stackrel{{\scriptstyle\text{(c)}}}{{\leqslant}}\lambda_{\textrm{d}}^{\frac{3}{4}}\cdot ((K+1)Kμ0(S)λ014+8C0K+1μmax(S))+λd12Qmaxσ02NS(Q0Qmaxλ014+8C0K+1),\displaystyle\left(\frac{(K+1)}{K}\mu_{0}(S)\lambda_{0}^{\frac{1}{4}}+\frac{8C_{0}}{K+1}\mu_{\textrm{max}}(S)\right)+\lambda_{\textrm{d}}^{-\frac{1}{2}}\frac{Q_{\textrm{max}}\sigma_{0}^{2}}{N-S}\left(\frac{Q_{0}}{Q_{\textrm{max}}}\lambda_{0}^{\frac{1}{4}}+\frac{8C_{0}}{K+1}\right), (85)

where (a) follows by the definitions μ0(S):=H0(fuenc)(2)L2(Ω,)2p4(S+1)\mu_{0}(S):=H_{0}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdot p_{4}(S+1) and μ1(S):=H1(fuenc)(2)L2(Ω,)24(S+1)12\mu_{1}(S):=H_{1}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdotp_{4}(S+1)^{\frac{1}{2}}, (b) is due to Q0,Q1Qmax:=max{Q0,Q1}Q_{0},Q_{1}\leqslant Q_{\textrm{max}}:=\max\{Q_{0},Q_{1}\} and μ0(S),μ1(S)μmax(S):=max{μ0(S),μ1(S)}\mu_{0}(S),\mu_{1}(S)\leqslant\mu_{\textrm{max}}(S):=\max\{\mu_{0}(S),\mu_{1}(S)\}, and (c) follow from λdλ0\lambda_{\textrm{d}}\leqslant\lambda_{0}. By defining p4~(S+1):=((K+1)Kμ0(S)λ014+8C0K+1μmax(S))(fuenc)(2)L2(Ω,)2\widetilde{p_{4}}(S+1):=\frac{\left(\frac{(K+1)}{K}\mu_{0}(S)\lambda_{0}^{\frac{1}{4}}+\frac{8C_{0}}{K+1}\mu_{\textrm{max}}(S)\right)}{\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}} which is a degree-4 polynomial with the coefficients depend on (H0,H1,B,K)(H_{0},H_{1},B,K) as well as Q~=(Q0Qmaxλ014+8C0K+1)\widetilde{Q}=\left(\frac{Q_{0}}{Q_{\textrm{max}}}\lambda_{0}^{\frac{1}{4}}+\frac{8C_{0}}{K+1}\right), we can conclude that:

decλd34p4~(S+1)(fuenc)(2)L2(Ω,)2+λd12Q~Qmaxσ02NS.\displaystyle\mathcal{L}_{\textrm{dec}}\leqslant\lambda_{\textrm{d}}^{\frac{3}{4}}\cdot\widetilde{p_{4}}(S+1)\cdot\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\lambda_{\textrm{d}}^{-\frac{1}{2}}\cdot\frac{\widetilde{Q}Q_{\textrm{max}}\sigma_{0}^{2}}{N-S}. (86)

Optimizing over λd\lambda_{\textrm{d}}, the optimum λd\lambda_{\textrm{d}}^{*} is:

λd=(p4~(S+1)(NS)(fuenc)(2)L2(Ω,)2Q~Qmaxσ02)45.\displaystyle\lambda_{\textrm{d}}^{*}=\left(\frac{\widetilde{p_{4}}(S+1)\cdot(N-S)\cdot\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}}{\widetilde{Q}Q_{\textrm{max}}\sigma_{0}^{2}}\right)^{-\frac{4}{5}}. (87)

By substituting the expression for λd\lambda_{\textrm{d}}^{*} into (86), defining C1:=2(Q~Qmax)53C_{1}:=2\left(\widetilde{Q}Q_{\textrm{max}}\right)^{\frac{5}{3}} and using previously driven upper bound for enc\mathcal{L}_{\textrm{enc}} in Lemma 2, the proof is completed.

B.2 Proof of Theorem 2

In the noiseless setting, the expectation is just over \mathcal{F}:

𝔼[hL2(Ω,)2]=𝔼[fuenc𝐒λd,,2(𝐟)L2(Ω,)2].\displaystyle\mathbb{E}_{\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]=\mathbb{E}_{\mathcal{F}}\left[\left\lVert f\circ u_{\textrm{enc}}-\mathbf{S}_{\lambda_{\textrm{d}},\mathcal{F},2}(\mathbf{f})\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]. (88)

Using the same steps as Appendix B, we have:

𝔼[hL2(Ω,)2]\displaystyle\mathbb{E}_{\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right] H0(fuenc)(2)L2(Ω,)2\displaystyle\leqslant H_{0}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)} (p3(S+1)λd+DJ4(S+1)4(NS)4),\displaystyle\left(p_{3}(S+1)\cdot\lambda_{\textrm{d}}+DJ^{4}\frac{(S+1)^{4}}{(N-S)^{4}}\right), (89)
𝔼[hL2(Ω,)2]\displaystyle\mathbb{E}_{\mathcal{F}}\left[\left\lVert h^{\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right] H1(fuenc)(2)L2(Ω,)2\displaystyle\leqslant H_{1}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)} (p3(S+1)λd+DJ4(S+1)4(NS)4)12\displaystyle\left(p_{3}(S+1)\cdot\lambda_{\textrm{d}}+DJ^{4}\frac{(S+1)^{4}}{(N-S)^{4}}\right)^{\frac{1}{2}}
(1+p3(S+1)λd+DJ4(S+1)4(NS)416)12.\displaystyle\cdot\left(1+\frac{p_{3}(S+1)\cdot\lambda_{\textrm{d}}+DJ^{4}\frac{(S+1)^{4}}{(N-S)^{4}}}{16}\right)^{\frac{1}{2}}. (90)

Note that both (89) and (90) are increasing function of λd\lambda_{\textrm{d}} and the upper bound of dec\mathcal{L}_{\textrm{dec}} in (77) is increasing function of both 𝔼[hL2(Ω,)2]\mathbb{E}_{\mathcal{F}}\left[\left\lVert h\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right] and 𝔼[hL2(Ω,)2]\mathbb{E}_{\mathcal{F}}\left[\left\lVert h^{\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right]. Therefore, λd=0\lambda_{\textrm{d}}^{*}=0 minimizes the right-hand side of (77) in the noiseless setting. Putting λd=0\lambda_{\textrm{d}}=0, we have:

dec\displaystyle\mathcal{L}_{\textrm{dec}} (fuenc)(2)L2(Ω,)2[(K+1)K\displaystyle\leqslant\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\Biggl[\frac{(K+1)}{K} H0r(S,N)+8C0K+1(H0r(S,N))12\displaystyle H_{0}\cdot r(S,N)+\frac{8C_{0}}{K+1}\cdot\left(H_{0}\cdot r(S,N)\right)^{\frac{1}{2}}\cdot
(H1r(S,N)12(1+r(S,N)16)12)12]\displaystyle\left(H_{1}\cdot r(S,N)^{\frac{1}{2}}\cdot\left(1+\frac{r(S,N)}{16}\right)^{\frac{1}{2}}\right)^{\frac{1}{2}}\Biggr]
(a)(fuenc)(2)L2(Ω,)2[(K+1)K\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}}\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\cdot\Biggl[\frac{(K+1)}{K} H0r(S,N)+8C0D14J(S+1)K+1H012H112r(S,N)34]\displaystyle H_{0}\cdot r(S,N)+\frac{8C_{0}D^{\frac{1}{4}}J\cdot(S+1)}{K+1}\cdot H_{0}^{\frac{1}{2}}H_{1}^{\frac{1}{2}}\cdot r(S,N)^{\frac{3}{4}}\Biggr] (91)

where r(S,N):=DJ4(S+1)4(NS)4r(S,N):=DJ^{4}\frac{(S+1)^{4}}{(N-S)^{4}} and (a) follows from r(S,N)DJ4(S+1)r(S,N)\leqslant DJ^{4}(S+1). Therefore, defining C3:=(K+1)KH0C_{3}:=\frac{(K+1)}{K}H_{0} and C2:=8C0D14JK+1H012H112C_{2}:=\frac{8C_{0}D^{\frac{1}{4}}J}{K+1}H_{0}^{\frac{1}{2}}H_{1}^{\frac{1}{2}} as well as using Lemma 2 complete the proof.

B.3 Proof of Theorem 3

The upper bound provided in Theorems 1 and 2 depend on (fuenc)(2)L2(Ω,)2\left\lVert(f\circ u_{\textrm{enc}})^{(2)}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)} with the exponent 25\frac{2}{5} and 11 respectively. Applying the chain rule, we can show that:

Ω[f(uenc(t))′′]2𝑑t\displaystyle\int_{\Omega}\left[f(u_{\textrm{enc}}(t))^{\prime\prime}\right]^{2}\,dt =(a)Ω[uenc′′(t)f(uenc(t))+uenc(t)2f′′(uenc(t))]2𝑑t\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{=}}\int_{\Omega}\left[u_{\textrm{enc}}^{\prime\prime}(t)\cdot f^{\prime}(u_{\textrm{enc}}(t))+u_{\textrm{enc}}^{\prime}(t)^{2}\cdot f^{\prime\prime}(u_{\textrm{enc}}(t))\right]^{2}\,dt
(b)Ω[uenc′′(t)2+uenc(t)4][f(uenc(t))2+f′′(uenc(t))2]𝑑t\displaystyle\stackrel{{\scriptstyle\text{(b)}}}{{\leqslant}}\int_{\Omega}\left[u_{\textrm{enc}}^{\prime\prime}(t)^{2}+u_{\textrm{enc}}^{\prime}(t)^{4}\right]\left[f^{\prime}(u_{\textrm{enc}}(t))^{2}+f^{\prime\prime}(u_{\textrm{enc}}(t))^{2}\right]\,dt
(c)(q2+ν2)Ω[uenc′′(t)2+uenc(t)4]𝑑t\displaystyle\stackrel{{\scriptstyle\text{(c)}}}{{\leqslant}}(q^{2}+\nu^{2})\int_{\Omega}\left[u_{\textrm{enc}}^{\prime\prime}(t)^{2}+u_{\textrm{enc}}^{\prime}(t)^{4}\right]\,dt
(d)(q2+ν2)[Ωuenc′′(t)2𝑑t+(Ωuenc(t)2)2𝑑t],\displaystyle\stackrel{{\scriptstyle\text{(d)}}}{{\leqslant}}(q^{2}+\nu^{2})\left[\int_{\Omega}u_{\textrm{enc}}^{\prime\prime}(t)^{2}\,dt+\left(\int_{\Omega}u_{\textrm{enc}}^{\prime}(t)^{2}\right)^{2}\,dt\right],
(e)(q2+ν2)(uenc𝕎2,2(Ω,)2+uenc𝕎2,2(Ω,)4)\displaystyle\stackrel{{\scriptstyle\text{(e)}}}{{\leqslant}}(q^{2}+\nu^{2})\left(\left\lVert u_{\textrm{enc}}\right\rVert^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}+\left\lVert u_{\textrm{enc}}\right\rVert^{4}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)}\right)
(f)(q2+ν2)(97uenc~2(Ω,)2+972uenc~2(Ω,)4)\displaystyle\stackrel{{\scriptstyle\text{(f)}}}{{\leqslant}}(q^{2}+\nu^{2})\left(97\cdot\left\lVert u_{\textrm{enc}}\right\rVert^{2}_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}+97^{2}\cdot\left\lVert u_{\textrm{enc}}\right\rVert^{4}_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}\right)
=(g)(q2+ν2)ψ(uenc~2(Ω,)2),\displaystyle\stackrel{{\scriptstyle\text{(g)}}}{{=}}(q^{2}+\nu^{2})\cdot\psi\left(\left\lVert u_{\textrm{enc}}\right\rVert^{2}_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}\right), (92)

where (a) follows from applying the chain rule, (b) and (d) follow from the chain rule, (c) is due to the Lipschitz property and the assumption that f′′L2(Ω,)2ν\left\lVert f^{\prime\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\leqslant\nu, (e) follows from adding positive terms to Ωuenc(t)2𝑑t\int_{\Omega}u_{\textrm{enc}}^{\prime}(t)^{2}\,dt and Ωuenc(t)2𝑑t\int_{\Omega}u_{\textrm{enc}}^{\prime}(t)^{2}\,dt to form Sobolev norm 𝕎2,2(Ω,)2\left\lVert\cdot\right\rVert^{2}_{\mathbb{W}^{2,2}\left(\Omega;\mathbb{R}\right)} as stated in (15), (f) is due to Corollary 5 and Proposition 1, and (g) follows from the definition ψ(t):=97t+972t2\psi(t):=97t+97^{2}t^{2}.

Combining (92) with Theorems 2 and 1 we have

(f^)2q2Kk=1K(uenc(αk)xk)2+λeψ(uenc~2(Ω,)2),\displaystyle\mathcal{R}(\hat{f})\leqslant\frac{2q^{2}}{K}\sum^{K}_{k=1}(u_{\textrm{enc}}(\alpha_{k})-x_{k})^{2}+\lambda_{\textrm{e}}\cdot\psi\left(\left\lVert u_{\textrm{enc}}\right\rVert^{2}_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}\right), (93)

for the noiseless setting and

(f^)2q2Kk=1K(uenc(αk)xk)2+λe~ψ(uenc~2(Ω,)2)25\displaystyle\mathcal{R}(\hat{f})\leqslant\frac{2q^{2}}{K}\sum^{K}_{k=1}(u_{\textrm{enc}}(\alpha_{k})-x_{k})^{2}+\widetilde{\lambda_{\textrm{e}}}\cdot\psi\left(\left\lVert u_{\textrm{enc}}\right\rVert^{2}_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}\right)^{\frac{2}{5}} (94)

for the noisy setting, where the parameters λe\lambda_{\textrm{e}} and λe~\widetilde{\lambda_{\textrm{e}}} are as follows:

λe\displaystyle\lambda_{\textrm{e}} =(C2(S+1)4N3+C3(S+1)4N4)(q2+ν2)\displaystyle=\left(C_{2}\frac{(S+1)^{4}}{N^{3}}+C_{3}\frac{(S+1)^{4}}{N^{4}}\right)\cdot(q^{2}+\nu^{2}) (95)
λe~\displaystyle\widetilde{\lambda_{\textrm{e}}} =C1(NSσ02)35p(S+1)25(q2+ν2)25.\displaystyle=C_{1}\cdot\left(\frac{N-S}{\sigma^{2}_{0}}\right)^{-\frac{3}{5}}\cdot p(S+1)^{\frac{2}{5}}\cdot(q^{2}+\nu^{2})^{\frac{2}{5}}. (96)

Noted that since ψ()\psi(\cdot) and γ(t):=t25\gamma(t):=t^{\frac{2}{5}} are monotonically increasing in +\mathbb{R}^{+}, its composition is monotonically increasing as well. Moreover, λe\lambda_{\textrm{e}} and λe~\widetilde{\lambda_{\textrm{e}}} share the same exponent of NN as in Theorems 2 and 1, respectively. Consequently, the provided upper bound does not compromise the convergence rate.

B.3.1 Proof of Corollary 2

From the definition of ~2(Ω,)\left\lVert\cdot\right\rVert_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)} we have:

uenc~2(Ω,)2\displaystyle\left\lVert u_{\textrm{enc}}\right\rVert^{2}_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)} =\displaystyle= uenc(1)2+[uenc(1)]2+Ω[uenc′′(t)]2𝑑t\displaystyle u_{\textrm{enc}}(-1)^{2}+\left[u_{\textrm{enc}}^{\prime}(-1)\right]^{2}+\int_{\Omega}\left[u_{\textrm{enc}}^{\prime\prime}(t)\right]^{2}\,dt
\displaystyle\stackrel{{\scriptstyle\text{}}}{{\leqslant}} uencL(Ω,)2+uencL(Ω,)2+uenc′′L2(Ω,)2\displaystyle\left\lVert u_{\textrm{enc}}\right\rVert^{2}_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}+\left\lVert u_{\textrm{enc}}^{\prime}\right\rVert^{2}_{{L}^{\infty}\left(\Omega;\mathbb{R}\right)}+\left\lVert u_{\textrm{enc}}^{\prime\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}
(a)\displaystyle\stackrel{{\scriptstyle\text{(a)}}}{{\leqslant}} (uencL2(Ω,)+uencL2(Ω,))2+(uencL2(Ω,)+uenc′′L2(Ω,))2\displaystyle\left(\left\lVert u_{\textrm{enc}}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\left\lVert u_{\textrm{enc}}^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right)^{2}+\left(\left\lVert u_{\textrm{enc}}^{\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}+\left\lVert u_{\textrm{enc}}^{\prime\prime}\right\rVert_{{L}^{2}\left(\Omega;\mathbb{R}\right)}\right)^{2}
+uenc′′L2(Ω,)2\displaystyle+\left\lVert u_{\textrm{enc}}^{\prime\prime}\right\rVert^{2}_{{L}^{2}\left(\Omega;\mathbb{R}\right)}
\displaystyle\leqslant 9M2,\displaystyle 9M^{2}, (97)

where (a) follows from Theorem 5 with =1\ell=1. Thus, for t9M2t\leqslant 9M^{2} we have:

ψ(t)=97t+972t2t(97+972t)t(97+9729M2).\displaystyle\psi(t)=97t+97^{2}t^{2}\leqslant t(97+97^{2}t)\leqslant t(97+97^{2}\cdot 9M^{2}). (98)

Let us define the constant T:=972(9M2)+97T:=97^{2}\cdot(9M^{2})+97. Thus, based on (97) we have

ψ(uenc~2(Ω,)2)Tuenc~2(Ω,)2.\displaystyle\psi\left(\left\lVert u_{\textrm{enc}}\right\rVert^{2}_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}\right)\leqslant T\cdot\left\lVert u_{\textrm{enc}}\right\rVert^{2}_{\widetilde{\mathcal{H}}^{2}\left(\Omega;\mathbb{R}\right)}. (99)

Combining the results from  (99) and (93) complete the proof for the noiseless setting.

B.4 Proof of Theorem 4

Theorems 1 and 2 establish that dec\mathcal{L}_{\textrm{dec}} has the convergence rate of 𝒪(S4N3)\mathcal{O}\left(S^{4}N^{-3}\right) and 𝒪(S85N35)\mathcal{O}\left(S^{\frac{8}{5}}N^{-\frac{3}{5}}\right), respectively. By designing the encoder such that uenc(αk)=xku_{\textrm{enc}}(\alpha_{k})=x_{k} for k[K]k\in[K], we can achieve enc=0\mathcal{L}_{\textrm{enc}}=0 and consequently, the rate of convergence of the total loss, (f^)\mathcal{R}(\hat{f}), becomes 𝒪(S4N3)\mathcal{O}\left(S^{4}N^{-3}\right) and 𝒪(S85N35)\mathcal{O}\left(S^{\frac{8}{5}}N^{-\frac{3}{5}}\right) for noiseless and noisy setting, respectively.

Appendix C High-dimensional computing function

Let us consider the general case where f=[f1,,fm]f=[f_{1},\dots,f_{m}] is a vector-valued function, where each component function fj:df_{j}:\mathbb{R}^{d}\to\mathbb{R} is qjq_{j}-Lipschitz continuous. Based on (2), we have:

(𝐟^)\displaystyle\mathcal{R}(\mathbf{\hat{f}}) 𝔼ϵ,FS,N[2Kk=1K𝐮dec(αk)𝐟(𝐮enc(αk))22]+2Kk=1K𝐟(𝐮enc(αk))𝐟(𝐱k)22.\displaystyle\leqslant\mathop{\mathbb{E}}_{\bm{\epsilon},\mathcal{F}\sim F_{S,N}}\left[\frac{2}{K}\sum^{K}_{k=1}\left\lVert\mathbf{u}_{\textrm{dec}}(\alpha_{k})-\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\alpha_{k}))\right\rVert^{2}_{2}\right]+\frac{2}{K}\sum^{K}_{k=1}\left\lVert\mathbf{f}(\mathbf{u}_{\textrm{enc}}(\alpha_{k}))-\mathbf{f}(\mathbf{x}_{k})\right\rVert^{2}_{2}.
𝔼ϵ,FS,N[2Kk=1Kj=1m(udecj(αk)fj(𝐮enc(αk)))22]+2j=1mqj2Kk=1K𝐮enc(αk)𝐱k22\displaystyle\leqslant\mathop{\mathbb{E}}_{\bm{\epsilon},\mathcal{F}\sim F_{S,N}}\left[\frac{2}{K}\sum^{K}_{k=1}\sum^{m}_{j=1}\left(u_{\textrm{dec}_{j}}(\alpha_{k})-f_{j}(\mathbf{u}_{\textrm{enc}}(\alpha_{k}))\right)^{2}_{2}\right]+\frac{2\sum^{m}_{j=1}q_{j}^{2}}{K}\sum^{K}_{k=1}\left\lVert\mathbf{u}_{\textrm{enc}}(\alpha_{k})-\mathbf{x}_{k}\right\rVert^{2}_{2}
=j=1m𝔼ϵ,FS,N[2Kk=1K(udecj(αk)fj(𝐮enc(αk)))22]+2j=1mqj2Kk=1K𝐮enc(αk)𝐱k22\displaystyle=\sum^{m}_{j=1}\mathop{\mathbb{E}}_{\bm{\epsilon},\mathcal{F}\sim F_{S,N}}\left[\frac{2}{K}\sum^{K}_{k=1}\left(u_{\textrm{dec}_{j}}(\alpha_{k})-f_{j}(\mathbf{u}_{\textrm{enc}}(\alpha_{k}))\right)^{2}_{2}\right]+\frac{2\sum^{m}_{j=1}q_{j}^{2}}{K}\sum^{K}_{k=1}\left\lVert\mathbf{u}_{\textrm{enc}}(\alpha_{k})-\mathbf{x}_{k}\right\rVert^{2}_{2}

Let us define the following objective for the decoder function:

𝐮dec=argmin𝐮2(Ω,m)1||v𝐮(βv)𝐟(𝐮enc(βv))22+j=1mλdΩ(𝐮𝐣′′(t))2𝑑t.\displaystyle\mathbf{u}_{\textrm{dec}}^{\star}=\underset{\mathbf{u}\in\mathcal{H}^{2}\left(\Omega;\mathbb{R}^{m}\right)}{\operatorname{argmin}}\frac{1}{|\mathcal{F}|}\sum_{v\in\mathcal{F}}\left\lVert\mathbf{u}\left(\beta_{v}\right)-\mathbf{f}\left(\mathbf{u}_{\textrm{enc}}\left(\beta_{v}\right)\right)\right\rVert^{2}_{2}+\sum^{m}_{j=1}\lambda_{\textrm{d}}\int_{\Omega}\left(\mathbf{u_{j}}^{\prime\prime}(t)\right)^{2}\,dt. (100)

The solution to (100), denoted as 𝐮dec\mathbf{u}_{\textrm{dec}}^{\star}, is a vector-valued function, where each component udecj()u_{\textrm{dec}_{j}}(\cdot) is a smoothing spline function fitted to the data points {(βv,𝐟(𝐮enc(βv)))}v\left\{\left(\beta_{v},\mathbf{f}\left(\mathbf{u}_{\textrm{enc}}\left(\beta_{v}\right)\right)\right)\right\}_{v\in\mathcal{F}}. As a result, By defining q=j=1mqj2q=\sqrt{\sum^{m}_{j=1}q_{j}^{2}} and scaling up all upper bounds for dec\mathcal{L}_{\textrm{dec}} by a factor of mm, all previous results and theorems seamlessly extend to high-dimensional computing functions.

Appendix D Coded data points

Figures 4(b) and 4(c) display coded samples generated by BACC and LeTCC, respectively, derived from the same initial data points depicted in Figure 4(a). These samples are presented for the MNIST dataset with parameters (N,K)=(70,30)(N,K)=(70,30). From the figures, it is apparent (Specifically in paired ones that are shown with the same color) that while both schemes’ coded samples are a weighted combination of multiple initial samples, BACC’s coded samples exhibit high-frequency noise. This observation suggests that LeTCC regression functions produce more refined coded samples without any disruptive noise.

Refer to caption
(a) Initial inputs
Refer to caption
(b) BACC coded samples
Refer to caption
(c) LeTCC coded samples
Figure 4: Comparison of coded samples between BACC and LeTCC frameworks. Figure 4(a) represents the initial data points {𝐱k}k=1K\{\mathbf{x}_{k}\}^{K}_{k=1} for K=30K=30. Figures 4(b) and 4(c) display N=70N=70 coded samples {𝐱~n}n=1N\{\mathbf{\tilde{x}}_{n}\}^{N}_{n=1} from BACC and LeTCC, respectively. Samples with clear differences are highlighted with the same color.