Elamur Research

BERTrend: Neural Topic Modeling for Emerging Trends Detection

Paper · 2024 · Allaa Boutaleb, Jerome Picault and Guillaume Grosjean

Summary

A few articles on an unfamiliar subject can be the first sign of a development worth following. They can also be the entire story. BERTrend addresses this problem by looking for groups of related documents whose coverage starts small and grows. It applies topic modeling to successive batches of news or research papers, then uses the resulting histories to distinguish weak signals, strong signals, and noise. The weak-signal category is intended to give an analyst a manageable set of emerging subjects to investigate while their coverage is still limited.

BERTrend groups related documents within each time slice and matches the resulting topics to topics found earlier. A topic gains popularity when more documents join it and loses popularity during gaps in coverage. Its classification depends on both its current score and the distribution of scores in a recent window. A topic in the lower-middle part of that distribution qualifies as weak only if its popularity is rising. Topics above the median are strong, while topics below the lower cutoff are treated as noise. Analysts can also describe a subject in advance and let BERTrend track documents that resemble that description, bypassing the need for those documents to form a cluster by themselves.

The evaluation uses 184,811 articles from The New York Times and 367,248 computer science abstracts from arXiv. The authors inspect the number of signals over time and follow selected topics through recognizable events. In the news, an early COVID-19 topic rose from weak to strong within days. Monitoring a broad, pre-defined subject about disease and outbreaks captured the earliest coronavirus article identified in the corpus, dated January 6th, 2020. The authors report a lead of 12 days over automatic discovery in this case. In arXiv, a topic about attention methods moved from weak to strong after the introduction of the transformer, while a topic about recurrent networks later declined.

The results are qualitative. They show how BERTrend's classifications behave in contrasting collections and why an analyst might want both open-ended discovery and targeted monitoring. The paper also demonstrates a way to turn topic keywords and supporting documents into readable accounts of what changed between dates. The evidence concerns changes visible in the monitored documents. How reliably those changes predict consequential events remains an open question.

Deep dive: BERTrend: Neural Topic Modeling for Emerging Trends Detection

BERTrend tracks rising topics in news and research papers, using recent publication patterns to distinguish weak signals from noise. · about 36 minutes to read

The problem and its context

An organization scanning a large document collection faces two different questions. What receives substantial attention already? And what receives little attention now but has started to attract more? The first question can often be approached by looking at the most common subjects. For the second, the subjects with the most coverage may be precisely the ones an analyst can afford to set aside. The evidence of interest may lie in a group of documents small enough to disappear in an overview of the collection.

The paper traces the idea of a weak signal to Ansoff's work on strategic surprise. The idea is that developments with important consequences can leave faint traces before their significance becomes clear. The authors give examples ranging from technological change and shifts in public opinion to early indications of a disease outbreak. They point to news coverage, social media, scientific publications, and technical reports as places where those traces might appear. In each case, the source determines what kind of evidence is available. A news collection gives a record of reporting, while a research collection gives a record of published work.

Small quantities of text are ambiguous evidence. A story can appear briefly and disappear. A subject can gather attention slowly, with enough time between articles that each looks isolated. Different writers may describe the same development in different terms, or use the same terms for distinct events. The authors identify three related challenges in this setting: retaining context, separating weak signals from incidental activity, and following developments over the period in which they may gain significance.

Time matters because a subject with little coverage can have arrived there by very different routes. A new subject may be picking up its first additional reports. An established subject may have fallen to the same level after a sustained decline. A snapshot of their present popularity leaves those cases looking alike. A history makes it possible to ask whether the low level is associated with expansion or contraction. BERTrend uses that distinction to decide which low-to-moderate scores merit the weak-signal label.

From keyword maps to topics

The paper describes keyword maps as an important line of earlier work. In the approach associated with Yoon, a keyword's degree of visibility concerns its frequency in the collection, while its degree of diffusion concerns its occurrence across documents. Putting these measures together can help identify terms that have low visibility but appear to have room to spread. The paper describes extensions that work with phrases, examine how signals change form, or adapt the approach to particular domains.

A keyword has the advantage of being legible. An analyst can see the item being tracked and look for it in the underlying text. Its meaning in a particular document, however, depends on the surrounding words. An increase in mentions can mix distinct uses of a term. Conversely, documents about the same development can be split across different words or expressions. The authors also describe the keyword maps as providing a snapshot that gives limited guidance about the path a signal took to arrive at its current position.

Grouping documents into topics is another approach discussed in the paper. A topic can collect evidence from documents written with different vocabulary. Earlier weak-signal studies used topic extraction on sources including land-administration documents and policy research. Other work combined topic extraction with vector representations of words, or added filters that considered how coherent a topic was, how it related to others, and how its behavior persisted over time. The paper associates much of this work with Latent Dirichlet Allocation.

In the authors' account, the conventional application of LDA has two properties that complicate their task. The number of topics is chosen in advance, and the topic representation lacks the contextual information supplied by the pretrained text representations they use. A fixed number may be reasonable for organizing a collection retrospectively. For monitoring, it creates a tension between giving small developments their own place and allowing the topic inventory to reflect how much is happening in each period.

Finding new subjects in a changing collection

RollingLDA is a closer comparison in its treatment of time. As the paper describes it, a rolling window lets the method compare topic distributions across successive periods and follow gradual shifts. The authors see that as useful for monitoring how established topics change over an extended period. They point to its fixed topic count and the role of keyword comparisons in interpreting the shifts as limitations for their own use case.

BERTrend asks a narrower question than a general study of topic evolution. The authors want to know which small topics look as though they are emerging at a particular point in time. A gradual change in language within an already prominent topic can be important without meeting that definition. Likewise, a new topic can interest a weak-signal analyst even when there is very little history from which to infer a long-term trajectory. The unit of attention is a topic that is small now and showing some momentum.

For this purpose, the authors use contextual document embeddings, numerical representations intended to place texts with related meanings near each other. A topic can then be discovered from the proximity of documents in that representation. The number of topics can vary from one batch to another. The design still needs a separate way to decide whether a group found now continues an earlier subject and another way to decide whether the resulting subject is worth flagging. BERTrend supplies those decisions around the topic extraction procedure.

The method, step by step

BERTrend processes a dated collection in chronological batches. Within each batch, it finds groups of related documents. It compares each group with topics already in its inventory and either attaches the new group to an existing topic or starts a new one. The resulting record tells it when each topic last received documents, how many arrived, and how its popularity changed. Finally, it interprets that history against the recent distribution of popularity scores.

This arrangement separates the question of what belongs together from the question of what deserves attention. A topic can be coherent and still attract too little coverage to flag. An established topic can keep receiving documents without being an early warning. The extraction and matching stages construct the histories, while the classification stage gives those histories an operational meaning.

How BERTrend turns dated documents into signals

The steps in order.

How BERTrend turns dated documents into signalsStep 1: Normalize text and split lengthy documents1. Normalize text and split lengthy documentsStep 2: Group documents into chronological batches2. Group documents into chronological batchesStep 3: Extract and describe topics in each batch3. Extract and describe topics in each batchStep 4: Match new topics to the accumulated inventory4. Match new topics to the accumulated inventoryStep 5: Update or decay every topic’s popularity5. Update or decay every topic’s popularityStep 6: Compute popularity thresholds from recent history6. Compute popularity thresholds from recent historyStep 7: Classify topics using popularity and recent slope7. Classify topics using popularity and recent slope

Prepare documents and choose the time slices

The pipeline normalizes Unicode and splits long documents into paragraphs. The reason for splitting is practical. The embedding procedure accepts inputs up to a recommended length, so passing a long article in one piece would risk losing its later text through truncation. Paragraphs can be embedded separately. BERTrend retains the link between each paragraph and its source so it can count original documents when measuring popularity. Otherwise, dividing an article into many passages could create the appearance of many publications.

After paragraph splitting, the pipeline discards text containing fewer than 100 Latin characters. The authors chose that cutoff after inspecting arXiv and New York Times material that fell below it. They found fragments such as incomplete sentences, article endings, and social media references. It is a rule about how much usable text to retain at the input. The later noise category applies to the histories of topics made from text that has already passed this filter.

The time slicing can be expressed as follows.

Dₜ = {d ∈ D : time(d) ∈ [t, t + Δt)}

Here D is the collection, d is an individual text item in it, and time(d) is its timestamp. The symbol t is the start of a slice, Δt is its duration, and Dₜ is the set of items assigned to it. The braces collect the items satisfying the condition after the colon, and ∈ means membership. The interval includes its left endpoint and excludes its right endpoint. This puts an item dated exactly on the boundary in the slice that starts there.

The authors denote the total number of documents by N and the total number of slices by M. A slice can represent a day, a week, or another selected interval. This choice determines which documents are available to form a group together and how frequently BERTrend updates the resulting histories. With shorter slices, a small development can be examined sooner, provided enough related material appears together. A longer slice gives documents more opportunity to form a group but coarsens the history.

The pseudocode also specifies the start of the retrospective processing interval.

t_start = t_now − W

Here t_now is the current time, W is the selected retrospective window, and t_start is the starting point for processing in the algorithm. The pseudocode uses G for the granularity of the slices made within that interval. Granularity sets the spacing of observations. The retrospective window determines how far back the procedure looks, including the history used to judge which scores are low or high.

Extract a fresh set of topics from each slice

BERTrend uses BERTopic to turn each batch into groups of related documents with readable descriptions. The stages do different jobs. The embedding captures contextual information from the text, the projection gives the clustering procedure a smaller space to work in, and the cluster description provides words a reader can inspect. The grouping and description stages follow the procedure in BERTopic.

For a slice Dₜ, the paper denotes the resulting set of topics by Tₜ. A topic can be written τⱼᵗ, where j indexes a topic found in slice t. The number Kₜ is the number of topics found in that slice. It is an outcome of clustering. Successive slices can yield different values of Kₜ.

Each document becomes a dense vector, a list of numerical coordinates used as its position in a semantic space.

e_d ∈ ℝʰ

Here e_d is the embedding of document d, ℝ denotes the real numbers, and ℝʰ is the space of vectors with h real-valued coordinates. The symbol ∈ states that the embedding lies in that space. The experiments use all-mpnet-base-v2 to obtain these representations. The paper cites the approach to sentence embeddings associated with Sentence-BERT.

BERTopic then uses dimensionality reduction. This maps the document vectors into a space with fewer coordinates while attempting to retain useful information about their arrangement.

e′_d ∈ ℝʳ, r < h

Here e′_d is the reduced representation of document d, the prime distinguishes it from e_d, and r is the new dimension. The symbol < says that r is smaller than the original dimension h. The authors use 5 components in the projection and set the neighborhood size to 15. They describe the latter as a balance between emphasis on nearby points and attention to broader structure. The projection procedure is UMAP.

The reduced vectors are grouped by density. In this approach, a topic can form where related documents occupy a sufficiently concentrated region. The procedure can also leave individual points outside a cluster. That kind of clustering outlier is a document-level outcome. BERTrend's later noise label is a topic-level outcome, and can apply to documents that formed a cluster successfully.

The authors set the minimum cluster size to 2 and the minimum sample size to 1, the smallest values they discuss for these settings. The first choice allows very small groups. The second makes the clustering less inclined to leave points unassigned. Both choices favor retaining specific subjects at this early stage. The clustering algorithm is HDBSCAN.

In the paper's notation, Cₜ is the set of clusters in slice t, and Cⱼᵗ is the cluster indexed by j. The cluster has a representative vector cⱼᵗ, which the paper describes as its centroid and locates in ℝʳ. The vector gives the matching stage a way to compare a group to earlier groups. It has a different role from the short textual description shown to an analyst.

Describe the clusters with words

BERTopic turns each cluster into a topic description using class-based TF-IDF. The class in this setting is a cluster of documents. The procedure looks for terms that occur often in the cluster and help distinguish it from other clusters. This gives a reader an indication of what the documents discuss and why the group may be worth opening.

The paper denotes the representative words of topic τⱼᵗ by W indexed by that topic. An individual term in the description is wⱼ,ₘᵗ, where m is its position and Mⱼᵗ is the number of terms used to represent the topic. The results use highly scored unigrams and bigrams, meaning individual words and pairs of adjacent words. A pair can express a more specific idea than either word does alone.

The authors retain this default representation for automatic extraction. They discuss methods that could refine the descriptions, but keep the experiment's topic labels based on the class-level term scores. The later interpretation demonstration uses the words and the documents to produce a fuller account of the topic. The popularity calculation itself uses the membership of the topic and its matching history.

Decide when a topic continues an older one

Extraction starts afresh in each slice, so a group can have different documents and representative words from the corresponding group in an earlier slice. BERTrend compares vector representations to decide whether to join the groups. The comparison is based on semantic similarity.

The operational inventory accumulates topics as processing moves forward. For a newly extracted topic, the pseudocode seeks the best match in that inventory. This makes it possible for a topic to resume receiving updates after a gap. The prose also describes the process in terms of consecutive slices. The cumulative inventory in the framework and algorithm explains how previously found topics remain available for matching and scoring.

sim_max = maxₖ cos(cⱼᵗ, cₖ)

Here cⱼᵗ is the representative vector of new topic j in slice t, and cₖ is the stored vector of candidate topic k. The function cos is cosine similarity, which compares how closely the vectors point in the same direction. The operator maxₖ takes the largest similarity over candidate indices k, and sim_max is the resulting score.

k* = arg maxₖ cos(cⱼᵗ, cₖ)

Here k* is the index of a candidate whose cosine similarity attains the maximum. The star marks the selected candidate, and arg maxₖ returns its index instead of the score. The two vector arguments have the same meanings as in the similarity calculation.

The method description calls the similarity threshold α, while the pseudocode calls it τ. The pseudocode merges when the best score meets or exceeds the cutoff. The prose says it must exceed the cutoff. That difference affects a score exactly equal to the threshold. The experimental section selects a value of 0.7 for general topic merging.

When a match is accepted, the documents in the new cluster join the historical topic. Otherwise, the cluster enters the inventory as a new topic. The first occurrence supplies the reference vector retained for later comparisons. This gives each topic a stable identity across gaps and updates. It also makes the first group especially consequential. A sequence of later clusters can resemble its immediate predecessors while moving away from the original reference. Such a sequence can eventually acquire a separate identity under the matching rule.

The setup is incremental at the level of topics and their histories. It reuses pretrained document embeddings and fits the grouping procedure on each arriving slice. The ongoing work is to add groups to the inventory, extend or create histories, and recalculate signal categories as more text arrives.

Let popularity rise with coverage and fall during gaps

Topic popularity begins with the size of the newly discovered group. For clarity, the formulas below write the topic index as a subscript and the slice as a superscript.

pₖᵗ = |Dₖᵗ|

Here pₖᵗ is the initial popularity of topic k in slice t, and Dₖᵗ is the set of source documents associated with that topic in that slice. The vertical bars denote the size of the set. Paragraph-level processing thus feeds a document-level measure of coverage.

If a new cluster is matched to the topic in a later slice, the score increases by the size of the incoming document group.

pₖᵗ′ = pₖᵗ′⁻¹ + |Dₖᵗ′|

Here t′ is a slice after the topic's initial appearance, pₖᵗ′ is the updated score, and pₖᵗ′⁻¹ is the score in the preceding slice. The 1 in the index identifies the preceding slice in the sequence. The term |Dₖᵗ′| counts the documents newly associated with topic k in the current slice t′. The plus sign expresses the addition of that count to the previous score.

On slices without a match, the method applies a decay.

pₖᵗ′ = pₖᵗ′⁻¹ · exp(−λ(Δt)²)

The popularity terms and indices have the same meanings as above. The centered dot denotes multiplication, exp is the exponential function, and λ is the decay constant, for which the paper gives 0.01 as an example. In this equation, Δt denotes the number of days since the topic last received an update. In the slicing equation, the same notation denotes a slice duration. The superscript ² squares the elapsed time, and the negative exponent makes the multiplier smaller as the gap grows.

At each missed update, the multiplier acts on the preceding score. As the gap grows, the topic is subject to progressively stronger decay. Recently active topics can retain some of their accumulated popularity through a brief pause. A long inactive period makes the earlier accumulation count for less. As a result, a popularity curve is neither a display of the documents in each individual slice nor a lifetime document total. It encodes the size and timing of additions and the gaps created by the matching stage.

A topic can therefore begin to decline even while the collection continues to discuss the general subject. If fresh groups are assigned separate identities, the topic tied to the original vector stops receiving their counts. The distinction between coverage of a subject and updates to a particular topic identity matters when interpreting individual curves.

Use recent scores to decide what counts as weak

A raw score has little meaning without context. The same popularity could be substantial in a quiet run of batches and low when many topics are receiving frequent updates. BERTrend estimates reference values from the recent distribution of scores. The pool includes popularity values from across topics and across time, rather than only the current topic's history.

P_all = ⋃ₖ {pₖʲ : j ∈ [t − W + 1, t]}

Here P_all is the collection of popularity observations, k runs over topics in the inventory, and pₖʲ is the popularity of topic k at time index j. The index t is the current slice, W is the retrospective window size, and 1 appears in the pseudocode's inclusive indexing of the window. The union sign ⋃ gathers the scores across topics, and the colon precedes the condition on the time index. The prose describes the period as extending from t − W to t. For percentile calculation, the important quantity is the distribution of observations in the window, including scores shared by different topic observations.

The pseudocode orders the pooled values and obtains the lower threshold as follows.

P₁₀ = P_all[⌊0.1 · |P_all|⌋]

Here P₁₀ is the 10th-percentile cutoff, and P_all inside the indexing expression is the sorted collection. Its size is |P_all|. The factor 0.1 selects the lower part of the ranked observations, and the floor brackets ⌊ ⌋ round the index downward. The square brackets select the value at that index.

P₅₀ = P_all[⌊0.5 · |P_all|⌋]

Here P₅₀ is the median cutoff, and the factor 0.5 selects the middle of the sorted collection using the pseudocode's index rule. The remaining notation has the same meaning as for the lower cutoff. Both reference scores can move from one evaluation date to the next as new values enter the window and old ones leave.

For a topic in the middle band, the method also fits a straight line to its recent popularity scores.

slope({pₖʲ : j ∈ [t − W + 1, t]}) > 0

Here slope is the slope of the linear regression line through the recent observations of topic k, using their time indices. The expression inside the parentheses is the topic's sequence of scores across the window. The test > 0 asks whether the fitted direction is upward. Individual observations can dip within an upward-sloping history.

The pseudocode combines those quantities into a decision rule.

Sₖᵗ = noise   if pₖᵗ < P₁₀
     = weak    if P₁₀ ≤ pₖᵗ ≤ P₅₀ and its fitted slope is positive
     = noise   if P₁₀ ≤ pₖᵗ ≤ P₅₀ and its fitted slope is nonpositive
     = strong  if pₖᵗ > P₅₀

Here Sₖᵗ is the category assigned to topic k at slice t. The score pₖᵗ is its current popularity. The symbols <, ≤, and > compare it with the lower percentile P₁₀ and the median P₅₀. A slope is nonpositive if it is flat or downward. The pseudocode puts flat trajectories in the same branch as declines within the middle band.

The growth condition applies only within that band. A subject above the median qualifies as strong even if its score has started falling. A subject still below the lower cutoff receives the noise label even if its score has started to rise. The intended distinction is between moderate activity accompanied by evidence of growth and moderate activity left over from an earlier peak. Since the thresholds are recalculated, classifications can also change when a topic holds steady and the surrounding distribution moves.

Follow a subject chosen by an expert

The system also supports targeted zero-shot monitoring. An expert supplies a textual description of a broad subject. BERTrend embeds that description and compares it directly with individual documents as they arrive. Here zero-shot means that the description serves as the basis of matching without training a separate classifier on labeled examples of the subject.

Z = {z₁, z₂, …, z_L}

Here Z is the collection of expert-defined subjects, zₗ is a subject at index l, and L is the number supplied. The ellipsis represents the intervening entries. Each subject starts as text that can be embedded in the same space as the documents.

Dᵗ_zₗ = {d ∈ Dₜ : cos(e_d, e_zₗ) > β}

Here Dᵗ_zₗ is the set of documents selected for subject zₗ in slice t. The candidate d comes from Dₜ, the documents in that slice. Its vector is e_d, and e_zₗ is the vector of the expert's description. The expression after the colon retains a document if the cosine similarity of those vectors exceeds β, the matching threshold.

The authors describe 0.4-0.6 as a typical range for this threshold and use 0.45 in the disease example. The threshold is deliberately permissive because the analyst's description can be vague. A broad interest in outbreaks may be the only guidance an expert can give before a particular event emerges. Each document can be tested against that description even when nothing similar appears in the same slice. BERTrend then uses the selected sets of documents to calculate popularity and categories with the ordinary scoring procedure.

Targeted monitoring changes how evidence enters the history. Automatic discovery needs enough related documents in a slice to form a cluster and then needs a match to sustain a topic across slices. A pre-defined subject is available from the beginning and can take documents directly. That makes it possible to record an isolated article while also widening the pool to include other events that fit the expert's description.

Experiments and results

Two collections with different publication rhythms

The evaluation uses a New York Times collection covering January 2019 to January 2023 and an arXiv collection covering January 2017 to December 2023. The news collection has 184,811 articles. The arXiv collection has 367,248 abstracts from the computer science category, designated cs.*. The material differs in length, subject matter, and rhythm of publication. The authors selected the collections because scientific writing and journalism offer opportunities to observe emerging subjects and because recognizable examples can be interpreted in context.

Document counts for the New York Times and arXiv computer science evaluation corpora

The arXiv run draws on the larger input collection.

Document counts for the New York Times and arXiv computer science evaluation corporaBERTrend on New York Times news: 184,811BERTrend on New York Times news184,811BERTrend on arXiv computer science abstracts (this paper): 367,248BERTrend on arXiv computer scienceabstracts (this paper)367,248
The numbers
System or settingdocuments
BERTrend on New York Times news184,811
BERTrend on arXiv computer science abstracts (this paper)367,248

The document counts give the scale of the respective inputs. News is processed in slices of 2 days, while the arXiv intervals are 7 days. The authors chose these intervals after examining how quickly topics evolved in the two collections. The news setup gives reporting more frequent opportunities to produce a new score. The arXiv setup allows a longer period for related scientific abstracts to accumulate. The difference in slice duration also matters when comparing the number of signals reported from each collection.

The evaluation has no common quantitative baseline for detecting weak signals. The paper discusses prior keyword-based and dynamic topic approaches. It explains that their outputs and customary metrics differ from the event-monitoring question posed here. The direct comparison that comes closest to a baseline holds the news collection fixed and contrasts automatic BERTrend discovery with expert-guided document matching for COVID-19.

The quantities used in the results are the number of discovered topics, the number assigned to each signal class, the popularity trajectories of particular topics, and the timing of detection in the targeted example. The figures track these over time. The study uses them to inspect what BERTrend surfaces and how it behaves as documents accumulate. The absence of shared labels for genuine weak signals rules out interpreting category totals as counts of correct detections.

How many signals does the system produce?

The overall news results show a fairly stable workload of 10 to 20 weak signals every 2 days. The number of topics extracted per slice fluctuates, with no sustained increase reported for the news collection as a whole. Strong-signal counts show occasional spikes. The authors suggest that periods of intense attention to major events can account for those spikes.

The count of weak signals says something concrete about the output an analyst would receive on that schedule. It tells the reader how many topics the heuristic typically put in its emerging category. The evaluation does not independently determine which of the flagged topics an analyst would have judged important, and it does not count how many important topics lay outside that category. The number is a measure of output volume.

The computer science run produces consistently more weak signals in the reported series, with comparatively fewer strong signals in the authors' account of its distribution. The number of extracted topics per 7-day interval also rises over time. The authors attribute the increase to growth in the research collection and the expanding variety of its subjects. They do not report a separate experiment that isolates the influence of publication volume from changes in topic diversity or the settings of the pipeline.

In both collections, the inventory after merging grows over time. This is consistent with accumulating topics whenever an incoming group is dissimilar enough to stand on its own. It also illustrates why the inventory count and the current signal counts answer different questions. The existence of a historical topic in the inventory says it was represented by a cluster at some point. Its current popularity and slope determine whether it appears as a weak or strong signal on a given date.

The authors relate the contrast between the collections to their different domains. A news cycle can rapidly concentrate coverage around an event. Scientific publication sustains many small lines of work at once. These are interpretations of the observed trajectories. A batch of research abstracts can contain more weak topics in part because it covers a longer interval, and the score thresholds are calculated from each collection's own history. The plots show the outputs of the two configured runs rather than a controlled measurement of how frequently consequential events arise in each domain.

An emerging event in the news

The news case study focuses on 01/2020 to 02/2020. The automatic system found a cluster about the new coronavirus that was sufficiently dissimilar from its existing topics to start a distinct history. Early in that history, the subject had relatively few articles and entered the weak category. As coverage accumulated, its popularity increased sharply and it became strong within days.

The authors put the trajectory beside other subjects visible in the same period. Coverage of the impeachment trial of President Trump and the Taal Volcano eruption in the Philippines in Jan 2020 supplied examples of strong signals. A selected topic on American football teams received the noise label. The comparison illustrates the meaning of the categories inside one collection at the same time. An unfamiliar subject can be weak even while unrelated topics are attracting much more attention. A recognizable subject can be noise under the popularity rule used for its particular cluster.

The plot presents popularity on a logarithmic axis. Its curves represent the score constructed from additions and decay, instead of the number of articles arriving in each batch. The visible rise of the COVID-19 line therefore shows that BERTrend was successfully adding related groups to the same topic across updates. The transition to strong indicates that its accumulated popularity crossed the relevant threshold. It does not directly measure a change in the underlying event.

The history begins after reporting is present in the collection. The contribution illustrated by this case is surfacing a developing cluster while its representation in the corpus is still relatively small. What matters for interpreting the early flag is the phase in the coverage history at which it appeared. The paper selects this case because both the subject and its subsequent rise are readily recognizable.

Attention methods and recurrent networks on arXiv

The arXiv case follows selected topics from 06/2017 to 10/2019. One topic represents attention methods. The paper describes it as weak before June 2017, when attention was being used with recurrent networks. It places the subsequent rise around the introduction of the transformer. The topic moves into the strong category and continues to gain prominence in the plotted history. The paper associates that turning point with Attention Is All You Need.

A topic built around recurrent networks and LSTMs later declines. The authors interpret its trajectory alongside the growth of transformer-related work, describing a shift in research practice. BERTrend supplies separate histories whose timing can be examined together. The popularity rule itself does not contain a mechanism for detecting intellectual replacement or establishing a causal relationship between the curves. That interpretation comes from the topic contents and the authors' account of the period.

The comparison also includes computer vision work, especially papers mentioning ImageNet. Its selected topic was strong in June 2017 and continued to grow. Alongside the attention topic, it provides a way to see the difference between a history that starts weak and rises into the strong range and a history that is already prominent at the point under discussion.

This example is informative about the unit BERTrend follows. The curve is for a topic in a computer science abstract collection. It shows continuity in the documents attached to that topic and how their accumulated score compares with other topics. The authors use it retrospectively to locate an early phase of a development and put its rise beside related research activity. The evaluation does not test whether an observer seeing only the early weak label could have identified its later significance.

What changed with a predefined disease topic

For the targeted comparison, the authors specify a broad topic covering diseases, outbreaks, illnesses, and viruses. It is meant to approximate what someone might choose with only a general sense of what to monitor. The document similarity threshold is 0.45, so the retrieval can retain a report even when its wording is a loose fit to that description.

The earliest coronavirus article identified by the targeted run is dated January 6th, 2020. The article used both the term coronavirus and a description of a mysterious illness resembling pneumonia. The targeted procedure surfaced it 12 days before the automatic BERTrend run surfaced the corresponding signal. That is the paper's directly reported lead for this example. It concerns retrieving an early relevant document under a subject definition supplied in advance.

The targeted run also picked up a November 2019 report about school closures in Colorado associated with a virus outbreak. The paper leaves its connection to COVID-19 uncertain. It illustrates the latitude of the retrieval setup. A document can match an interest in outbreaks and merit inspection even if it belongs to a different event. An earlier date alone is insufficient to count the document as a confirmed detection of the event under study.

The two runs also differ later in the series. Around March 2020, the automatic topic becomes less stable and starts declining. The authors explain this as a result of distinct groups forming around different aspects of pandemic coverage. Those groups can become separate topics and stop contributing to the original line. The expert-defined description continues to provide the same reference for all documents, allowing the targeted series to hold related coverage together more consistently.

That consistency has a practical interpretation. If the question is how much material concerns a broad pre-defined subject, separate lines for its subtopics can fragment the answer. If the question is which new aspects of a broad story are appearing, those separate lines give information of their own. The comparison shows how the two procedures construct different histories from the same collection. It supplies an observed difference in timing for this case, without an aggregate measure of precision, recall, or lead time across events.

Turning a topic history into an account of what changed

A list of representative terms can make a cluster searchable while leaving its development hard to understand. The authors demonstrate a further step that takes the keyword representation and supporting documents from successive dates and produces a titled account of each period. For dates after the first, the account identifies developments described as new since the preceding period. The paper names GPT-4o and reports using a temperature of 0.1 for the example.

The demonstration concerns a weak signal about bluetongue disease in France in July 2024. The displayed snapshots are dated July 31 2024, Aug 1 2024, and Aug 2 2024. The generated account moves from preparations and movement restrictions to reports of spread and effects on farms. Its function in the paper is to show how a reader can examine the changing content of a topic whose popularity history has already been identified.

A second prompt takes that chronological account and asks for possible impacts, more and less favorable future scenarios, interactions with other trends, and factors that might accelerate or impede developments. That stage changes the task from describing what the supplied documents contain to considering possibilities. The paper presents the generated scenarios as examples of interpretive output. It does not report an independent assessment of their factual reliability or predictive accuracy.

The authors also describe an exploratory interface that lets users inspect topic assignments on particular dates, retrieve supporting documents, and visualize merges between time slices. They released BERTrend and the associated visualization and interpretation code. The interface and the bluetongue example show how the topic histories can be examined after detection. Neither supplies a quantitative test of the added interpretation stage.

What the ablations show

The merge threshold changes what a topic history represents

The paper's main ablation varies the automatic merge threshold from 0.5 to 0.95. This setting governs whether a group of documents extends a previous topic or starts a separate one. It therefore affects the meaning of topic identity and the scores that determine the categories. A change at the matching stage can propagate to the classification of topics that were not themselves newly merged.

At thresholds of 0.5-0.6, the authors found that topics were often merged too broadly. An imperfect match could bring another group's documents into the same topic, increasing the score for a history whose contents had become less specific. With enough such merges, a small group of dominant topics accumulated coverage and the distribution used for classification became unstable. The ablation reports abrupt movement in the cutoffs between successive timestamps under these settings.

This is a consequence of applying the thresholds to a shared distribution. The effects of broad merging extend beyond the readability of an individual topic label. Incoming document counts determine topic popularity, and those scores help set the context in which all other topics are judged. If merging strongly changes the pool of scores, the same topic can be classified differently through a change in its surroundings.

At thresholds of 0.8-0.95, the authors observed the opposite problem. Related clusters often failed to join, producing many small and separate signals. Each cluster could be interpretable on its own, while the wider development had no coherent history in which to accumulate evidence. This interferes especially with the weak-signal rule, which looks for a rising sequence. A collection of short histories gives less evidence of that pattern even when an analyst can see a connection among the documents.

The paper selects 0.7 as the balance for the general experiments. The authors judged that it preserved topic specificity without creating as much fragmentation. The outcome is reported qualitatively. There is no threshold-by-threshold series of weak-signal accuracy scores from which to infer a performance margin or a universally best cutoff.

The wording of the ablation refers to unstable cutoffs called Q1 and Q3, whereas the method and the pseudocode use the 10th percentile and median. The paper does not reconcile those labels. The reported observation is that broad merging destabilized the adaptive cutoffs. The method section remains the explicit source for the classification rule.

The retrospective window has a smaller reported effect

The authors vary the retrospective window from 2 to 30 days. Once the merge threshold is in a suitable range, they describe the effect of changing the window as small. A larger window retains more historical popularity scores, which can make the cutoffs steadier and slower to reflect a change in the current collection. A smaller window gives greater influence to recent slices.

The two settings act at different points. The merge threshold decides whether document counts accrue to an existing topic. The window determines which scores inform the present thresholds and the fitted slope. If the underlying histories are assembled from unrelated groups or broken into many short fragments, a different comparison window has little opportunity to recover the intended continuity. The reported sensitivity is consistent with that dependency. The paper does not quantify separate effects on the identification of individual genuine signals.

The paper also reports choosing different time-slice lengths for the news and arXiv runs after examining their publication dynamics. That is a configuration choice informed by the collections. The results do not include a comparative series isolating the effect of granularity. Likewise, the small clustering settings follow the authors' aim of retaining fine-grained groups, without a separate performance breakdown for each clustering choice.

Targeted monitoring tests a different route to detection

The disease example is a comparison between two routes to assigning documents to a topic. It shows why removing the need for a document to belong to a newly discovered cluster can surface an isolated article earlier. It also shows how a fixed expert description can keep a longer series coherent when automatic discovery finds distinct facets of the subject. The earlier Colorado example illustrates what can enter through that broader route.

The comparison changes both the available guidance and the matching procedure. The targeted run starts with a subject supplied by an expert and assesses documents individually. The automatic run starts without a pre-defined subject and assesses the correspondence between groups found in successive passes. The observed lead establishes the result for these configurations in this case. It cannot attribute the entire gain to the similarity threshold or to the unit of comparison alone.

The analyses therefore give the strongest evidence about how BERTrend forms and maintains histories. They show failure modes when merging is too permissive or too strict, relative stability across the tested retrospective windows, and a concrete instance where a broad expert description exposes evidence sooner. The paper gives no separate controlled comparison that isolates the value of the decay rule, the slope test, or the use of contextual embeddings for weak-signal accuracy.

Limitations

Limits the authors identify

The authors emphasize that weak signals resemble noise when judged by popularity alone. Both can be small and fluctuate. A rise may reflect the beginning of a consequential development, a temporary concentration of interest, or several documents attached to one topic because they share language. The slope rule gives a reproducible way to flag growth, but the authors treat deciding what counts as a meaningful signal as an unresolved problem.

They also identify subjectivity as a barrier to evaluation. What deserves attention depends on the domain, the observer's goals, and the time at which the observation is made. Experts can disagree about a topic while seeing the same evidence. The targeted feature lets an analyst guide retrieval with a description. It addresses the practical need to focus attention without settling the question of which topics should count as correct detections for a benchmark.

The paper reports a lack of widely accepted ground-truth collections and metrics for this task. Topic coherence can help assess whether words and documents fit together. Topic diversity can indicate whether a collection of extracted topics covers different material. The paper also names perplexity among conventional metrics. These measures leave unanswered whether rising coverage is an early indicator of something consequential. An extraction procedure can produce coherent and diverse topics while missing precisely the developing subject an analyst cares about.

Time compounds this problem. A topic can seem trivial when it first appears and important in retrospect. It can also look promising and quickly disappear. An evaluation needs a reference tied to what could have been known at the time, or a clear distinction between contemporaneous judgments and outcomes assigned later. The authors propose a larger user study in which domain experts inspect outputs at specified times and identify potential weak signals in their own fields. They present that study as future work.

The authors also describe sensitivity to hyper-parameters. Fine-grained clustering gives small subjects a chance to survive extraction, while also creating smaller groups whose representative vectors can be variable. The similarity threshold must accommodate that variation. Time granularity depends on how much text arrives and how quickly topics develop. The retrospective period changes how much older activity can influence the cutoffs, and the percentiles themselves were selected empirically.

A final limitation the authors identify concerns comparison with earlier approaches. Keyword maps, topic sequences, and measures of topic quality provide different outputs. Comparing their numerical values directly would leave the weak-signal question unanswered. The authors also suggest exploring named entity recognition as a possible way to improve filtering.

Limits implied by the setup

The principal cases are retrospective and chosen for ease of interpretation. That is appropriate for examining how the curves behave when the observer understands the subject, but it leaves selection effects. An emerging event with a clear later trajectory makes the weak-to-strong transition easy to recognize. The evaluation gives less information about how often the same procedure flags short-lived subjects or gives a late or fragmented account of important developments.

As a result, the 12-day result should be read at the level of the COVID-19 example. It establishes an observed lead over the automatic configuration under a broad disease description. The study does not estimate the chance of obtaining a similar lead on a new event. It also leaves open how an analyst would use an isolated early article amidst other reports matching a broad subject. That practical burden depends on the total volume and relevance of retrievals, which the case does not quantify.

The corpora define what the popularity curves can mean. A rising news topic shows that the selected outlet is publishing more related material, after matching and decay have been taken into account. A rising research topic shows that related abstracts are accumulating in the selected arXiv category. Causal importance, general public attention, and adoption are interpretations that require other evidence. Even a rapidly changing event can appear slowly or late if the monitored collection reports it that way.

The classifier is also relative to its own output. It has a lower cutoff and a median that move with the pooled scores. A label is therefore a judgment about a topic in its current corpus and window. Strong labels on different datasets do not imply equal document counts or equal rates of growth. Within a collection, a topic can move between categories as other topics change. Counts of weak and strong signals can illuminate the system's workload and behavior, but their use as cross-domain measures of emerging events would require additional justification.

The clustering and matching setup creates distinct ways to miss evidence. An isolated document can remain outside an automatically formed cluster. A coherent cluster can be absorbed by a broad earlier topic. A cluster can also be left separate from a historical topic that an analyst would regard as its continuation. Later scoring only uses the histories produced by those decisions. It cannot reconstruct a topic whose documents were consistently assigned elsewhere.

Retaining the first topic vector has its own tradeoff. It checks gradual drift towards unrelated subjects, but an unrepresentative initial cluster can make later matching difficult. This matters when the system intentionally permits very small groups. As the COVID-19 example illustrates, a decline in the initiating topic can coexist with continued coverage spread across new, more specific topics. Reading only the initiating line would give an incomplete account of the wider subject.

The fitted slope reduces a potentially uneven recent history to one direction. At the same current popularity, a topic with a steady rise and one with a short burst can both take the weak label if their fitted slopes are positive. The paper does not examine how often such cases differ in their later trajectories. Furthermore, the threshold ablation and algorithm use different cutoff labels, and the matching description and pseudocode differ on equality at the threshold. These ambiguities matter when reproducing edge cases or attributing a change in output to a particular setting.

The preprocessing limits are also tied to the trial collections. The rule requiring 100 Latin characters was motivated by noisy fragments observed there. Its behavior on collections where legitimate reports are short or use other writing systems is outside the evaluation. Similarly, the parameter settings were tuned to the topic dynamics and publication rates of the evaluated corpora. The paper does not provide a test of how much tuning a different collection would require.

Finally, the interpretation example demonstrates how to present a history and reason about possible developments. The paper does not report an evaluation of the generated accounts against their documents, or of the scenarios against later outcomes. The evidence for categorization lies in the document groups and score histories. The additional account gives an analyst a way to read those histories, and its projections remain suggestions for examination.

What came after

One later citing study takes up the question of how foresight signals evolve in news within a specific market. Its case is the European electric vehicle market. This focus connects to BERTrend's use of dated news to follow emerging subjects within a continuing stream of reporting. It frames the problem around the evolution of signals in a defined domain. The stated scope establishes that connection without specifying which parts of BERTrend's extraction, matching, or scoring procedure carried over. Tracking the Evolution of Foresight Signals in News Data: The Case of the European Electric Vehicle Market

Another citing study considers when outliers seed new topics. That question concerns a point earlier in the pipeline than BERTrend's classification of an extracted topic as noise. In BERTrend, a document left unassigned by clustering has not yet contributed to a topic history. A topic labeled noise has a history but fails the current popularity and growth rule. The later study's stated focus draws attention to the first of those situations, where material outside existing groups could become the basis for a new group. Its title and citation establish the connection without identifying a specific change to BERTrend's clustering or decay procedure. From Noise to Signal: When Outliers Seed New Topics

Cite

Cite as Allaa Boutaleb, Jerome Picault and Guillaume Grosjean. 2024. BERTrend: Neural Topic Modeling for Emerging Trends Detection. Proceedings of the Workshop on the Future of Event Detection (FuturED).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.futured-1.1

@inproceedings{boutaleb2024bertrend,
  title = {{BERTrend: Neural Topic Modeling for Emerging Trends Detection}},
  author = {Allaa Boutaleb, Jerome Picault and Guillaume Grosjean},
  booktitle = {Proceedings of the Workshop on the Future of Event Detection (FuturED)},
  year = {2024},
  doi = {10.18653/v1/2024.futured-1.1},
  url = {https://doi.org/10.18653/v1/2024.futured-1.1}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/boutaleb-2024-bertrend-neural-topic-modeling-emerging/