arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.09370cs.LG
收藏

利用正弦位置编码轻松学习高频函数

Learning High-Frequency Functions Made Easy with Sinusoidal Positional Encoding

The University of Edinburgh(爱丁堡大学);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);The Alan Turing Institute(艾伦·图灵研究所)

Chuanhao Sun, Zhihang Yuan, Kai Xu, Luo Mai, N. Siddharth, Shuo Chen, Mahesh K. Marina

AI总结:

本文提出正弦位置编码(SPE),无需超参数调整即可高效学习高频函数,在三维视图合成、文本到语音和一维回归等任务中实现更高保真度和更快训练,可作为现有位置编码的直接替代品。

摘要:

基于傅里叶特征的位置编码(PE)常用于涉及从低维输入学习高频特征的任务中,例如三维视图合成和基于神经正切核的时间序列回归。尽管现有PE方法有效,但它们需要针对每个特定任务手动且经验性地调整关键超参数,尤其是傅里叶特征。此外,PE在高效学习高频函数方面面临挑战,特别是在数据有限的任务中。本文提出了一种正弦位置编码(SPE),旨在高效学习与真实底层函数紧密对齐的自适应频率特征。我们的实验表明,SPE无需超参数调整,即可在多种任务中持续实现更高的保真度和更快的训练速度,这些任务包括三维视图合成、文本到语音生成和一维回归。SPE可作为现有PE的直接替代品。其即插即用的特性使得众多任务能够轻松采用并受益于SPE。

英文摘要:

Fourier features based positional encoding (PE) is commonly used in machine learning tasks that involve learning high-frequency features from low-dimensional inputs, such as 3D view synthesis and time series regression with neural tangent kernels. Despite their effectiveness, existing PEs require manual, empirical adjustment of crucial hyperparameters, specifically the Fourier features, tailored to each unique task. Further, PEs face challenges in efficiently learning high-frequency functions, particularly in tasks with limited data. In this paper, we introduce sinusoidal PE (SPE), designed to efficiently learn adaptive frequency features closely aligned with the true underlying function. Our experiments demonstrate that SPE, without hyperparameter tuning, consistently achieves enhanced fidelity and faster training across various tasks, including 3D view synthesis, Text-to-Speech generation, and 1D regression. SPE is implemented as a direct replacement for existing PEs. Its plug-and-play nature lets numerous tasks easily adopt and benefit from SPE.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑