跳到主要导航 跳到搜索 跳到主要内容

Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processes

  • Yingyi Chen*
  • , Qinghua Tao
  • , Francesco Tonin
  • , Johan A.K. Suykens
  • *此作品的通讯作者
  • KU Leuven
  • LIONS

科研成果: 期刊稿件会议文章同行评审

摘要

While the great capability of Transformers significantly boosts prediction accuracy, it could also yield overconfident predictions and require calibrated uncertainty estimation, which can be commonly tackled by Gaussian processes (GPs). Existing works apply GPs with symmetric kernels under variational inference to the attention kernel; however, omitting the fact that attention kernels are in essence asymmetric. Moreover, the complexity of deriving the GP posteriors remains high for large-scale data. In this work, we propose Kernel-Eigen Pair Sparse Variational Gaussian Processes (KEP-SVGP) for building uncertainty-aware self-attention where the asymmetry of attention kernels is tackled by Kernel SVD (KSVD) and a reduced complexity is acquired. Through KEP-SVGP, i) the SVGP pair induced by the two sets of singular vectors from KSVD w.r.t. the attention kernel fully characterizes the asymmetry; ii) using only a small set of adjoint eigenfunctions from KSVD, the derivation of SVGP posteriors can be based on the inversion of a diagonal matrix containing singular values, contributing to a reduction in time complexity; iii) an evidence lower bound is derived so that variational parameters and network weights can be optimized with it. Experiments verify our excellent performances and efficiency on in-distribution, distribution-shift and out-of-distribution benchmarks.

源语言英语
页(从-至)7325-7345
页数21
期刊Proceedings of Machine Learning Research
235
出版状态已出版 - 2024
已对外发布
活动41st International Conference on Machine Learning, ICML 2024 - Vienna, 奥地利
期限: 21 7月 202427 7月 2024

学术指纹

探究 'Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processes' 的科研主题。它们共同构成独一无二的学术指纹。

引用此