K-文化的一切——从回归到 K-美妆,发送到您的邮箱订阅邮件

METAL MEDIA

BERTilda: Explainable Topic Lifecycle Tracking with Split/Merge Detection via Similarity-and-Flow Temporal Graphs

arXiv:2608.181012026-08-20

一种能追踪话题如何分裂、合并、消失并解释理由的方法

新闻或社交媒体中的话题并非只是缓慢漂移,有时会突然分裂成几个子话题,或几个话题合并成一个更大的叙事。BERTilda先在每个时间窗口独立发现话题,再通过语义相似度和双向文档流信号(追踪文档实际流向哪里、来自哪里)把相邻窗口的话题连接起来,并将每次转变标注为延续、分裂、合并、消失或不明确。在美国国会推文数据上测试,三位标注者按多数投票的一致率最高达到87%,在所有对比方法中表现最好。

METAL MEDIA 解读图

一种能追踪话题如何分裂、合并、消失并解释理由的方法

  1. 01问题:许多动态主题模型假设话题会平滑漂移,而各自独立拟合每个时间窗口的快照式主题模型无法说明不同窗口的话题该如何对应
  2. 02方法:先用BERTopic在每个时间窗口独立发现话题,再通过两种信号连接相邻窗口的话题——(1)话题嵌入之间的余弦相似度,(2)双向覆盖信号,即一个话题的文档流向下一窗口哪个话题(流出),以及某话题的文档来自上一窗口哪个话题(流入)
  3. 03对由此构建的有向图应用透明规则,将每条连接标注为延续、分裂、合并、消失或不明确,形成一个时序话题图
  4. 04在第119届美国国会544名议员账号的357,896条推文,以及联合国大会发言和国情咨文数据上进行了评估;三位独立标注者审阅了随机抽取的120个事件(每类30个)
  5. 05BERTilda的宏平均验证精确率为0.775,高于仅用相似度的方法(0.571)和仅用前向流的方法(0.725),尤其在检测消失事件上表现突出;在阈值扰动测试中,宏平均精确率维持在0.663至0.718之间,说明效果并不依赖某一组精心调好的参数
这是 METAL MEDIA 制作的解读图,并非论文作者提供的原图。

他们做了什么

  1. 问题:许多动态主题模型假设话题会平滑漂移,而各自独立拟合每个时间窗口的快照式主题模型无法说明不同窗口的话题该如何对应
  2. 方法:先用BERTopic在每个时间窗口独立发现话题,再通过两种信号连接相邻窗口的话题——(1)话题嵌入之间的余弦相似度,(2)双向覆盖信号,即一个话题的文档流向下一窗口哪个话题(流出),以及某话题的文档来自上一窗口哪个话题(流入)
  3. 对由此构建的有向图应用透明规则,将每条连接标注为延续、分裂、合并、消失或不明确,形成一个时序话题图
  4. 在第119届美国国会544名议员账号的357,896条推文,以及联合国大会发言和国情咨文数据上进行了评估;三位独立标注者审阅了随机抽取的120个事件(每类30个)
  5. BERTilda的宏平均验证精确率为0.775,高于仅用相似度的方法(0.571)和仅用前向流的方法(0.725),尤其在检测消失事件上表现突出;在阈值扰动测试中,宏平均精确率维持在0.663至0.718之间,说明效果并不依赖某一组精心调好的参数
Table 1: Datasets and temporal segmentation used in experiments.
DatasetDomainTime spanUnitWindowing
Congress tweetssocial media2024–2025tweet7d window, 3d step
UN General Debatesspeeches1970–2015paragraph/speech3y window, 2y step
State of the Unionspeeches1790–2018paragraph/speech7y window, 3y step
Table 2: Default decision thresholds used in the alignment and event-labeling stages. Dataset-specific window size and step are described in the experimental setup.
SymbolMeaningValue
Similarity and edge validation
τdocmin doc-to-topic similarity for attribution0.40
τtopicmin topic-to-topic similarity for candidate edge0.70
τcovout=τcovinmin coverage for a validated edge0.30
Event-labeling thresholds
αcontcontinuation similarity threshold0.90
αcontout=αcontinmin inflow/outflow coverage for continuation0.50
αsplitoutmin total outflow coverage for split0.70
αsplitinmin inflow coverage per successor0.50
αdispout=αdispinmin inflow/outflow coverage for disappearance0.40
αmergeoutmin outflow coverage per predecessor0.50
αmergeinmin total inflow coverage for merge target0.70
Table 3: Static topic quality metrics on the congressional tweets dataset.
ModelCVNPMIUMassDiversityTQ
BERTilda (BERTopic + temporal graph)0.73810.1981-2.84890.97510.7200
Top2Vec0.3565−0.3005−11.59950.89370.3184
Table 4: Distribution of predicted event labels on the 120 annotated gold-set items.
MethodContinueDisappearSplitMerge
BERTilda (similarity + bidirectional coverage)30303030
Similarity-only (normalized topic similarity)20482120
Lexical-only (normalized c-TF-IDF similarity)410600
Forward-only (no backward attribution)20482021
Table 5: Annotator-confirmed validation rate (precision) on predicted events, using majority vote across three annotators.
MethodContinueDisappearSplitMerge
BERTilda (similarity + bidirectional coverage)0.8670.8000.7670.667
Similarity-only (normalized topic similarity)0.7500.4170.6670.450
Lexical-only (normalized c-TF-IDF similarity)0.7500.226n/an/a
Forward-only (no backward attribution)0.8000.5580.8260.714
Table 6: Overall topic quality metrics on UN General Debates (mean ± std across windows).
ModelCVNPMIUMassDiversityTQ
BERTilda0.593 ± 0.0660.084 ± 0.044-1.105 ± 0.7760.921 ± 0.0740.551 ± 0.095
Tomotopy DTM0.361 ± 0.037-0.030 ± 0.013-0.697 ± 0.6140.589 ± 0.0670.211 ± 0.019
DETM0.542 ± 0.0120.998 ± 0.0000.541 ± 0.012
Table 7: Temporal drift on UN General Debates (drift = β1).
ModelMetricDriftp-value
BERTildaCV0.00070.5635
Diversity0.00510.0062
TQ0.00310.1062
Tomotopy DTMCV0.00090.0204
Diversity0.00160.0310
TQ0.00102.05e-09
DETMCV2.13e-040.1215
Diversity-1.53e-070.9717
TQ2.13e-040.1219

为什么重要

在分析政治言论、新闻或社交媒体这类叙事不断分裂重组的文本时,能够给出可核查的判断依据(文档流向)十分重要。与黑箱式深度学习方法不同,分析人员可以直接查看这个图,检验判断理由并修正错误。

本文术语

  • 快照式主题模型 · 只用某个时间窗口内的文档单独拟合话题,而非跨时间联合建模的方法
  • 嵌入 · 将文本的含义表示为数值向量的方法
  • 余弦相似度 · 通过两个向量之间的夹角来衡量它们相似程度的指标
  • 双向覆盖(流出/流入) · 统计一个话题的文档流向下一窗口哪些话题(流出),以及某话题从上一窗口哪些话题接收了多少文档(流入)的信号
  • BERTopic · 结合句子嵌入、聚类和关键词提取来发现话题的开源主题建模工具

无法转载的图表

  • Figure 1: Representative local threshold-sensitivity analyses on the congressional gold set. Left: varying τdoc. Right: varying αdispout. Full curves for all five thresholds are reported in the supplementary material.
  • Figure 2: Example temporal evolution of a topic (Holocaust/Israel–Antisemitism), illustrating split, continuations, and disappearance across consecutive windows.
在原文中查看图表 →

论文原文摘要(英文)

Longitudinal text streams exhibit topic birth and death, but also discrete structural reorganizations in which themes split into subtopics or merge into broader narratives. Many dynamic topic models emphasize smooth drift, while snapshot topic models (fit independently per time window) leave temporal correspondence underspecified. We present BERTilda, an explainable framework that discovers topics independently in each window (using an embedding-based topic model) and then constructs a temporal topic graph linking topics across adjacent windows. Links are supported by two complementary signals: (i) semantic similarity between topic representations and (ii) a bidirectional coverage signal that estimates document outflow (where a topic goes) and inflow (where a topic comes from) via cross-window tweet-to-topic attribution. Graph-based rules label continuations, splits, merges, disappearances, and unclear transitions. We evaluate BERTilda on political corpora, including U.S. congressional tweets and historical speech datasets, report topic-quality and temporal-stability diagnostics, and validate lifecycle labels on a gold-standard subset annotated by three independent annotators. On the annotated subset, BERTilda reaches majority agreement rates up to 87% and attains the highest macro-average agreement across the compared methods, with particularly strong disappearance detection relative to similarity-only and forward-only baselines.

作者 · Cl\'audia Oliveira, \'Alvaro Figueira

在 arXiv 阅读

最新论文

全部论文 →

METAL MEDIA 最新报道