Lipopheno-Interact

A Graph-Informed MLP Framework for Predicting Plaque Instability from Multi-Omic Data

LipoPheno-Interact: A Graph-Informed MLP Framework for Predicting Plaque Instability from Multi-Omic Data

Summary

LipoPheno-Interact is a novel, proof-of-concept web application designed to predict atherosclerotic plaque instability by integrating genomic, proteomic, and lipidomic data. To overcome the deployment challenges of complex Graph Neural Networks, the project employs a "Graph-Informed Multi-Layer Perceptron (MLP)" that incorporates pre-computed biological interaction topologies into a 42-feature input vector. Featuring an interactive SvelteKit dashboard and a FastAPI backend, the tool distills this multi-omic complexity into a real-time "Plaque Instability Score," offering clinicians a powerful "what-if" simulator to model therapeutic interventions.

Note: This article is a technical description of LipoPheno-Interact, a novel, unpublished computational framework. It is presented as a methodological proof-of-concept. The results herein are based on a simulated dataset used to validate the system’s architecture and model efficacy, and do not represent a clinical trial.

Abstract

Atherosclerotic plaque instability is the primary driver of acute coronary syndromes, yet predicting rupture remains a significant clinical challenge. Current risk stratification often fails to capture the complex interplay between genomic predispositions, proteomic inflammatory signals, and lipidomic disturbances. We present LipoPheno-Interact, a novel, clinician-facing web application that integrates multi-omic patient data (14 features) to generate a real-time “Plaque Instability Score” (PIS). We hypothesized that a machine learning model informed by a biological interaction graph would outperform standard linear models. Due to significant deployment environment challenges with complex Graph Neural Networks (GNNs), we developed a pragmatic and stable alternative: a “Graph-Informed Multi-Layer Perceptron (MLP).” This approach preserves the topological graph hypothesis by pre-computing graph-based features (degree and betweenness centrality) from a biological network and appending them to the patient’s feature vector, creating a 42-feature input. This framework demonstrated promising predictive power on a 5,000-patient simulated cohort, achieving an Area Under the Curve (AUC) of 0.7927. The system architecture, featuring a SvelteKit frontend and a FastAPI model API, provides an interactive “what-if” simulator for clinicians to model therapeutic interventions. This work provides a validated, deployable framework for integrating multi-omic data in cardiovascular risk assessment.

1. Introduction

Cardiovascular disease (CVD) remains the leading cause of mortality worldwide, with acute coronary syndromes (ACS), such as myocardial infarction, being the most devastating presentation. The underlying pathophysiology of most ACS events is the rupture of an unstable, vulnerable atherosclerotic plaque, leading to thrombosis (Source 1.5, 4.3). Identifying these high-risk, rupture-prone plaques before they cause an event is a central goal of preventive cardiology.

Current clinical risk stratification, often reliant on traditional risk factors and standard lipid panels, struggles to encompass the multifactorial processes contributing to plaque destabilization (Source 2.2). Atherosclerosis is a complex disease driven by an intricate interplay of genetic predisposition (genomics), systemic and vascular inflammation (proteomics), and dysregulated lipid metabolism (lipidomics) (Source 1.1, 1.4).

  • Genomics: Polygenic Risk Scores (PRS) are emerging as static, lifelong indicators of CVD vulnerability (Source 2.2).
  • Lipidomics: Beyond standard LDL-C, the quantification of hundreds of lipid species has shown potential for discovering novel biomarkers and understanding the metabolic perturbations in coronary artery disease (Source 2.1, 2.5).
  • Proteomics: Inflammatory biomarkers, such as high-sensitivity C-reactive protein (hs-CRP) and interleukins, are known to be directly involved in plaque destabilization (Source 1.3, 4.2, 4.4).

The integration of this high-dimensional, multi-omic data requires advanced computational methods. Machine learning (ML) and deep learning have shown significant promise in handling this complexity (Source 2.1). More recently, Graph Neural Networks (GNNs) have been introduced as a powerful method to model biological systems, as they can learn from not just feature values but also the relationships between them (Source 3.1, 3.2). For example, a GNN could model how a PCSK9 gene variant directly influences LDL-C levels, which in turn interacts with inflammatory markers.

Despite their power, GNNs (e.g., via torch_geometric) present significant practical challenges in deployment, including environment instability and computational overhead. This creates a gap between theoretical performance and practical clinical implementation.

Hypothesis and Significance: We hypothesized that a machine learning model that integrates genomic, proteomic, and lipidomic data, while also encoding the known biological interactions between these features, would provide a more accurate prediction of plaque instability than a standard model.

This paper presents LipoPheno-Interact, a novel framework designed to address this challenge. Its significance is twofold:

  1. Clinical: It provides a clinician-facing dashboard that distills complex multi-omic data into a single, interpretable Plaque Instability Score (PIS) and allows for real-time simulation of therapeutic interventions.
  2. Methodological: It presents a pragmatic and stable “Graph-Informed MLP” model that successfully bypasses GNN deployment issues while retaining the core hypothesis of using graph topology.

2. Methods

The project was executed in four phases, from data simulation to frontend deployment.

2.1. Phase 1: Data Simulation & Artifacts

A 5,000-patient cohort was simulated in a Colab environment. The dataset included 14 patient features and a binary outcome label (plaque stability).

Multi-Omic Features:

  • Genomic (5): LDLR_variant, APOB_variant, PCSK9_variant, LPA_variant, Polygenic_Score. These were simulated as binary (0/1) or continuous values.
  • Proteomic (4): hs-CRP, Lp-PLA2, IL-6, MPO.
  • Lipidomic (5): LDL-C, Lp(a), ApoB, TG, HDL-C.

This phase generated the foundational artifacts, including:

  • patients_tabular_raw.csv
  • scaler.pkl (a StandardScaler fit on the 9 non-genomic features)
  • edge_index.pt tensor (defines the biological interaction graph, e.g., LPA_variant connects to Lp(a))

2.2. Phase 2: Model Development & “Graph-Informed MLP”

This phase was conducted in a local Python environment to ensure stability.

Initial GNN Challenge: The initial strategy was to use a Graph Neural Network (e.g., GCN, GAT) via torch_geometric. This approach was abandoned due to unrecoverable pip environment errors in Colab, including numpy.dtype corruption and circular import errors.

Model Pivot: The Graph-Informed MLP

To overcome this, we pivoted to a stable “Graph-Informed MLP.” This model preserves the central hypothesis by explicitly engineering topological features from the graph.

  1. Graph Feature Engineering:

    • The edge_index.pt was loaded into a networkx graph.
    • For each of the 14 nodes, two standard centrality measures were calculated:
      • Degree Centrality: How many connections a node has.
      • Betweenness Centrality: How often a node lies on the shortest path between two other nodes.
  2. 42-Feature Vector:

    • A 42-feature vector was created for each patient:
      • 14 Patient-Specific Features: The patient’s lab values (e.g., LDL-C = 190).
      • 14 Static Degree Scores: The pre-computed degree centrality for each corresponding feature.
      • 14 Static Betweenness Scores: The pre-computed betweenness centrality for each corresponding feature.
  3. Model Training:

    • A PyTorch-based Multi-Layer Perceptron (DNN) was trained on this 42-feature vector to predict the outcome.
    • The trained PyTorch model (best_model.pth) was then exported to the model.onnx format for deployment.

Critical Code: 42-Feature Vector Creation

The model’s dataset class (GraphInformedDataset) combines these static and dynamic features. The conceptual logic is:

2.3. System Architecture & Tech Stack

The LipoPheno-Interact framework is a decoupled, highly scalable system.

  • Frontend: SvelteKit

    • A static, client-side rendered application.
    • Chosen for its high performance, small bundle size, and reactive component model, which is ideal for interactive charts.
  • Database & Orchestration: Google Firebase

    • Firestore: A NoSQL database used to store patient input (inference_queue) and model output (patient_results).
    • Cloud Functions (Node.js): A serverless function acts as the central orchestrator. It listens for new documents in inference_queue, triggers the backend API, and writes the PIS result to patient_results.
  • Backend Model API: FastAPI & Hugging Face

    • FastAPI: A high-performance Python framework used to serve the model.onnx artifact. Its app.py defines a /predict endpoint that loads the scaler.pkl and graph_features.npz, processes the 14 input features into the 42-feature vector, and runs inference.
    • Hugging Face Spaces: The FastAPI application is containerized using Docker and deployed to a Hugging Face Space, providing a free, scalable, and fully managed API endpoint.
  • ONNXRuntime: The runtime used within FastAPI to execute the model.onnx, ensuring high-speed inference.

3. Results

The model was validated on a held-out test set from the simulated 5,000-patient cohort.

3.1. Model Performance

The Graph-Informed MLP achieved strong predictive performance, with a test AUC of 0.7927. This result, while based on simulated data, provides a robust proof-of-concept that this model architecture can effectively learn from the engineered multi-omic and topological features.

3.2. Feature Importance

Permutation feature importance was calculated to identify the key drivers of the model’s predictions. The top 10 most important features were:

RankFeatureImportance
1val_hs-CRP0.1114
2val_Lp(a)0.0695
3val_Polygenic_Score0.0526
4val_LDLR_variant0.0174
5val_Lp-PLA20.0153
6val_ApoB0.0036
7val_PCSK9_variant0.0020
8val_MPO0.0018
9val_TG0.0017
10val_LPA_variant0.0001

The results show that the model heavily relies on the proteomic marker hs-CRP, the lipidomic marker Lp(a), and the Polygenic_Score. This aligns with current clinical understanding, suggesting the model learned biologically plausible relationships.

3.3. Figure Legends

The LipoPheno-Interact frontend visualizes these results across several charts.

Figure 2. Plaque Instability Score (PIS) Gauge.
The PIS is a composite score (0–100) generated by the Graph-Informed MLP, representing the predicted risk of plaque instability. The gauge provides an immediate, interpretable summary for clinicians. The dashboard displays two gauges:
(A) an “Instant Simulation” gauge for rapid, client-side heuristic feedback, and
(B) a “Model Prediction” gauge that displays the live, computationally-derived score from the backend API.

Patient Similarity Constellation

Chart 3: Patient Similarity Constellation

Figure 3. Patient Similarity Constellation.
A scatter plot derived from a Uniform Manifold Approximation and Projection (UMAP) embedding of the 5,000-patient training cohort. UMAP is a non-linear dimensionality reduction technique that preserves both local and global data structure. Each point represents a patient, colored by outcome (e.g., stable vs. unstable). The current patient is highlighted, allowing the clinician to visually assess their position relative to known stable or high-risk clusters, providing contextual similarity.

Plaque Instability Score

About the Live Model

The "Model Prediction" gauge is connected to a live machine learning model hosted on Render.com.

Important: The free server "sleeps" after 15 minutes of inactivity. The first slider change you make will "wake it up." This first request may time out and show an "Error" on the gauge.

How to use:

  1. Move any slider to wake the server.
  2. Wait 30-60 seconds.
  3. Move a slider again. The "Model Prediction" gauge will now update with the live score.

Instant Simulation

82 / 100 Plaque Instability Score

Model Prediction (Live)

82 / 100 Plaque Instability Score

“What-If” Simulator

Chart 4: "What-If" Simulator

Drag the sliders to simulate interventions and see the PIS score change.

Figure 4. “What-If” Counterfactual Simulator.
An interactive panel of HTML sliders corresponding to actionable biomarkers (e.g., LDL-C, hs-CRP, ApoB, TG).

  • ApoB (Apolipoprotein B) represents the total number of atherogenic lipoprotein particles.
  • TG (Triglycerides) are lipids carried on triglyceride-rich lipoproteins (TRLs).
    Clinicians can drag these sliders to simulate the effect of a therapeutic intervention (e.g., “lower LDL-C by 30%”). Releasing the slider triggers a new API request, and the PIS gauge (Fig 2B) updates in real-time with the new, counterfactual score.

Risk Fingerprint

Chart 5: Multi-Layered Risk Fingerprint

Figure 5. Multi-Layered Risk Fingerprint.
A radar chart providing a holistic view of the patient’s risk profile. It plots two layers of data:

  1. The patient’s raw percentile risk in key categories (e.g., “95th percentile for Polygenic risk”)
  2. The model-derived feature importance for that same category.
    This chart is designed to highlight “gaps” where the model’s learned importance (Layer 2) may differ from a patient’s raw value (Layer 1), providing deeper insight into the model’s decision-making.

4. Discussion

This paper details the successful design, development, and proof-of-concept validation of LipoPheno-Interact, a deployable multi-omic dashboard. The primary contribution is not a new clinical result, but rather a stable and scalable framework for integrating complex data sources into a practical, interactive tool.

The most significant methodological finding was the pivot from a GNN to a Graph-Informed MLP. While GNNs are theoretically superior for learning from graph structures (Source 3.1, 3.2), their implementation in production-level systems remains challenging. Our framework demonstrates that by pre-computing and “flattening” topological features (centrality) into the feature vector, a standard MLP can successfully leverage the graph’s structural information. This hybrid approach achieved a respectable AUC of 0.7927 on simulated data, balancing performance with deployability.

The model’s feature importance results are highly plausible from a clinical standpoint. The top-ranked feature, hs-CRP (high-sensitivity C-reactive protein), is one of the most widely studied biomarkers for systemic inflammation. Extensive research has confirmed its direct association with all phases of atherosclerosis, plaque vulnerability, and increased risk of future cardiovascular events (Source 4.1, 4.2, 4.4, 4.5). The high importance of Lp(a) and Polygenic_Score also aligns with modern cardiology, which recognizes them as critical, often independent, risk factors. The model’s ability to identify these known drivers suggests its internal logic is biologically sound.

A key element of this framework is the “What-If” simulator (Fig. 4). This tool moves the model from a passive-prognostic state to an active decision-support system. It allows a clinician to collaboratively model treatment options with a patient, for instance, by demonstrating the potential PIS reduction from lowering LDL-C with a statin versus lowering hs-CRP with lifestyle changes.

Limitations: The most significant limitation of this study is the use of simulated data. The performance (AUC 0.7927) and feature importances, while plausible, are artifacts of the simulation’s rules. The true clinical utility of the LipoPheno-Interact framework can only be assessed by training the model on real-world, longitudinal patient data.

5. Conclusion

LipoPheno-Interact provides a novel and practical framework for integrating genomic, proteomic, and lipidomic data for plaque instability prediction. The development of the Graph-Informed MLP presents a stable and effective alternative to complex GNNs for production deployment. This system translates abstract multi-omic data into an actionable, clinician-facing dashboard, with a “what-if” simulator that has the potential to enhance shared decision-making in cardiovascular risk management. Future work will focus on validating this framework by training the model on real-world patient data from prospective cohorts.


© Balaji Ramanathan