[Paper Review] SeqGPT: An Out-of-the-box Large Language Model for Open Domain Sequence Understanding
SeqGPT is a bilingual (English/Chinese) open-source autoregressive language model fine-tuned for open-domain natural language understanding tasks. It uses two atomic tasks with fixed input-output formats, trained via instruction tuning on GPT-generated synthetic data and further fine-tuned on 152 diverse NLU datasets, achieving strong zero-shot performance across unseen domains and tasks, including event extraction and entity typing.
Large language models (LLMs) have shown impressive ability for open-domain NLP tasks. However, LLMs are sometimes too footloose for natural language understanding (NLU) tasks which always have restricted output and input format. Their performances on NLU tasks are highly related to prompts or demonstrations and are shown to be poor at performing several representative NLU tasks, such as event extraction and entity typing. To this end, we present SeqGPT, a bilingual (i.e., English and Chinese) open-source autoregressive model specially enhanced for open-domain natural language understanding. We express all NLU tasks with two atomic tasks, which define fixed instructions to restrict the input and output format but still ``open'' for arbitrarily varied label sets. The model is first instruction-tuned with extremely fine-grained labeled data synthesized by ChatGPT and then further fine-tuned by 233 different atomic tasks from 152 datasets across various domains. The experimental results show that SeqGPT has decent classification and extraction ability, and is capable of performing language understanding tasks on unseen domains. We also conduct empirical studies on the scaling of data and model size as well as on the transfer across tasks. Our model is accessible at https://github.com/Alibaba-NLP/SeqGPT.
Motivation & Objective
- Address the limitations of large language models (LLMs) in natural language understanding (NLU) tasks due to poor adherence to structured outputs and reliance on prompt engineering.
- Overcome the shortcomings of zero-shot and few-shot LLMs in tasks like event extraction and entity typing, where performance is inconsistent.
- Develop a versatile, open-source model capable of generalizing across diverse NLU tasks with minimal prompt engineering.
- Improve zero-shot and few-shot performance on unseen domains by leveraging diverse, high-quality synthetic and real-world NLU data.
- Provide a unified, standardized interface for NLU tasks through atomic task formulations with fixed input-output templates.
Proposed method
- Define all NLU tasks as two atomic tasks with fixed input-output formats to standardize model behavior while preserving flexibility for arbitrary label sets.
- Generate 800k+ high-quality, diverse synthetic NLU data using GPT-3.5 (ChatGPT) to create realistic labels and annotations for open-domain scenarios.
- Fine-tune the base BLOOMZ model on 152 datasets spanning 11 NLU tasks, including NER, relation extraction, text classification, and machine reading comprehension.
- Apply a two-stage training process: first instruction-tuning on synthetic data to enhance generalization, then fine-tuning on real-world datasets to improve task-specific accuracy.
- Use consistent prompt templates across tasks to ensure model consistency and reduce dependency on task-specific prompt engineering.
- Leverage bilingual (English/Chinese) data to support multilingual NLU capabilities in a single unified model.
Experimental results
Research questions
- RQ1Can a moderate-sized language model achieve strong zero-shot and few-shot performance across diverse open-domain NLU tasks without task-specific prompt engineering?
- RQ2How does instruction tuning on synthetic, high-diversity data improve generalization and zero-shot transfer in NLU compared to standard fine-tuning?
- RQ3To what extent does scaling model size and training data improve performance across multiple NLU tasks and domains?
- RQ4Can a unified, atomic task formulation with fixed input-output templates consistently guide a language model to produce correct structured outputs across varied NLU tasks?
- RQ5How effective is the model in transferring knowledge to unseen domains and tasks, especially in low-resource settings?
Key findings
- SeqGPT achieves strong zero-shot performance on unseen NLU tasks, including event extraction and entity typing, outperforming standard LLMs like GPT-3.5 in structured output adherence.
- The model demonstrates robust zero-shot generalization across 152 diverse datasets spanning 11 NLU tasks, including low-resource and out-of-domain settings.
- Fine-tuning on 233 atomic tasks from 152 datasets significantly improves performance compared to zero-shot or few-shot baselines, especially in classification and extraction tasks.
- The two-stage training strategy—synthetic data instruction tuning followed by real-data fine-tuning—leads to better generalization and more consistent output formatting.
- Empirical analysis shows that data diversity is more critical than sheer data volume for improving NLU performance, supporting the value of synthetic data with rich label variety.
- SeqGPT achieves competitive results on benchmarks like CAAI, TNEWS, and WikiQA, with performance on par or superior to larger models in zero-shot settings, particularly in structured output tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.