Introduction
In highly regulated sectors such as HR, finance, and defense, organizations face a "triple threat" of requirements: high-performance analytics, strict security compliance (e.g., FIPS 140-3), and explainable AI (XAI) to justify automated decisions. Traditional distributed frameworks like Apache Spark often suffer from a "coordination tax"—significant overhead from managing multiple nodes, data shuffling, and JVM serialization. For moderate-scale, latency-sensitive inference, these clusters are often inefficient and difficult to secure.
This paper introduces a production-ready "Big Data as a Service" (BDaaS) blueprint that replaces complex distributed CPU clusters with a single-node serverless GPU architecture. By integrating the TabNet model with serverless elasticity and strict IL4/FIPS security controls, the proposed system achieves up to 4.5x higher throughput and 90% lower costs than Spark-based baselines.
System Architecture
The proposed architecture is designed for cloud-native environments and consists of four primary layers:
- Data Pipeline: Utilizes serverless ETL functions for ingestion and preprocessing.
- Serverless GPU Core: Leverages OpenFaaS to deploy TabNet models on NVIDIA T4 GPUs. TabNet was selected for its sequential attention mechanism, which provides "feature masks" for model interpretability.
- Security Layer: Implements a "defense-in-depth" strategy using the Istio service mesh for mutual TLS (mTLS), JWT authentication, and automated audit logging.
- Monitoring & Observability: A full stack including Prometheus, Grafana, and NVIDIA DCGM to track GPU health and SLA adherence.
The core innovation lies in "vertical scaling"—using the massive parallelism of a single GPU to outperform a horizontal cluster of CPUs, while employing a serverless "scale-to-zero" model to minimize operational costs.
Experimental Evaluation
The architecture was evaluated using three representative datasets: the IBM HR Dataset (1.5K records), the UCI Adult Income Dataset (48K records), and BLS Employment Data (720 time-series entries).
Performance and Cost Analysis
The study revealed that for moderate workloads (batch sizes around 1,000), the coordination overhead of Spark makes it nearly 100x slower in terms of latency compared to the single-node GPU setup.
Key results include:
- Throughput: The GPU pipeline achieved 4.5x higher throughput than an 8-node Spark cluster.
- Latency: Achieved 98x lower latency (11.4ms vs. ~1,140ms for Spark) at a batch size of 1,000.
- Cost Efficiency: Reduced the cost per 1,000 inferences by 90% compared to Spark baselines.
- Security Overhead: The "security budget" for full compliance (encryption, logging, auth) was quantified at approximately 5.7ms, a negligible price for FIPS/IL4 compliance in a system with sub-20ms latency.
Interpretability and Compliance
A critical requirement for HR analytics is explainability. TabNet’s feature masks remained highly stable (>0.88 stability score) even at peak loads of 4,500 samples per second. This ensures that the performance gains do not compromise the auditability required for regulated decision-making.
Limitations and Future Work
While highly effective for moderate-scale data, the current blueprint is limited by the VRAM of a single GPU (16–24GB), making it unsuitable for multi-terabyte datasets that cannot fit into local memory. Additionally, "cold starts" in serverless environments still take 3–5 seconds, necessitating "keep-warm" strategies. Future work will explore scaling the training phase in a similar serverless fashion and extending the blueprint to multi-GPU configurations.
Summary updated