A Mathematical Interpretation of Autoregressive Generative Pre-Trained Transformer and Self-Supervised Learning
Author:
Open Access
- 25 May 2023
- journal article
- research article
- Published by MDPI AG in Mathematics
- Vol. 11 (11) , 2451
Abstract
In this paper, we present a rigorous mathematical examination of generative pre-trained transformer (GPT) models and their autoregressive self-supervised learning mechanisms. We begin by defining natural language space and knowledge space, which are two key concepts for understanding the dimensionality reduction process in GPT-based large language models (LLMs). By exploring projection functions and their inverses, we establish a framework for analyzing the language generation capabilities of these models. We then investigate the GPT representation space, examining its implications for the models’ approximation properties. Finally, we discuss the limitations and challenges of GPT models and their learning mechanisms, considering trade-offs between complexity and generalization, as well as the implications of incomplete inverse projection functions. Our findings demonstrate that GPT models possess the capability to encode knowledge into low-dimensional vectors through their autoregressive self-supervised learning mechanism. This comprehensive analysis provides a solid mathematical foundation for future advancements in GPT-based LLMs, promising advancements in natural language processing tasks such as language translation, text summarization, and question answering due to improved understanding and optimization of model training and performance.Keywords
Funding Information
- Generative Artificial Intelligence System Inc.
This publication has 14 references indexed in Scilit:
- Performance of ChatGPT on USMLE: Potential for AI-assisted medical education using large language modelsPLOS Digital Health, 2023
- Biologically Inspired Design Concept Generation Using Generative Pre-Trained TransformersJournal of Mechanical Design, 2023
- BioGPT: generative pre-trained transformer for biomedical text generation and miningBriefings in Bioinformatics, 2022
- Survey on Self-Supervised Learning: Auxiliary Pretext Tasks and Contrastive Learning Methods in ImagingEntropy, 2022
- On the diversity of multi-head attentionNeurocomputing, 2021
- A Survey on Contrastive Self-Supervised LearningTechnologies, 2020
- Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Pruned2019
- Deep learningNature, 2015
- Information Theory2003
- Similarity measuresIEEE Transactions on Pattern Analysis and Machine Intelligence, 1999