Amaan SurtiHealthcare AI & machine learning engineer
ResumeNews Monitor
About 45 sources, from wire services to threat-intel feeds, turned into one feed that knows when two outlets are telling the same story.
- Team
- 3, with Abdulrauf Kazi and Pratham Sharma
- My part
- about two thirds of the work
- When
- Jan–Nov 2026, Deep Learning studio
- Stack
- MiniLM embeddings on ONNX · trained MLP head · hybrid search · Next.js · MongoDB · Redis
The problem
Read the news from 45 sources and you read the same story ten times, filed under the wrong topic, with keyword search that misses what you meant.
What I built
- Topics: a small neural head trained on frozen MiniLM sentence embeddings replaced substring rules.
- Deduplication: embedding similarity with a calibrated threshold, plus a veto when two stories quote different numbers.
- Search: hybrid ranking, 0.6 semantic + 0.4 keyword.
- Story graph: nearest neighbours, a two-hop graph walk, session interests and collaborative filtering over friends' reads.
- All inference runs in-process with transformers.js on ONNX Runtime, so it needs no API key.
Results
| Task, held-out data | Before | After |
|---|---|---|
| Topic accuracy (160 headlines, 8 classes) | 25.6% | 90.6% |
| Dedupe recall on true duplicates | 0% | 86.7% |
| Search MRR / Recall@5 (18 queries) | 0.677 / 0.528 | 0.903 / 0.856 |
Topic accuracy averaged over 6 seeds is 89.4% ± 1.2. Dedupe precision at that recall is 76.5%; ROC-AUC 0.86.
How it is built
Turborepo monorepo; Next.js 16 App Router, React 19, MongoDB for stories, Redis for embedding and feed caches, NextAuth. Docker image on Debian slim, which ONNX Runtime needs.
Team
A three-person project with Abdulrauf Kazi and Pratham Sharma. I did roughly 60–65% of it, much of it pushed from a shared account; the original repository is Abdulrauf-kazi/news-aggregator.