← Lab /Security & privacy

Unified microservices platform detects hate speech with 87% accuracy and flags data exfiltration in real time

The platform can promptly surface indicators of data exfiltration and policy violations using real-time alerts

Security & privacy arXiv 12 May 2026 Method Prototype evidence

Published as “A microservices-based endpoint monitoring platform with predictive NLP models for real-time security and hate-speech risk alerting”

Why it matters

A low-overhead, integrated monitoring and hate-speech detection system could be deployed in corporate environments to surface security and compliance risks in near real time.

Summary

The platform’s hate-speech detection models achieve an average accuracy of 87% while the endpoint-monitoring component runs with CPU and memory usage below 1% and an end-to-end latency of about 700 ms, demonstrating a low-footprint, real-time system. Evidence comes from both the abstract and the experimental evaluation, but the paper does not report the size of the datasets used.

What they found 7

  1. Hate-speech detection models reach 87% average accuracy.

    “achieving an average accuracy of 87%.”

  2. The monitoring component uses less than 1% CPU.

    “CPU Utilization < 1.0%”

  3. The monitoring component uses less than 1% memory.

    “Memory Heap Usage < 1.0%”

  4. Total detection cycle latency is approximately 700 ms.

    “Total Detection Cycle (Ltotal) ∼700 ms”

  5. Average classification error rate is about 13%.

    “average error rate of around 13%.”

  6. Model accuracies across folds vary between 75% and 90%.

    “the results for the three models are quite similar, ranging from 75% to 90% for the different fold configurations.”

  7. Multinomial Naive Bayes shows a slight advantage over other classifiers.

    “Multinomial Naive Bayes model showed a slight advantage over the others.”

Caveats 6

  • The average error rate of around 13% indicates non-trivial misclassifications.
  • Accuracy varies from 75% to 90% across folds, showing instability.
  • Error analysis found that all-caps sentences and obscure offensive terms are sometimes mis-detected.
  • Error analysis revealed that specific contexts were sometimes misclassified as hate speech, even when they were not.
  • Large-scale Validation: Transition from controlled environments to production-grade deployments with a significantly larger number of monitored endpoints to assess long-term scalability.
  • Runtime Optimization: Explore high-performance frameworks such as Quarkus and GraalVM native images to further minimize the footprint of the API Gateway and microservices.

What’s new here 4

  • Integrates endpoint telemetry (keylogging, screen capture, process and network monitoring) with predictive NLP for hate-speech risk in a single microservices architecture.
  • Provides a real-time alert orchestration pipeline using RabbitMQ and Redis for low-latency processing.
  • Evaluates traditional ML classifiers (Multinomial Naive Bayes, Logistic Regression, LinearSVC) as resource-efficient alternatives to transformer models for corporate monitoring.
  • Introduces the Polygon Area Metric (PAM) to assess multi-objective model performance across precision, recall, specificity, etc.