Multivariate Spatiotemporal Fusion of Microenvironmental Pollutants: A Hybrid Neural-Causal Framework for Subclinical Health Deterioration Forecasting
1. Abstract & System Architecture
Microenvironmental air pollutants—including Carbon Dioxide ($\text{CO}_2$), Carbon Monoxide ($\text{CO}$), Air Quality Index ($\text{AQI}$), and Ambient Temperature—exhibit highly nonlinear, dynamic, multivariate, and spatiotemporally lagged interactions. Traditional predictive models rely strictly on correlation, failing to isolate direct causal drivers of subclinical human physiological deterioration.
This framework introduces a Hybrid Neural-Causal Architecture combining temporal Convolutional Neural Networks ($\text{Conv1D}$), Bidirectional Long Short-Term Memory ($\text{Bi-LSTM}$) networks, Multi-Head Self-Attention, and Peter-Clark Momentary Conditional Independence (PCMCI) causal inference algorithms to forecast subclinical health risk deterioration scores.
System Hardware, Ingestion API & Neural Processing Pipeline
(MQ-2, MQ-7, MQ-135, DHT22)"] -->|HTTP POST JSON Payload| B["RESTful Ingestion Gateway
(/api/sensor_data)"] B -->|Validation & Timezone Sync| C["SQLite Time-Series Data Store
(Asia/Kolkata Formatting)"] C -->|Multivariate Matrix Extraction| D["Granger & PCMCI Causal Engine"] D -->|Discovered Causal DAG Weights| E["Hybrid Conv1D-BiLSTM Attention Model"] E -->|Forward Projection| F["Subclinical Health Deterioration Index (SRI)"] F -->|Real-time Rendering| G["Web Dashboard & Export Exporters"]
2. Mathematical Formulations & Governing Equations
Equation 1: Microenvironmental Exposure Index ($\text{MEI}_t$)
Calculates the weighted, z-score normalized instant pollutant concentration aggregated with exponential temporal decay memory factor $\gamma$:
Equation 2: PCMCI Momentary Conditional Independence ($\text{MCI}$)
Identifies genuine causal links between pollutant sensor $X^i$ and sensor $X^j$ at time lag $\tau$, conditioning out common parents $\mathcal{P}(X_t^i)$:
Equation 3: Conv1D Multi-Head Attention Latent Feature Representation ($H_t$)
Convolves sliding window vectors through 1D feature extractors, fed into Bi-LSTM and scaled dot-product attention:
Equation 4: Subclinical Health Deterioration Index ($\text{SRI}_{t+\Delta t}$)
Final activation projecting latent spatiotemporal features $H_t$ modulated by causal link factors $\beta \sum \text{MCI}(k)$:
3. Discovered Causal DAG & Neural Layer Specifications
Causal Discovery Directed Acyclic Graph (DAG)
Neural Layer Sequence
4. Algorithmic Specifications
1: Input: Time-series telemetry matrix X in R^(T x P), dynamic sensor configs C
2: Output: Forecasted Subclinical Risk Index SRI at time t + delta_t
3: Begin
Normalize X using min-max bounds defined in sensor_config.
Compute Granger-PCMCI Causal Matrix MCI_matrix = PCMCI_Discovery(X, max_lag=5).
Construct Spatial-Temporal Graph G = (V, E) with weights E_ij = MCI_matrix[i, j].
Pass sliding window X_window through Conv1D temporal filter.
Extract sequential dependencies via Bi-LSTM hidden state H_lstm.
Apply Multi-Head Attention Z = Softmax(Q K^T / sqrt(d_k)) * V.
Compute SRI score: SRI = Sigmoid(W_fc * Z + beta * sum(MCI_matrix * delta_X)).
4: Return SRI