Generating Data for Symbolic Language with Large Language Models
Ye, Jiacheng, Li, Chengzu, Kong, Lingpeng, Yu, Tao
–arXiv.org Artificial Intelligence
While large language models (LLMs) bring not only performance but also complexity, recent work has started to turn LLMs into data generators rather than task inferencers, where another affordable task model is trained for efficient deployment and inference. However, such an approach has primarily been applied to natural language tasks and has not yet been explored for symbolic language tasks with complex structured outputs (e.g., semantic parsing and code generation). In this paper, we propose SymGen which utilizes LLMs for generating various annotation-expensive symbolic language data. SymGen consists of an informative prompt to steer generation and an agreement-based verifier to improve data correctness. We conduct extensive experiments on six symbolic language tasks across various settings. Compared with the LLMs, we demonstrate the 1\%-sized task model can achieve comparable or better performance, largely cutting inference and deployment costs. We also show that generated data with only a few human demonstrations can be as effective as over 10 times the amount of human-annotated data when training the task model, saving a considerable amount of annotation effort. SymGen sheds new light on data generation for complex tasks, and we release the code at \href{https://github.com/HKUNLP/SymGen}{https://github.com/HKUNLP/SymGen}.
arXiv.org Artificial Intelligence
May-23-2023
- Country:
- North America
- Dominican Republic (0.04)
- United States
- Montana (0.05)
- Alabama (0.05)
- Arkansas (0.04)
- Texas (0.04)
- Michigan (0.04)
- Colorado (0.04)
- Tennessee (0.04)
- Georgia (0.04)
- Mississippi (0.04)
- California > Los Angeles County
- Los Angeles (0.04)
- Alaska > Denali Borough
- Mt Mckinley (0.04)
- Washington > King County
- Seattle (0.04)
- Canada > British Columbia
- Europe
- Germany > Berlin (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Sweden > Uppsala County
- Uppsala (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- North America
- Genre:
- Research Report (0.50)
- Industry:
- Leisure & Entertainment (0.67)
- Technology: