Suwan AryalHi, I'm Suwan

I build systems that understand people.

Machine learning engineer and researcher. I'm finishing a CS degree at Southern Miss, and most recently built machine learning for the Defense Innovation Unit's Commercialization Fellowship.

Full time from May 2027. Open to relocation.

Research

Papers and studies I've written. Each one asks a question and answers it with experiments. Click a title to open it.

Nothing below is yet published or submitted. Status is noted per item.

01Stochastic Resistance: Quantifying the Speed of Polarization and the Impact of Algorithmic Friction in Similarity-Based Recommendation SystemsA new measure, time-to-polarization, for how fast a recommendation feed pushes users toward extreme content, and two feed designs that slowed it 3.7x and 3.0x while keeping recommendations relevant.Honors thesis · 22-page paper drafted
Question
How fast similarity-based recommenders collapse creator diversity, and whether algorithmic friction, top-k truncation and MMR reranking, slows it.
Method
A simulation of users and creators adapting in a shared latent space, measuring time to polarization across softmax temperatures.
Finding
Top-k truncation and MMR reranking raised time-to-polarization from a 74.7-step baseline to 277.1 and 225.4 steps across 10 seeds, slowing polarization 3.7x and 3.0x while keeping recommendations relevant. A fourth mechanism was indistinguishable from doing nothing.
Next
Being extended toward publication with stronger baselines, multiple polarization metrics, and confidence intervals.
Time to polarization, in steps (higher is slower)
No friction (baseline)74.7
MMR reranking225.4
Top-k truncation277.1

Across 10 seeds.

02Data Leakage Accounts for Reported Accuracy in Pediatric Hematopoietic Stem Cell Transplantation Survival Prediction: An Attribution Study and Corrected Time-to-Event ProtocolPublished papers report 95% accuracy predicting transplant survival. I showed that number comes from leaked data, and rebuilt the model honestly.Clinical ML · Pre-registered before running, paper in progress
Dataset
187 pediatric bone marrow transplant patients with 37 recorded attributes each, released on the UCI repository and reused as a benchmark.
Claim
Published models report around 95% accuracy predicting survival, up to 97% in this line of papers, framed as tools a physician could use before a transplant.
Leak
One column recorded after treatment scores 0.966 AUROC on its own. It records how long each patient was followed: a single rule, predict death if follow-up is shorter than about 445 days, reaches 94.1% with no medical information at all. Relapse, graft-versus-host disease, and blood-count recovery, all known only after the transplant, were also used as inputs. Removing the 12 leaked columns drops the model to 0.535, near a coin flip.
Fix
Only pre-transplant information as inputs, feature selection inside each test round, many repeated splits with confidence ranges, and the task rebuilt as time-to-event survival analysis. The expected result was written down before running.
Honest result
A C-index of 0.592, reported as it came out rather than tuned up.
With
As a CRA UR2PhD Fellow, with Sushant Aryal
AUROC predicting survival
One post-treatment column alone0.966
Model without the 12 leaked columns0.535Coin flip
03Same AUROC, a Quarter of the Alerts: Alert Burden Belongs in Sepsis Model EvaluationHospitals could cut sepsis alerts by 74.8% with no drop in patients caught or warning time, just by adding a 6-hour pause between repeat alerts.Clinical ML · Manuscript complete, prepared for ML4H 2026
System
A two-layer sepsis early warning system on 40,329 ICU patients and 1.55M patient-hours: an XGBoost risk model, and an alert suppression policy on top of it.
Finding
XGBoost reaches AUROC 0.791 [0.776, 0.807]. A 6-hour cooldown cuts total alerts by 74.8% while preserving 77.7% strict detection and lead time.
Baselines
Benchmarked against the qSOFA, SIRS, and NEWS clinical scores, with patient-level bootstrap confidence intervals.
Alerts left after a 6-hour cooldown
Kept, 25.2% Removed, 74.8%

Each square is 1% of alerts. Detection and lead time held.

04Learn It or Derive It: Direct Regression against Physics-Composed PredictionSome material properties can be calculated from others. I measured when it is better to predict a property directly, and when to predict its parts and calculate it.Materials ML · Experiments complete
Question
When a property can be computed from others, is it better to learn it directly or to derive it from its parent properties?
Finding
Over 1,181 crystals, deriving beats training directly by 2.5x at 10% target data.
What orders it
Condition number orders the outcomes. Young's modulus is a tie across five seeds.
Two ways to get one property
Train on it directly
Learn parent propertiesDerive it

At 10% target data, deriving wins by 2.5x.

05Inferring Global Arithmetic Structure from Local Invariants: A Machine Learning and Computational Study of Elliptic Curves Motivated by the Birch and Swinnerton-Dyer ConjectureCan machine learning read an elliptic curve's rank from prime-by-prime data, as a famous open conjecture suggests it should? Mostly yes, well above chance.Number theory · 24-page paper complete
Data
214,201 isogeny classes of elliptic curves from LMFDB.
Model
Gradient boosting on Frobenius-trace features, predicting each curve's rank.
Finding
0.7503 ± 0.0028 balanced accuracy, and 0.6981 under a harder split by conductor range.
Balanced accuracy predicting rank
Random splits0.7503
Harder conductor-range split0.6981Chance
06Cross-Dataset Generalization of Machine Learning Side-Channel Attacks on AESMachine learning can recover an AES key from a chip's power use. Published attacks train and test on the same device; this measures how they hold up on a different one.Security · Report complete
Data
One ASCAD variant: 60,000 power traces of 700 time points each.
Test
Models trained there, then evaluated across device conditions.
Why
To measure the drop in performance that published attacks never report.
The test
  1. Train on one ASCAD variant
  2. Change device conditions
  3. Measure the drop

Work

Jobs and fellowships: where I've been hired to build machine learning and data systems.

May 2026 to Oct 2026

Machine Learning Engineer

Defense Innovation Unit, Commercialization Fellowship · Palo Alto, California

Mean error on a held-out foam density (lower is better)
Method engineers use today56.1%
Our model26.9%

Validated against 12 drop-tower impact tests. A 52% reduction.

0.88R² bulk modulus, 13.2 GPa MAE
52%Less error than the method in use
90.1%Measured coverage of 90% intervals
~1s14-property readout
What I did
  • Trained material property models in Python and PyTorch on 9,749 materials and 132 descriptors to R² 0.84 (9.3 GPa MAE) shear and R² 0.88 (13.2 GPa MAE) bulk modulus, with splits grouped by chemical formula to prevent leakage. Graph neural networks on 10,987 crystal structures reached 0.096 log10 MAE in under 6 minutes on one GPU.
  • Showed physics-informed training cuts error 26% against data-only networks at 40 training samples (18.0 vs 24.2 GPa MAE), and validated against 12 drop-tower impact tests: 26.9% mean error on a held-out foam density against 56.1% for the method engineers use today, a 52% reduction. Found in raw accelerometer data that specimens were being damaged between impacts and rebuilt the model around it, cutting error from 30% to 10%.
  • Made it trustworthy and shipped it: split-conformal intervals verified at 90.1 to 91.0% measured coverage, published leave-one-chemical-family-out failure numbers, a refusal path for out-of-scope compositions, and a FastAPI service plus React and TypeScript console returning a 14-property readout in about one second, deployed by GitHub Actions in 35 seconds.
  • Led engineering for the 3-person team selected for this fellowship, gathering requirements from subject-matter experts and presenting results to non-technical investors and program advisors.

PyTorch · Graph neural networks · Conformal prediction · FastAPI · React · GitHub Actions

May 2024 to Aug 2026

Student Data Engineer

Center for Digital Humanities · Hattiesburg, Mississippi

Where the archive goes
  1. Audio, transcripts, metadata
  2. Python and SQL pipelines
  3. One warehouse
  4. Research and NLP
140+Volumes moved into the warehouse
4+ TBAudio, transcripts, and metadata
What I did
  • Built and maintained Python and SQL ETL and ELT pipelines moving 140+ volumes and 4+ TB of audio, transcripts, and metadata into a queryable warehouse.
  • Set the data architecture standards the team still works to, so downstream teams stopped re-cleaning the same data.

Python · SQL · ETL and ELT · Data architecture

Aug 2025 to Dec 2025

AI Software Engineer Intern

ArroyoDev LLC · Hattiesburg, Mississippi

How a model earned its way live
  1. 4 vision models
  2. Precision, recall, mask IoU
  3. Failure modes
  4. Ranked fixes
  5. What ships
4Generative vision models scored
3Metrics: precision, recall, mask IoU
What I did
  • Built an automated evaluation framework in Python scoring four generative computer-vision models on precision, recall, and mask IoU.
  • Diagnosed the systematic failure modes behind the scores and delivered ranked fixes that decided which models went live.

Python · Model evaluation · Computer vision

Projects

Software I built on my own, separate from work and research.

ClinicalPulse RAG home page, with the question box and the cited-answer panel

ClinicalPulse RAG

Grounded retrieval assistant, deployed

A sepsis research assistant that answers only from real papers, shows the source page for every answer, and refuses medical advice.

Try it live
How it works

Answers only from retrieved passages with a source and page citation per claim, refuses out-of-scope and patient-specific requests, and shows retrieval diagnostics.

Next.js · TypeScript · Node · Gemini

Sahayak answering 'What is the total revenue by region?' with a verified answer
The SQL Sahayak ran and the bar chart of revenue by region

Sahayak

Multi-agent AI data analyst

Ask a question about a dataset in plain English. Three AI agents plan it, run the SQL and Python, check the result, and answer with a chart.

How it works

Planner, executor, and verifier over function calling. SQL forced read-only and row-capped, Python sandboxed with no imports or network, and an eval harness that compares against independent reference queries the agents never see. 27 tests.

Ask a question in plain English about a dataset: the agents plan, write and run SQL and Python, check the result, and return the answer with its chart and reasoning.

Built on the Gemini API with function calling.

Python · Gemini · DuckDB · FastAPI

Model AUROC, month by month, as a loan book walks into a downturn

0.700.800.900.843Baseline0.846Steadyno action0.827Mild shiftwatch0.728Downturnretrain0.879Retrainedpromoted

From DriftGuard's own demo run. On the downturn's recent data the old model scored 0.721 and the retrained one 0.879, so it was promoted.

DriftGuard

ML monitoring and auto-retraining

Watches a deployed loan-default model, notices when the incoming data drifts, and retrains it only when performance actually drops.

How it works

PSI, KS, and Jensen-Shannon on every feature. Retrains only on real performance loss, judges the challenger on recent rather than reference data, promotes on a margin, and recovered AUROC 0.72 to 0.88 with no human intervention. The drift detector itself is graded against labelled scenarios. 24 tests.

It wraps a deployed loan default classifier.

Challengers are promoted through a versioned model registry, and the system is fronted by a live monitoring console.

Python · scikit-learn · MLflow · FastAPI · Docker

AeroPulse dashboard with live aircraft positions over North America

AeroPulse

Real-time flight analytics

Pulls live flight positions from the OpenSky Network, cleans them through a data pipeline, flags unusual flights, and shows it all on a dashboard.

How it works

Live OpenSky ingestion into a bronze, silver, and gold medallion lakehouse on dbt and DuckDB with schema tests at every hop, an Isolation Forest ranking anomalous flights, and a Streamlit dashboard on the gold marts. Rebuilds offline from a deterministic seed.

The ML layer flags anomalous flights from altitude, speed, and vertical rate.

The dashboard has a worldwide region selector.

Python · dbt · DuckDB · scikit-learn · Streamlit

Skills and school

Aug 2023 to May 2027

B.S. Computer Science, Honors College

University of Southern Mississippi · GPA 4.0 / 4.0 · Honors thesis under Dr. Andrew H. Sung

Languages

Python, SQL, C++, TypeScript, R, C#, LaTeX

ML and evaluation

PyTorch, scikit-learn, XGBoost, Graph neural networks, Physics-informed neural networks, Recommender systems and ranking, NLP, Computer vision, Agent-based simulation, Conformal prediction, Calibration, Bootstrap intervals, Leakage-aware splits, Pre-registration

MLOps, data, and GenAI

FastAPI, MLflow, Docker, GitHub Actions, CI/CD, Git, Linux, Drift detection (PSI, KS), Model registries, ETL and ELT, dbt, DuckDB, Parquet, Medallion architecture, Data-quality testing, Kafka, Spark, Airflow, LLM agents, Function calling, RAG, Guardrails, React, Next.js, Streamlit, Power BI

Let's build something useful.

I'm looking for full-time machine learning roles from May 2027, and I'm open to relocating.