Papers › Generating Data for Symbolic Language with Large Language Models

Generating Data for Symbolic Language with Large Language Models

23 May 2023arXiv:2305.13917archive 2025-07-28

Jiacheng Ye, Chengzu Li, Lingpeng Kong, Tao Yu

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}.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.13917")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hkunlp/symgen officialmentioned in papermentioned on GitHubApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from hkunlp/symgen. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

by_a_post_process hkunlp/symgen/src/filters/geoquery_filter.py official repository unverified Apache-2.0 (permissive) · 95e0731eb9afd765 · report
by_dedup hkunlp/symgen/src/filters/filter_tool.py official repository unverified Apache-2.0 (permissive) · 7cee44a5faf3bf92 · report
by_exec HKUNLP/SymGen/src/filters/filter_tool.py official repository unverified Apache-2.0 (permissive) · 91c673455ce64f8a · report
by_length hkunlp/symgen/src/filters/filter_tool.py official repository unverified Apache-2.0 (permissive) · bd8a61f9fef03503 · report
deduplicate hkunlp/symgen/src/dataset_readers/index_dsr.py official repository unverified Apache-2.0 (permissive) · 46ac634191da2933 · report
encode_field hkunlp/symgen/src/dataset_readers/base_dsr.py official repository unverified Apache-2.0 (permissive) · f397316309d5028b · report
reassign_idx hkunlp/symgen/src/dataset_readers/index_dsr.py official repository unverified Apache-2.0 (permissive) · d3e6bb8dcb712dfd · report
result_eq hkunlp/symgen/src/filters/break_filter.py official repository unverified Apache-2.0 (permissive) · e67773e4e43cf4c1 · report
result_eq hkunlp/symgen/src/filters/geoquery_filter.py official repository unverified Apache-2.0 (permissive) · 01f68295484d4194 · report
text_to_field hkunlp/symgen/src/filters/filter_tool.py official repository unverified Apache-2.0 (permissive) · 57cc9ebc64606720 · report

Tasks

Code GenerationSemantic Parsing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections