How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliability
Shanghai Jiao Tong University, China(上海交通大学);University of Oxford, UK(牛津大学);Shanghai AI Laboratory, China(上海人工智能实验室);University of New South Wales, Sydney, Australia(新南威尔士大学);Shanghai Innovation Institute, China(上海创新研究院)
Transformers excel in natural language processing and computer vision tasks. However, they still face challenges in generalizing to Out-of-Distribution (OOD) datasets, i.e. data whose distribution differs from that seen during training. OOD detection aims to distinguish outliers while preserving in-distribution (ID) data performance. This paper introduces the OOD detection Probably Approximately Correct (PAC) Theory for transformers, which establishes the conditions for data distribution and model configurations for the OOD detection learnability of transformers. It shows that outliers can be accurately represented and distinguished with sufficient data under conditions. The theoretical implications highlight the trade-off between theoretical principles and practical training paradigms. By examining this trade-off, we naturally derived the rationale for leveraging auxiliary outliers to enhance OOD detection. Our theory suggests that by penalizing the misclassification of outliers within the loss function and strategically generating soft synthetic outliers, one can robustly bolster the reliability of transformer networks. This approach yields a novel algorithm that ensures learnability and refines the decision boundaries between inliers and outliers. In practice, the algorithm consistently achieves state-of-the-art (SOTA) performance across various data formats.
QUALS: Corpus Equilibrium for Universal Forecasting via Pattern Quantization and Learnability Synchronization
State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);School of Data Science and Engineering, East China Normal University(华东师范大学数据科学与工程学院)
A novel forecasting framework combining virtual samples and enhanced Transformer models for tourism demand forecasting
School of Computer, Electronics and Information, Guangxi University(广西大学计算机与电子信息学院);School of Electrical Engineering, Guangxi University(广西大学电气工程学院);School of Mathematics and Statistics, Xuzhou University of Technology(徐州工程学院数学与统计学院)
Chain-of-Thought Enhanced Shallow Transformers for Wireless Symbol Detection
Charles L. Brown Department of Electrical and Computer Engineering, University of Virginia, USA(弗吉尼亚大学电气与计算机工程系);Department of Computer Science, University of Virginia, USA(弗吉尼亚大学计算机科学系)