Insights

Spike or Season? The Statistics of Trend Detection

Trend detection for social data: tell a real spike from seasonality with shares, STL decomposition, burst tests, creator counts, and forecast benchmarks.

Luke Bae

TL;DR: Trend detection tells a real spike from the season by tracking a share of category posts, removing the seasonal pattern with a method such as STL decomposition, testing the week against its expected value, and counting unique creators as well as posts.

“Mentions are up 60% this week. Is that a trend?” Before anyone can answer, someone has to check whether the category simply got busier, whether this week is always busy, and whether the rise came from many people or a few accounts.

Researchers run those checks with a small set of trend detection methods: share-based series, STL decomposition, expected-versus-observed tests, burst detection, and forecast benchmarks. It belongs to our guide to consumer trend analysis.

What should trend detection measure before it tests anything?

It should measure a share of all posts in the category and separate the season from the trend. A raw count of posts rises whenever the platform, the season, or your collection brings in more posts overall.

Measure a share, not a count

GeoStyle tracked the share of photographed people wearing an attribute in each city and week (Source: Mall et al., 2019).

For an insights team, the practical denominator is usually all posts in the category query. Name it in the report, because the same numerator tells different stories against different totals.

Separate the season with STL decomposition

STL: “a filtering procedure for decomposing a time series into trend, seasonal, and remainder components” (Source: Cleveland et al., 1990).

STL stands for seasonal-trend decomposition based on loess. The model is additive: each observation equals trend plus seasonal plus remainder. The seasonal component is the variation “at or near the seasonal frequency,” such as the yearly cycle of sunscreen or gifting content.

STL has a robust option, designed so the components are “not distorted by transient, aberrant behavior” (Source: Cleveland et al., 1990). Social data needs that option, because one viral week can otherwise pull the trend and seasonal estimates toward itself.

On a weekly share series, STL decomposition gives a simple reading: a week with a large remainder is a candidate event, and a week that is high only because of the seasonal component is just the season.

How does trend detection decide whether a week is surprising?

It compares the week with an expected value, or it looks for a sustained burst of activity.

Expected values and bursts

GeoStyle fit every city’s attribute series with a linear trend plus a cyclic component, then ran a one-tailed binomial test for each week: given the fitted probability and the number of people photographed, how unlikely is the observed share? Weeks with p < .05 were flagged, and nearby outliers were grouped into events. In a manual check, 100% of the most salient events and 60% of all events had an understandable explanation (Source: Mall et al., 2019).

In Kleinberg’s model, a stream of posts is produced by an automaton that moves between a low state and higher states with faster rates, and “the onset of a burst is signaled by a state transition” (Source: Kleinberg, 2003).

Count creators as well as posts

Snapchat’s trend detection system, described in a 2026 industry preprint, counts unique creators posting about a topic in a recent window and ignores view counts. Human reviewers judged 92.8% of 1,278 detected trends to be valid (Source: Zhao et al., 2026).

Recall was not measured, and the paper gives no values for the window lengths or the minimum creator count, so you cannot copy the system.

How do you check a forecast or a series before you trust it?

Beat simple benchmarks, use an error measure that survives zero weeks, and log your own changes to the measurement.

Forecasting: Principles and Practice lists four benchmark methods: the mean of past values, the naive forecast (the last value), the seasonal naive forecast (the last value from the same season), and drift (the average historical change, carried forward) (Source: Hyndman & Athanasopoulos, 2021).

  • MAPE divides each error by the actual value, so it is “infinite or undefined” when the actual value is zero. Sparse topics have many zero weeks.

  • MASE scales errors by the in-sample error of a naive forecast (or a seasonal naive one). Below 1 means better than that naive forecast; above 1 means worse.

The baseline decides how good a result looks. GeoStyle’s next-26-week forecasts reached a MAPE of 15.73%, against 16.09% for a sinusoid baseline (Source: Mall et al., 2019).

Log the breaks you create yourself

Salganik lists drift among the standard problems of big data sources and names three kinds: population drift, behavioral drift, and system drift, defined as “change in the system itself” (Source: Salganik, 2018). Adding a product name variant to a query, changing collection settings, or updating the model that labels posts can each shift a series overnight, and STL or a burst detector will report that step change as an event.

Keep a dated change log for every query and annotate charts with it. If your series counts posts that an AI model labeled, a model update can change the trend line even when accuracy looks the same. The 90% accuracy trap explains how a model with high accuracy can still produce a biased estimate.

What does a spike-or-season check look like in practice?

It runs the share, the seasonal baseline, and the creator count in order. The numbers below are made up for illustration. They do not come from any study or dataset.

Worked example: an ingredient that jumps 60%

In this illustrative example (made-up numbers, not from a study), a skincare team tracks posts that mention an ingredient within its category query. Over the past eight weeks, the ingredient averaged 300 posts a week out of 25,000 category posts (1.20%), from about 210 unique creators. This week it has 480 posts, a 60% jump.

Scenario

Category posts

Ingredient posts

Share

Unique creators

Prior 8-week average

25,000

300

1.20%

210

This week, version A

40,000

480

1.20%

220

This week, version B

26,000

480

1.85%

95

In version A, the whole category grew during a gifting season. The share is flat, so there is no ingredient spike to explain.

In version B, the share rises to 1.85%, so the seasonal check comes next. Suppose a robust STL fit on two years of weekly shares puts the trend component at 1.25% and the seasonal component for this week of the year at +0.20 points. The expected share is 1.45%, or about 377 posts out of 26,000. The observed 480 posts sit about 5 standard deviations above that under a binomial model, so the week is statistically surprising, and the gap (0.40 points of share) is large enough to matter.

Only 95 creators posted, fewer than usual, and three accounts produced 260 of the 480 posts. Without those three accounts, the share would be about 0.85%, below the expected value. That could be a paid campaign or reposting pages, and the next step is to open their posts.

Report checklist

Spike-or-season checks are one of the validation habits described in our overview of social listening research. Before you call a rise a trend, check that the report:

  1. Defines the series as a share and names the denominator.

  2. Compares against a seasonal baseline (robust STL or the same week last year) and states how much history was used.

  3. Names the test (binomial expected-versus-observed or burst detection) and reports the expected value, the observed value, and the size of the gap.

  4. Shows posts and unique creators side by side, with the share contributed by the top accounts.

  5. Evaluates any forecast against seasonal naive, using MASE when the series has zeros.

  6. Lists the dates of query, collection, and model changes that fall inside the period.

  7. Labels any explanation of a spike as a hypothesis until someone has read the source posts.

The methodology section template shows where these details go. Whether one group or platform moves before another is a separate question, usually tested with Granger causality, which measures predictive lead and not cause.

Syncly Social analyzes short-form video on TikTok, Instagram Reels, and YouTube Shorts, including speech, on-screen text, and logo or product appearances through video analysis. A query’s time series in social listening can therefore include untagged mentions that captions miss. When a chart peaks, spike analysis shows what moved with the peak, and you can open the source posts, original videos, and transcripts to see who posted and what they said. Treat that as evidence to check: it does not prove why the spike happened. Post exports and the API let you compute shares, run STL, and score forecasts against benchmarks in your own statistics environment, next to your dated log of query edits.

Key Takeaways

  • Track a share of category posts and name the denominator.

  • Robust STL separates the season from the trend; a large remainder marks a candidate event.

  • Test each week against its seasonal expectation, and report the size of the gap.

  • Count unique creators next to posts, and log every query or model change.

Conclusion

A rise supports a trend claim only after it clears the share, the season, the test, and the creator count. Each check rules out a plainer explanation, such as a busier category or a few active accounts. Say which checks the rise passed.

Check every spike against its season with short-form video data that includes untagged mentions. Start your free trial with Syncly Social →

Keep exploring the research.

Jump to

Share

More from the blog

Keep exploring