An LLM-Based Approach for Insight Generation in Data Analysis

Alberto Sánchez Pérez, Alaa Boukhary, Paolo Papotti, Luis Castejón Lozano, Adam Elwood
2/20/2025
cs.AIcs.CLcs.DB

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Generating insightful and actionable information from databases is critical in data analysis. This paper introduces a novel approach using Large Language Models (LLMs) to automatically generate textual insights. Given a multi-table database as input, our method leverages LLMs to produce concise, text-based insights that reflect interesting patterns in the tables. Our framework includes a Hypothesis Generator to formulate domain-relevant questions, a Query Agent to answer such questions by generating SQL queries against a database, and a Summarization module to verbalize the insights. The insights are evaluated for both correctness and subjective insightfulness using a hybrid model of human judgment and automated metrics. Experimental results on public and enterprise databases demonstrate that our approach generates more insightful insights than other approaches while maintaining correctness.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{prez2025llmbased,
  title  = {An LLM-Based Approach for Insight Generation in Data Analysis},
  author = {Alberto Sánchez Pérez and Alaa Boukhary and Paolo Papotti and Luis Castejón Lozano and Adam Elwood},
  year   = {2025},
  eprint = {2503.11664},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.11664v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.11664.svg)](https://codeofpaper.com/paper/2503.11664)

Discussion