<?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 Arushi Chauhan on Medium]]></title>
        <description><![CDATA[Stories by Arushi Chauhan on Medium]]></description>
        <link>https://medium.com/@arushi373?source=rss-4d0b206b5ad2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BmewM4mLRjJWM4lQwlxZHQ.jpeg</url>
            <title>Stories by Arushi Chauhan on Medium</title>
            <link>https://medium.com/@arushi373?source=rss-4d0b206b5ad2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 05:20:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arushi373/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[Nutshell: MaskConnect-Connectivity Learning by Gradient Descent]]></title>
            <link>https://medium.com/@arushi373/nutshell-maskconnect-connectivity-learning-by-gradient-descent-54ef41015664?source=rss-4d0b206b5ad2------2</link>
            <guid isPermaLink="false">https://medium.com/p/54ef41015664</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[architecture-search]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Arushi Chauhan]]></dc:creator>
            <pubDate>Sun, 15 Aug 2021 06:13:08 GMT</pubDate>
            <atom:updated>2021-08-15T06:13:08.095Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*21yTUTlm3cWqPrIypZyV4g.png" /><figcaption>Connections in ResNet(left) and ResNext(right) in MaskConnect</figcaption></figure><p>You can refer to the paper here: <a href="https://arxiv.org/pdf/1807.11473.pdf">https://arxiv.org/pdf/1807.11473.pdf</a></p><p><strong>What does this paper achieve?</strong><br>It introduces an algorithm to learn connections between blocks in deep learning networks. A connection between blocks i and j (i precedes j in the network) indicates that output from i is added to the input to j (which may be getting input from other blocks).</p><p><strong>How does this help us?<br></strong>This algorithm can be used to determine connections between blocks in existing CNNs that would improve performance, as the authors have demonstrated for ResNet and ResNext in the paper. It also helps in identifying blocks which can be pruned-whose inputs are not sent to any blocks-thus, reducing the number of weights, complexity of the network and computing costs.</p><blockquote>Insight: Can this be used for architecture search? Or should we search for architectures separately and then use this algorithm to optimize the selected network?</blockquote><p><strong>How are these connections represented?<br></strong>The connections between blocks are represented through binary masks. For instance, say block 5 receives input from block 0, block 2, and block 3, the mask would look like [1,0,1,1,0] or if block 3 receives input from block 1 and block 2, the mask would look like [0,1,1]. During training, these vectors are zero padded to ensure all vectors have the same size.<br>In ResNext, each block consists of several branches, and each branch consists of layers. For each branch there were separate binary masks.</p><blockquote>Insight: How does this compare with other vector representations used to represent edges in a graph? Is it possible to substitute binary masks with them in the training process?</blockquote><p><strong>Is there an optimal number of connections that a block should have with its preceding blocks? Wouldn’t having connections with all preceding blocks be better?<br></strong>The authors have conducted experiments that vary the number of connections and found that the optimal number, K (referred to as fan-in) is in the range (1,j-1). Having connections with all blocks i.e. j-1 connections yielded sub-optimal performance. Even in the range (1,j-1) it was found that there wasn’t a single magic number that gave the best performance. For instance, for ResNet running on CIFAR-100, K=10 gave the best accuracy, and K values in the range [7,11] performed nearly same as K=10.</p><p><strong>What does the training process look like?<br></strong>Backpropagation and stochastic gradient descent are used to train the networks and the binary masks are trained jointly with network weights.<br>For each binary mask there is a real valued mask that consists of the probabilities of accepting input from corresponding blocks. The backpropagation stages for training weights are modified to train these real valued masks. The modifications are:<br><em>Forward stage</em>-Draw K unique values from interval [0,j-1] based on probabilities given in real valued masks. Create binary mask by setting bits corresponding to these K values to 1 and rest to 0. <br><em>Backward propagation</em>-Determine gradient as is done in normal backpropagation<br><em>Updating the masks</em>-the probabilities are updated based on the gradient backpropagated, and clipping is used to constrain the values to [0,1] range.</p><p><strong>Results in a Nutshell<br></strong>The authors used ResNet and ResNext architectures on CIFAR-100 and ImageNet datasets for their experiments. They have demonstrated superior accuracy compared to two models, original architecture and architecture with fixed random connections. The training time overhead is 13% for ResNet and 39% for ResNext models. For detailed results you can refer to the paper <a href="https://arxiv.org/pdf/1807.11473.pdf">https://arxiv.org/pdf/1807.11473.pdf</a></p><blockquote>If you made it till here, thanks! Feel free to comment any suggestions/improvements/corrections, compliments are also welcome :)</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54ef41015664" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>