arXiv:2502.02329cs.HCcs.CL2025-02被引 6

用大模型从旧报告中提取分析逻辑,帮新手快速生成新数据报告。

ReSpark: Leveraging Previous Data Reports as References to Generate New Reports with LLMs

  • 通过LLM逆向解析旧报告,自动提炼分析步骤
  • 生成可交互的初稿,支持用户修改和补充目标
  • 适合没代码经验但需写报告的研究者或业务人员

撰写数据报告是一项耗时任务,涉及反复的数据探索、洞察提取和叙事构建。核心挑战在于构建分析逻辑——从明确目标、数据转换到发现并传达洞察。手动设计这一逻辑认知负担重。尽管资深分析师常复用过往项目脚本,但为新数据找到完全匹配的案例罕见。即使网上有类似分析,也多仅提供结果或图表,缺乏底层代码,难以直接复用。为此,我们提出ReSpark,一个利用大语言模型(LLMs)从现有报告中逆向提取分析逻辑,并适配新数据集的系统。它生成分析步骤草案,为用户提供起点;同时支持交互式优化,允许用户检查中间输出、添加目标、修订内容。通过对比实验与用户研究验证,ReSpark有效降低了生成数据报告的门槛,且无需依赖已有分析代码。

原文摘要 · Abstract (English)

Creating data reports is a labor-intensive task involving iterative data exploration, insight extraction, and narrative construction. A key challenge lies in composing the analysis logic-from defining objectives and transforming data to identifying and communicating insights. Manually crafting this logic can be cognitively demanding. While experienced analysts often reuse scripts from past projects, finding a perfect match for a new dataset is rare. Even when similar analyses are available online, they usually share only results or visualizations, not the underlying code, making reuse difficult. To address this, we present ReSpark, a system that leverages large language models (LLMs) to reverse-engineer analysis logic from existing reports and adapt it to new datasets. By generating draft analysis steps, ReSpark provides a warm start for users. It also supports interactive refinement, allowing users to inspect intermediate outputs, insert objectives, and revise content. We evaluate ReSpark through comparative and user studies, demonstrating its effectiveness in lowering the barrier to generating data reports without relying on existing analysis code.

数据分析LLM应用报告生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。