AI Patient Stratification Workflow
Data types
miRNA · Digital Pathology · Clinical · PK
Method
ML clustering + Survival analysis
Platform
Sonrai Discovery
Key Takeaways
- AI patient stratification integrates molecular, imaging, and clinical data to identify patient subgroups that respond differently to treatment - enabling more precise trial design and enrichment strategies
- Sonrai Discovery enables the full workflow - from cohort composition and filtering through to ML subgroup discovery, survival analysis, and biomarker validation - without requiring coding expertise
- This workflow supports translational research and trial design and is not intended for diagnostic or clinical decision-making. All visualisations are anonymised and representative
Jump to section
The Importance of Precise AI Patient Stratification in Precision Medicine
Patient stratification is a process in drug discovery and development that involves categorising patients into subgroups based on characteristics such as genetics, molecular profile, or clinical data. This stratification is fundamental for precision medicine - achieving tailored medical treatments to individual patients or patient groups based on these characteristics. Understanding why biomarkers fail is closely tied to how well stratification is performed - many biomarker failures originate from studying the wrong patient population.
AI patient stratification allows drug developers to achieve the following:
- Enhanced Drug Efficacy and Safety. By understanding which patient groups are more likely to respond to a drug, developers can create more effective and safer treatments - reducing the one-size-fits-all approach that drives high late-stage failure rates.
- Efficient Clinical Trials. Stratification leads to more efficient trials by selecting populations more likely to benefit, reducing trial size and cost and avoiding waste of time and resources.
- Reduction in Drug Development Failure. Many drugs fail in late-stage trials due to lack of efficacy in a broad patient population. Stratification identifies responsive subpopulations early, reducing failure rates. See how this played out in our MOFA+ autoimmune clinical trial case study.
- Precision Medicine. It facilitates the development of precision medicine, allowing treatments to be tailored to specific patient subgroups across a range of data modalities.
Achieving Precise Patient Stratification is Challenging
- Complexity of Diseases. Many diseases, like cancer, have complex and heterogeneous pathologies, making it challenging to identify clear stratification markers.
- Ethical and Regulatory Considerations. Stratification raises ethical concerns about access to treatment and patient privacy, such as access to genetic information.
- Cost and Resource Intensity. The process of identifying and validating biomarkers for stratification is often expensive and resource-intensive.
- Data Integration and Analysis. Integrating and analysing vast amounts of multi-modal data (genomic, proteomic, clinical, imaging) to identify relevant stratification markers is technically challenging - particularly when data sits in siloed systems or requires specialist bioinformatics expertise to process.
- Limited Biomarkers. Current methods often rely on a limited set of biomarkers which may not capture the full complexity of a disease. When multiple biomarkers are available, the information is often not integrated due to data management challenges.
- Interpretation and Clinical Translation. There can be difficulties in interpreting complex data and translating it into clinical practice - particularly when outputs lack transparency or reproducibility.
How AI Can Help Stratify Patients for Clinical Trials
Sonrai's advanced technology brings precise AI patient stratification to life. Through clustered scatter plots, heatmaps, and interactive tools, Sonrai empowers the exploration and filtering of patient data effortlessly. We use machine learning tools to identify distinct subgroups and clusters, providing the insights that give teams the confidence to move forward.
The AI Patient Stratification Workflow
Step 1: Cohort Composition & Feature Distributions
The first step is understanding the composition of your cohort - exploring the distribution of key clinical and molecular features across your patient population to identify patterns, outliers, and potential confounders before any subgroup analysis begins.
Image 1. Sonrai Discovery enables users to easily visualise, explore and filter data across cohort features.
Step 2: Cohort Filtering & Subgroup Definition
Select disease status filtering criteria to define the subgroups of interest. This interactive filtering step allows researchers to narrow the analysis to clinically relevant patient populations before subgroup discovery begins.
Image 2. Users can select disease status criteria to visualise and define patient subgroups.
Step 3: Patient Embedding & ML Subgroup Discovery
Apply dimensionality reduction (such as t-SNE) to embed patients in a lower-dimensional space, then use clustering algorithms to identify distinct subgroups. Even with limited sample sizes, Sonrai Discovery surfaces meaningful structure in the data.
Image 3. Sonrai Discovery applies ML tools to identify patient subgroups even from limited sample sizes.
Step 4: Longitudinal Behaviour Across Stratified Cohorts
Once subgroups are defined, explore how key features evolve over time within each group. Line charts and bar charts display trends and insights from longitudinal data, helping researchers understand whether subgroup differences are consistent across timepoints.
Image 4. Longitudinal data can be displayed as line charts or bar charts across stratified patient groups.
Step 5: Individual-Level Trajectory Inspection
Drill down to the individual patient level to inspect trajectories and identify outliers. This granular view helps researchers spot patients whose response patterns don't fit the group average - an important quality control step before biomarker selection.
Image 5. Data displayed per individual patient, enabling researchers to inspect all available features at the patient level.
Step 6: Feature-Driven Patient Selection
Identify features of interest and use them to find specific patients within the dataset. This capability is particularly useful for selecting patients for follow-up studies or for building targeted cohorts for downstream validation.
Image 6. Users can identify features of interest to find specific patients within the dataset.
Step 7: Outcome Behaviour & Survival Analysis
Assess whether the identified subgroups correspond to differential outcomes. Kaplan-Meier survival analysis stratified by a feature-defined subgroup tests whether molecular and immune characteristics predict survival outcomes - a critical validation step before informing trial design decisions.
Image 7. Survival analysis exploring patient prognostics based on immune cell PD-L1 expression. Stratification performance assessed across cohorts to ensure robustness before informing downstream research or trial design decisions.
Patient Stratification
See how Sonrai applies AI patient stratification in a real client engagement to guide biomarker-driven trial design.
Multi-Modal Data Integration
Effective AI patient stratification requires integrating data across multiple modalities. Sonrai Discovery unifies molecular, imaging, and clinical data in a single environment - enabling the kind of cross-modal discovery that siloed tools cannot support. This multi-modal approach is demonstrated in depth in our MOFA+ autoimmune case study and our T cell immune profiling workflow.
Integrate Your Data Sources
Merge & Explore Multi-Modal Data
Image 8. Sonrai Discovery enables merging, exploring, clustering, and batch effect detection across multi-modal datasets.
Instantly Explore Associated Imaging Data
Image 9. Sonrai Discovery allows integration of multi-omic data with imaging and clinical data in a single unified view.
Reproducibility and Interpretability
Scientists can use Sonrai's no-code applications to create reproducible and robust machine learning pipelines. This directly addresses one of the most persistent causes of scientific reproducibility failures in biomarker discovery - the lack of documented, version-controlled analytical steps. Sonrai Discovery includes visualisation techniques and feature importance plots, assisting scientists in creating explainable ML models for their stratification projects.
Bioinformaticians and data scientists can use managed Python and R notebooks to create custom pipelines with outputs that can be shared with scientists and stakeholders using the collaborative platform.
Quickly Identify Clusters
Image 10. Various visualisation techniques to identify clusters in multi-modal patient data.
Easily Configure ML Models with No-Code
Sonrai Discovery supports both code and no-code workflows - allowing bioinformaticians and non-coding researchers to work in the same environment. Configure XGBoost and other ML classifiers without writing a line of code.
Image 11. Sonrai Discovery enables code and no-code working environments to suit both bioinformaticians and non-coding researchers.
Identify Key Biomarkers From Your Model
Feature importance plots from ML models reveal which molecular and clinical features are driving patient subgroup differences - directly identifying candidate biomarkers for further validation.
Image 12. ML tools such as XGBoost identify key biomarkers driving patient stratification.
Validate Biomarkers Identified by Your Model
Once identified, biomarker candidates can be validated within the same platform - maintaining a continuous, auditable chain from discovery through to validation. This end-to-end traceability is essential for regulatory submissions and supports reproducible science.
Image 13. Once identified, biomarker candidates can be validated within the same platform - maintaining full end-to-end traceability.
No cost. No risk.
Want to apply AI patient stratification to your data?
Challenge Sonrai to find what others haven't. We'll apply our stratification workflow to your dataset - at no cost.
Explore the free showcaseRelated Reading
Case Study
Patient Stratification - US Pharma Case Study
Case Study
MOFA+ Autoimmune Clinical Trial
Use Case
AI Biomarker Discovery Workflow
Talk to our team
Sonrai acts as an extension of your team, combining scientific expertise, transparent and reproducible analysis, and a governed research environment to generate decision-ready evidence that can be revisited, reproduced, and built upon throughout the life of a programme.
Book a demo