Serving Applied ML Systems

Maxwell J. Yin

I build large-scale Machine Learning systems for search and retrieval, combining representation learning, distributed training, and low-latency serving.

Portrait of Maxwell J. Yin
πŸ“ Toronto, Canada

About Me

I bridge academic Machine Learning research and large-scale production systems.

My work spans search and retrieval, representation learning, distributed model training, and low-latency serving. I focus on building reliable ML systems with measurable improvements in quality, scalability, and efficiency.

Production Systems & Scale Profile

Practical metric baselines achieved across real-world model training and low-latency serving pipelines.

Retrieval Latency ⚑
~12ms
P99 query latency achieved using dual-encoder FAISS index rather than heavy cross-encoders.
Index Volume πŸ“¦
1.7M
Total passage embeddings indexed and updated in real-time under low-latency limits.
Compute Scaling πŸš€
8Γ— H100
Distributed training of 400M-parameter Transformer model over 40B tokens stable.
Throughput Gain πŸ“ˆ
5.2Γ—
Serving QPS scaled 5.2Γ— using optimized contrastive embedding adapters.
cineseek-inference-pipeline.flow
INPUT
Natural Query
raw user string
βž”
AGENT
LLM Rewriter
intent expansion
βž”
INDEX
FAISS ANN
top-100 recall
βž”
RANK
Cross-Encoder
top-10 reranking
βž”
OUTPUT
LLM Generator
12ms explaining

Career timeline

Machine Learning Engineer II

Pinterest
2026 – Present
Toronto, ON
  • Building large-scale Machine Learning systems for production search retrieval.
  • Working on representation learning, candidate generation, and retrieval quality for search systems.
  • Developing scalable data, training, evaluation, and serving pipelines.
Search Retrieval Representation Learning Candidate Generation ML Systems

Machine Learning Engineer

Huawei Noah's Ark Lab
2025 – 2026
Toronto, ON
  • Engineered large-scale, highly scalable LLM training and evaluation pipelines.
  • Successfully trained a 400M-parameter Transformer model on 40B tokens across multi-node 8Γ— H100 GPUs, stabilizing multi-GPU distributed operations.
  • Investigated training optimizations, distributed profiling, and performance evaluation pipelines, boosting training stability and comparing latency-vs-cost constraints.
Distributed Training Transformer Architecture DeepSpeed PyTorch System Profiling

Graduate Research Assistant

Western University
2021 – 2025
London, ON
  • Designed and scaled semantic retrieval pipelines querying over 500K+ documents and 1.7M passages.
  • Replaced expensive multi-stage reranking pipelines with highly optimized FAISS-based Approximate Nearest Neighbor (ANN) retrieval in a unified embedding space.
  • Slashed end-to-end downstream retrieval latency by more than 5Γ— while maintaining outstanding precision and result relevance.
FAISS Indexing Semantic Search Embedding Adapters RAG Pipelines Inference Optimization

Featured Project

CineSeek: Agent-Enhanced Semantic Movie Search

production-ready

CineSeek combines LLM-based query expansion and rewriting, FAISS-based high-performance ANN retrieval, and an agentic cross-encoder reranker. It was built specifically to solve complex, long-tail queries without sacrificing production latency bounds.

Vector Indexing LLM Agents FastAPI serving Docker Compose
Live Demo Source Code All Projects

Research & Publications

First-author papers in TACL, NAACL, AAAI, and Expert Systems with Applications, bridging representation learning with information retrieval.

  • AAAI 2025
    MABR: Multilayer Adversarial Bias Removal Without Prior Bias Knowledge
    M. J. Yin, B. Wang, and C. Ling
  • TACL 2024
    Source-Free Domain Adaptation for Question Answering with Masked Self-training
    M. Yin, B. Wang, Y. Dong, and C. Ling
  • NAACL Findings 2024
    Source-Free Unsupervised Domain Adaptation for Question Answering via Prompt-Assisted Self-learning
    M. Yin, B. Wang, and C. Ling
  • ESWA 2024
    A Fast Local Citation Recommendation Algorithm Scalable to Multi-topics
    M. J. Yin, B. Wang, and C. Ling

Explore the full dataset & citations on Google Scholar βž”