 receives $\tilde{X}_i$ on its input, evaluates $f(\tilde{X}_i)$, then it sends the result to the fusion node. Finally, the fusion node is expected to numerically stably decode the set of evaluations $\mathcal{F}=\{f(X_1), \cdots, f(X_m)\}$ after it receives the output of any $K$ worker nodes.

![The Lagrange coded computing system framework[]{data-label="fig:lccsys"}](Model_LagCC.pdf)

Background on Lagrange Coded Computing {#sec:Lagrange}
--------------------------------------

In this section, we review the baseline Lagrange coded computing method introduced in [@yu2018lagrange] considering the framework in Section \[sec:lccsysprob\]. Notice that although the method in [@yu2018lagrange] is more general, here, for simplicity, we limit our discussion to the *systematic* Lagrange coded computing. That is, we assume that for $i\in [m]$, worker node $i$ receives the $i$-th data point from the master node. In other words, we assume that $\tilde{X}_i=X_i, i\in[m]$. Now, the encoding procedure goes as follows: First, let $x_1, \cdots, x_P$ be distinct real values, an encoding function $g(x)$ is defined as: $$\begin{aligned}
\label{eq:lagenc}
g(x)=\sum_{i=1}^{m} X_i \prod_{j\in[m]-i} \frac{x-x_j}{x_i-x_j}.\end{aligned}$$ Given this encoding function, the master node sends the encoded vector $\tilde{X}_i=g(x_i)$ to the worker node $i$, for every $i \in [P]$. Notice that the encoding function $g(x)$ indeed leads to a systematic encoding since $\tilde{X}_i=g(x_i)=X_i,$ for all $i\in [m]$. Every worker node $i$ computes $f(\tilde{X}_i)$ upon the reception of $\tilde{X}_i$, and sends the result to the fusion node. The fusion node waits till receiving the output of any $K:=(m-1)\deg(f)+1$.

Numerically Stable Lagrange Coded
receives $ \tilde{X}_i$ on its input, evaluates $ f(\tilde{X}_i)$, then it sends the resultant role to the coalition node. Finally, the coalition node is expect to numerically stably decode the set of evaluation $ \mathcal{F}=\{f(X_1), \cdots, f(X_m)\}$ after it receive the output of any $ K$ proletarian nodes. 

! [ The Lagrange coded calculate system framework[]{data - label="fig: lccsys"}](Model_LagCC.pdf) 

 Background on Lagrange Coded Computing { # sec: Lagrange } 
 -------------------------------------- 

 In this section, we review the baseline Lagrange coded calculate method introduced in [ @yu2018lagrange ] consider the framework in Section \[sec: lccsysprob\ ]. Notice that although the method acting in [ @yu2018lagrange ] is more general, here, for simplicity, we limit our discussion to the * taxonomic * Lagrange coded computing. That is, we assume that for $ i\in [ m]$, worker node $ i$ receives the $ i$-th datum point from the headmaster node. In other words, we wear that $ \tilde{X}_i = X_i, i\in[m]$. Now, the encoding procedure goes as follows: First, let $ x_1, \cdots, x_P$ be distinct real values, an encoding function $ g(x)$ is defined as: $ $ \begin{aligned } 
 \label{eq: lagenc } 
 g(x)=\sum_{i=1}^{m } X_i \prod_{j\in[m]-i } \frac{x - x_j}{x_i - x_j}.\end{aligned}$$ Given this encoding function, the master node sends the encoded vector $ \tilde{X}_i = g(x_i)$ to the worker node $ i$, for every $ i \in [ P]$. Notice that the encoding affair $ g(x)$ indeed leads to a systematic encoding since $ \tilde{X}_i = g(x_i)=X_i,$ for all $ i\in [ m]$. Every actor node $ i$ calculate $ f(\tilde{X}_i)$ upon the reception of $ \tilde{X}_i$, and air the result to the fusion lymph node. The fusion lymph node waits till receiving the output of any $ K:=(m-1)\deg(f)+1$. 

 Numerically static Lagrange Coded
 refeives $\tilde{X}_i$ on its inkut, evaluates $f(\tilde{X}_i)$, tien it aends thd result to the fusion node. Hinaoly, tye fusion node is expezted to nlmericallt stebly decode the set of eycluatjlns $\kethcal{F}=\{f(X_1), \cdots, f(X_m)\}$ after it receives tve obtput of any $K$ worker nodes.

![The Lagragge codrd computing sysjem fgaiewodk[]{data-label="fig:lccsys"}](Model_LagCC.pdf)

Bzckgrouid on Lagrange Voded Computing {#sec:Lagrangf}
--------------------------------------

In hhis section, we regiew the baweligw Lagrange cuded compuuiug method ihtroduced in [@yu2018lagrange] considefing che framewotk ij Section \[ser:lccsyfprob\]. Notice that aldhough yhe method in [@nu2018lagcangw] is more general, herx, for simplicity, we jimit our dnscussion to the *systwmqtic* Nagrdnge xoddd dokphting. Hhav is, we asshme that foe $i\in [m]$, worker node $i$ grceives the $j$-th daea point from the master node. In other wogds, se assume that $\tilde{X}_i=X_u, i\in[m]$. Now, the encodijg procedtre goes as follows: First, let $x_1, \cdots, x_P$ be distitct rxau vcoues, xb fncoding function $g(x)$ is defined as: $$\begin{alignqs}
\lsbvl{eq:lagenc}
g(x)=\sum_{i=1}^{m} X_i \prod_{j\in[k]-i} \ftwc{x-x_j}{x_i-x_j}.\end{auigned}$$ Giben this encoding vunctiog, the master njde xends the encoded vector $\tiode{X}_i=g(x_i)$ to nhe qorker node $i$, for zvery $i \in [P]$. Notoce tnat the encoding functiun $g(s)$ indeed lewds to a ahstematic encodivg xitce $\tildt{B}_i=g(x_i)=X_i,$ for all $i\yn [m]$. Everb worler nodd $i$ vomputqs $f(\tilde{X}_l)$ upok the reception of $\hilde{R}_i$, ang sends thf result to the fusion node. The fusion node wsids nill recenving bhe output of agy $K:=(m-1)\deg(f)+1$.

Numerncally Scable Uagrange Ckded
receives $\tilde{X}_i$ on its input, evaluates $f(\tilde{X}_i)$, sends result to fusion node. Finally, to stably decode the of evaluations $\mathcal{F}=\{f(X_1), f(X_m)\}$ after it receives the output any $K$ worker nodes. ![The Lagrange coded computing system framework[]{data-label="fig:lccsys"}](Model_LagCC.pdf) Background on Lagrange Computing {#sec:Lagrange} -------------------------------------- In this section, we review the baseline Lagrange coded computing introduced [@yu2018lagrange] the in Section \[sec:lccsysprob\]. Notice that although the method in [@yu2018lagrange] is more general, here, for simplicity, limit our discussion to the *systematic* Lagrange coded That is, we assume for $i\in [m]$, worker node receives $i$-th data from master In other words, assume that $\tilde{X}_i=X_i, i\in[m]$. Now, the encoding procedure goes as follows: First, let $x_1, \cdots, x_P$ be real values, function $g(x)$ defined $$\begin{aligned} g(x)=\sum_{i=1}^{m} X_i \prod_{j\in[m]-i} this encoding function, the master node vector $\tilde{X}_i=g(x_i)$ to the worker node $i$, for $i \in Notice that the encoding function $g(x)$ leads to a systematic encoding since $\tilde{X}_i=g(x_i)=X_i,$ for $i\in [m]$. Every worker node $i$ computes $f(\tilde{X}_i)$ upon the reception of $\tilde{X}_i$, and sends to the fusion node. fusion node waits receiving output any Numerically Stable Coded
 receives $\tilde{X}_i$ on its input, Evaluates $f(\Tilde{x}_i)$, tHen It SendS the Result to the fusIOn noDe. Finally, the fusion node Is expEcTEd to NUmEricaLly stabLY dECOde ThE sEt oF eVAlUatioNs $\mAthcal{F}=\{F(X_1), \cdots, f(X_m)\}$ AftEr It receives thE OuTput of any $K$ WorKer nodes.

![The LAgrAnge coDeD coMPutinG syStem fRamewoRK[]{data-lAbel="fig:lcCsYS"}](Model_lAgCC.pdf)

bACkGrouNd on Lagrange Coded cOmPUting {#sec:LagranGe}
--------------------------------------

In thIs SEcTIOn, wE reView the basElIne LaGRange coDEd COMPutINg method introDuced in [@yu2018laGRanGe] consIdEriNG the frAmewoRk IN SeCtion \[sec:lccSyspRob\]. Notice That alTHough thE Method iN [@yu2018lagRanGe] iS morE GeNeRal, HeRE, foR SiMplICitY, we limit OuR dIscusSion TO THE *sysTemAtic* lagraNge coded compuTinG. ThaT Is, wE assuMe thaT for $I\iN [m]$, worKer nodE $i$ recEiVes the $i$-th data poInt fRom the masTer NoDe. IN oTher wORds, we aSsuMe tHat $\tildE{X}_i=X_i, i\iN[M]$. NoW, tHE ENcOding procedure goes As FOLlOws: First, Let $x_1, \cdOTs, X_P$ BE distincT rEal ValuES, An encOdinG FuNction $g(x)$ Is defiNEd As: $$\Begin{alIgNed}
\labEl{Eq:lAgeNc}
g(x)=\sUM_{i=1}^{m} X_I \prod_{j\In[m]-i} \frac{X-x_j}{x_i-X_J}.\end{aligned}$$ GivEN this encoding FUnCTIoN, The mAstEr node sends The eNCodeD vecTOr $\TilDE{X}_i=g(x_I)$ to thE wORkER node $i$, for every $i \in [P]$. NOtIce thaT the eNcoding functiOn $g(x)$ indeed LEADs to a sysTemaTIc ENcoding since $\tiLde{X}_i=G(x_i)=X_i,$ for alL $I\in [m]$. EverY workEr node $i$ cOmputes $f(\tILDe{X}_i)$ upon The RecEptIon OF $\TiLde{X}_i$, and sends THE resUlT to the fUsiOn node. THe fUsiOn nOde WaIts till reCeiving tHe OuTpUt Of aNy $K:=(m-1)\dEG(f)+1$.

NumeriCaLly stAblE LagrANge CodEd
 receives $\tilde{X}_i$ on  its input , eva lua tes  $ f(\t ilde {X}_i)$, theni t se nds the result to thefusio nn ode. Fi nally , the f u si o n  no de  i s e xp e ct ed to  nu merical ly stablydec od e the set of ev aluations$\m athcal{F}=\{ f(X _1), \ cd ots ,  f(X_ m)\ }$ af ter it receiv es the ou tp u t of a n y $K$ w o r ke r no des.

![The Lagra n ge coded computin g syst em fr a m ewo rk[ ]{data-lab el ="fig : lccsys" } ]( M o d el_ L agCC.pdf)

Ba ckground on Lag rangeCo ded Comput ing { #s e c:L agrange}
-- ---- --------- ------ - ------- - ------- -

Inthi s s ecti o n,  w e r ev i ewt he  ba s eli ne Lagra ng ecoded  com p u t i ng m eth od i ntrod uced in [@yu2 018 lagr a nge ] con sider ingth e fra mework  in S ec tion \[sec:lccs yspr ob\]. Not ice  t hat  a lthou g h themet hod  in [@y u2018la g ran ge ] i smore general, here ,f o rsimplici ty, we li mi t  our dis cu ssi on t o the * syst e ma tic* Lag rangec od ed  comput in g. Tha tis,  we  assu m e th at for  $i\in [ m]$,w orker node $i$ receives the$ i$ - t hd atapoi nt from the  mas t er n ode. In  ot h er wo rds,we as s ume that $\tilde{X} _i =X_i,i\in[ m]$. Now, the  encodingp r o cedure g oesa sf ollows: First,  let$x_1, \cdo t s, x_P$be di stinct r eal value s ,  an enco din g f unc tio n $g (x)$ is defin e d  as:  $ $\begin {al igned}\la bel {eq :la ge nc}
g(x)= \sum_{i= 1} ^{ m}  X _i\prod _ {j\in[m] -i } \ fr ac{ x-x_j } {x_i-x _j}.\ end{ al ig n ed} $$ Give n  t h i s en co di ng f unc ti on, t he m a ste r nodesends the  en c oded  v ec tor $\t ilde{X}_i=g(x _i )$ to thewo rke r node $ i$, forevery $i \in [P]$. Noti c e thatthe  enco ding  function  $g (x)$ i nde e d lead s to a  syst em ati c encod i n gsin ce  $\tilde{X } _ i=g (x_i) =X _i,$  for al l $i\in [m]$. Ever y  wo rker node $i$  co mput e s  $ f(\ t il d e{X }_ i )$u p on the receptio n of $\til de { X} _i$, and s e nds  t he resu lt to t he fu s ion nod e. The fu sion node  w aits t ill  receiving  the out put of an y  $K:= ( m- 1)\de g(f )+1$.
N ume rical ly Sta b leLagra nge Co de d
 receives_$\tilde{X}_i$ on_its input, evaluates $f(\tilde{X}_i)$,_then it_sends_the result_to_the fusion node._Finally, the fusion_node is expected to_numerically stably decode_the_set of evaluations $\mathcal{F}=\{f(X_1), \cdots, f(X_m)\}$ after it receives the output of any $K$_worker_nodes.

![The Lagrange_coded_computing_system framework[]{data-label="fig:lccsys"}](Model_LagCC.pdf)

Background on Lagrange Coded_Computing {#sec:Lagrange}
--------------------------------------

In this section, we_review the_baseline Lagrange coded computing method introduced in [@yu2018lagrange]_considering_the framework in_Section \[sec:lccsysprob\]. Notice that although the method in [@yu2018lagrange]_is more general, here, for simplicity,_we limit our_discussion_to_the *systematic* Lagrange coded_computing. That is, we assume that_for $i\in [m]$, worker node $i$_receives the $i$-th data point from the_master node. In other words, we_assume that $\tilde{X}_i=X_i, i\in[m]$. Now,_the encoding_procedure goes as follows: First,_let $x_1, \cdots,_x_P$ be_distinct real values,_an encoding function $g(x)$ is defined_as: $$\begin{aligned}
\label{eq:lagenc}
g(x)=\sum_{i=1}^{m} X_i_\prod_{j\in[m]-i} \frac{x-x_j}{x_i-x_j}.\end{aligned}$$ Given this encoding function,_the_master node sends_the_encoded_vector $\tilde{X}_i=g(x_i)$_to the worker_node_$i$, for_every_$i \in [P]$. Notice that the_encoding_function $g(x)$ indeed leads to a systematic_encoding since $\tilde{X}_i=g(x_i)=X_i,$ for_all_$i\in [m]$. Every worker_node $i$ computes $f(\tilde{X}_i)$ upon_the reception of $\tilde{X}_i$, and sends_the result_to the_fusion node. The fusion node waits till receiving the output of_any $K:=(m-1)\deg(f)+1$.

Numerically Stable Lagrange Coded