<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Minimisation of robust estimates of the sums of parametrised functions</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Z M Shibzukhov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>M A Kazakov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>D P Dimitrichenko</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Applied Mathematics and Automation KBSC RAS</institution>
          ,
          <addr-line>Shortanova str. 89A, Nalchik</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Moscow Pedagogical State University</institution>
          ,
          <addr-line>Malaya Pirogovskaya str. 1, Moscow, Russia, 119991</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Russia</institution>
          ,
          <addr-line>360000</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2018</year>
      </pub-date>
      <fpage>10</fpage>
      <lpage>16</lpage>
      <abstract>
        <p>A robust approach to the design of machine learning algorithms, based on minimising finite sums of the parametrised functions is considered. This method implies using robust finite-sum differentiable aggregating functions that are resistant to outliers.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>1. Introduction
parametrised functions:
The majority of machine learning problems can be reduced to problem of minimising finite sums of
 (w) =</p>
      <p>∑   ℓ (w),
where ℓ1(), … , ℓ  ()
 ∈  ⊆ ℝ
 ,  1, … ,  
– are non-negative basis functions,</p>
      <p>– is the vector of unknown parameters,
≥ 0 – is nonnegative weights. Most often   = const, for example, 1
(arithmetic sum) or 1/ (arithmetic mean).  target function is minimised by the optimal set of
parameters  ∗
:
 ( ∗
) = min ( ).</p>
      <p>∈
Most of algorithms for neural networks (NN) learning are based on this principle. In particular back
propagation (BP) algorithm is based on minimisation of arithmetic mean squared errors.
()</p>
      <p>However, if the distribution of the basic functions values contains outliers, the minimization of
, as a rule, leads to a distortion of  ∗. This is due to the fact that the arithmetic sum and the
arithmetic mean are not resistant to the outliers.</p>
      <p>Of course, the problem of outliers could be solved by choosing the values of the weights  1, … ,   ,
which, on the one hand, would suppress the values of outliers, and on the other hand, leave the rest left
unchanged. However, the selection of such weights is difficult task and is essentially equivalent by the
complexity to identifying the outliers in the empirical distribution {ℓ1( ∗), … , ℓ ( ∗)}.</p>
      <p>One of the effective way of dealing with this problem is to use robust aggregation functions to
calculate the sum or average. Thus, we get definitions for the function  :
for robust estimation of a mean
() = med
=1,…</p>
      <p>ℓ ()
 −
 =1
 ( ) =</p>
      <p>
        ∑ ℓ( ) ( )
with ℓ () = ((
Squares) [
        <xref ref-type="bibr" rid="ref1 ref2">1,2</xref>
        ].
and for robust estimation of a sum. Here  (1), … ,  ()
is the sequence of numbers obtained by
arranging the initial sequence  1, … ,   in ascending order. For example, to build a robust regression
 , ) − 
 )
      </p>
      <p>2 there have been proposed LMedS and LTS (Least Trimmed
Last sum could be rewritten as trimmed arithmetical mean:
() =</p>
      <p>1
 − 
−
=1
∑ ℓ() ()
Minimizing the above estimates on data with outliers (up to 50%) allows finding adequate estimates
for  ∗. However, minimization algorithms for LTS and LMS include a combinatorial component form
of  ∗ search through subsets, since their gradients are singular. It makes application of gradient based
algorithms almost impossible. This also reduces the scalability of such algorithms and their application
in training neural networks and in problems with big data.</p>
      <p>Another way of robust estimation of  ∗ is using a winsorized sum
or an average


=1

1</p>
      <p>=1
() =</p>
      <p>∑ max {ℓ (), ℓ ()}</p>
      <p>∑ max {ℓ ( ), ℓ( )},




where ℓ()</p>
      <p>is threshold value for the empirical distribution {ℓ1(), … , ℓ  ()} .</p>
      <p>
        In this paper, we consider general approach where for estimation of average empirical losses it will
be used  -averaging aggregation functions ( -averages). This approach generalises  -regression
method [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and provides universal technique for solving the problem
of the empirical risk
minimisation in presence of outliers. It allows to use differentiable  -averages that could be treated as
a sort of approximations of median and quantiles. In such cases a general gradient based procedure
could be constructed for NN robust training.
2. Minimisation of M-averages from parametrised functions
For the median case, the problem can be solved using  -averages [
        <xref ref-type="bibr" rid="ref10 ref5 ref7 ref8 ref9">5,7-10</xref>
        ], which are differentiable
and, in a sense, are approximate median:
      </p>
      <p>{ 1, … ,   } = argmin ∑  (  −  ),
where  – is the nonnegative strictly convex function, (0) = 0 .</p>
      <p>Here are some examples of  -averages:</p>
      <p>Collection of symmetrical averages:
where 0 ≤  ≤ 1 ( 0 is median,  1 is arithmetical mean).</p>
      <p>Collection of non-symmetrical averages:
  { 1, … ,   } = argmin ∑ |   − | 1+ ,
  { 1, … ,   } = argmin ∑ |   − |</p>
      <p>1+ ,


 =1




=1
=1
where || 
1+ = ( − [ &gt; 0])||</p>
      <p>, 0 ≤  ≤ 1 ( 0 is  -quantile,  1 is  -expectile).
Besides,
 
  ≥ 0 and

∑
 =1
is convex,  ′′() is continouous function,  &gt; 0
is value of distortion,̃ ∈ [  ,   +
],  ̃ =   { 1, … ,  −1 ̃,} . Let   be some  -averaging function. We define empirical risk
based on  -averaging function   , as follows:</p>
      <p>( ) =   {ℓ1( ), … , ℓ ( )}.</p>
      <p>The classical empirical risk is a special case when   is arithmetical mean. The best set of the
parameters for  ∗ have to minimize the function with respect to the minimization principle:

  ( ∗</p>
      <p>) = min  {ℓ1( ), … , ℓ ( )}.</p>
      <p>Since the median and quantile are not continuously differentiable, the gradient procedures for
minimisation of the risk functional are not practical. However, instead of median we can use
continuously differentiable parametric family of  -average functions based on the dissimilarity
function   ( − )
that satisfy the following requirements:</p>
      <p>′′(̃ −  ̃ )
∑ =1
 −1  ′′ (  −  ̃ ) +  ′′(̃ −  ̃ )
&lt;  ′′(̃ −  ̃ ) ,
→0
→0
→0
1. lim  ( − ) = | − |
2. lim ′ ( − ) = sign( − )
3. lim ′′( − ) = ( − )</p>
      <p>;
can be used:
   () = √ 2 +  2 −  ;
   () = || − 
ln( + ||) −</p>
      <p>ln .</p>
      <p>;
(Dirac’s  -function).</p>
      <p>We demonstrate, for example, that for the role of "approximate" median the following functions
Such  -averages    are continuously differentiable and robust with sufficiently small  . This
implies that they are resistant to outliers (in some cases up to 50%).</p>
      <p>
        To approximate the  -quantile, one can use the function
(1 − )
  (),
 (),
if  &lt; 0
if  &gt; 0.
 , () =
{  (+0) + (1 − )  (−0), if  = 0
(1)
The  ∗ search algorithm is an IR-ERM (Iteratively Re-weighted Empirical Risk Minimization) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]:
procedure IR-ERM( 0
      </p>
      <p>)

=1</p>
      <p>
        At the heart of IR-ERM is the process of iterative re-weighting, as well as in the IRLS [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. The
IRERM algorithm differs from the IRLS in the way of recalculation of the weights.
      </p>
      <p>
        To demonstrate the possibility of empirical risk minimisation [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] based on a robust estimate and
IR-ERM algorithm, here is an example of linear regression problem with a large number of outlies.
We have a straight line through data points with an evenly distributed small error. For the linear
regression recovering we use the least squares method, the absolute-error-minimising method, and the
robust differentiable estimate minimising technique by means of the M-average through the function
  ( ) = | −  | −  ln(
+ | −  |) +  ln ,
where  = 0.001. Fig. 1 explain advantage of robust linear regression recovery. In both cases, robust
differentiable average estimate minimising technique made it possible to avoid the influence of
outliers.
3. Minimizing robust sums of functions
Consider a number of summation methods resistant to outliers. All  -averages including the
arithmetic mean feature:
      </p>
      <p>But the arithmetic summation features the following important property:
 { 1, … ,   } =</p>
      <p>(  +  −  (  −  )).</p>
    </sec>
    <sec id="sec-2">
      <title>Calculate the partial derivatives:</title>
      <p>=1
1
2

1</p>
      <p>∑
3.1. Least Winsorized Sum and Mean
In the Least Winsorized Sum (LWS) method before summing, all values that are greater than the
specified threshold value  are replaced by  , i.e.</p>
      <p>{ 1, … ,   } =</p>
      <p>(  +  − |  −  |).</p>
      <p>Let’s call it WS (Winsorized Sum). It has the following property: if  is the arithmetic mean of
 1, … ,   , then</p>
      <p>{ 1, … ,   } =  1 + ⋯ +   .</p>
      <p>The WM (Winsorized Mean) averaging method is defined as

 { 1, … ,   } =
 { 1, … ,   }.</p>
      <p>We generalize the WS summing method as follows. Let   be  -average on the basis of a twice
differentiable strictly convex function  . Denote  =   { 1, … ,   }. Define
then</p>
    </sec>
    <sec id="sec-3">
      <title>Therefore If where</title>
      <p>Since, by definition,
   = 1 (1 −  ′(  −  )) +
   
2</p>
      <p>.
∑
    =  .
 =1
to find the optimal set of parameters  ∗ . Now write down the gradient:
1
2
  ( ) =
(1 −  ′(ℓ ( ) −  ( ))) +
1   
2</p>
      <p>For numerical calculation, we can apply the algorithm IR-SWSM (Iteratively Re-weighted
Smoothly Winsorized Sum Minimization) the next version of the IR-SWSM algorithm:
layer:</p>
      <p>end
where softplus( ) = ln(1 +   ). NN was trained with the Boston data set.</p>
      <p>=  0 +  1 1 + ⋯ +</p>
      <p>= softplus(  0 +   1 1 + ⋯ +     ),</p>
      <p>To illustrate the IR-SWSM algorithm capacity, we consider a neural network with single hidden</p>
      <p>For training, error back propagation has been applied, where the mean square error (ER) and mean
value of the Huber function with the small parameter (0.001) are minimised, for it to be a
continuously differentiable approximation of the module error. IR-SWSM learning algorithm has also
been used, where the robust estimate of the error sum WS of squares (WS) are minimised using the
function   , type (1), where   ( ) = √ 2 +  2 −  ,  = 0.90.</p>
      <p>The Fig. 2 shows the of mean absolute error distribution across the entire dataset. This clearly
demonstrate that training neural networks (40 and 80 neurons in the hidden layer) with IR- SWSM
algorithm reduce error values to more than 80% of the data.</p>
      <p>There is also another experiment with only 7 neurons in the hidden layer. The Fig. 3 shows the of
mean absolute error distribution across the entire dataset.</p>
      <sec id="sec-3-1">
        <title>4. Conclusion</title>
        <p>In this paper, we propose a method and algorithms for minimizing robust differentiable estimate of
means and sums that are potentially resistant to outliers and errors that can lead to a shift in the
parameters of the trainees. It is based on minimization of differentiable robust analogs of median,
quantiles and winsorized sums of loss functions.</p>
        <p>
          The above approaches are preferable in the cases when application of gradient based minimisation
procedures are preferable. For example, these approaches made possible application of weighted
variants of back propagation algorithms for NN robust learning. Construction of robust learning
algorithms of NN are important in a sense of many applications [
          <xref ref-type="bibr" rid="ref12 ref13 ref14 ref15">12-15</xref>
          ]. In particular an iteratively
reweighted procedures are proposed.
        </p>
        <p>In these procedures at each step a weighted variant of back propagation algorithm is used.
Examples presented above clearly show that proposed approaches and algorithms can be resistant to a
large amount of outliers.</p>
      </sec>
      <sec id="sec-3-2">
        <title>Acknowledgments</title>
        <p>The work was supported by a grant from the Russian Foundation for Basic Research 18–01–00050.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Rousseeuw</surname>
            <given-names>P J</given-names>
          </string-name>
          1984
          <source>Least median of squares regression American Statistical Association</source>
          <volume>79</volume>
          <fpage>871</fpage>
          -
          <lpage>880</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Rousseeuw</surname>
            <given-names>P J</given-names>
          </string-name>
          <year>1987</year>
          <article-title>Robust regression and outlier detection (NY: John Wiley</article-title>
          and Sons)
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Shibzukhov Z M 2017</surname>
          </string-name>
          <article-title>On the principle of empirical risk minimization based on averaging aggregation functions</article-title>
          <source>Doklady Mathematics</source>
          <volume>96</volume>
          (
          <issue>2</issue>
          )
          <fpage>494</fpage>
          -
          <lpage>497</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Andersen</surname>
            <given-names>R 2008</given-names>
          </string-name>
          <string-name>
            <surname>Modern Methods For Robust Regression (Thousand Oaks: SAGE Publications)</surname>
          </string-name>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Huber P J 1981 Robust</surname>
          </string-name>
          <article-title>Statistics</article-title>
          (NY: John Wiley and Sons)
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Vapnik</surname>
            <given-names>V 2000</given-names>
          </string-name>
          <article-title>The Nature of Statistical Learning Theory</article-title>
          . Information Science and Statistics (Springer-Verlag)
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Mesiar</surname>
            <given-names>R</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Komornikova</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kolesarova</surname>
            <given-names>A</given-names>
          </string-name>
          and
          <string-name>
            <surname>Calvo</surname>
            <given-names>T 2008</given-names>
          </string-name>
          <article-title>Aggregation functions: A revision Fuzzy Sets and Their Extensions: Representation, Aggregation</article-title>
          and Models (Springer, Berlin, Heidelberg)
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Grabich</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marichal J-L and Pap E 2009 Aggregation Functions</surname>
          </string-name>
          <article-title>Encyclopedia of Mathematics and its Applications 127</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Beliakov</surname>
            <given-names>G</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sola</surname>
            <given-names>H</given-names>
          </string-name>
          and
          <string-name>
            <surname>Calvo</surname>
            <given-names>T 2016</given-names>
          </string-name>
          <article-title>A practical guide to averaging functions (Springer)</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Calvo</surname>
            <given-names>T</given-names>
          </string-name>
          and
          <string-name>
            <surname>Beliakov</surname>
            <given-names>G 2010</given-names>
          </string-name>
          <article-title>Aggregation functions based on penalties</article-title>
          <source>Fuzzy Sets and Systems</source>
          <volume>161</volume>
          (
          <issue>10</issue>
          )
          <fpage>1420</fpage>
          -
          <lpage>1436</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Yohai</surname>
            <given-names>V J</given-names>
          </string-name>
          <year>1987</year>
          <article-title>High breakdown-point and high effciency robust estimates for regression</article-title>
          <source>The Annals of Statistics</source>
          <volume>15</volume>
          <fpage>642</fpage>
          -
          <lpage>656</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Nikonorov</surname>
            <given-names>A V</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Petrov</surname>
            <given-names>M V</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bibikov</surname>
            <given-names>S A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kutikova</surname>
            <given-names>V V</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morozov</surname>
            <given-names>A A</given-names>
          </string-name>
          and
          <string-name>
            <surname>Kazanskiy N L 2017</surname>
          </string-name>
          <article-title>Reconstruction of the images in difractional-optical systems on the base of convolutional neural neworks</article-title>
          and deconvolution
          <source>Computer Optics</source>
          <volume>41</volume>
          (
          <issue>6</issue>
          )
          <fpage>875</fpage>
          -
          <lpage>887</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179- 2017-41-6-
          <fpage>875</fpage>
          -887
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Nikitin</surname>
            <given-names>M Y</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Konushin V S and Konushin</surname>
            <given-names>A S</given-names>
          </string-name>
          <year>2017</year>
          <article-title>Neural network model for human recognition by face in video sequences with estimation of frame's utility</article-title>
          <source>Computer Optics</source>
          <volume>41</volume>
          (
          <issue>5</issue>
          )
          <fpage>732</fpage>
          -
          <lpage>742</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179-2017-41-5-
          <fpage>732</fpage>
          -742
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Spicyn</surname>
            <given-names>V G</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bolotova</surname>
            <given-names>Y A</given-names>
          </string-name>
          ,
          <article-title>Fan Hgok Hoang and Bui Thi 2016 Chang Recognition of symbols on the base of wavelet transformations, principal components and neural networks</article-title>
          <source>Computer Optics</source>
          <volume>40</volume>
          (
          <issue>2</issue>
          )
          <fpage>249</fpage>
          -
          <lpage>257</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179-2016-40-2-
          <fpage>249</fpage>
          -257
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Poletaev S D and Volotovsky S G 2016</surname>
          </string-name>
          <article-title>Precision laser recording of microstructures on molybdenum films for generating a diffractive microrelief</article-title>
          <source>Computer Optics</source>
          <volume>40</volume>
          (
          <issue>3</issue>
          )
          <fpage>422</fpage>
          -
          <lpage>426</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179-2016-40-3-
          <fpage>422</fpage>
          -426
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>