Abstract
We propose the first Bayesian encoder for metric learning. Rather than relying on neural amortization as done in prior works, we learn a distribution over the network weights with the Laplace Approximation. We actualize this by first proving that the contrastive loss is a valid log-posterior. We then propose three methods that ensure a positive definite Hessian. Lastly, we present a novel decomposition of the Generalized Gauss-Newton approximation. Empirically, we show that our Laplacian Metric Learner (LAM) estimates wellcalibrated uncertainties, reliably detects out-ofdistribution examples, and yields state-of-the-art
predictive performance.
predictive performance.
Original language | English |
---|---|
Title of host publication | Proceedings of the 37th Conference on Neural Information Processing Systems |
Number of pages | 26 |
Volume | 36 |
Publisher | Neural Information Processing Systems Foundation |
Publication date | 2023 |
Pages | 69178-69190 |
Publication status | Published - 2023 |
Event | 37th Annual Conference on Neural Information Processing Systems - Ernest N. Morial Convention Center, New Orleans, United States Duration: 10 Dec 2023 → 16 Dec 2023 Conference number: 37 |
Conference
Conference | 37th Annual Conference on Neural Information Processing Systems |
---|---|
Number | 37 |
Location | Ernest N. Morial Convention Center |
Country/Territory | United States |
City | New Orleans |
Period | 10/12/2023 → 16/12/2023 |