arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.08109cs.DBcs.AIcs.IRcs.LG
收藏

CSQL:将文档映射到因果数据库

CSQL: Mapping Documents into Causal Databases

Adobe Research and University of Massachusetts(Adobe研究院和马萨诸塞大学)

Sridhar Mahadevan

AI总结:

CSQL通过将文档转换为因果数据库,支持对文档集合的因果分析,能够回答‘为什么’的问题,并实现大规模语料库级别的因果查询和纵向分析。

摘要:

我们描述了一个新的系统CSQL,它可以自动将一组无结构文本文档转换为可查询的因果数据库(CDB)。与传统数据库不同,CDB旨在通过因果干预和结构化的因果查询来回答“为什么”的问题。CSQL建立在我们之前的系统DEMOCRITUS之上,该系统将文档转换为成千上万个局部因果模型,这些模型源自因果论述。与基于检索增强(RAG)的系统或基于知识图谱的方法不同,CSQL支持对文档集合的因果分析,而不是纯粹的关联检索。例如,给定一篇关于人类双足行走起源的文章,CSQL可以执行诸如“哪些因素对双足行走有最强的因果影响?”或“哪些变量充当具有最大下游影响的因果枢纽?”等查询。除了单文档案例研究外,我们还展示CSQL可以大规模摄入RAG/IE编译的因果语料库,通过将《测试因果主张》(TCC)经济学论文数据集编译成包含265,656个主张实例的因果数据库,该数据库涵盖45,319篇论文、44年和1,575个报告的方法字符串,从而在CSQL中实现语料库级别的因果查询和纵向分析。从抽象角度看,CSQL充当一个将无结构文档转换为具有原理性查询代数的因果数据库的编译器,并可在许多领域广泛应用,从商业、人文科学到科学。

英文摘要:

We describe a novel system, CSQL, which automatically converts a collection of unstructured text documents into an SQL-queryable causal database (CDB). A CDB differs from a traditional DB: it is designed to answer "why'' questions via causal interventions and structured causal queries. CSQL builds on our earlier system, DEMOCRITUS, which converts documents into thousands of local causal models derived from causal discourse. Unlike RAG-based systems or knowledge-graph based approaches, CSQL supports causal analysis over document collections rather than purely associative retrieval. For example, given an article on the origins of human bipedal walking, CSQL enables queries such as: "What are the strongest causal influences on bipedalism?'' or "Which variables act as causal hubs with the largest downstream influence?'' Beyond single-document case studies, we show that CSQL can also ingest RAG/IE-compiled causal corpora at scale by compiling the Testing Causal Claims (TCC) dataset of economics papers into a causal database containing 265,656 claim instances spanning 45,319 papers, 44 years, and 1,575 reported method strings, thereby enabling corpus-level causal queries and longitudinal analyses in CSQL. Viewed abstractly, CSQL functions as a compiler from unstructured documents into a causal database equipped with a principled algebra of queries, and can be applied broadly across many domains ranging from business, humanities, and science.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑