Conceptio › Archive › arXiv CS
arXiv CSopen access

TingIS: Real-time Risk Event Discovery from Noisy Customer Incidents at Enterprise Scale

2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
neural-networks
machine learning, deep learning, neural networks

TingIS: Real-time Risk Event Discovery from Noisy Customer Incidents at Enterprise Scale Jun Wang1 *

Ziyin Zhang1,2∗

Rui Wang1 Hang Yu1† 1 Ant Group 2 Shanghai Jiao Tong University

Peng Di1†

Rui Wang2†

† {hyu.hugo,dipeng.dp}@antgroup.com, [email protected]

arXiv:2604.21889v1 [cs.CL] 23 Apr 2026

Abstract Real-time detection and mitigation of technical anomalies are critical for large-scale cloudnative services, where even minutes of downtime can result in massive financial losses and diminished user trust. While customer incidents serve as a vital signal for discovering risks missed by monitoring, extracting actionable intelligence from this data remains challenging due to extreme noise, high throughput, and semantic complexity of diverse business lines. In this paper, we present TingIS, an endto-end system designed for enterprise-grade incident discovery. At the core of TingIS is a multi-stage event linking engine that synergizes efficient indexing techniques with Large Language Models (LLMs) to make informed decisions on event merging, enabling the stable extraction of actionable incidents from just a handful of diverse user descriptions. This engine is complemented by a cascaded routing mechanism for precise business attribution and a multi-dimensional noise reduction pipeline that integrates domain knowledge, statistical patterns, and behavioral filtering. Deployed in a production environment handling a peak throughput of over 2,000 messages per minute and 300,000 messages per day, TingIS achieves a P90 alert latency of 3.5 minutes and a 95% discovery rate for high-priority incidents. Benchmarks constructed from real-world data demonstrate that TingIS significantly outperforms baseline methods in routing accuracy, clustering quality, and Signal-to-Noise Ratio.

1

Introduction

In the era of modern digital services, large-scale online platforms - underpinned by complex microservices and cloud-native architectures - have become indispensable, powering everything from global e-commerce and social media to financial transactions. For these systems, even minor fail* Euqal contribution.

ures can rapidly propagate into large-scale incidents, causing significant financial losses and erosion of user trust. For instance, Alipay - one of the world’s largest mobile payment platforms - experienced a critical configuration error related to China’s national subsidies in January 2025, where a 20% discount is mistakenly applied to all transactions (Cao, 2025). With an annual transaction volume of approximately $20 trillion, even a 5minute window for such an incident could result in an estimated loss of 40 million dollars (Elad, 2025). Thus, timely detection and response to such emerging risks are critical for maintaining system reliability and financial safety in practice. While internal observability systems such as metrics, logs, and traces form the first line of defense, they are not infallible. When they do fail, customer incidents such as online feedback and hotline inquiries provide a complementary and uniquely valuable signal, exposing failures in the “blind spots” of automated monitoring and reflecting a direct measure of user-perceived impact. Therefore, the early detection of latent system vulnerabilities which we call “risk events” - from as few as 3 customer incidents has emerged as a cornerstone strategy for preempting catastrophic failures and minimizing enterprise losses. However, leveraging customer incidents for real-time risk detection presents formidable challenges, as they are noisy, colloquial, and multi-source by nature. Extracting a systemic failure signal from just 3 noisy data points amidst a streaming throughput of 2,000 messages per minute creates a severe Signal-to-Noise Ratio (SNR) challenge. A system with a low SNR would inevitably trigger thousands of false positive alerts, rapidly overwhelming Site Reliability Engineering (SRE) teams and leading to alert fatigue. The situation is further complicated by business heterogeneity, high demand for real-timeness, and low tolerance to undetected failures. In response to these challenges, we present

I. Data Observation Layer

II. Semantic Intelligence Engine

Streaming Complaint Voices 1. “Cannot pay, just keeps spinning!” 2. "Payment failed, why? Network is fine.” 3. (Noise) "What is my credit limit?”

M1: Semantic Distillation Normalized Summaries: 1.

“Payment failure, loading abnormal” 2. "Order payment failed” 3. (Noise) "Query credit limit“

III. Long-term Knowledge Memory

M2: Cascade Routing

Routing KB

Keyword KB Incident Voices KB Full Voices KB

Payment Domain Noise Domain(Filtered)

M4: State Management M3: Event Linking M3.1 In-batch Efficient Aggregation Prototype: 'Payment Failure/Loading Issue'

Audit & Mapping Logs Retrieve / Update Risk Event Knowledge Store Event-456: Order Payment Failure

M3.2 Cross-batch Historical Association

Signal: Event-456 Vol+2

Statistical Baselines Dynamic Volume Baselines

M5: Multi-dimensional Denoising INTELLIGENT ALERT Event: #456 Order Payment Failure Vol: 52 (+2) Urgency: Middle

False-Positive KB

Non-Risk Inquiries Business Disputes Spam / Abuse

Figure 1: System architecture of TingIS, consisting of five modules (semantic distillation, cascaded routing, event linking, state management, and multi-dimensional denoising) across three layers (data observation, semantic engine, and long-term memory).

TingIS (Ting Intelligent Service), an end-to-end system for mining risk events from customer incidents in large-scale production environments. Central to TingIS is a multi-stage event linking engine, which serves as the primary intelligence layer for synthesizing fragmented customer incidents into structured risk events. By synergizing LocalitySensitive Hashing (LSH), historical event association, and the advanced reasoning of LLMs, this engine effectively bridges the gap between raw, noisy semantic inputs and actionable risk intelligence. This core capability is supported by four auxiliary modules - semantic distillation, cascaded routing, event state management, and multi-dimensional denoising - which together ensure the system maintains high accuracy, low latency, robust throughput, and low-effort maintainability in complex enterprise settings. TingIS has been deployed on a leading financial technology platform, processing over 300,000 customer incidents daily with a peak throughput exceeding 2,000 incidents per minute. During a one-month online deployment, the system successfully identified 95% of high-priority risk incidents with a P90 alert latency of 3.5 minutes, providing a critical window for rapid emergency

response. Furthermore, extensive evaluations on benchmarks constructed from real-world production data demonstrate that TingIS significantly outperforms both system-level baselines and specialized module-level methods in terms of routing accuracy, clustering quality, and signal-to-noise ratio.

2

System Architecture Customer Incident A customer incident is an atomic unit of external feedback (e.g., a user complaint log). It is characterized as noisy, colloquial, and subjective. Risk Event A risk event is a structured representation of a system vulnerability or failure, uniquely identified by a tuple of business domain attribution (biz_code) and topic (verified by SREs). Unlike an incident, a risk event possesses a persistent identity and mutable states (e.g., current volume, urgency level). The goal of TingIS is to map an incom-

ing customer incident to either an existing risk event, a newly initialized event, or the null set (noise/suppression). This mapping is non-trivial due to the “semantic gap” between user descriptions and technical root causes. To bridge this gap, we design TingIS based on three core insights. The first is semantic convergence and identity persistence, ensuring that incidents originating from the same root cause consistently converge to a unique, persistent ID. The second is a synergy of hybrid intelligence, which strategically balances the high cognitive depth of LLMs against the computational cost of processing massive streaming data. This principle of resource awareness is embedded throughout the system: rule-based pre-filtering slashes input volume, LSH and similarity thresholds gate expensive LLM calls, and the use of persistent event states yields asymptotic efficiency gains over time. The third is multi-constraint SNR balance, which dynamically suppresses noise by integrating knowledge bases, statistical auditing, and escalation logic. Guided by these insights, TingIS consists of five orthogonal modules (denoted M1-M5, Figure 1). Each module is designed to be plug-and-play, allowing for seamless updates - such as integrating more powerful LLMs or faster embedding models to ensure low-effort maintainability. 2.1

Semantic Distillation (M1)

The primary challenge in processing customer incidents is the unstructured, noisy, and colloquially diverse nature of raw user voice. To address this, we implement a semantic distillation module to transform raw text into unambiguous semantic units. Instead of traditional keyword extraction, we leverage an LLM (specifically Qwen3-8B, Yang et al., 2025) to generate an initial summary for every valid incident. This process is governed by a strict prompt constraint: the summary must follow a “subject + problem” format (e.g., “credit card online payment + discount error”), explicitly ignoring emotional expressions, conversational filler, personally identifiable information (PII), and irrelevant details. This strategic design creates a clean, high-density semantic representation at a controlled computational cost. Afterwards, the initial summary is converted into a high-dimensional vector using an embedding model (BGE-M3, Chen et al., 2024), serving as the semantic foundation for all downstream operations.

2.2

Cascaded Routing (M2)

Production-grade platforms involve numerous business domains that collectively provide exhaustive coverage of all potential customer incidents. Each domain is mapped to a specialized emergency response team accountable for mitigation, uniquely identified by a business code (biz_code, an example given in Appendix A). Given the significant semantic divergence across these domains, precise business attribution via routing is a prerequisite for effective discovery. TingIS employs a two-stage routing strategy: Keyword-based stage for high-precision: The system first performs matching against a keyword knowledge base using an “entity-priority” principle. If a match is found within the entity fields of the initial summary, the corresponding biz_code is returned immediately. This stage efficiently handles large volumes of clear, well-defined incidents. Semantic-based stage for high-recall: For incidents missing keyword hits, the system performs parallel vector retrieval across multiple vector knowledge bases. Candidates are then refined by a reranker (BGE-Reranker-V2-M3, Chen et al., 2024) and filtered via a predefined threshold. Candidates accepted by the reranker are routed to the corresponding business domain, while those receiving a low confidence score are dispatched to a fallback domain, where a global control team manually dispatch the incidents. Cross-encoder based rerankers achieve superior accuracy via full self-attention but are computationally heavy and cannot pre-compute embeddings (Liao et al., 2024). We meet strict streaming latency constraints by restricting the reranker to a Top-10 vector-retrieved pool. 2.3

Event Linking Engine (M3)

The core challenge in TingIS lies in determining “event identity”: accurately judging whether multiple incidents, arriving at different times and expressed differently, point to the same underlying risk event. To achieve this, we utilize a Multi-stage event linking Engine that follows a progressive refinement process. A detailed illustration of this module is provided in Appendix C. 2.3.1

In-batch Efficient Aggregation

The system first applies domain constraints by partitioning incidents based on the biz_code provided by M2. Within each partition, we use LSH for high-

speed preliminary clustering. To ensure cluster purity, an LLM (Kimi-K2, Team, 2025) performs a representative check on each cluster. If a cluster is judged to be impure, the LLM splits it into multiple clusters and generates a title for each one. This synergy of LSH and LLM ensures that the output cluster titles are both comprehensive and mutually exclusive (see Appendix A for an example). 2.3.2

Cross-batch Historical Association

To link current incidents with ongoing events, each batch cluster title is embedded and used for retrieval from a historical risk event knowledge base. We introduce a time-decay weighting mechanism to combine semantic similarity with temporal proximity: s∗ = s · e−k∆t , (1) where s is the semantic similarity score between the current title embedding and the historical event embedding, ∆t is the time (measured in days) since the historical event’s last active time, and s∗ is the final score. This prevents “historical inertia,” where old events might incorrectly absorb new, unrelated incidents. If the highest combined score exceeds a threshold, an LLM performs the final adjudication (merge vs. create new) with a natural language justification. Otherwise, a new risk event is created directly. 2.4

Event State Management (M4)

To support real-time risk monitoring and decisionmaking, we design a layered data model to manage event states and decouple volatility, traceability, and statistical analysis: State Layer (Risk Event): Stores the minimal set of mutable states (e.g., current volume, last altered timestamp, last active timestamp) required for realtime alerting and time-decay calculations. Audit Layer (Alert Record): An immutable log that records the end-to-end evidence chain for every incident (Raw Text → Summary → Cluster → Event ID) and captures every alert trigger, including the context (static thresholds vs. dynamic baselines) and the specific reason for the alert, ensuring 100% auditability for mis-merges or false alerts and enabling post-mortem analysis of noise reduction strategies. Snapshot Layer (Volume Timeline): Periodically records event volume stock and flow, providing stable, low-cost historical samples for the

dynamic baseline calculations in M5 without rescaning heavy logs. 2.5

Multi-dimensional Denoising (M5)

Relying solely on volume thresholds often leads to “alert storms” during non-failure scenarios (e.g., marketing inquiries). To mitigate this, TingIS integrates three layers of denoising: Source Suppression: During the clustering phase, the system matches clusters against a false-positive sample knowledge base (false-positive KB). If a new cluster is highly similar to historical false positives, it is suppressed before an event is generated. Statistical Filtering via Dynamic Baselines: Incidents must pass a dual-threshold trigger. Beyond static business-level thresholds, an incident’s volume must significantly deviate from its dynamic baseline (µ+2σ), calculated from the M4 snapshot layer. This filters out periodic business fluctuations. Behavioral Constraints: To prevent alert fatigue, TingIS implements alert silencing periods. Once an event is marked as “In Progress”, further alerts are automatically paused for two hours. However, the system concurrently monitors the slope of the event volume in real-time. If the current volume exhibits an explosive, non-linear surge, the system will bypass the silencing window to implement alert penetration, ensuring that critical escalations are immediately delivered to responders despite the ongoing state. A detailed illustration of this module is provided in Appendix C.

3

Experiments

To comprehensively evaluate TingIS, we establish a layered evaluation framework validating the system through both continuous real-world performance and reproducible offline experiments. Our evaluation is rooted in production data, branching into two complementary paths: (1) online production validation, measuring core business impact (Recall and Latency) over a one-month deployment, covering high-priority risk events1 confirmed by expert teams of developers and site reliability engineers (SRE); and (2) offline benchmark evaluation, enabling fair, controlled, and reproducible comparisons against baselines and ablation studies. 1

High-priority events refer to those that require immediate attention from SRE (Site Reliability Engineer) teams.

Objective

Alarm Replay Set Benchmark Events

System-level End-to-end system behavior simulation Proxy ground-truth for event discovery

Event Identity Set Routing Set

Module-level M3 clustering quality M2 routing accuracy and coverage

∼50,000 12 events ∼1,400 ∼3,200

Raw Production Stream Offline Snapshot & Benchmarking Path

Independent Sampling & Expert Labeling

90

TingIS (Full)

Sampling

Benchmark Event List

Incident Identity Set (for M3)

Routing Eval Set (for M2)

Business Value Assessment

System-Level Comparison

Component-Level Analysis

Recall, P90 Latency

Detection Rate, Alert Vol.

B3-F1, Acc@1

Figure 2: Dataset construction and evaluation metrics.

Datasets and Metrics

As summarized in Table 1, we constructed a series of datasets from production snapshots. The alarm replay set serves as the parent set to simulate real-world load. From this, we derived the benchmark events (annotated from 50 thousand incidents by SRE experts) and the event identity set for fine-grained clustering analysis. The routing set was independently constructed using a 20%/80% split to simulate a “cold-start” scenario for evaluating the M2 module’s generalization capability. The relation between these datasets are illustrated in Figure 2. Production performance are measured by risk event recall and 90 percent latency (P90 latency), where latency is defined as talert − tfirst_incident . For system-level benchmarks, we measure risk detection rate and alert volume. For module-level evaluation, we report B3 -F1 score and mismerge/fragmentation rates (see Appendix D for more details). Baseline Methods

We compare TingIS against two groups of methods. Unless otherwise specified, all methods utilize the same M1 initial summary as input and share identical embedding and reranking models. System-level Baselines include keyword-only (rulebased), semantic-only (vector retrieval), singlestage vector matching (naive event merging without progressive refinement), and TingIS w/o Denoising (same as TingIS but with static M5 thresholds). Algorithm-level Baseline include generic cluster-

TingIS w/o Denoising

Single-stage Matching

70

60

50

Keyword-based Quadrant III: Ineffective (Low Rate, High Noise)

Quadrant IV (Low Rate, Low Noise)

40

30

Labeling

Quadrant II (High Noise)

80

Alert Replay Set (~50,000 items)

Online Continuous Validation (1-Month Running)

3.2

Quadrant I: Ideal (High Rate, Low Noise)

100

Table 1: Overview of Evaluation Datasets.

3.1

110

Size

Incident Detection Rate (%)

Dataset

10

100

Total Alert Volume (Log Scale)

1000

Figure 3: Performance (detection rate vs. alert volume) comparison between different systems.

ing (DBSCAN) as a baseline for M3. To ensure evaluative fairness, the DBSCAN hyperparameters are rigorously optimized via grid search on a heldout validation set. 3.3 3.3.1

Results and Analysis System-level Performance and SNR

TingIS effectively resolves the core conflict between high discovery rates and background noise. In the one-month production run, TingIS achieved a 95% high-priority incident discovery rate with a P90 alert latency of 3.5 minutes. Offline results on the alarm replay set (Table 2 and Figure 3) show that TingIS significantly reduces noise. While the version without denoising triggered 512 alerts, TingIS suppressed this to 29, representing a 94.3% noise reduction with no drop in detection rate. Moreover, its event-to-alert ratio of 1.23 (closest to ideal 1.0) confirms the effectiveness of its alert silencing and penetration strategies. Method Keyword-based Single-stage Matching TingIS w/o Denoising TingIS

Total Alerts

Event-to-Alert Ratio

215 125 512 29

1.85 1.52 2.18 1.23

Table 2: End-to-End system behavior comparison.

3.3.2

Event Linking Quality (M1 & M3)

The foundation module in TingIS is the event linking Engine (M3). As shown in Table 3, TingIS leads in B3 -F1 (0.826) by achieving a superior balance between “convergence” (low fragmentation: 5.8%) and “purity” (low mismerge: 21.5%). Op-

Method Keyword Grouping DBSCAN Vector Matching TingIS (Full)

B3 -F1 (↑)

Mismerge% (↓)

Frag.% (↓)

0.745 0.673 0.744 0.826

24.4 64.3 46.3 21.5

16.1 5.0 12.0 5.8

Table 3: Event Identity Quality Comparison, measured by B3 -F1 score, mismerge rate, and fragmentation rate. 3

Variant

B -F1

Mismerge %

TingIS (Full) w/o Initial Summary (M1) w/o Business Partition (M3) w/o Intra-Batch LLM (M3) w/o Final Adjudication (M3)

0.826 0.768 (↓ 7.0%) 0.697 (↓ 15.6%) 0.796 (↓ 3.6%) 0.815 (↓ 1.3%)

21.5 35.8 (↑ 66.5%) 55.2 (↑ 157%) 32.1 (↑ 49.3%) 23.9 (↑ 11.2%)

Method

3.3.3 Intelligent Distribution Strategy (M2) Analysis of the M2 module yields two key insights (Table 5): (1) Architecture Over Technique: The cascaded architecture (Acc@1: 0.669) significantly outperforms the parallel fusion architecture (Acc@1: 0.460). This confirms that a waterfall strategy prevents noisy keyword results from contaminating the reranker’s candidate pool. (2) Reranker as Risk Controller: While removing the reranker increases raw Acc@1 to 0.705, it results in 100% coverage. TingIS (Full) maintains a coverage of 88.1%, indicating that the reranker acts as a “quality gatekeeper” by actively rejecting low-

Coverage

Latency (s)

0.669 0.460 0.657 0.705 0.542 0.430

0.881 0.680 0.868 1.000 0.772 0.516

53.7 220.2 112.7 99.2 92.3 4.2

Table 5: Intelligent Distribution (M2) Performance. DB Size 100% 80%

Table 4: M1 and M3 Ablation Studies.

erationally, this distinction is critical: a mismerge groups unrelated failures together, leading to fundamentally flawed root-cause analysis and misdirected engineering efforts, whereas slight fragmentation merely creates manageable duplicate workflows. By reducing the disastrous 64.3% mismerge rate of DBSCAN to an operationally safe 21.5%, TingIS demonstrates exceptional industrial utility. Ablation Study: Table 4 reveals that business partitioning is the cornerstone, as its removal causes a 15.6% drop in B3 -F1. The integration of LLM summary in M1 contributes 7.0% in B3 -F1 and reduces mismerge rate by 66.5%, while The twostage LLM application in M3 (intra-batch and final adjudication) also contributes a combined ∼5% B3 -F1 improvement and 60% mismerge reduction. This empirically validates a profound operational lesson: purely semantic clustering is fundamentally prone to failure in enterprise settings where distinct business domains share similar colloquial vocabularies. Injecting deterministic business metadata acts as an essential, non-negotiable firewall against catastrophic semantic collapse.

Acc@1

TingIS (Cascade) TingIS (Fusion) w/o Multi-path Recall w/o Reranker Semantic-only Keyword-only

60%

Reranker

Acc

Coverage

w/ w/o w/ w/o w/ w/o

0.669 0.705 0.598 0.612 0.534 0.502

0.881 1.000 0.786 1.000 0.686 1.000

Table 6: M2 performance at different database (DB) sizes.

confidence predictions, thereby providing higher SNR input for downstream aggregation. We note that in Table 5, removing the reranker leads to higher accuracy because the knowledge base is comprehensive, containing historical events for all the evaluated incidents. To further verify the role of the reranker, we simulate online scenarios with an incomplete knowledge base by partially removing the database entries. The results (Table 6) show that the reranker’s value increases as the database degrades. At 60% database, it improves accuracy while controlling coverage, validating its critical role. 3.4

System Efficiency and Parallelization Analysis

To meet the high-throughput requirements of enterprise-level production, TingIS implements a deeply parallelized architecture across its pipeline. Parallelization Strategy: We utilize ThreadPoolExecutor2 to handle concurrent LLM calls and vector searches, including semantic distillation in M1 and cluster auditing in M3. For database operations in M4, we employ batch insertions (executemany) and UPDATE CASE statements to minimize network round-trips and avoid the N + 1 SQL query problem. Latency Breakdown: Our analysis shows an average end-to-end system processing latency of approximately 12.4 seconds per batch. As illustrated by our profiling in Figure 4, LLM2

https://docs.python.org/3/library/concurrent. futures.html

M2: Retrieval (0.8s) M3: Intra-batch Summary M1: Initial Summary (3.6s) (0.85s)

M3: Final Adjudication (3.88s)

M5: Neg. KB Search (0.25s)

Total: 12.23s M1: Embedding (0.62s) M3: Partition & LSH (0.24s) 0

1

2

3

M3: History Search (0.47s) 4

5

6

7

M4: DB Operations (1.52s) 8

Latency (Seconds) LLM-based (Darker colors + Hatch texture)

9

10

11

12

13

14

Non-LLM (Light/Pastel colors)

Figure 4: End-to-end latency breakdown.

based reasoning (Initial Summary, Intra-batch Summary, and Final Adjudication) remains the primary computational bottleneck, accounting for 8.53 seconds (69.7% of the total latency). Conversely, non-LLM components, including database operations (1.52s) and vector/keyword retrieval (0.62+0.8+0.47+0.25=2.1s), are highly efficient. This design ensures that even during traffic spikes, the system maintains near real-time processing capabilities with a stable throughput of 2000 queries per minute, while keeping the P90 alert latency below 5 minutes. In Appendix E, we further quantify the computational footprint (8.0M tokens/day) and illustrate how architectural optimizations (e.g., LSH pre-clustering, threshold gating) contain costs within industrial feasibility bounds.

4

routing strategies, and integrating LLMs responsibly.

Conclusion

We present TingIS, an end-to-end risk intelligence system for enterprise-grade incident discovery. TinsIS synergizes LLMs with efficient indexing and historical event association, addressing the challenges of high noise and business heterogeneity inherent in customer incident data. Complemented by cascaded routing, event state management, and multi-dimensional denoising, the system enables stable extraction of actionable risk events from colloquial customer incidents. Deployed in a large-scale fintech environment, TingIS processes over 300,000 incidents daily and 2,000 per minute with a 95% discovery rate for high-priority incidents and a P90 alert latency of 3.5 minutes. Benchmark results also demonstrate that our hybrid intelligence approach significantly improves SNR and reduces false alerts, event mismerge, and event fragmentation. Beyond technical contributions, TingIS embodies hard-won operational insights from real-world deployment. In Appendix F, we further provide actionable guidance for industrial NLP practitioners facing similar constraints by documenting critical lessons on handling data skew, designing robust

References Charu C. Aggarwal, Jiawei Han, Jianyong Wang, and Philip S. Yu. 2003. A framework for clustering evolving data streams. In Proceedings of 29th International Conference on Very Large Data Bases, VLDB 2003, Berlin, Germany, September 9-12, 2003, pages 81–92. Morgan Kaufmann. Ann Cao. 2025. Alipay bears cost of system error that applied discounts to user transactions. Feng Cao, Martin Ester, Weining Qian, and Aoying Zhou. 2006. Density-based clustering over an evolving data stream with noise. In Proceedings of the Sixth SIAM International Conference on Data Mining, April 20-22, 2006, Bethesda, MD, USA, pages 328–339. SIAM. Jianlyu Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. 2024. M3embedding: Multi-linguality, multi-functionality, multi-granularity text embeddings through selfknowledge distillation. In Findings of the Association for Computational Linguistics, ACL 2024, Bangkok, Thailand and virtual meeting, August 1116, 2024, volume ACL 2024 of Findings of ACL, pages 2318–2335. Association for Computational Linguistics. Barry Elad. 2025. Alipay statistics 2025: User adoption, transaction volumes, and technological innovations. Mateusz Fedoryszak, Brent Frederick, Vijay Rajaram, and Changtao Zhong. 2019. Real-time event detection on social data streams. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 2774– 2782. ACM. Hansi Hettiarachchi, Mariam Adedoyin-Olowe, Jagdev Bhogal, and Mohamed Medhat Gaber. 2022. Embed2detect: temporally clustered embedded words for event detection in social media. Mach. Learn., 111(1):49–87. Chen Huang and Guoxiu He. 2025. Text clustering as classification with llms. In Proceedings of the 2025 Annual International ACM SIGIR Conference on Research and Development in Information Retrieval in the Asia Pacific Region, SIGIR-AP 2025, Xi’an, China, December 7-10, 2025, pages 374–384. ACM. Junegak Joung and Harrison M. Kim. 2021. Automated keyword filtering in latent dirichlet allocation for identifying product attributes from online reviews. Journal of Mechanical Design, 143(8):084501. Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and

Wen-tau Yih. 2020. Dense passage retrieval for opendomain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 6769–6781. Association for Computational Linguistics. Zihan Liao, Hang Yu, Jianguo Li, Jun Wang, and Wei Zhang. 2024. D2LLM: Decomposed and distilled large language models for semantic search. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 14798–14814, Bangkok, Thailand. Association for Computational Linguistics. Shichen Liu, Fei Xiao, Wenwu Ou, and Luo Si. 2017. Cascade ranking for operational e-commerce search. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Halifax, NS, Canada, August 13 - 17, 2017, pages 1557–1565. ACM. Wei Lu and Ali A. Ghorbani. 2009. Network anomaly detection based on wavelet analysis. EURASIP J. Adv. Signal Process., 2009. Priyaranjan Pattnayak, Amit Agarwal, Hansa Meghwani, Hitesh Laxmichand Patel, and Srikant Panda. 2025. Hybrid AI for responsive multi-turn online conversations with novel dynamic routing and feedback adaptation. CoRR, abs/2506.02097. Alina Petukhova, João P. Matos-Carvalho, and Nuno Fachada. 2025. Text clustering with large language model embeddings. International Journal of Cognitive Computing in Engineering, 6:100–108. Faraz Rasheed, Peter Peng, Reda Alhajj, and Jon G. Rokne. 2009. Fourier transform based spatial outlier mining. In Intelligent Data Engineering and Automated Learning - IDEAL 2009, 10th International Conference, Burgos, Spain, September 23-26, 2009. Proceedings, volume 5788 of Lecture Notes in Computer Science, pages 317–324. Springer. Hansheng Ren, Bixiong Xu, Yujing Wang, Chao Yi, Congrui Huang, Xiaoyu Kou, Tony Xing, Mao Yang, Jie Tong, and Qi Zhang. 2019. Time-series anomaly detection service at microsoft. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019, pages 3009– 3017. ACM. Kailash Karthik Saravanakumar, Miguel Ballesteros, Muthu Kumar Chandrasekaran, and Kathleen R. McKeown. 2021. Event-driven news stream clustering using entity-aware contextual embeddings. In Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume, EACL 2021, Online, April 19 - 23, 2021, pages 2330–2340. Association for Computational Linguistics. Kimi Team. 2025. Kimi K2: open agentic intelligence. CoRR, abs/2507.20534.

Sindhu Tipirneni, Ravinarayana Adkathimar, Nurendra Choudhary, Gaurush Hiranandani, Rana Ali Amjad, Vassilis N. Ioannidis, Changhe Yuan, and Chandan K. Reddy. 2024. Context-aware clustering using large language models. CoRR, abs/2405.00988. Vijay Viswanathan, Kiril Gashteovski, Carolin Lawrence, Tongshuang Wu, and Graham Neubig. 2024. Large language models enable few-shot clustering. Trans. Assoc. Comput. Linguistics, 12:321– 333. Ying Wang, Mengye Ren, and Andrew Gordon Wilson. 2025. In-context clustering with large language models. CoRR, abs/2510.08466. An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, and 40 others. 2025. Qwen3 technical report. CoRR, abs/2505.09388.

A

Case Studies

To demonstrate the real-world efficacy of TingIS, we analyze three representative cases from our production environment in Table 8, focusing on efficiency, semantic convergence, and denoising. In Table 7, we also provide an anonymized example of the biz_code taxonomy.

B

Related Work

This section reviews prior work related to TingIS from four perspectives: event detection from text streams, LLM-based text clustering, multidimensional denoising for customer incidents, and domain-adaptive routing. We emphasize the limitations of existing approaches in real-time, noisy, and heterogeneous enterprise settings, and clarify how TingIS advances the state of the art. B.1

Streaming Event Detection from Text

Early streaming clustering methods such as CluStream (Aggarwal et al., 2003) and DenStream (Cao et al., 2006) focus primarily on numerical features and density evolution, making them ill-suited for semantically rich text streams. With the rise of social media, researchers began incorporating text embeddings into streaming event detection. Fedoryszak et al. (2019) introduces sliding-windowbased clustering for Twitter streams, enabling nearreal-time detection of emerging topics. However, the use of fixed windows often fragments longlived events across temporal boundaries. To mitigate this issue, Embed2Detect (Hettiarachchi et al., 2022) utilizes word embeddings for event detection in social media streams, enabling semantics-aware detection of temporal clusters, while Saravanakumar et al. (2021) employs entity-aware contextual embeddings for online news stream clustering. However, all these methods treat events as transient clusters and do not explicitly model long-term event identity, especially under semantic drift and evolving customer incidents. In contrast, TingIS combines time-decayed similarity with LLM-based adjudication to explicitly achieve event identity persistence. B.2

Large Language Models for Text Clustering

Recent studies in text clustering have increasingly explored the integration of LLMs to enhance semantic representation and clustering performance. Viswanathan et al. (2024) improves

Level

Description

Examples

L1 L2 L3 L4

Business Group Product Line Sub-product Feature/Scenario

Digital Finance, Digital Payments Insurance, Consumer Credit Health Insurance, Mutual Funds Claims Processing, Fund Redemption

Table 7: An anonymized example of the four-level biz_code taxonomy.

semi-supervised text clustering by incorporating LLM guidance at multiple stages of the clustering pipeline, including feature enrichment, constraint generation, and post-clustering correction. Complementing this, Petukhova et al. (2025) empirically shows that LLM embeddings capture richer linguistic nuances compared to traditional representations, leading to better cluster purity. Alternative frameworks have recast clustering as a classification problem using in-context learning, bypassing the need for conventional clustering algorithms while achieving competitive performance (Huang and He, 2025). Other research has proposed Context-Aware Clustering with LLMs that leverage attention and supervised losses to scale clustering to large entity sets effectively (Tipirneni et al., 2024), and recent work on in-context clustering highlights LLMs’ zero-shot capabilities for capturing complex relationships in data (Wang et al., 2025). Together, these studies illustrate a rapidly evolving landscape where LLMs not only provide semantically rich embeddings for traditional clustering algorithms but also enable novel paradigms for clustering via prompting, and few-shot learning. However, using LLMs alone leads to high computational costs and latency, whereas TingIS dynamically combines LLM-based clustering with more efficient components such as Locality-Sensitive Hashing. B.3 Multi-dimensional Denoising of Customer Incidents Noise reduction is a long-standing challenge in customer service analytics. Rule-based filtering and knowledge-guided denoising rely on manually curated keyword lists or pattern libraries (Joung and Kim, 2021), which are brittle under domain drift and emerging issues. Statistical anomaly detection methods focus on identifying volume deviations in time series data (Lu and Ghorbani, 2009; Rasheed et al., 2009), while Ren et al. (2019) employs spectral residual and convolutional neural networks to improve the performance. These methods are effective for monitoring numerical data, but lack semantic awareness and cannot distin-

Event Description

System Behavior

During a peak transaction window of a major promotional event, a core payment gateway experienced transient instability.

Analysis

Case A: Rapid Capture of Instant Risks (Efficiency) Utilizing the parallelized architecture of Layer Compared to traditional periodic batchII, TingIS completed the cycle from the first processing (5–15 min), TingIS provided a customer incident to the final alert trigger within critical “golden window” for SRE teams to 2 minutes. mitigate the fault before escalation.

Case B: Convergence of Diverse Expressions (Semantic Alignment) Following a version update of a virtual M1 normalized these into a core summary (“Virpet feature, users reported: “my pet won’t A keyword-based system would likely fragment tual Pet + Function Failure”). M3 linked these sleep”, “the sleep button is unresponsive”, these into low-volume “minor issues,” failing to disparate reports to a single historical risk event and “the game is stuck on the loading trigger a high-priority alert. ID via cognitive adjudication. screen”. Case C: Suppression of High-Volume Inquiries (Denoising) During a monthly social campaign, inquiries M5 identified the cluster as highly similar to By distinguishing high-volume non-risk inregarding “how to check reward progress” a “historical inquiry” entry in the False-Positive quiries from actual failures, TingIS effectively surged to 20x the baseline volume within 10 KB. M4’s dynamic baseline confirmed this surge prevents “alert fatigue” for the emergency reminutes. matched expected social campaign patterns. sponse teams.

Table 8: Case studies of TingIS’s behavior in production environments.

guish between genuine failures and high-volume non-risk inquiries. In comparison, TingIS introduces a complaint-specific denoising funnel that integrates semantic false-positive matching, dynamic baselines, and behavioral constraints such as alert silencing with slope penetration, achieving high noise reduction without sacrificing recall for highpriority incidents. B.4

Initial Summaries Domain Partitioning LSH Coarse Clustering LLM Semantic Auditor

Distilled Result

Domain-adaptive Routing and Cascaded Retrieval

Hybrid retrieval architectures that combine sparse and dense representations have proven effective in improving recall and robustness (Karpukhin et al., 2020). Liu et al. (2017) operationalizes this practice in E-commerce search, introducing a cascade ranking model to balance accuracy and latency, while Pattnayak et al. (2025) applies such hybrid systems in customer support applications. However, existing systems often ignore domain heterogeneity, leading to cross-domain noise propagation and cold-start failures. TingIS extends cascaded retrieval by explicitly incorporating business-domain isolation. Its waterfall routing strategy—keyword matching, multipath vector recall, and reranker-based quality control—ensures high precision in head cases and robust coverage in long-tail scenarios, even under cold-start conditions.

C

Stage 1: Intra-batch Semantic Refinement

Detailed Illustration of System Modules

We provide more detailed illustrations of the event linking engine (M3) and denoising pipeline (M5) in Figure 5, 6, respectively.

Refined Cluster Summary

Risk Event Knowledge Base

Search Key

Retrieve & Sync

Stage 2: Cross-batch Temporal Reconciliation Vetor Retrieval Candidate Reranking Decay Score: e^-kΔt Event Identity Decider Merge Update Event ID

Create New Event ID

Figure 5: Multi-stage event linking engine (M3) in TingIS.

D

B3 Evaluation Metrics

To evaluate the quality of the event linking Engine (M3), we employ the B-Cubed (B3 ) precision, recall, and F1-score. Unlike standard classification scores that rely on predefined category labels, B3 metrics are designed for clustering tasks where cluster IDs are arbitrary and do not directly map to ground-truth labels. D.1

Mathematical Definition

Let N be the total number of incidents in the evaluation set. For any incident i, let L(i) be the set of incidents that share the same ground-truth event

Figure 6: Multi-dimensional denoising module (M5) in TingIS.

label as i, and C(i) be the set of incidents assigned to the same cluster as i by the system. The B3 precision (P ) and recall (R) are defined by calculating the per-item precision and recall and then averaging them across all items: |C(i) ∩ L(i)| |C(i)|

(2)

|C(i) ∩ L(i)| R(i) = |L(i)|

(3)

P (i) =

The overall system performance is the mean of these individual scores:

By using B3 -F1 instead of standard F1, we avoid the “label matching” problem, ensuring that the evaluation focuses on the relationships between incidents rather than the specific naming of cluster IDs.

E

Resource and Cost Efficiency Analysis

Building upon the design principles validated in Appendix F (e.g., rule-based pre-filtering, fixedsize batching), we quantify TingIS’s computational footprint using one month of production monitoring data (daily median input: 250k customer incidents). All metrics reflect live operational behavior.

N

B3 -Precision =

1 X P (i) N

(4)

E.1

i=1

N

1 X R(i) B -Recall = N 3

(5)

i=1

The B3 -F1 score is the harmonic mean of the aggregate Precision and Recall: 2 · B3 Precision · B3 Recall B3 -F1 = 3 (6) B Precision + B3 Recall D.2

Interpretation in Incident Discovery

In the context of TingIS, these metrics provide finegrained insights into the clustering behavior: • Precision (Purity): A high B3 precision indicates a low Mismerge Rate. It means that most incidents within the same generated cluster actually belong to the same underlying risk event. • Recall (Completeness): A high B3 recall indicates a low Fragmentation Rate. It means that incidents belonging to the same root cause are successfully converged into a single persistent event ID rather than being scattered across multiple clusters.

Input Volume Reduction via Lightweight Preprocessing

As established in Appendix F (Section 4.1), rulebased filtering eliminates low-signal customer incidents while preserving > 99% recall for highpriority incidents. This reduces downstream processing volume to ∼50k customer incidents/day at near-zero computational cost—establishing the foundational efficiency layer. E.2

LLM Token Consumption: Quantitative Breakdown

Token usage is strictly monitored across LLMdependent stages (Table 9). Crucially, no LLM is invoked on filtered customer incidents, and KimiK2 calls are minimized via algorithmic gating validated in Appendix F (Sections 4.2, 4.3). • M1 Efficiency: Processes all ∼50k filtered customer incidents. Strict prompt engineering enforces concise summaries (∼100 tokens total), yielding 5.0M tokens/day. • M3 Efficiency: Kimi-K2 is invoked once per LSH-generated cluster (∼30,000 clusters/day: 250 batches × 10 biz_codes × 12

Module M1 (Qwen3-8B) M3 (Kimi-K2) Total

Function

Daily Tokens

Optimization Mechanism

Semantic distillation refinement & adjudication

5.0M 3.0M

Fixed summary (∼100 tokens: 80 input [prompt+text] + 20 output) LSH pre-clustering + s∗ > 0.95 threshold bypass

8.0M

Table 9: Daily token consumption (median values). Optimization mechanisms directly implement design choices from Appendix F.

E.3

clusters/biz_code). The s∗ > 0.95 threshold bypasses LLM adjudication for > 70% of historical matches during steady-state operation, containing total consumption at 3.0M tokens/day.

TingIS proactively minimizes token consumption through architectural design—transforming LLMs from a cost liability into a targeted, high-value component. This quantifiable efficiency validates the design philosophy articulated in Appendix F.

End-to-End Cost per Actionable Alert

F

After multi-dimensional denoising (M5), TingIS generates ∼29 high-confidence alerts/day (validated by SRE teams). The end-to-end computational cost per actionable alert is: Total Tokens 8.0M = ≈ 275K tokens/alert. Validated Alerts 29 (7) This metric holistically captures the full pipeline cost—from raw user voice ingestion to humanactionable alert—including all intermediate processing of non-alerting incidents. E.4

Quantified Impact of Design Choices

Three architecture decisions from Appendix F directly enable sustainable scaling: 1. Rule-Based Pre-Filtering (Appendix F, Sec 4.1): Eliminates ∼200k low-signal customer incidents/day, reducing downstream LLM load by 80%. 2. Fixed-Size Batching (Appendix F, Sec 4.2): Stabilizes Kimi-K2 invocation rate at ∼30k clusters/day (vs. volatile time-window batching), preventing RPM throttling and OOM risks. 3. Threshold-Gated LLM Adjudication (Appendix F, Sec 4.3): The s∗ > 0.95 rule bypasses LLM calls for > 70% of historical matches, containing daily Kimi-K2 tokens at 3.0M. Monitoring curves show consumption declines progressively from cold-start peaks to a stable baseline. Operational Viability. While exact Kimi-K2 API costs are subject to commercial agreements, the sustained 8.0M tokens/day operational scale is tractable for enterprise deployment. Critically,

Lessons Learned and System Iteration

Through iterative deployment and validation of TingIS in a high-stakes production environment, we distilled the following empirically grounded lessons. Each insight addresses concrete challenges observed during scaling, with methodological rigor suitable for industrial NLP system design. F.1

Data Preprocessing: Rule Filtering Requires Recall-Aware Validation

Observation: Customer incident distribution exhibited severe skew 73% concentrated across 8 high-frequency business domains; >50% comprised low-information content such as emotional expressions or generic inquiries). Naive filtering risked discarding actionable signals. Solution: Six configurable filtering rules (length thresholds, prefix+length patterns, keyword logic combinations) were designed and rigorously validated against historical fault logs to guarantee zero degradation in high-priority incident recall. Daily customer incident volume reduced from ∼250k to ∼50k (80% filtered). Insight: Lightweight rule-based preprocessing is indispensable for computational efficiency, but rule thresholds must be empirically anchored to business-critical recall metrics—not heuristic assumptions. Validation against historical faults is non-negotiable. F.2

Batching Strategy: Fixed-Size Batching Ensures Operational Stability

Observation: Customer incident streams displayed high temporal variance (peak-to-trough ratio >100×). Time-window batching induced dual failures during traffic surges: (1) local resource exhaustion (OOM risks) and (2) downstream service throttling due to exceeding RPM (requests

per minute) quotas of LLM/embedding APIs; conversely, it caused severe resource underutilization during low-traffic periods. Solution: Fixed-size batching (batch size=200) was adopted. This enforces constant per-batch computational load, providing natural backpressure and stabilizing SLAs for downstream LLM and embedding services. Insight: In non-stationary traffic regimes, fixed-size batching is a robust operational choice that prioritizes system resilience over theoretical elegance. Design must explicitly accommodate downstream service constraints. F.3

Business Routing: Keywords Demand Cross-Domain Discriminative Design

Observation: Initial dual-path routing (keyword matching + vector retrieval) required refinement to minimize cross-domain contamination while maintaining coverage. Solution: Keywords were engineered with explicit cross-domain discriminative power (e.g., disambiguating terms for account inquiry” versus transaction failure” domains). Multidomain customer incidents retained top-3 business domains; customer incidents exceeding this threshold were filtered (validated by historical analysis: >98% of valid customer incidents exhibit clear domain attribution). Campaign-specific domains were pre-configured; vector indices were incrementally updated using Global Operations Center (GOC)-verified bad cases. Insight: Keywords function as explicit semantic anchors requiring crossdomain discriminative design. Routing systems achieve sustained precision through a lightweight closed-loop feedback mechanism: GOC-verified anomalies trigger targeted, incremental updates to keyword libraries and vector indices, balancing automation with minimal operational overhead. This design ensures knowledge bases evolve efficiently without demanding continuous manual intervention. F.4 Clustering Quality: LLMs Enable Critical Semantic Disentanglement Observation: Pure embedding-based clustering suffered structural ambiguity—overweighting problem” tokens (e.g., failure”) while neglecting subject” distinctions. Example: merging marketing campaign reward redemption failure” and NFC payment functionality reward usage failure” (root causes reside in campaign logic versus payment pipeline). Solution: LLM-generated structured summaries (subject + problem”, e.g., “reward +

redemption failure”) disentangled semantics. Insight: LLMs are indispensable for bridging the colloquial-to-technical semantic gap in incident description. F.5

Cross-Cutting Principles for Industrial NLP

Synthesizing domain-specific lessons, we distill three principles with broad applicability to industrial NLP system design: • Validation Over Heuristics: Rule thresholds and batching strategies must be empirically validated against historical fault logs—not theoretical assumptions—to preserve critical signal integrity. • Knowledge Requires Continuous Curation: Keyword libraries and vector indices decay without closed-loop feedback; operational sustainability demands lightweight, targeted refinement mechanisms. • Transparency in Failure Analysis: Documenting limitations (e.g., pure embedding clustering’s subject-blindness) complements success metrics by providing actionable insights into failure modes, strengthening methodological credibility and community trust.

Record · ID 126501 · SHA-256 1c3caaf8d0b0dfe5
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.