<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by George Chen on Medium]]></title>
        <description><![CDATA[Stories by George Chen on Medium]]></description>
        <link>https://medium.com/@georgechen99_dsml?source=rss-18a4185fd50e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5pfx4-OeBPkWEYQagi9cqw.png</url>
            <title>Stories by George Chen on Medium</title>
            <link>https://medium.com/@georgechen99_dsml?source=rss-18a4185fd50e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 02:44:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@georgechen99_dsml/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Design and Implementation of A Reusable Forecasting Library with Extensibility and Scalability]]></title>
            <link>https://medium.com/walmartglobaltech/design-and-implementation-of-a-reusable-forecasting-library-with-extensibility-and-scalability-b59b3701b66f?source=rss-18a4185fd50e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b59b3701b66f</guid>
            <category><![CDATA[object-oriented-design]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[forecasting]]></category>
            <category><![CDATA[scikit-learn]]></category>
            <dc:creator><![CDATA[George Chen]]></dc:creator>
            <pubDate>Tue, 17 May 2022 20:45:09 GMT</pubDate>
            <atom:updated>2022-06-04T20:59:47.535Z</atom:updated>
            <content:encoded><![CDATA[<p>Forecasting is one of the most frequently requested machine-learning functions from Walmart businesses. While different teams work in silo building ML models, often they use the same set of open-source packages, repeating the efforts endlessly. Recently, we have developed a reusable forecasting library (<em>RFL</em>) to circumvent this situation with a design that eyes on scalability and extensibility at the same time. The goal is to provide a wrapper to the commonly used modeling approaches such as Prophet, Xgboost, Arima, etc.. Those repetitive work are now performed by <em>RFL</em>. Data scientists therefore can spend more time on evaluating the results and improving the models.</p><h3><strong>Requirements</strong></h3><p>We started out with a requirement that <em>RFL</em> must be<strong> configuration-based</strong>. The application dependent information is specified in JSON files, while application agnostic part is implemented in the core library. This is motivated by our vision of Forecasting-As-A-Service where the front-end UI communicate with the backend FAAS via JSON files.</p><p>A second requirement is <strong>Extensibility</strong>. This includes the abilities of adding new forecasting models that are not currently in the library, and extending functionalities such as classification. <em>RFL</em> should make such kind of functional advancement straightforward to accomplish.</p><p>The final requirement is <strong>Scalability</strong>. In the projects we’ve engaged, there are those involving a few hundreds of models (small), tens-of-thousands of models (medium) or millions of models (large). All these use cases should be supported and ideally configured by flipping a flag in the JSON file.</p><h3>Design</h3><p>Our approach is to first form an abstraction of the computational process of forecasting. Then we capture the abstraction using Object-Oriented-Design (OOD) concepts. Our intuition is that once captured, adding new models/functions becomes a matter of sub-classing (from base classes).</p><p>One abstraction is the separation of data and computing. In Fig. 1a, fields of the data frame comprise of four types:</p><ul><li>Time index — this is the timestamp of the data point.</li><li>Target — this is the target to be predicted.</li><li>Partitions — columns here in fact define a data grid each joint of which is associated with a time series from the data frame. Fig. 1a shows some examples. Partition columns are also called dimensions.</li><li>Features — considered as drivers of the target variable and used to assist the forecasting. Again, Fig. 1a shows some example features.</li></ul><p>Fig. 1b is an illustration of the computation that’s happening at the joint. It consists of a pipeline of stages which run sequentially, in many trials (think of hyper-parameter tuning). All pipelines run the same program but with different data (doesn’t it sound like a Single-Program-Multiple-Data thing?).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*01K-xuMZlZUubdtQy16waw.png" /><figcaption>Figure 1a. Abstraction of data: think of data as multiple time series at the joints of the partition grid</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*w8v6eaLZUcN17Ty4GzYz-Q.png" /><figcaption>Figure 1b. Abstraction of computation: parallelization happens at joints and trials</figcaption></figure><p>The second abstraction looks further into the computing aspect (Fig. 1b). Here we observe the separation of the functionality that runs in the pipeline and the computational resources that are allocated for the execution. We call the latter <em>Backend</em>. More will be presented in a following section.</p><p>Before going into the detailed descriptions, let’s briefly introduce the UML terminologies that will be used to represent our design:</p><ul><li><strong>Is-a</strong>: <em>A</em> <strong>Is-a</strong> <em>B</em> means <em>A</em> is a subclass of the base class <em>B</em></li><li><strong>Has-a</strong>: <em>A</em> <strong>Has-a</strong> <em>B </em>means <em>B</em> is a member of <em>A</em></li><li><strong>Uses-a</strong>: <em>A</em> <strong>Use-a</strong> <em>B </em>means <em>A </em>has a reference to an object of <em>B</em>, typically passed in as a parameter to a member function of <em>A</em></li></ul><p><strong><em>Dataset </em></strong>reflects the data abstraction shown in Fig. 1a earlier. There are two parts: <em>DataSource </em>corresponds to what is read from a data source; <em>Extras </em>are additional features manufactured by <em>AutoPipe</em>. <em>DataFrame </em>initially stores data read from the source. Later it is augmented with those from the <em>Extras</em>. Different types of features have different behaviors. It is best to capture them with an object-oriented design as depicted in Fig. 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*w54uO-uKfboj_5KeazC3_A.png" /><figcaption>Figure 2. Hierarchy of the <em>Dataset</em> class. Notice the reference to <em>DataFrame</em> which stores the actual data.</figcaption></figure><p><em>Exogenous</em> signals are external variables such as precipitation, unemployment, store foot traffic, etc., that are correlated to the <em>Target</em>. Two methods are provided: <em>impute()</em> and <em>extend().</em> The former fills any N/A values. The latter computes each feature’s future values.</p><p><em>Lags</em> consists of a set of statistical features engineered from the <em>Target</em>, normally used in regression based models such as tree models. <em>Holidays</em> and <em>Seasonalities</em> are easy to understand.</p><p><em>Temporal encoding </em>encodes temporal cyclicals in weekly, monthly, quarterly and/or yearly frequencies. They are similar to position encoding widely used in Transformer type NLP neural networks. Again this feature is useful in regression models where, if not for such kind of features, the temporal order would have been lost.</p><p><strong><em>Function </em></strong>is where extensibility is achieved. In Fig. 3, the <em>Function</em> class is the provider of the functionalities. It accomplishes three things: i). incorporation of new forecasting models that are not currently in the library; ii). addition of new estimators such as classifiers; iii). adaptation to some popular machine learning API’s. Currently <em>RFL</em> has implemented 6 modeling approaches: Sarimax, Prophet, Greykite, Xgboost, LightGBM, Random Forest.</p><p>The <em>SklearnEstimator</em> class provides an example of API adaptation which in this case is Scikit-learn — a popular open-source ML package. The purpose of this adaptor is allowing <em>RFL</em> functions to be integrated into Scikit-learn pipelines as stages with other functions that follow the Scikit-learn coding convention. Pipeline is an efficient way of execution that is widely endorsed in the ML community. It eliminates transient data IO’s between the stages. Future extensions of new API’s can be implemented similarly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*rUGCUXjeWa7v28YmyPReOg.png" /><figcaption>Figure 3. Hierarchy of the Function class. In the future, <em>Classifier</em> can be added as new <em>Function.</em></figcaption></figure><p><strong><em>Compute</em></strong> is a “pulling everything together” kind of class. Fig. 4 renders such a process: a <em>Function</em> is run against multiple data in <em>Dataset </em>on the scalable <em>Backend</em>. So far, three backends are supported: <em>Loop</em>, <em>Joblib</em> and <em>PySpark</em>. The<em> Loop </em>backend, by its name, is intended to run on a local computer in iterations of data. The <em>Joblib</em> backend uses the Joblib open-source library for multi-threading. Finally, large-scale tasks can execute on a Spark cluster using the <em>PySpark</em> backend. The job of <em>run</em>() is to pack the corresponding function (<em>fit_transform</em>() or <em>predict</em>()) from the referenced <em>Function</em> object (a Prophet model in this case) and sends it to the backend which has been pre-configured. Both model and backend are specified in the configuration file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*B7ncnvRbQc9PSlgUw1mUPw.png" /><figcaption>Figure 4. Hierarchy of the Compute class. This example illustrates that a Prophet model is run on one of the three backends.</figcaption></figure><h3>Implementation</h3><p><strong><em>Runtime</em></strong> provides the top-level functions to the data scientists. For most of their daily duties, interaction with this class is granted sufficient. Four modes have been implemented. Each of which is a combination of the functions: <em>tune</em>(), <em>train</em>(), <em>test</em>(), <em>forecast</em>(), in that order (Fig. 5). While it is possible for the data scientists to call these functions via the programming API’s, the standard way of usage is by configuration files where via the <em>Config Handler</em> class, the config info is loaded. Internally, the four modes call <em>Compute.run</em>() to complete their assignment. Incorporation of new modes in the future is painless thanks to the modular design. In terms of the configuration, <em>Main config</em> is for general settings and <em>Model config</em> for model specific settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*TpMZyi1mtaw7AaVGoqo3NQ.png" /><figcaption>Figure 5. Runtime architecture. Four predefined modes are implemented currently. User construction of runtime pipelines (via config files) will be realized in the future.</figcaption></figure><p>In addition to the four modes described above, <em>RFL</em> has some additional features that are worth mentioning here:</p><p><em>Recursive feature generation</em>. It is necessary to generate future values of the exogenous signals and statistical features recursively in training and testing. For now, a vanilla Prophet model is utilized for this purpose. In case future values are available in the data frame, this functionality can be disabled in the configuration.</p><p><em>Grouping. </em>There are use cases where the partition becomes overly granular, and the time-series signal becomes too sparse. A frequently encountered example is forecasting at the store-dept-category level. In such cases, data scientists would want to do a grouping first on some of the partition dimensions. <em>RFL</em> can be configured in a way that it trains a model on a group basis and generates forecasting for all partitions in the group.</p><p><em>Evaluation frequency. </em>For performance evaluation of a model, different metrics are available such as MAPE, weighted MAPE, symmetric MAPE, MAE, etc. The evaluation can be made on an aggregated time series frequency instead of the dataset’s original one. This is especially important when the future time series has a different frequency, and the performance measures are to be compared when future data become available.</p><h3>Summary</h3><p><em>RFL </em>has been adopted in several Walmart projects as the modeling tool. In summary, benefits reported from the data scientists are of two folds:</p><ul><li>Effort saving resulted from low code experiment setup. This amounts to 3–4 days saving and 90% execution time reduction due to in-build parallelization. With <em>RFL</em>, data scientists can focus more on designing the experiments rather than spending efforts in setting things up every time.</li><li>Quality improvement afforded by wider exploration of hyper-parameter and feature spaces. While improving modeling quality is not a goal of the library itself, because of the simplification in experimentation, often data scientists do find more optimal models afterwards.</li></ul><p><em>RFL</em> is a reusable forecasting library designed with extensibility and scalability in mind. It is configuration driven as well— a design choice made to support our long-term vision of Forecasting-As-A-Service such that businesses as data owners can try what-if scenarios in a no-code fashion. In the future, we would like to promote its awareness within the company to increase further usages.</p><h3>Acknowledgement</h3><p>Multiple Walmart teams have participated in the development of <em>RFL</em>. Their contributions are acknowledged here all at once.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b59b3701b66f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/walmartglobaltech/design-and-implementation-of-a-reusable-forecasting-library-with-extensibility-and-scalability-b59b3701b66f">Design and Implementation of A Reusable Forecasting Library with Extensibility and Scalability</a> was originally published in <a href="https://medium.com/walmartglobaltech">Walmart Global Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Learning Demystified]]></title>
            <link>https://medium.com/walmartglobaltech/deep-learning-demystified-693a2d7ec79e?source=rss-18a4185fd50e------2</link>
            <guid isPermaLink="false">https://medium.com/p/693a2d7ec79e</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-science-training]]></category>
            <category><![CDATA[data-science-courses]]></category>
            <dc:creator><![CDATA[George Chen]]></dc:creator>
            <pubDate>Fri, 19 Nov 2021 20:19:03 GMT</pubDate>
            <atom:updated>2022-06-12T20:38:49.635Z</atom:updated>
            <content:encoded><![CDATA[<p>From Optimization to Deep Learning</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*JsAQvamT2W2IIrEuMjLnHw.png" /><figcaption>DL in 1 equation: <em>N</em> — a deep model, <em>θ</em> — its parameters, D — data, T — targets for supervision which can be external labels (supervised learning) or data themselves (unsupervised learning)</figcaption></figure><h3>1. Introduction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZlNHzKNKNPDky4Wi6V0oNw.png" /><figcaption>(<a href="http://www.rackwise.com/">Source</a>)</figcaption></figure><p>Nowadays neural networks boast size: hundreds of layers, trillions of parameters and complex micro-structures. Back in January of this year, Google’s <a href="https://towardsdatascience.com/google-switch-transformers-scaling-to-trillion-parameter-models-with-constant-computational-costs-806fd145923d">Switch Transformer</a> set a new record for AI language models with 1.6T parameters (8 times larger than the 175B parameters found in OpenAI’s <a href="https://www.techradar.com/news/microsoft-deploys-gpt-3-to-let-devs-code-using-everyday-language">GPT-3 model</a> released last year). Recently, with the release of BAAI’s <a href="https://towardsdatascience.com/gpt-3-scared-you-meet-wu-dao-2-0-a-monster-of-1-75-trillion-parameters-832cd83db484">WuDao 2.0</a> model, the record was set again to 1.7T. Sounds interesting but a little intimidating, right? You are not alone. If you are one of those AI lovers who are eagerly to become acquainted with this otherwise imperative technology, this blog is for you.</p><p>The goal is to demystify the unintentional dilemma by linking Deep Learning (DL) to some basic concepts of calculus so that it appears to you more appealing and less daunting. At the end, all that you need to take home about DL are summarized into three cheat sheets. Never will you be afraid of those gigantic AI models because you know that regardless of their complexities, they all boil down to the three tables that are in your possession.</p><h3>2. Optimization</h3><p>First thing to know is that deep learning (machine learning in general) is just another use case of parameter estimation via cost function optimization. If you still have doubts, take a look at the equation on the top — that’s what DL is all about. What it says is that a deep model can be thought of as a function <em>N, </em>parameterized by <em>θ,</em> that given the input data <em>d</em>, generates the output <em>N</em>(<em>d</em>). Training means finding <em>θ</em> by comparing <em>N</em>(<em>d</em>) to the known target <em>t</em> using many data-target pairs (<em>d</em>, <em>t</em>). The differences, <em>a.k.a. </em>errors <em>N</em>(<em>d</em>)-<em>t</em>, are aggregated across the whole dataset <em>D</em> and the target set <em>T. </em>The optimal solution <em>θ*</em> corresponds to the one that minimizes the total error. Thanks to the two magic symbols <em>N</em> and <em>θ</em>, all the scary stuff around DL is fenced off<em>.</em></p><p>In the remainder of this section, I will discuss about function optimization in more details, from simple types to more complex ones that are suitable for expressing Deep Neural Networks (DNN).</p><p><strong>2.1 Uni-variate Function Optimization</strong></p><p>Let’s start with the simplest case — functions with single variables — <em>y</em>=<em>f</em>(<em>x</em>). Assume the derivative of <em>f</em> is non-zero, i.e. <em>f’</em>(<em>x</em>)≠0 (we’ll see why this condition is required in a minute). Our goal is to find its root (where <em>f</em>(<em>x</em>)=0).</p><p>An example is <em>f</em>(<em>x</em>)=<em>x</em> whose answer is trivial: <em>x</em>=0. As a preparation for understanding the later sections, let’s solve it instead as an optimization problem. We take the following steps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*ADcHFZrkR2nlvUHxymEcdw.png" /><figcaption>Fig. 2.1 Shape of the cost function C(f(x))=x²/2</figcaption></figure><ol><li>Construct a <strong>cost function</strong> <em>C</em>(<em>f</em>)=<em>f</em>(<em>x</em>)²/2 which is the simplest <a href="https://en.wikipedia.org/wiki/Convex_function">convex function</a> and guarantees a single minimum.</li><li>Perform <strong>Gradient Descent</strong> (GD) on the newly constructed cost function. When <em>f</em>(<em>x</em>) is a complex function, directly optimizing <em>C</em>(<em>f</em>) is hard. In such cases, iterative gradient descent is the approach. The trick is to approximate <em>f</em>(<em>x</em>) by its 1st order Taylor expansion: <em>f</em>(<em>x</em>)=<em>f</em>(<em>x</em>₀)+<em>f’</em>(<em>x</em>₀)(<em>x</em>-<em>x</em>₀), i.e. at a local vicinity at <em>x</em>₀, replacing <em>f</em>(<em>x</em>) by a line with tangent <em>f’</em>(<em>x</em>₀). Then instead of solving <em>f</em>(<em>x</em>)=0, we solve <em>f</em>(<em>x</em>₀)+<em>f’</em>(<em>x</em>₀)(<em>x</em>-<em>x</em>₀)=0. The found <em>x</em> becomes the <em>x</em>₀ of the next iteration and the process keeps repeating until the minimum is reached. Below is the algorithm,</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*-Xe9TYKVKwjGIUDI-iEYXA.png" /><figcaption>Univariate function optimization by Gradient Descent. Start from a initial guess x0. Iteratively update it with the calculated ▵x until convergence.</figcaption></figure><p>When the iteration stops, the last <em>xₜ</em> is the sought root. Pay attention to three details here:</p><ul><li>▵<em>θ i</em>s used in lieu of <em>-</em>▵<em>x</em>, to be consistent with the typical parameter representations of neural networks.</li><li>The derivative <em>f’</em>(<em>x</em>) unnecessarily appears both in numerator and denominator. The reason will become clear soon when dealing with more complex function types where the concept of derivative changes to gradient.</li><li>Because <em>f’</em>(<em>x</em>) appears in the denominator, it cannot be zero and that’s what the condition <em>f’</em>(<em>x</em>)≠0 is for.</li></ul><p><strong>Question</strong>: How do we know that the minimum of <em>C</em> is the same as the root of <em>f(</em>x<em>)</em>?</p><p><strong>Answer</strong>: It is known that as a convex function, <em>C</em>’s minimum is at its <a href="https://en.wikipedia.org/wiki/Stationary_point">stationary point</a> — the place where <em>C’</em>s derivative vanishes. Following the derivative calculation rule: <em>C’(f)</em>=<em>f(</em>x<em>)f’(</em>x<em>). Thus C’(f)</em>=<em>0 leads to f(x)=0 s</em>ince <em>f’(x)</em>≠<em>0</em>. In other words, the newly constructed cost function is pointing us to the same solution to the original problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*4FbMoVVi4sdM1hiHjOaQBA.png" /><figcaption>Fig. 2.2 GD example. Green triangles: x sequence; red circles: f(x) sequence; dashed red lines: tangent lines at the data points.</figcaption></figure><p>Fig. 2.2 shows the gradient descent when minimizing the above cost function. In this case, ▵<em>θ=f</em>(<em>x</em>)/<em>f’</em>(<em>x</em>)<em>=x</em>/2 which means each iteration halves the previous root found so far. Starting from <em>x</em>=2, the next values are <em>x</em>=1, 0.5, 0.25, … etc. In 10 iterations, <em>x</em> reaches to 1/1⁰²~1e-3 and the cost <em>C</em> reduces to 7.63e-6. Notice that the slope of each red dashed line, equivalent to the derivative or gradient of the cost function at the root <em>x</em> of the moment, keeps descending during the process (hence the name Gradient Descent).</p><p><strong>2.2 Multivariate Function Optimization</strong></p><p>As its name suggests, multivariate functions involve more than one variables. They look like <em>f</em>(<em>x</em>₀, <em>x</em>₁, …, <em>xₙ</em>). Sometimes they are written in a vector form <em>f</em>(<em>X</em>) where <em>X</em>=[<em>x</em>₀, <em>x</em>₁, …, <em>xₙ</em>]. Since <em>X</em> is multi-dimensional, a single equation <em>f</em>(<em>X</em>)=0 does not suffice a solution. Rather, <em>m</em>≥<em>n</em> equations are required, i.e. <em>f</em>₀(<em>X</em>)=0, <em>f</em>₁(<em>X</em>)=0, …, <em>fₘ</em>(<em>X</em>)=0. Define <em>F</em>=[<em>f</em>₀, <em>f</em>₁, …, <em>fₘ</em>], a vector function, and [0]<em>ₘ=</em>[0, 0, …, 0], a vector of <em>m</em> zeros<em>.</em> Similar to the univariate case, the multivariate root finding problem <em>F</em>(<em>X</em>)=[0]<em>ₘ</em> is converted into an optimization one via a cost function <em>C</em>(<em>F</em>(<em>X</em>))=(<em>F・F</em>)/2 where the symbol<em>・</em>denotes vector dot product.</p><p>One is wondering what the multivariate equivalent to the univariate derivative is. Well, it turns out to be a matrix called <strong>Jacobian matrix </strong>which is defined as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*IhDwwRjxmnoasDbPug1Pag.png" /></figure><p>where ▽<em>fᵢ</em>(<em>X</em>)=[<em>fᵢ</em>’(<em>x</em>₀), <em>fᵢ</em>’(<em>x</em>₁), …, <em>fᵢ’</em>(<em>xₙ</em>)] is the gradient of the ith function <em>fᵢ </em>w.r.t. variable <em>X </em>for<em> i=</em>0, 1, …,<em> m</em>. Stacking all these gradient vectors together forms the Jacobian matrix.</p><p>Following the similar manipulation of the univariate case, the multivariate optimization process is given below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*7GnzIVwT5V0VEoH-Tx5zPA.png" /><figcaption>Multivariate function optimization by GD. Notice the resemblance to the univariate case.</figcaption></figure><p>There are a couple of interesting things to notice from above. First of all, structure wise, the univariate and multivariate processes are exactly the same. Second, just like the requirement <em>f’</em>(<em>x</em>)≠0 earlier, <em>J</em>(<em>X</em>)<em>ᵗ J</em>(<em>X</em>) must be of full rank, i.e., <em>J</em>(<em>X</em>) cannot vanish. Third, the adaptation can be accomplished following these swaps:</p><ul><li><em>x → X</em></li><li><em>f→F</em></li><li><em>f</em>’(<em>x</em>)<em>→J</em>(<em>X</em>) or its transpose <em>J</em>(<em>X</em>)<em>ᵗ</em></li><li><em>1/(f</em>’(<em>x</em>)<em>f</em>’(<em>x</em>))<em>→</em>inverse of<em> J</em>(<em>X</em>)<em>ᵗ J</em>(<em>X</em>)</li></ul><p>Fig. 2.3 demonstrates the gradient descent of minimizing a bivariate function <em>f</em>(<em>X</em>)=<em>x</em>₀²+<em>x</em>₁², starting from the top position and ending at the bottom center.</p><figure><img alt="GD of function x₀²+x₁², starting from (-2,2), ending at (0,0), following the red trajectory. (Source)" src="https://cdn-images-1.medium.com/max/600/0*ZLKQ_xm2qaCCOQ-m.gif" /><figcaption>Fig. 2.3 GD of function <em>x</em>₀²+<em>x</em>₁², starting from (-2,2), ending at (0,0), following the red trajectory. (<a href="https://medium.com/analytics-vidhya/gradient-descent-part-2-the-math-c23060a96a13">Source</a>)</figcaption></figure><p><strong><em>Structure-from-motion as an example</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/402/1*dSm7-wguryoFFNmntSSgWA.png" /><figcaption>A 3D point can be recovered from a connection — multiple 2D image pixels connected to that point. (<a href="https://ww2.mathworks.cn/help/vision/ug/structure-from-motion.html">Source</a>)</figcaption></figure><p>A classical computer vision problem is Structure-From-Motion , i.e. finding the 3D coordinates of a point (structure) from multiple images of a moving camera (motion). The left figure illustrates the recovering of the 3D coordinates (<em>x</em>, <em>y</em>, <em>z</em>) of a point <em>X </em>(i.e. <em>n</em>=3) on the cup handle from a connection of its three 2D images.</p><p>Knowing the camera projection matrices <em>Pᵢ</em> and the point’s 2D image pixels (<em>uᵢ</em>, <em>vᵢ</em>), <em>i</em>=1,2,3, the equation is <em>PᵢX</em>=(<em>uᵢ</em>, <em>vᵢ</em>), or equivalently <em>PᵢX-</em>(<em>uᵢ</em>, <em>vᵢ</em>)=[0, 0]. Each image provides 2 equations. Three images totally provide 6 equations, therefore <em>m</em>=6. The optimization problem is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*qec7-5pFgiYN16mVJLnZWg.png" /><figcaption>Cost function of an example SFM problem: 6 equations, 3 unknowns.</figcaption></figure><p>In general, with <em>a</em> unknown cameras and <em>b</em> unknown points, assume all points are observed in all cameras, there are 2<em>ab</em> equations and 6<em>a</em>+3<em>b</em> unknowns. When and <em>m</em> and <em>n</em> are large enough, there are more equations than the unknowns. Hence gradient descent can find the solution. One can imagine taking many photos of a building and recovering its full 3D structure.</p><blockquote>In this project, we consider the problem of reconstructing entire cities from images harvested from the web. Our aim is to build a parallel distributed system that downloads all the images associated with a city, say Rome, from Flickr.com. After downloading, it matches these images to find common points and uses this information to compute the three dimensional structure of the city and the pose of the cameras that captured these images. All this to be done in a day.</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FkxtQqYLRaSQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkxtQqYLRaSQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FkxtQqYLRaSQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e8f88c36956159e698bd755b559eea1f/href">https://medium.com/media/e8f88c36956159e698bd755b559eea1f/href</a></iframe><p><strong>2.3 Stochastic Gradient Descent (SGD)</strong></p><p>There are two shortcomings with Gradient Descent:</p><ol><li>It requires non-vanishing gradients (of the <em>m</em> functions) which are hard to guarantee in cases of complex functions. Otherwise numerical instability surfaces during computation.</li><li>Inverting <em>J</em>(<em>X</em>)<em>ᵗ J</em>(<em>X</em>) is time consuming (complexity O(<em>mn</em>²+<em>n</em>³)), esp. when <em>m</em>, <em>n</em> are huge numbers as in contemporary neural networks.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/0*M3HsGFOAvKueOSoh.png" /><figcaption>Fig. 2.4 Comparison between GD and SGD (s<a href="https://wikidocs.net/3413">ource</a>): Colored curves indicate contour lines of the cost function. SGD shows a zig-zag pattern and often settles at a suboptimal solution. But it is computationally much more efficient.</figcaption></figure><p>While there are computational tricks to handle the first one, the second one requires new techniques. Among them, Stochastic Gradient Descent (SGD) is most widely used. The idea is to take out the matrix inverse and replace it by a non-zero scalar called <strong>learning rate </strong>(normally written as <em>⍺</em>). Since now the update vector ▵<em>X </em>is not optimal anymore, small <em>⍺ </em>(&lt;0.01) is chosen to limit the damages of poor updates in the hope that they can be corrected by later updates. Fig. 2.4 is a demonstration of SGD where the convergence trajectory shows a zig-zag pattern. In practice, there are ways to alleviate this sub-optimality which will be given shortly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*fhUNrBAflVpBR3N8RGrTKA.png" /><figcaption>SGD: matrix inversion and multiplication replaced by a scalar learning rate</figcaption></figure><p><strong>2.4 Mini-batch SGD</strong></p><p>Even with the elimination of the inverse, the complexity of computing the matrix-vector multiplication <em>J</em>(<em>X</em>)<em>ᵗ F</em>(<em>X</em>) — O(<em>mn</em>) — can still be high because both <em>m, n </em>can be huge. This is addressed by <strong>Mini-batch SGD</strong> which uses only a small portion — called <em>mini-batches</em>, denoted by <em>B</em> — of the total <em>m</em> equations. Theoretically <em>B</em> can be as small as 1, i.e. a single equation at a time. In practice, it is chosen to fit the resource availability (such as memories and GPU cores). Mini-batches are selected in random order without repetition and run one-by-one until all equations are consumed. Each full run is called an <strong>epoch</strong>. An outer loop is added to carry out multiple epochs with decreasing learning rates as getting closer to the root. Below is the Mini-batch SGD:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*mSosC4B4tkYZs633Yu19mg.png" /><figcaption>Mini-batch SGD: small batch size allows for many epochs of partial optimizations</figcaption></figure><p>The success of the Mini-batch SGD comes from the much smaller size of <em>B</em> which affords running many epochs of partial optimizations to reach the ultimate solution. Hardware permitting, multiple batches can also executed in parallel, resulting in even more speedup.</p><h3>3. Deep Learning</h3><p>With function optimization introduced, from this section, I start to describe how it is used in deep learning. Keep in mind that nowadays deep learning pretty much means neural network training. Also one rarely finds any useful neural networks that are not deep. Hereto, the two phrases — <em>deep learning</em> and <em>neural network — </em>are used interchangeably. Neither will supervised or unsupervised learnings be distinguished because essentially both are thought of as neural network training guided by a cost function.</p><p><strong>3.1 Neural Network As Composite Function</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*05D_inbzDAFcFNMqd2f3wg.png" /><figcaption>Fig. 3.1 A two-layer neural network: 3 input, 2 hidden layers, 1 output</figcaption></figure><p>Fig. 3.1 at left is a simple neural network with 3 inputs (red), two hidden layers of neurons (blue) and 1 output layer (green). Circles represent neurons. Each has an activation function in it. Arrows between two neighbor layers represent synapses which have weights and are encoded into a matrix that transforms values from the input neurons to the output. Below is a functional view of the same network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EPnu8Fx-g2lziNyKONv3qA.png" /><figcaption>Fig. 3.2 Functional picture of the same neural network above</figcaption></figure><p>Specifically, data input <em>X</em> is a 3-vector. <em>W</em>₁ is a 4✕3 matrix (note columns for input and rows for output), <em>W</em>₂ and <em>W</em>₃ are respectively 4✕4 and 1✕4. <em>F</em>₁ and <em>F</em>₂ are both 4-element vector functions, called activation functions. <em>F</em>₃ is 1-element. The cost function <em>C</em> is also 1-element.</p><p><strong><em>Generalization of the representation</em></strong></p><p>One may raise the question: <em>Where’s the CNN</em> (Convolutional Neural Network)?</p><p><strong>Answer</strong>: Actually CNN is just a special case of the above structure where the transformation matrices <em>W</em> are in diagonally banded forms. The non-zero elements of each row consist the convolution kernel.</p><p>A second question is: <em>How about CNN for images</em>?</p><p><strong>Answer</strong>: Again it is a special case of the above. One can think of a 2D image as a flatten 1D vector. Then the image convolution kernel can be encoded into the rows of <em>W</em>.</p><p>Finally, there is the questions: <em>Where’re the bias terms</em>?</p><p><strong>Answer</strong>: That can be handled by using the concept of homogeneous coordinate which is very common in computer graphics — appending a constant activation function of value 1 to the end of each vector function.</p><p>Now comes the <strong>first</strong> interesting point — writing a neural network as a composite function. Here are some examples:</p><ul><li>Single layer — <em>C</em>(<em>F</em>(<em>WX</em>))</li><li>Two layers — <em>C</em>(<em>F</em>₂(<em>W</em>₂<em>F</em>₁(<em>W</em>₁<em>X</em>)))</li><li>Three layers — <em>C</em>(<em>F</em>₃(<em>W</em>₃<em>F</em>₂(<em>W</em>₂<em>F</em>₁(<em>W</em>₁<em>X</em>))))</li><li><em>L</em> layers — <em>C</em>(<em>Fₗ</em>(<em>WₗFₗ</em>-₁(…(<em>W</em>₂<em>F</em>₁(<em>W</em>₁<em>X</em>)))))</li></ul><p>Evaluation of such a composite function happens from inside to outside. For example, <em>C</em>(<em>F</em>₂(<em>W</em>₂<em>F</em>₁(<em>W</em>₁<em>X</em>))) means <em>X</em> is first multiplied with <em>W</em>₁, then fed to the activation function <em>F</em>₁. The result is multiplied with <em>W</em>₂ and fed to <em>F</em>₂. Finally the latter is fed to the cost function <em>C</em>.</p><p>Now that a neural network is written as a composite function, all that needs to derive is a method of calculating its gradient w.r.t the network parameters, or matrix weights, before applying SGD (or Mini-batch SGD) to solve for them. But before that, some necessary tools need to be put in place, namely, vector outer product and element product.</p><p><strong><em>Vector outer product</em></strong></p><p>Let me use an example to illustrate what an outer product is. Given two vectors <em>A</em>=[<em>a</em>₁, <em>a</em>₂, <em>a</em>₃] and <em>B</em>=[<em>b</em>₁, <em>b</em>₂], their outer product ⊗ is constructed like this: taking the first vector as a column and the second one as a row, and combining them into a matrix with per element multiplication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/273/1*doegJlGqSl-elUVClsf-sg.png" /><figcaption>|<em>A</em>|=<em>m,</em> |<em>B</em>|=<em>n. O</em>uter product A⊗B is a matrix of size <em>m</em>x<em>n</em></figcaption></figure><p><strong><em>Vector element product</em></strong></p><p>It is defined between two vectors of the same length. The output is also of the same length.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/191/1*in2cFA4RxnQIKt2kXNwQxA.png" /><figcaption>|<em>A</em>| = |<em>B</em>|. Element product A⨀B is a vector of the same length</figcaption></figure><p><strong>3.2 Gradient of Neural Network — Chain Rule</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*7Zsnvga44W5XXPmxqXIZHw.png" /><figcaption>Fig. 3.3 A double layer network</figcaption></figure><p>Now comes the <strong>second</strong> interesting and one of the most important point of this blog — chain rule — which allows the computation of the partial gradients of the cost function w.r.t. any of the parameters. For example, in Fig. 3.3, the parameters are the two matrices <em>V</em> and <em>W</em>. The cost function is <em>C</em>. Chain rule allows computing ▽<em>Cᵥ, </em>▽<em>C𝓌</em>, the partial gradients of <em>C</em> against <em>V</em> and <em>W</em>.</p><p>Without diving too much into the technical details, let’s see the result first. Notice how the element product and outer product are used here. A second thing to notice is the recursive nature of the formula which is the basis of the back-propagation to be presented later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*TlEjt9uM-ksrRgDsbbw-hw.png" /></figure><p>When understanding chain rule in the context of neural network, a key concept is <em>error propagation</em>. During network training, the output is first compared to the target and their difference, ▽<em>C=</em>output-target, is determined then propagated towards the input to calculate the parameter gradients as they are encountered on the way of reversal.</p><p>Reference to Fig. 3.3 and imagine▽<em>C</em>’s first backstop right before <em>F. </em>There, it changes to <em>ϵ</em>₁=▽<em>F</em>☉▽<em>C</em>. The partial gradient is ▽<em>C𝓌=ϵ</em>₁⊗<em>Gᵗ. </em>At the second backstop which is right before <em>G</em>, the error becomes <em>ϵ</em>₂=▽<em>G</em>☉[<em>Wᵗϵ</em>₁] which gives the partial gradient ▽<em>Cᵥ=ϵ</em>₂⊗<em>Xᵗ.</em></p><p>The chain rule of a general <em>N-</em>layer network is summarized below. More details on the derivation can be found in this excellent <a href="http://neuralnetworksanddeeplearning.com/chap2.html">tutorial</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*2pVQWv5VwvCjCqYQ404LYw.png" /><figcaption>Chain rule of a general L-layer neural network</figcaption></figure><p><strong>3.3 Back-propagation</strong></p><p>Given the general chain rule, it is not hard to attain the back-propagation method for network gradient calculation which is the <strong>third</strong> interesting thing here. During the forward pass, all layer output and activation gradients are cached. At a step of back-propagation, errors are first transformed by the transpose of the weight matrix, then scaled by the gradient of the activation function of the previous layer. After that, the partial parameter gradient is obtained as the outer product between the updated error vector and the cached output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*90yiPCLg-sxcEMblbgUyLQ.png" /><figcaption>Forward and backward propagation based on chain rule</figcaption></figure><p><strong>3.4 Training of Neural Network Using Mini-batch SGD</strong></p><p>We now have all the tools at hand to train a neural network:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*Oa4-g8WrTEp6p9_sc_WT0Q.png" /><figcaption>Neural network training using Mini-batch SGD</figcaption></figure><p>Fig. 3.4 is a typical SGD cost reduction curve. The fluctuations are consistent with the zig-zag behavior in the trajectory shown earlier in Fig. 2.4. There is a reason for this to happen. How to handle this defect leads to the next topic in terms of improving the performance of SGD based training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/0*7qMeSEXuNl1U4jiu.png" /><figcaption>Fig. 3.4 SGD convergence curve (<a href="https://en.wikipedia.org/wiki/Stochastic_gradient_descent">source</a>) — fluctuation as a result of gradient step zip-zag</figcaption></figure><h3>4. Optimizers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9kIpPSrUEeEfmdzh" /><figcaption>Fig. 4.1 Wiggling appears in a uneven error surface (<a href="https://machinelearningnotepad.wordpress.com/2018/04/15/gradient-descent/">source</a>)</figcaption></figure><p>The wiggle behavior of SGD is because the error surface of the extremely high dimensional cost function is anything but uniform. The images in Fig. 4.1 exhibit this phenomena where the gradient non-uniformity results in the step volatility. Obviously modification is needed for the update step <em>⍺▽⍬</em> on either the learning rate or the direction, or both. That’s the job of the different optimizers introduced in this section. A thorough online tutorial can found <a href="https://ruder.io/optimizing-gradient-descent/index.html#rmsprop">here</a>.</p><p><strong>4.1 Momentum</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/325/1*YALWhHxOJje4h8DyyZWEcQ.png" /><figcaption>Fig. 4.2 Momentum uses historical average of gradients as update direction as shown by the smooth blue trajectory (<a href="https://www.programmersought.com/article/46834640604/">source</a>)</figcaption></figure><p>As the previous analysis shows, there are some challenges facing SGD:</p><ul><li>If using a small learning rate, convergence is slow</li><li>If using a large learning rate, convergence is fluctuate or even divergence</li><li>Additionally one has to deal with saddle points where the gradients are close to zero which implies the iteration updates stop at local minima.</li></ul><p>The idea is actually straightforward — replacing the current gradient by the average of all historical gradients. The average acts like low-pass filtering that smooths out the fluctuations. At the same time, saddle points are surpassed by the <strong>momentum</strong> (hence the name of the method). Accumulation of the momentum is done by <em>Vₜ</em>+₁<em>=βV</em>ₜ<em>+</em>(1<em>-β</em>)▽<em>C𝓌 </em>where <em>β</em> is a decay factor. <em>β </em>is usually set to 0.9 or a larger value which means at each step, 90% or more of the update comes from the momentum. Current gradient only contributes 10% or less. At a saddle point, even though the gradient is 0, update continues at 90% of the previous momentum. Once the saddle point is passed through, new gradients becomes available and the training gets a fresh speed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/289/1*1jGWgjW5lFH_s36oGIMP0Q.png" /><figcaption>Update formulae of Momentum via historical gradient average</figcaption></figure><p><strong>4.2 AdaGrad</strong></p><p>Momentum only changes the directional component<em>▽⍬ </em>but not the learning rate. Sometimes, it is desirable to adopt per-parameter rates such that sparser parameters (flatter error region) move faster than less sparser ones. That is achieved by AdaGrad (for <strong>Ada</strong>ptive <strong>Grad</strong>ient) by adding per-parameter scaling inversely proportional to the accumulated length of the corresponding component of each gradient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*u8bcErUfaQK_70uginu33g.png" /><figcaption>Update formulae of AdaGrad — index i loops through each component of W. <em>ϵ is a small number to avoid division by zero, </em>usually on the order of 1e−8.</figcaption></figure><p>In the above equation, the accumulation at the denominator tries to achieve a similar effect of Momentum’s historical average.</p><p>One of AdaGrad’s benefits is that it eliminates the need to periodically adjust the learning rate <em>⍺</em>. Most implementations use a default value of 0.01 and leave it unchanged throughout the epochs.</p><p><strong>4.3 RMSProp</strong></p><p>AdaGrad’s main weakness is its accumulation of the squared gradients in the denominator — it keeps growing during training — causing the learning rate to shrink and eventually become infinitesimally small, at which point training can no longer progress. RMSProp (<strong>R</strong>oot <strong>M</strong>ean <strong>S</strong>quare <strong>Prop</strong>agation) resolves this flaw by restricting a window size of past gradients.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/1*ft9yDwNpSxbJIsYahwFxNQ.png" /><figcaption>Update formulae of RMSProp via the introduction of a decay factor, similar to that of Momentum</figcaption></figure><p>It achieves this effect in a clever way without explicitly storing multiple gradients by using a decay factor, just as in Momentum. Since <em>β&lt;</em>1, after many steps, the accumulated weights of the much earlier momenta become so small that their contributions are in effect negligent, sort of like a soft window. RMSProp inherits historical averaging from Momentum and per-parameter scaling from AdaGrad therefore possesses the benefits of both.</p><p><strong>4.4 Adam</strong></p><p>Finally, <strong>Ada</strong>ptive <strong>M</strong>oment Estimation combines the advantages of all the previous methods, namely, decay, momentum and per-parameter scaling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/377/1*tx_rqanEL1u5qLZz5_L4_A.png" /><figcaption>Update formulae of Adam</figcaption></figure><p>As <em>V</em> and <em>E</em> are initialized to 0 vectors, the initial update steps can be too small, especially when the learning rates are small (i.e. <em>β</em>₁ and <em>β</em>₂ are close to 1). The two middle equations above are designed to counteract this effect. At early stages when <em>t</em> is small, 1/(1-<em>β</em>₁<em>ᵗ</em>) and 1/(1-<em>β</em>₂<em>ᵗ</em>) are relatively large. Thus both <em>V</em> and <em>E </em>are enlarged. At later stages, both scales approach to 1, reducing the correction to almost none. The proposed default values are 0.9 for <em>β</em>₁, 0.999 for <em>β</em>₂, and 1e−8 for <em>ϵ</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*4sKuIMwIkPyw8uOcTQdERg.png" /><figcaption>Fig. 4.3 Comparison of multiple optimizer’s performances (<a href="https://www.fast.ai/2018/07/02/adam-weight-decay/">Source</a>)</figcaption></figure><p>Fig 4.3 on the right are a comparison of some of the optimizers just introduced. It shows that Adam has the best performance. In particular, the fluctuations seen in the native SGD are largely relieved here.</p><h3>5. All Maths About DL Are In Three Tables</h3><p>This blog intends to peel off the convoluted and sometimes intimidating perception on deep learning. It builds a linkage from the basic calculus concepts, namely, derivative and gradient to the latest DL algorithms. It explains the reasons why Mini-batch SGD is used in place of the naive gradient descent as well as the motivations behind the designs of the optimizers that improve the training performance, addressing one issue at a time. Finally, to simply things even more, all maths about DL involved here are packed into the three tables below for you to take away.</p><p><strong>5.1 Functional Optimization</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*QWLnTsg1LTJ7v_KUAA1dOw.png" /><figcaption>Notice the change from derivative to Jacobian, and appearances of mini-batch and learning rate.</figcaption></figure><p><strong>5.2 Back-propagation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*VRKid0CfnC5N3L6JN85C5w.png" /><figcaption>Notice the use of caching in the forward pass for the later back-propagation, and the elegant structure.</figcaption></figure><p><strong>5.3 Optimizers</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tBNwtO6opSDLK4Oty1iXXw.png" /><figcaption>Notice the migration of the formulae (left to right) and recall what issue each aims to address.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=693a2d7ec79e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/walmartglobaltech/deep-learning-demystified-693a2d7ec79e">Deep Learning Demystified</a> was originally published in <a href="https://medium.com/walmartglobaltech">Walmart Global Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>