What is “posterior collapse” phenomenon? The 2019 Stack Overflow Developer Survey Results Are InWhat would be the best way to impute data?Does anyone could help me to understand what is the autoencoders?What exactly is the input of decoder in autoencoder setupSuspected Exploding Gradient in Character Generator LSTMCreating a posterior distribution for classic coin flipping in python using grid searchUnder what conditions should an autoencoder be chosen over kernel PCA?What is meant by 'training patch size'?What is an intuitive explanation for the Importance Weighted Autoencoder?What is the mathematical definition of the latent spacewhat is correct way to perform normalization on data in Auto encoder?

How was Skylab's orbit inclination chosen?

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

aging parents with no investments

Output the Arecibo Message

"What time...?" or "At what time...?" - what is more grammatically correct?

Is flight data recorder erased after every flight?

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

JSON.serialize: is it possible to suppress null values of a map?

Is "plugging out" electronic devices an American expression?

Did USCIS resume its biometric service for UK visa?

Why Did Howard Stark Use All The Vibranium They Had On A Prototype Shield?

Carnot-Caratheodory metric

Poison Arrows Piercing damage reduced to 0, do you still get poisoned?

Evaluating number of iteration with a certain map with While

Could JWST stay at L2 "forever"?

I see my dog run

Lethal sonic weapons

Does duplicating a spell with wish count as casting that spell?

Where does the "burst of radiance" from Holy Weapon originate?

If Wish Duplicates Simulacrum, Are Existing Duplicates Destroyed?

What is the steepest angle that a canal can be traversable without locks?

What is the use of option -o in the useradd command?

Why could you hear an Amstrad CPC working?

Is this food a bread or a loaf?



What is “posterior collapse” phenomenon?



The 2019 Stack Overflow Developer Survey Results Are InWhat would be the best way to impute data?Does anyone could help me to understand what is the autoencoders?What exactly is the input of decoder in autoencoder setupSuspected Exploding Gradient in Character Generator LSTMCreating a posterior distribution for classic coin flipping in python using grid searchUnder what conditions should an autoencoder be chosen over kernel PCA?What is meant by 'training patch size'?What is an intuitive explanation for the Importance Weighted Autoencoder?What is the mathematical definition of the latent spacewhat is correct way to perform normalization on data in Auto encoder?










1












$begingroup$


I was going through this paper on Towards Text Generation with Adversarially Learned
Neural Outlines and it states why the VAEs are hard to train for text generation due to this problem. The paper states




the model ends up
relying solely on the auto-regressive properties of the decoder while ignoring the latent variables,
which become uninformative.




please simplify and explain the problem in a lucid way.










share|improve this question









$endgroup$
















    1












    $begingroup$


    I was going through this paper on Towards Text Generation with Adversarially Learned
    Neural Outlines and it states why the VAEs are hard to train for text generation due to this problem. The paper states




    the model ends up
    relying solely on the auto-regressive properties of the decoder while ignoring the latent variables,
    which become uninformative.




    please simplify and explain the problem in a lucid way.










    share|improve this question









    $endgroup$














      1












      1








      1





      $begingroup$


      I was going through this paper on Towards Text Generation with Adversarially Learned
      Neural Outlines and it states why the VAEs are hard to train for text generation due to this problem. The paper states




      the model ends up
      relying solely on the auto-regressive properties of the decoder while ignoring the latent variables,
      which become uninformative.




      please simplify and explain the problem in a lucid way.










      share|improve this question









      $endgroup$




      I was going through this paper on Towards Text Generation with Adversarially Learned
      Neural Outlines and it states why the VAEs are hard to train for text generation due to this problem. The paper states




      the model ends up
      relying solely on the auto-regressive properties of the decoder while ignoring the latent variables,
      which become uninformative.




      please simplify and explain the problem in a lucid way.







      python deep-learning autoencoder vae






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 9 hours ago









      thanatozthanatoz

      584319




      584319




















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          With the help of better explanations provided in Z-Forcing: Training Stochastic Recurrent Networks:



          When posterior is not collapsed, $z_d$ (d-th dimension of latent variable $z$) is sampled from $q_phi(z_d|x)=mathcalN(mu_d, sigma^2_d)$, where $mu_d$ and $sigma_d$ are stable functions of input $x$. In other words, encoder distills useful information from $x$ into $mu_d$ and $sigma_d$.



          We say a posterior is collapsing, when signal from input $x$ to posterior parameters is either too weak or too noisy, and as a result, decoder starts ignoring $z$ samples drawn from the posterior $q_phi(z|x)$.



          The too noisy signal means $mu_d$ and $sigma_d$ are unstable and thus sampled $z$'s are also unstable, which forces the decoder to ignore them. By "ignore" I mean: output of decoder $hatx$ becomes almost independent of $z$, which in practice translates to producing some generic outputs $hatx$ that are crude representatives of all seen $x$'s.



          The too weak signal translates to
          $$q_phi(z|x)simeq q_phi(z)=mathcalN(a,b)$$
          which means $mu$ and $sigma$ of posterior become almost disconnected from input $x$. In other words, $mu$ and $sigma$ collapse to constant values $a$, and $b$ channeling a weak (constant) signal from different inputs to decoder. As a result, decoder does almost all the work by reconstructing $x$ from useless $z$'s which are sampled from $mathcalN(a,b)$.



          Here are some explanations from Z-Forcing: Training Stochastic Recurrent Networks:




          In these cases, the posterior approximation tends to provide a too
          weak or noisy signal, due to the variance induced by the stochastic
          gradient approximation. As a result, the decoder may learn to ignore z
          and instead to rely solely on the autoregressive properties of x,
          causing x and z to be independent, i.e. the KL term in Eq. 2 vanishes.




          and




          In various domains, such as text and images, it has been empirically
          observed that it is difficult to make use of latent variables when
          coupled with a strong autoregressive decoder.




          where the simplest form of KL term, for the sake of clarity, is
          $$D_KL(q_phi(z|x) parallel p(z|x)) = D_KL(q_phi(z|x) parallel mathcalN(0,1))$$
          The paper uses a more complicated Gaussian prior for $p(z|x)$.






          share|improve this answer











          $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%2f48962%2fwhat-is-posterior-collapse-phenomenon%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1












            $begingroup$

            With the help of better explanations provided in Z-Forcing: Training Stochastic Recurrent Networks:



            When posterior is not collapsed, $z_d$ (d-th dimension of latent variable $z$) is sampled from $q_phi(z_d|x)=mathcalN(mu_d, sigma^2_d)$, where $mu_d$ and $sigma_d$ are stable functions of input $x$. In other words, encoder distills useful information from $x$ into $mu_d$ and $sigma_d$.



            We say a posterior is collapsing, when signal from input $x$ to posterior parameters is either too weak or too noisy, and as a result, decoder starts ignoring $z$ samples drawn from the posterior $q_phi(z|x)$.



            The too noisy signal means $mu_d$ and $sigma_d$ are unstable and thus sampled $z$'s are also unstable, which forces the decoder to ignore them. By "ignore" I mean: output of decoder $hatx$ becomes almost independent of $z$, which in practice translates to producing some generic outputs $hatx$ that are crude representatives of all seen $x$'s.



            The too weak signal translates to
            $$q_phi(z|x)simeq q_phi(z)=mathcalN(a,b)$$
            which means $mu$ and $sigma$ of posterior become almost disconnected from input $x$. In other words, $mu$ and $sigma$ collapse to constant values $a$, and $b$ channeling a weak (constant) signal from different inputs to decoder. As a result, decoder does almost all the work by reconstructing $x$ from useless $z$'s which are sampled from $mathcalN(a,b)$.



            Here are some explanations from Z-Forcing: Training Stochastic Recurrent Networks:




            In these cases, the posterior approximation tends to provide a too
            weak or noisy signal, due to the variance induced by the stochastic
            gradient approximation. As a result, the decoder may learn to ignore z
            and instead to rely solely on the autoregressive properties of x,
            causing x and z to be independent, i.e. the KL term in Eq. 2 vanishes.




            and




            In various domains, such as text and images, it has been empirically
            observed that it is difficult to make use of latent variables when
            coupled with a strong autoregressive decoder.




            where the simplest form of KL term, for the sake of clarity, is
            $$D_KL(q_phi(z|x) parallel p(z|x)) = D_KL(q_phi(z|x) parallel mathcalN(0,1))$$
            The paper uses a more complicated Gaussian prior for $p(z|x)$.






            share|improve this answer











            $endgroup$

















              1












              $begingroup$

              With the help of better explanations provided in Z-Forcing: Training Stochastic Recurrent Networks:



              When posterior is not collapsed, $z_d$ (d-th dimension of latent variable $z$) is sampled from $q_phi(z_d|x)=mathcalN(mu_d, sigma^2_d)$, where $mu_d$ and $sigma_d$ are stable functions of input $x$. In other words, encoder distills useful information from $x$ into $mu_d$ and $sigma_d$.



              We say a posterior is collapsing, when signal from input $x$ to posterior parameters is either too weak or too noisy, and as a result, decoder starts ignoring $z$ samples drawn from the posterior $q_phi(z|x)$.



              The too noisy signal means $mu_d$ and $sigma_d$ are unstable and thus sampled $z$'s are also unstable, which forces the decoder to ignore them. By "ignore" I mean: output of decoder $hatx$ becomes almost independent of $z$, which in practice translates to producing some generic outputs $hatx$ that are crude representatives of all seen $x$'s.



              The too weak signal translates to
              $$q_phi(z|x)simeq q_phi(z)=mathcalN(a,b)$$
              which means $mu$ and $sigma$ of posterior become almost disconnected from input $x$. In other words, $mu$ and $sigma$ collapse to constant values $a$, and $b$ channeling a weak (constant) signal from different inputs to decoder. As a result, decoder does almost all the work by reconstructing $x$ from useless $z$'s which are sampled from $mathcalN(a,b)$.



              Here are some explanations from Z-Forcing: Training Stochastic Recurrent Networks:




              In these cases, the posterior approximation tends to provide a too
              weak or noisy signal, due to the variance induced by the stochastic
              gradient approximation. As a result, the decoder may learn to ignore z
              and instead to rely solely on the autoregressive properties of x,
              causing x and z to be independent, i.e. the KL term in Eq. 2 vanishes.




              and




              In various domains, such as text and images, it has been empirically
              observed that it is difficult to make use of latent variables when
              coupled with a strong autoregressive decoder.




              where the simplest form of KL term, for the sake of clarity, is
              $$D_KL(q_phi(z|x) parallel p(z|x)) = D_KL(q_phi(z|x) parallel mathcalN(0,1))$$
              The paper uses a more complicated Gaussian prior for $p(z|x)$.






              share|improve this answer











              $endgroup$















                1












                1








                1





                $begingroup$

                With the help of better explanations provided in Z-Forcing: Training Stochastic Recurrent Networks:



                When posterior is not collapsed, $z_d$ (d-th dimension of latent variable $z$) is sampled from $q_phi(z_d|x)=mathcalN(mu_d, sigma^2_d)$, where $mu_d$ and $sigma_d$ are stable functions of input $x$. In other words, encoder distills useful information from $x$ into $mu_d$ and $sigma_d$.



                We say a posterior is collapsing, when signal from input $x$ to posterior parameters is either too weak or too noisy, and as a result, decoder starts ignoring $z$ samples drawn from the posterior $q_phi(z|x)$.



                The too noisy signal means $mu_d$ and $sigma_d$ are unstable and thus sampled $z$'s are also unstable, which forces the decoder to ignore them. By "ignore" I mean: output of decoder $hatx$ becomes almost independent of $z$, which in practice translates to producing some generic outputs $hatx$ that are crude representatives of all seen $x$'s.



                The too weak signal translates to
                $$q_phi(z|x)simeq q_phi(z)=mathcalN(a,b)$$
                which means $mu$ and $sigma$ of posterior become almost disconnected from input $x$. In other words, $mu$ and $sigma$ collapse to constant values $a$, and $b$ channeling a weak (constant) signal from different inputs to decoder. As a result, decoder does almost all the work by reconstructing $x$ from useless $z$'s which are sampled from $mathcalN(a,b)$.



                Here are some explanations from Z-Forcing: Training Stochastic Recurrent Networks:




                In these cases, the posterior approximation tends to provide a too
                weak or noisy signal, due to the variance induced by the stochastic
                gradient approximation. As a result, the decoder may learn to ignore z
                and instead to rely solely on the autoregressive properties of x,
                causing x and z to be independent, i.e. the KL term in Eq. 2 vanishes.




                and




                In various domains, such as text and images, it has been empirically
                observed that it is difficult to make use of latent variables when
                coupled with a strong autoregressive decoder.




                where the simplest form of KL term, for the sake of clarity, is
                $$D_KL(q_phi(z|x) parallel p(z|x)) = D_KL(q_phi(z|x) parallel mathcalN(0,1))$$
                The paper uses a more complicated Gaussian prior for $p(z|x)$.






                share|improve this answer











                $endgroup$



                With the help of better explanations provided in Z-Forcing: Training Stochastic Recurrent Networks:



                When posterior is not collapsed, $z_d$ (d-th dimension of latent variable $z$) is sampled from $q_phi(z_d|x)=mathcalN(mu_d, sigma^2_d)$, where $mu_d$ and $sigma_d$ are stable functions of input $x$. In other words, encoder distills useful information from $x$ into $mu_d$ and $sigma_d$.



                We say a posterior is collapsing, when signal from input $x$ to posterior parameters is either too weak or too noisy, and as a result, decoder starts ignoring $z$ samples drawn from the posterior $q_phi(z|x)$.



                The too noisy signal means $mu_d$ and $sigma_d$ are unstable and thus sampled $z$'s are also unstable, which forces the decoder to ignore them. By "ignore" I mean: output of decoder $hatx$ becomes almost independent of $z$, which in practice translates to producing some generic outputs $hatx$ that are crude representatives of all seen $x$'s.



                The too weak signal translates to
                $$q_phi(z|x)simeq q_phi(z)=mathcalN(a,b)$$
                which means $mu$ and $sigma$ of posterior become almost disconnected from input $x$. In other words, $mu$ and $sigma$ collapse to constant values $a$, and $b$ channeling a weak (constant) signal from different inputs to decoder. As a result, decoder does almost all the work by reconstructing $x$ from useless $z$'s which are sampled from $mathcalN(a,b)$.



                Here are some explanations from Z-Forcing: Training Stochastic Recurrent Networks:




                In these cases, the posterior approximation tends to provide a too
                weak or noisy signal, due to the variance induced by the stochastic
                gradient approximation. As a result, the decoder may learn to ignore z
                and instead to rely solely on the autoregressive properties of x,
                causing x and z to be independent, i.e. the KL term in Eq. 2 vanishes.




                and




                In various domains, such as text and images, it has been empirically
                observed that it is difficult to make use of latent variables when
                coupled with a strong autoregressive decoder.




                where the simplest form of KL term, for the sake of clarity, is
                $$D_KL(q_phi(z|x) parallel p(z|x)) = D_KL(q_phi(z|x) parallel mathcalN(0,1))$$
                The paper uses a more complicated Gaussian prior for $p(z|x)$.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 1 hour ago

























                answered 6 hours ago









                EsmailianEsmailian

                2,921319




                2,921319



























                    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%2f48962%2fwhat-is-posterior-collapse-phenomenon%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