知识卡片
方差参数化需要保证正值
编码和高斯解码均可能输出方差参数,必须将其映射到有效正值,例如以对数方差表示并在采样时用exp(½log v)。还应控制数值溢出与近零退化。书中用σ与Σ的不同记法时,先确认指标准差、方差还是协方差再实现。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- · 查看原书依据
We will derive the connection for a simple VAE on one-dimensional (1D) data with 1D latent space, that is, x ∈ ℝ, z ∈ ℝ. First let us define shorthand notation for the means and variances of the Gaussians parameterized by the encoder and decoder:
参考来源
- 位置:《Foundations of Computer Vision (Antonio Torralba, Phillip Isola etc.)》第33章《生成建模与表示学习》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Foundations of Computer Vision (Antonio Torralba, Phillip Isola etc.)/_epub-src/OPS/xhtml/c033.xhtml)
- 结论依据:摘录中关于方差参数化需要保证正值的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:We will derive the connection for a simple VAE on one-dimensional (1D) data with 1D latent space, that is, x ∈ ℝ, z ∈ ℝ. First let us define shorthand notation for the means and variances of the Gaussians parameterized by the encoder and decoder: