Do the filters in deconvolution layer same as filters in convolution?












2












$begingroup$


I am trying to understand how the deconvolution works in Convolutional Neural Network for image segmentation problem. I have seen this definition:



Filters used in deconvolution is just the transpose of the convolution matrix.Figure from CS231 videos.



Does this mean that the convolution layer and deconvolution layer shares the same filters? Do we train a separate set of filters for deconvolution layer?










share|improve this question









$endgroup$

















    2












    $begingroup$


    I am trying to understand how the deconvolution works in Convolutional Neural Network for image segmentation problem. I have seen this definition:



    Filters used in deconvolution is just the transpose of the convolution matrix.Figure from CS231 videos.



    Does this mean that the convolution layer and deconvolution layer shares the same filters? Do we train a separate set of filters for deconvolution layer?










    share|improve this question









    $endgroup$















      2












      2








      2





      $begingroup$


      I am trying to understand how the deconvolution works in Convolutional Neural Network for image segmentation problem. I have seen this definition:



      Filters used in deconvolution is just the transpose of the convolution matrix.Figure from CS231 videos.



      Does this mean that the convolution layer and deconvolution layer shares the same filters? Do we train a separate set of filters for deconvolution layer?










      share|improve this question









      $endgroup$




      I am trying to understand how the deconvolution works in Convolutional Neural Network for image segmentation problem. I have seen this definition:



      Filters used in deconvolution is just the transpose of the convolution matrix.Figure from CS231 videos.



      Does this mean that the convolution layer and deconvolution layer shares the same filters? Do we train a separate set of filters for deconvolution layer?







      deep-learning






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 3 '18 at 15:07









      Nougat XuNougat Xu

      111




      111






















          3 Answers
          3






          active

          oldest

          votes


















          2












          $begingroup$

          Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.






          share|improve this answer









          $endgroup$













          • $begingroup$
            Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
            $endgroup$
            – Nougat Xu
            Oct 3 '18 at 20:38



















          0












          $begingroup$

          Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.






          share|improve this answer









          $endgroup$





















            0












            $begingroup$

            No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.






            share|improve this answer








            New contributor




            yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $endgroup$













              Your Answer





              StackExchange.ifUsing("editor", function () {
              return StackExchange.using("mathjaxEditing", function () {
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
              });
              });
              }, "mathjax-editing");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "557"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f39119%2fdo-the-filters-in-deconvolution-layer-same-as-filters-in-convolution%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2












              $begingroup$

              Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.






              share|improve this answer









              $endgroup$













              • $begingroup$
                Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
                $endgroup$
                – Nougat Xu
                Oct 3 '18 at 20:38
















              2












              $begingroup$

              Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.






              share|improve this answer









              $endgroup$













              • $begingroup$
                Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
                $endgroup$
                – Nougat Xu
                Oct 3 '18 at 20:38














              2












              2








              2





              $begingroup$

              Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.






              share|improve this answer









              $endgroup$



              Here, I think, you can find good visuals and explanations for convolution/deconvolution arithmetic.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Oct 3 '18 at 15:10









              GrozaiLGrozaiL

              1094




              1094












              • $begingroup$
                Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
                $endgroup$
                – Nougat Xu
                Oct 3 '18 at 20:38


















              • $begingroup$
                Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
                $endgroup$
                – Nougat Xu
                Oct 3 '18 at 20:38
















              $begingroup$
              Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
              $endgroup$
              – Nougat Xu
              Oct 3 '18 at 20:38




              $begingroup$
              Thank you for your prompt answer. I have looked through the material. It is very useful and clear but I still have a little confusion. It looks to me that 1. In convolution layer, we reshape our filters to form a matrix (w) so we can do matrix multiplication; 2. In deconvolution layer, we take the transpose of the matrix (w from convolution layer) and take that as the set of filters to use in deconvolution. Is this correct?
              $endgroup$
              – Nougat Xu
              Oct 3 '18 at 20:38











              0












              $begingroup$

              Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.






              share|improve this answer









              $endgroup$


















                0












                $begingroup$

                Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.






                share|improve this answer









                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.






                  share|improve this answer









                  $endgroup$



                  Here's a very nice intuitive explanation on why we use the same set of filters in both convolution and deconvolution layer.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 4 '18 at 0:44









                  Nougat XuNougat Xu

                  111




                  111























                      0












                      $begingroup$

                      No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.






                      share|improve this answer








                      New contributor




                      yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.






                      $endgroup$


















                        0












                        $begingroup$

                        No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.






                        share|improve this answer








                        New contributor




                        yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.






                        $endgroup$
















                          0












                          0








                          0





                          $begingroup$

                          No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.






                          share|improve this answer








                          New contributor




                          yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          $endgroup$



                          No, these two layers do not share the same filter parameters. By coding and decoding you increase the representation power and enlarge the receptive fields.







                          share|improve this answer








                          New contributor




                          yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer






                          New contributor




                          yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 4 hours ago









                          yacht clubyacht club

                          1




                          1




                          New contributor




                          yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          yacht club is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Data Science Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f39119%2fdo-the-filters-in-deconvolution-layer-same-as-filters-in-convolution%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Callistus I

                              Tabula Rosettana

                              How to label and detect the document text images