# Harnessing Accurate and Automatic Trend Detection in Data Streams via Tbps-Level Inference

*Yuhan Wu, QianXun Xu, Lida Liao, Longlong Zhu, Jiashuo Yu, Linying Zheng, Hongyan Liu, Dong Zhang, Chunming Wu, Xiang Chen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149186) · [Open on the map](../papers.html#p149186)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Graph Diffusion and Positional Encodings](../pgroup/301.md) · Type: new method · Keywords: trend detection, data stream processing, BRNN, in-network inference, false positive reduction

## Summary
NeuTrend is a lightweight BRNN-based framework that automatically detects trend patterns in high-speed data streams, reducing false positives and achieving Tbps-level line-rate processing.

## Explained to a 5-year-old
Imagine a huge river of numbers flowing by very quickly. Scientists want to know which numbers are going up for a long time or going down for a long time. Old ways of doing this need a lot of manual work and often make mistakes. The new idea uses a tiny brain that looks at each number and guesses if it belongs to a trend. This brain only uses simple operations, so it fits inside very small machines.

## Explained to a 5-year-old, longer
Imagine a huge river of numbers flowing by very quickly. Scientists want to know which numbers are going up for a long time or going down for a long time. Old ways of doing this need a lot of manual work and often make mistakes. The new idea uses a tiny brain that looks at each number and guesses if it belongs to a trend. This brain only uses simple operations, so it fits inside very small machines. It also changes its own rules based on how sure it is. The result is fewer mistakes and more space for real trends. It can process data at a speed that matches the fastest network connections. This makes the system useful for real-time monitoring. It helps networks stay healthy by spotting changes early. It also saves energy because it does not need big computers. Overall, it makes trend detection easier and faster for everyone.

## For a technical reader
NeuTrend uses a compact bidirectional recurrent neural network that performs classification with only XNOR and popcount operations, making it suitable for data-plane hardware. An adaptive module automatically tunes growth and decay thresholds using the network’s confidence scores, removing the need for manual parameter tuning. Experiments show a 23%-44% reduction in false positives and a 35%-68% improvement in F1 score while sustaining Tbps-level line-rate processing. The design fits within strict switch resource constraints and can be deployed directly in network devices for real-time trend monitoring.

## Problem
Detecting frequency trend patterns such as sustained growth or decline in high-speed data streams is challenging, especially when existing solutions require manual tuning and suffer from high false positive rates.

## Method
The approach employs a lightweight bidirectional recurrent neural network (BRNN) that uses only XNOR and popcount operations to classify incoming items as trending or not, and an adaptive detection module that automatically adjusts growth and decay thresholds based on the BRNN's confidence scores.

## Results
The learned filter reduces false positive rates by 23%-44% and increases effective detector occupancy from 47% to 70%, improving the overall F1 score by 35%-68% over existing solutions while achieving Tbps-level line-rate processing.

## Contributions
It introduces an accurate, automatic trend detection framework that eliminates manual parameter tuning, provides a resource-efficient BRNN classifier using only XNOR and popcount operations, and includes an adaptive threshold module that leverages confidence scores.

## Practical relevance
The framework enables accurate trend detection directly in network switches, allowing operators to identify emerging patterns at line rate without manual configuration.

## Research questions this paper is counted under

- [How can we achieve reliable unsupervised anomaly detection in time series that generalizes across contexts, noise, and distribution shifts without labeled anomalies?](../q/62.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149186)
