Automatic Differentiation Variational Inference (ADVI)
Automatic Differentiation Variational Inference (ADVI) เป็นอัลกอริทึมแบบกล่องดำ (black-box algorithm) สำหรับการอนุมานแบบเบย์โดยประมาณ (approximate Bayesian posterior inference) ซึ่ง Kucukelbir, Tran, Ranganath, Gelman และ Blei (2017, JMLR) ได้นำเสนอขึ้น สำหรับแบบจำลองความน่าจะเป็นใดๆ ที่มีฟังก์ชันความหนาแน่นร่วม (log-joint density) สามารถหาอนุพันธ์ได้ ADVI จะทำการแปลงตัวแปรแฝงที่มีเงื่อนไข (constrained latent variables) ไปยังปริภูมิของจำนวนจริงที่ไม่มีเงื่อนไข (unconstrained real space) โดยอัตโนมัติ ปรับแบบจำลองตระกูลแบบเกาส์เซียน (Gaussian variational family) ให้เหมาะสมที่สุดโดยการเพิ่มค่าขอบเขตล่างของหลักฐาน (evidence lower bound - ELBO) ด้วยการไต่ระดับความชันแบบสุ่ม (stochastic gradient ascent) และส่งคืนค่าประมาณของความน่าจะเป็นภายหลัง (approximate posterior) โดยไม่ต้องมีการแจกแจงเฉพาะสำหรับแบบจำลองนั้นๆ เป็นกลไกการอนุมานแบบแปรผัน (variational inference engine) เริ่มต้นใน Stan และมีให้ใช้งานใน PyMC และ NumPyro
อ่านวิธีฉบับเต็ม
เข้าสู่ระบบด้วยบัญชีฟรีเพื่ออ่านส่วนนี้
Method map
The neighbourhood of related methods — select a node to explore.
แหล่งอ้างอิง
- Kucukelbir, A., Tran, D., Ranganath, R., Gelman, A. & Blei, D. M. (2017). Automatic differentiation variational inference. Journal of Machine Learning Research, 18(14), 1–45. link ↗
- Kucukelbir, A., Tran, D., Ranganath, R., Gelman, A. & Blei, D. M. (2016). Automatic differentiation variational inference. arXiv:1603.00788. link ↗
- Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A. & Rubin, D. B. (2013). Bayesian Data Analysis (3rd ed.). CRC Press. ISBN: 978-1439840955
วิธีอ้างอิงหน้านี้
ScholarGate. (2026, June 3). Automatic Differentiation Variational Inference (ADVI). ScholarGate. https://scholargate.app/th/bayesian/automatic-differentiation-variational-inference
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- การถดถอยแบบเบย์ (Bayesian Regression)เบย์↔ compare
- การแพร่กระจายความคาดหวัง (EP)เบย์↔ compare
- Markov Chain Monte Carlo (MCMC)เบย์↔ compare