arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.15712cs.CLcs.CYcs.DBcs.LO
收藏

TL;QR:查询文本语料中的时间话语模式

TL;QR: Querying Temporal Discursive Patterns in Textual Corpora

ETH Zürich(苏黎世联邦理工学院);CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心);IST Austria(奥地利科学技术研究所)

François Hublet, Vladimir Krsmanovic, Jesus Solano, Ahmed Bouhoula, Ana Oliveira da Costa

AI总结:

TL;QR是结合LLM与时间逻辑的声明式查询语言及开源引擎,可精准高效查询文本语料的时间话语模式,在基准测试与欧洲议会辩论案例中表现优于仅用LLM的方法。

摘要:

针对大型文本语料的诸多问题涉及随时间演变的模式,例如某政治团体在数年辩论中对某议题的立场从支持转向批评。我们提出TL;QR(Too Long; Query with logical temporal Reasoning),这是一种用于查找此类时间话语模式的声明式查询语言与开源引擎。在TL;QR中,单个查询将自然语言谓词(其真值由大语言模型LLM判断)与正则表达式及时间逻辑运算符相结合。LLM仅回答关于单个文本段落的局部问题;随后符号引擎会随时间聚合这些判断,并将每个匹配项链接到其背后的已记录段落与谓词决策。通过这种分工,即使在较长时间范围内,时间与关系推理仍保持精确且可审计。此外,当查询包含正则表达式预过滤时,仅有一小部分语料会被传递给LLM。在一套包含时间与语义复杂模式的受控合成基准测试中,TL;QR的准确性显著高于仅使用LLM的基线方法。在针对十年欧洲议会辩论(442593篇多语言演讲)的案例研究中,TL;QR识别出各政治团体在GDPR隐私监管问题上的立场候选转变。

英文摘要:

Many questions about large textual corpora concern patterns that unfold over time, such as a political group whose stance on a topic drifts from support to criticism over several years of debates. We present TL;QR (Too Long; Query with logical temporal Reasoning), a declarative query language and open-source engine for finding such temporal discursive patterns. In TL;QR, a single query combines natural-language predicates, whose truth is judged by a Large Language Model (LLM), with regular expressions and the operators of a temporal logic. The LLM answers only local questions about individual text passages; a symbolic engine then aggregates these judgments over time and links every match to the recorded passages and predicate decisions behind it. With this division of labor, the temporal and relational reasoning stays exact and auditable even over long time horizons. In addition, when a query includes a regular-expression pre-filter, only a small fraction of the corpus ever reaches the LLM. On a suite of controlled synthetic benchmarks with temporally and semantically complex patterns, TL;QR is substantially more accurate than LLM-only baselines. In a case study on ten years of European Parliament debates (442,593 multilingual speeches), TL;QR identifies candidate shifts in the political groups' stances on the GDPR privacy regulation.

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

↑