<?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 Awaiting on Medium]]></title>
        <description><![CDATA[Stories by Awaiting on Medium]]></description>
        <link>https://medium.com/@dengli?source=rss-2e1a7c3b9cd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Z1wnaTQizo1BjJH1pJ9eAA@2x.jpeg</url>
            <title>Stories by Awaiting on Medium</title>
            <link>https://medium.com/@dengli?source=rss-2e1a7c3b9cd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:39:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dengli/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[Inflection between Deep Learning and Reality Life]]></title>
            <link>https://medium.com/@dengli/inflection-between-deep-learning-and-reality-life-2ceaa934cc9d?source=rss-2e1a7c3b9cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ceaa934cc9d</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Awaiting]]></dc:creator>
            <pubDate>Thu, 15 Jun 2017 04:47:42 GMT</pubDate>
            <atom:updated>2017-06-25T19:07:28.292Z</atom:updated>
            <content:encoded><![CDATA[<p>This quarter I took CS231N, and I feel so lucky that I had. By writing the forward and backward pass by myself, instead of jusing using some mysterious black-box library functions, I started learning about the basic mechanism of deep learning, and the magic of it.</p><p>For many times on my bike from Lyman to Huang basement, I have been thinking about deep learning, and life. Because they have so much in common.</p><h3>Deep</h3><p>The essence of deep learning is “deep”: only after layers of layers of network, can the model have enough representational power, to encode an image, to classify an instance, to embed a complex nonlinear function…. So is human! Too many people are satisfied with “shallow learning”, learning on surface, instead of the real insight. I was critized by my father in my childhood for so many times of being “浅尝辄止” (stop at the surface ), “走马观花”(careless scanning without thinking), “囫囵吞枣”(gulping without digesting)... (I used to hate those words a lot because I was condemned by my father so much about them...) Same as a model, we have to look deep into a book, a course, a technology... to really master it. It probably is not one shot try. Understanding usually deepens as more experience (as more data for a model), more thinking (parameter update from back-propagation).</p><h3>Back-propagation</h3><p>In <a href="https://medium.com/@lideng_69550/keep-writing-keep-thinking-27a3c5c8e7ba">my last blog</a>, I mentioned why I started writing, as a way of self-reflection. This is just like back-probagation for a deep learning model. A model usually is initialized with random weights(let’s put aside transfer learning), just like a person is born with no predefined patterns. Parameters of a model is just like the certain set of behavioral rules of a person: given a data point, a model has a certain output; under a certain context, a person has a certain response.</p><p>A model becomes better from its losses. And a person grows from his/her feedback after his/her response is received by the environment. However, the key part of deep learning is not the loss, but back-propagating the loss to update its parameters. A person cannot grow just by feedback, but by digesting the feedback, by self-introspection, to improve his/her set of behavioral rules.</p><p>Negative loss is usually more instructive than positive loss. And negative feedback should be more precious than a positive feedback. Because such feedback/loss can provide us with greater adjusting. However such is human nature that we all tend to welcome postive reward, and reject negative feedback. This is why growth is a painful process. Instead of rejecting it, let’s embrace it, think about it, and incorporate it as part of ourselves as opportunities of self-improvement.</p><h3>Dropout</h3><p>By randomly dropping out some connections between layers, a model can be more robust to overfitting, and thus generalize to more settings. Such is human. If we keep everything in our daily life, we may be too perturbed by all those unnecessary trivial details, and cannot have a broader view of the world.</p><p>Personally this is especially important for myself. Part of my personality is to care about everything, everyone, every sentence, every expression.... I tend to be too sensitive, and fragile. I have very good memory. Sometimes that’s good, sometime it is a burden instead.</p><h3>Reinforcement Learning</h3><p>This quarter I also took CS234-Reinforcement Learning. I probably learned very little from the lectures. But it stimulates me to think more about it.</p><p>One of the question that I asked myself many times is: what’s the difference between Reinforcement Learning(RL), and plain Supervised Learning(SL)? Anyway, the model is just back-propagting the errors to update its parameters. Yes the data collection is different: SL already has the labelled data at hand, while RL has to collect the data from its interactions with the environment. But that should not be the key different between RL and SL.</p><p>I began to realize that the process of data collection plays a huge role in data quality. RL usually is more difficult because merely putting the model in a good learning context is already a difficult problem. With bad initialization, the model may just diverge into a wrong path and never converge to the right path. However this is not a problem for SL, because data is there. Just use them. This is like in SL setting, the god puts a person in a good environment, and expose him/her to a various context to make him/her learn very well. While in RL setting, there is no such god. He/her has to explore all by him/herself, and be responsible for wrong explorations.</p><p>This reminds me of a sad truth in reality. Background of the family plays an essential role for a person’s growth in the general setting. A child in a descent and well educated family has abundant resources of learning, the quality of training data is very good. While a child from a poor family may have to explore by him/her-self. Chances for good exploration are already pretty slim, and learning from them takes more efforts. Just like a good initialization of RL is of huge importance.</p><p>I am still a novice to deep learning. During the learning process, I more and more relate it to the reality life, to personal growth. Some of the thoughts above may still be pretty naive, but might be helpful for not just learning about deep learning, but also as a guidance to our life.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ceaa934cc9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Keep writing, keep thinking]]></title>
            <link>https://medium.com/@dengli/keep-writing-keep-thinking-27a3c5c8e7ba?source=rss-2e1a7c3b9cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/27a3c5c8e7ba</guid>
            <category><![CDATA[writing]]></category>
            <dc:creator><![CDATA[Awaiting]]></dc:creator>
            <pubDate>Thu, 15 Jun 2017 04:17:54 GMT</pubDate>
            <atom:updated>2017-06-25T19:07:03.401Z</atom:updated>
            <content:encoded><![CDATA[<p>For so many days, I stayed on bed, but could not sleep. Things keep flashing back in my head, and thinking makes me excited. Too much is kept in my memory, and I need to flush them to disk.</p><p>In my childhood, I was forced to write diaries by my father, for self-reflection: Did I behave well in class? Was I polite to my neighbors?... So actually once after I was old enough to be away from my father, I tried to keep away from writing diaries as much as I could. However, the habit is still there: self-reflection. Even though I was too lazy to write them down.</p><p>I like one Chinese saying from Confucius: 吾日三省吾身, 为人谋而不忠乎？与朋友交而不信乎？传不习乎？(Everyday I self-introspect many times: were my suggestions to others betraying their perspectives? Did I trust my friends during the interactions? Did I review what the teacher has taught?).</p><p>Nowadays I more and more realized the importance of writing. Not just flushing my thoughts to disk so that I can sleep without thinking too much, but also as a summarization. To write is also to think, to re-structure the knowledge, and to re-organize the thoughts in a more elegant way. Output should be equally important as input, because it will solidate the input, and make it more precious.</p><p>Fortunately now we have Medium as a great platform, with seamless integration with Github Gist. I will start writing and sharing after:</p><ul><li>Reading a paper/book</li><li>Learning a new skill</li><li>Self-taught an online course</li><li>Thoughts about a movie/speech</li><li>Library of Code</li><li>Some interesting stories</li></ul><p>From today, keep writing, keep thinking.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27a3c5c8e7ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>