Search papers, labs, and topics across Lattice.
This paper introduces STAGE, a novel pipeline for generating high-quality training data for text-to-JSON learning by leveraging large language models (LLMs) to synthesize reports and JSON schemas while validating outputs against source spreadsheets. The approach addresses the critical challenge of transforming unstructured documents into structured formats, which is essential for enabling automated systems to access valuable information. Evaluations demonstrate that STAGE significantly enhances training data quality, resulting in improved exact match and value accuracy for the Qwen3-4B model, showcasing a leap from 31.37% to 74.27% and 45.46% to 90.69%, respectively.
STAGE transforms the landscape of text-to-JSON data generation, boosting model performance by over 40% in accuracy metrics.
From financial filings to clinical records, legacy industries rely heavily on long, unstructured documents to store high-value information. Reliably extracting this information into structured, machine-readable representations is a key prerequisite to making the contents accessible to automated systems. JSON is a natural target for such structured extraction, yet constructing reliable and scalable text-to-JSON training data remains challenging. To address this gap, we propose STAGE (Spreadsheet-grounded Text-to-JSON Artifact GEneration), a source-grounded data generation pipeline that constructs reports and JSON schema by using LLMs for scalable synthesis while validating ground-truth values against the underlying spreadsheet. Evaluations on STAGE-Eval, our source-grounded benchmark with an 851-example test set, show that STAGE produces stronger training data than existing approaches. This improves Qwen3-4B exact match from 31.37% to 74.27% and value accuracy from 45.46% to 90.69%.