paper-with-me

홈 › Papers

Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes

2023-04-19 · Simran Arora, Brandon Yang, Sabri Eyuboglu, Avanika Narayan, Andrew Hojel, Immanuel Trummer, Christopher Ré

A long standing goal of the data management community is to develop general, automated systems that ingest semi-structured documents and output queryable tables without human effort or domain specific customization. Given the sheer variety of potential documents, state-of-the art systems make simplifying assumptions and use domain specific training. In this work, we ask whether we can maintain generality by using large language models (LLMs). LLMs, which are pretrained on broad data, can perform diverse downstream tasks simply conditioned on natural language task descriptions. We propose and evaluate EVAPORATE, a simple, prototype system powered by LLMs. We identify two fundamentally different strategies for implementing this system: prompt the LLM to directly extract values from documents or prompt the LLM to synthesize code that performs the extraction. Our evaluations show a cost-quality tradeoff between these two approaches. Code synthesis is cheap, but far less accurate than directly processing each document with the LLM. To improve quality while maintaining low cost, we propose an extended code synthesis implementation, EVAPORATE-CODE+, which achieves better quality than direct extraction. Our key insight is to generate many candidate functions and ensemble their extractions using weak supervision. EVAPORATE-CODE+ not only outperforms the state-of-the art systems, but does so using a sublinear pass over the documents with the LLM. This equates to a 110x reduction in the number of tokens the LLM needs to process, averaged across 16 real-world evaluation settings of 10k documents each.

📄 PDF Abstract BibTeX arXiv:2304.09433

Code (1)

hazyresearch/evaporate 공식 구현

Similar Papers 제목 키워드 기반

Grammar Prompting for Domain-Specific Language Generation with Large Language Models

2023-05-30 · NeurIPS 2023 11 · Bailin Wang, Zi Wang, Xuezhi Wang, Yuan Cao 외

Large language models (LLMs) can learn to perform a wide range of natural language tasks from just a handful of in-context examples. However, for generating strings from highly structured languages (e.g., semantic parsin…

In-Context LearningSemantic ParsingText Generation

Towards Optimizing SQL Generation via LLM Routing

2024-11-06 · Mohammadhossein Malekpour, Nour Shaheen, Foutse khomh, Amine Mhedhbi

Text-to-SQL enables users to interact with databases through natural language, simplifying access to structured data. Although highly capable large language models (LLMs) achieve strong accuracy for complex queries, they…

Text to SQLText-To-SQL

Knowledge-Aware Self-Correction in Language Models via Structured Memory Graphs

2025-07-07 · Swayamjit Saha arxiv

Large Language Models (LLMs) are powerful yet prone to generating factual errors, commonly referred to as hallucinations. We present a lightweight, interpretable framework for knowledge-aware self-correction of LLM outpu…

Scalable Micro-planned Generation of Discourse from Structured Data

2018-10-05 · CL 2019 12 · Anirban Laha, Parag Jain, Abhijit Mishra, Karthik Sankaranarayanan

We present a framework for generating natural language description from structured data such as tables; the problem comes under the category of data-to-text natural language generation (NLG). Modern data-to-text NLG syst…

Knowledge GraphsSentenceText Generation

A Pipeline for Generating Longitudinal Synthetic Clinical Notes Using Large Language Models

2026-06-25 · William Poulett, Alice Waterhouse, Ben Wallace, Scarlett Kynoch 외 arxiv

Synthetic data is increasingly used to enable the development and evaluation of AI systems in domains where access to real-world data is restricted. In healthcare, clinical documentation presents particular challenges du…