Vanishing gradient problem for recent stochastic recurrent neural networks Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsStochastic gradient descent based on vector operations?Stochastic gradient descent and different approachesWhy is vanishing gradient a problem?Global average polling without fc layer, Vanishing gradient or other problem?Stochastic Gradient Descent BatchingImplementation of Stochastic Gradient Descent in PythonTypes of Recurrent Neural NetworksTraining Examples used in Stochastic Gradient DescentWhat's the correct reasoning behind solving the vanishing/exploding gradient problem in deep neural networks.?Gradient computation in neural networks

Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?

Trademark violation for app?

Is this homebrew Lady of Pain warlock patron balanced?

How to write the following sign?

Circuit to "zoom in" on mV fluctuations of a DC signal?

Take 2! Is this homebrew Lady of Pain warlock patron balanced?

Dating a Former Employee

What is the appropriate index architecture when forced to implement IsDeleted (soft deletes)?

How would a mousetrap for use in space work?

Is CEO the "profession" with the most psychopaths?

How come Sam didn't become Lord of Horn Hill?

Can a new player join a group only when a new campaign starts?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Modified Intersection Puzzle

Did Deadpool rescue all of the X-Force?

Is there a kind of relay only consumes power when switching?

As a beginner, should I get a Squier Strat with a SSS config or a HSS?

Why do we bend a book to keep it straight?

Fundamental Solution of the Pell Equation

Project Euler #1 in C++

If windows 7 doesn't support WSL, then what does Linux subsystem option mean?

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

What causes the direction of lightning flashes?

Why is Nikon 1.4g better when Nikon 1.8g is sharper?



Vanishing gradient problem for recent stochastic recurrent neural networks



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsStochastic gradient descent based on vector operations?Stochastic gradient descent and different approachesWhy is vanishing gradient a problem?Global average polling without fc layer, Vanishing gradient or other problem?Stochastic Gradient Descent BatchingImplementation of Stochastic Gradient Descent in PythonTypes of Recurrent Neural NetworksTraining Examples used in Stochastic Gradient DescentWhat's the correct reasoning behind solving the vanishing/exploding gradient problem in deep neural networks.?Gradient computation in neural networks










0












$begingroup$


Recently, I've found some papers about generative recurrent models. All have attached sub-networks like prior/encoder/decoder/etc. to well-known LSTM cell for composing an aggregation of new-type RNN cell.



I am just curious about whether the gradient vanishing/exploding happens or not to those new RNN cell. Isn't there any problem about that kind of combination?



References:



It seems like they all have similar pattern as mentioned above.




A Recurrent Latent Variable Model for Sequential Data



Learning Stochastic Recurrent Networks



Z-Forcing: Training Stochastic Recurrent Networks




Pseudocode



The pseudocode for recurrent architecture is below:



def new_rnncell_call(x, htm1):
#prior_net/posterior_net/decoder_net is single layer or mlp each
q_prior = prior_net(htm1) # prior step
q = posterior_net([htm1, x]) # inference step
z = sample_from(q) # reparameterization trick
target_dist = decoder_net(z) # generation step
ht = innerLSTM([z, x], htm1) # recurrent step
return [q_prior, q, target_dist], ht


What concerns me are those naked weights outside of well-known LSTM (or GRU etc.) cell during processing bptt without any gating logic for activations as the weights inside LSTM. For me, this looks not similar to stacked-rnn layers or additional dense layers just to outputs.



Doesn't that have any gradient vanishing/exploding problem?










share|improve this question









$endgroup$
















    0












    $begingroup$


    Recently, I've found some papers about generative recurrent models. All have attached sub-networks like prior/encoder/decoder/etc. to well-known LSTM cell for composing an aggregation of new-type RNN cell.



    I am just curious about whether the gradient vanishing/exploding happens or not to those new RNN cell. Isn't there any problem about that kind of combination?



    References:



    It seems like they all have similar pattern as mentioned above.




    A Recurrent Latent Variable Model for Sequential Data



    Learning Stochastic Recurrent Networks



    Z-Forcing: Training Stochastic Recurrent Networks




    Pseudocode



    The pseudocode for recurrent architecture is below:



    def new_rnncell_call(x, htm1):
    #prior_net/posterior_net/decoder_net is single layer or mlp each
    q_prior = prior_net(htm1) # prior step
    q = posterior_net([htm1, x]) # inference step
    z = sample_from(q) # reparameterization trick
    target_dist = decoder_net(z) # generation step
    ht = innerLSTM([z, x], htm1) # recurrent step
    return [q_prior, q, target_dist], ht


    What concerns me are those naked weights outside of well-known LSTM (or GRU etc.) cell during processing bptt without any gating logic for activations as the weights inside LSTM. For me, this looks not similar to stacked-rnn layers or additional dense layers just to outputs.



    Doesn't that have any gradient vanishing/exploding problem?










    share|improve this question









    $endgroup$














      0












      0








      0





      $begingroup$


      Recently, I've found some papers about generative recurrent models. All have attached sub-networks like prior/encoder/decoder/etc. to well-known LSTM cell for composing an aggregation of new-type RNN cell.



      I am just curious about whether the gradient vanishing/exploding happens or not to those new RNN cell. Isn't there any problem about that kind of combination?



      References:



      It seems like they all have similar pattern as mentioned above.




      A Recurrent Latent Variable Model for Sequential Data



      Learning Stochastic Recurrent Networks



      Z-Forcing: Training Stochastic Recurrent Networks




      Pseudocode



      The pseudocode for recurrent architecture is below:



      def new_rnncell_call(x, htm1):
      #prior_net/posterior_net/decoder_net is single layer or mlp each
      q_prior = prior_net(htm1) # prior step
      q = posterior_net([htm1, x]) # inference step
      z = sample_from(q) # reparameterization trick
      target_dist = decoder_net(z) # generation step
      ht = innerLSTM([z, x], htm1) # recurrent step
      return [q_prior, q, target_dist], ht


      What concerns me are those naked weights outside of well-known LSTM (or GRU etc.) cell during processing bptt without any gating logic for activations as the weights inside LSTM. For me, this looks not similar to stacked-rnn layers or additional dense layers just to outputs.



      Doesn't that have any gradient vanishing/exploding problem?










      share|improve this question









      $endgroup$




      Recently, I've found some papers about generative recurrent models. All have attached sub-networks like prior/encoder/decoder/etc. to well-known LSTM cell for composing an aggregation of new-type RNN cell.



      I am just curious about whether the gradient vanishing/exploding happens or not to those new RNN cell. Isn't there any problem about that kind of combination?



      References:



      It seems like they all have similar pattern as mentioned above.




      A Recurrent Latent Variable Model for Sequential Data



      Learning Stochastic Recurrent Networks



      Z-Forcing: Training Stochastic Recurrent Networks




      Pseudocode



      The pseudocode for recurrent architecture is below:



      def new_rnncell_call(x, htm1):
      #prior_net/posterior_net/decoder_net is single layer or mlp each
      q_prior = prior_net(htm1) # prior step
      q = posterior_net([htm1, x]) # inference step
      z = sample_from(q) # reparameterization trick
      target_dist = decoder_net(z) # generation step
      ht = innerLSTM([z, x], htm1) # recurrent step
      return [q_prior, q, target_dist], ht


      What concerns me are those naked weights outside of well-known LSTM (or GRU etc.) cell during processing bptt without any gating logic for activations as the weights inside LSTM. For me, this looks not similar to stacked-rnn layers or additional dense layers just to outputs.



      Doesn't that have any gradient vanishing/exploding problem?







      python deep-learning gradient-descent recurrent-neural-net






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 3 at 4:48









      Sehee ParkSehee Park

      11




      11




















          0






          active

          oldest

          votes












          Your Answer








          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%2f48484%2fvanishing-gradient-problem-for-recent-stochastic-recurrent-neural-networks%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          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%2f48484%2fvanishing-gradient-problem-for-recent-stochastic-recurrent-neural-networks%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

          Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

          Luettelo Yhdysvaltain laivaston lentotukialuksista Lähteet | Navigointivalikko

          Gary (muusikko) Sisällysluettelo Historia | Rockin' High | Lähteet | Aiheesta muualla | NavigointivalikkoInfobox OKTuomas "Gary" Keskinen Ancaran kitaristiksiProjekti Rockin' High