# Variational inference with a mixture of dense and diagonal normals

**URL:** <https://discourse.mc-stan.org/t/variational-inference-with-a-mixture-of-dense-and-diagonal-normals/25370>\
**Category:** General\
**Tags:** variational-bayes, specification\
**Created:** [November 19, 2021, 9:49am UTC](https://discourse.mc-stan.org/t/variational-inference-with-a-mixture-of-dense-and-diagonal-normals/25370 "2021-11-19T09:49:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![martinmodrak](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/martinmodrak/32/133_2.png) [@martinmodrak](https://discourse.mc-stan.org/u/martinmodrak)\
**Post date:** [November 19, 2021, 7:49pm UTC](https://discourse.mc-stan.org/t/variational-inference-with-a-mixture-of-dense-and-diagonal-normals/25370/3 "2021-11-19T19:49:50Z")

</div>

I don’t think it’s possible, but see [Intermediate between mean-field and full-rank ADVI](https://discourse.mc-stan.org/t/intermediate-between-mean-field-and-full-rank-advi/8506) for a somewhat similar case (the low rank ADVI is implemented in a PR that has however not yet been merged into Stan main branch, so you can use it, although with some hassle)

---

_[View the full topic](https://discourse.mc-stan.org/t/variational-inference-with-a-mixture-of-dense-and-diagonal-normals/25370)._
