This study examines alternatives to the conventional pre-training and fine-tuning approach in natural language processing, with a focus on improving efficiency and reducing costs. Our proposed framework, entitled GUR (Generate, Understand, Represent), is a simple and efficient solution that achieves zero-shot performance on text understanding, generation, and representation tasks without the need for fine-tuning.
The GUR framework leverages unsupervised pre-training on raw, unlabeled documents, utilizing a combination of masked language modeling and contrastive learning. By selecting similar text pairs based on their longest common string (LCS), we are able to train the model on a diverse range of text data, improving its ability to generalize to new, unseen texts.
Our experiments demonstrate that GUR achieves performance comparable to that of pre-trained language models (PLMs) in natural language understanding (NLU) and natural language generation (NLG) tasks, while outperforming the widely-used BM25 algorithm in recall tasks as a dense retriever in zeroshot. Additionally, we optimize the model architecture for inference in various scenarios, ensuring its versatility and adaptability across different applications.
The main contributions of this work can be summarized as follows:
- The proposal of a simple, efficient, and finetune-free framework for text understanding, generation, and representation, based on unsupervised pre-training and a contrastive learning task.
- The development of a novel pre-training scheme that leverages raw, unlabeled documents and selects similar text pairs based on their LCS, improving the diversity and robustness of the training data.
- The demonstration of GUR's ability to achieve performance comparable to PLMs in NLU and NLG tasks, and outperform BM25 in recall tasks as a dense retriever in zeroshot.
- The optimization of the model architecture for inference in various scenarios, ensuring its versatility and adaptability across different applications.
Overall, this study offers a promising alternative to the standard pre-training and fine-tuning approach in natural language processing, with potential applications in a wide range of areas, including but not limited to language translation, text summarization, and sentiment analysis.