projects
Next task →
Master project library

853 engineering & research projects

Each project has a problem statement, mathematical foundations, concrete dataset, step-by-step tasks, deliverables, failure modes, metrics and a completion rubric. No CRUD wrappers around an API call.
853 found
L5 · research
Reproduce Attention Is All You Need on a small corpus

Implement the full encoder-decoder Transformer from Vaswani et al. (2017) and reproduce its translation quality on a small WMT14 English-German subset, including the original learning-rate schedule, label smoothing and beam search.

BLEU (sacreBLEU)token-level accuracytokens per second
deep-learning~60h
L5 · research
Reproduce DQN with target network and replay on Atari

Implement Deep Q-Networks from Mnih et al. (2015) with experience replay, a frozen target network and frame preprocessing, and reproduce learning curves on Pong and Breakout.

mean episode returnlearning-curve AUCwall-clock environment steps
reinforcement-learning~55h
L5 · research
Implement FlashAttention-style tiled attention in Triton

Write a fused tiled attention forward and backward kernel in Triton that avoids materializing the attention matrix, and verify numerical equivalence with PyTorch's scaled dot-product attention across sequence lengths up to 16k.

peak GPU memoryTFLOPsnumerical max error
gpu-infrastructure~50h
L5 · research
Mechanistic interpretability pipeline with activation patching

Build an end-to-end causal interpretability pipeline on a small transformer: train a model on a synthetic factual task, locate the circuit for a fact via activation patching, and validate the circuit with ablation and restoration experiments.

restored probabilityeffect localization scorecontrol effect size
research-specializations~45h
L5 · research
Build an LLM evaluation suite with contamination checks

Construct a reproducible evaluation suite for instruction-tuned models that combines capability benchmarks, contamination detection and uncertainty reporting, and use it to compare three open models.

accuracy with Wilson intervalscontamination flag ratepaired difference with confidence interval
evaluation~40h
L5 · research
Implement LoRA and QLoRA from scratch

Implement Low-Rank Adaptation and its quantized variant from scratch: inject trainable rank-decomposed updates into a frozen transformer, add 4-bit NF4 quantization with double quantization, and evaluate on an instruction-tuning task.

validation perplexityinstruction rubric scorepeak VRAM
generative-ai~45h
L4 · advanced
Train a diffusion model on CIFAR-10

Implement and train a DDPM on CIFAR-10, derive the training objective from the variational bound, and compare sampler quality between DDPM and DDIM at equal network evaluations.

FIDInception Scoresample diversity
generative-ai~40h
L5 · research
Build a distributed FSDP training harness

Implement a fully sharded data-parallel training harness with FSDP, mixed precision, activation checkpointing and a reproducible checkpoint/resume path, then measure scaling efficiency on a transformer workload.

tokens per secondscaling efficiencypeak VRAM per rank
gpu-infrastructure~50h
L5 · research
Implement PPO from scratch with GAE

Implement Proximal Policy Optimization with generalized advantage estimation and a clipped surrogate objective from scratch, and reproduce learning curves on MuJoCo or Brax continuous-control tasks.

episode returnKL divergenceclip fraction
reinforcement-learning~50h
L4 · advanced
Build a RAG system with retrieval evaluation

Implement a retrieval-augmented generation system over a Wikipedia subset with hybrid BM25 and dense retrieval, reranking, and a full retrieval-plus-generation evaluation using NDCG, recall and answer correctness.

NDCG@10Recall@20answer F1
ai-agents~35h
L5 · research
Reproduce GPT-2 small from scratch on OpenWebText

Implement GPT-2 small (124M parameters) from scratch and train it on a reduced OpenWebText corpus, matching the original architecture, tokenizer and training recipe, then evaluate zero-shot perplexity on standard datasets.

zero-shot perplexityBits per tokensample repetition rate
deep-learning~70h
L4 · advanced
Monte Carlo tree search with a learned model for Connect Four

Implement a Monte Carlo tree search agent with a learned value and policy network for Connect Four, and compare search quality against a min-max solver with alpha-beta pruning under a fixed node budget.

win ratedecision accuracy versus solvernodes per second
reinforcement-learning~40h
L5 · research
Sparse autoencoder feature analysis with activation patching

Combine sparse autoencoder feature extraction with causal activation patching to identify and validate interpretable features in a small transformer trained on a synthetic task with known latent factors.

reconstruction MSEL0 sparsityfactor alignment score
research-specializations~50h
L4 · advanced
Speculative decoding with a draft model: acceptance and latency study

Implement speculative decoding with a small draft model and a large target model, derive the acceptance criterion, and measure the latency-accuracy tradeoff across draft sizes and temperature settings.

acceptance ratetokens per secondspeedup factor
gpu-infrastructure~35h
L5 · research
Scaling-law study with a controlled compute budget

Run a controlled scaling-law study over model size and dataset size under a fixed compute budget, fit the Chinchilla parametrization, and test whether the fitted law predicts a held-out model's loss.

held-out loss prediction errorfitted exponents with intervalscompute efficiency
research-specializations~60h
L1 · foundational
Spectral clustering from a k-NN Laplacian — controlled synthetic benchmark

Recover the ten digit communities of MNIST without using labels when building the affinity graph, and compare with k-means on raw pixels. Use a fixed seed, a controlled ground truth, and an ablation grid over the key hyperparameter.

NMIARIcluster purity
mathematics~5h
L2 · foundational
Spectral clustering from a k-NN Laplacian — real-data stress test

Recover the ten digit communities of MNIST without using labels when building the affinity graph, and compare with k-means on raw pixels. Repeat on a real dataset, report a table with confidence intervals over three trials, and explain which assumption broke.

NMIARIcluster purity
mathematics~7h
L4 · advanced
Pivot strategies and backward stability of Gaussian elimination — controlled synthetic benchmark

Implement partial, complete and rook pivoting for LU factorization and quantify backward error on Hilbert and Vandermonde matrices. Use a fixed seed, a controlled ground truth, and an ablation grid over the key hyperparameter.

relative residualgrowth factorpivot count
mathematics~12h
L5 · research
Pivot strategies and backward stability of Gaussian elimination — real-data stress test

Implement partial, complete and rook pivoting for LU factorization and quantify backward error on Hilbert and Vandermonde matrices. Repeat on a real dataset, report a table with confidence intervals over three trials, and explain which assumption broke.

relative residualgrowth factorpivot count
mathematics~14h
L2 · foundational
Runge phenomenon and Chebyshev interpolation — controlled synthetic benchmark

Interpolate the Runge function with equispaced and Chebyshev nodes for n=5..40 and demonstrate the divergence of the first and convergence of the second. Use a fixed seed, a controlled ground truth, and an ablation grid over the key hyperparameter.

max interpolation errorLebesgue constantrelative error against the analytic ground truth
mathematics~9h
L3 · intermediate
Runge phenomenon and Chebyshev interpolation — real-data stress test

Interpolate the Runge function with equispaced and Chebyshev nodes for n=5..40 and demonstrate the divergence of the first and convergence of the second. Repeat on a real dataset, report a table with confidence intervals over three trials, and explain which assumption broke.

max interpolation errorLebesgue constantwall-clock seconds on one pinned CPU core
mathematics~11h
L5 · research
Root-finder shootout on the Wilkinson polynomial — controlled synthetic benchmark

Compare bisection, Newton, secant and Halley methods on the degree-20 Wilkinson polynomial and on a double root with perturbed coefficients. Use a fixed seed, a controlled ground truth, and an ablation grid over the key hyperparameter.

iterations to 1e-12observed convergence orderroot displacement under perturbation
mathematics~13h
L1 · foundational
Root-finder shootout on the Wilkinson polynomial — real-data stress test

Compare bisection, Newton, secant and Halley methods on the degree-20 Wilkinson polynomial and on a double root with perturbed coefficients. Repeat on a real dataset, report a table with confidence intervals over three trials, and explain which assumption broke.

iterations to 1e-12observed convergence orderroot displacement under perturbation
mathematics~5h
L3 · intermediate
Rank-revealing factorizations versus normal equations — controlled synthetic benchmark

Compare SVD, QR with column pivoting and the normal equations for rank detection on ill-conditioned design matrices from UCI datasets. Use a fixed seed, a controlled ground truth, and an ablation grid over the key hyperparameter.

coefficient errorrelative residualrank estimate
mathematics~10h
L4 · advanced
Rank-revealing factorizations versus normal equations — real-data stress test

Compare SVD, QR with column pivoting and the normal equations for rank detection on ill-conditioned design matrices from UCI datasets. Repeat on a real dataset, report a table with confidence intervals over three trials, and explain which assumption broke.

coefficient errorrelative residualrank estimate
mathematics~12h
L1 · foundational
Power iteration PageRank on a Wikipedia link subgraph — controlled synthetic benchmark

Build a directed link graph from a Wikipedia dump subset and compute PageRank by power iteration, tracking convergence and dangling-node handling. Use a fixed seed, a controlled ground truth, and an ablation grid over the key hyperparameter.

L1 residualiterations to convergetop-k rank overlap
mathematics~7h
L2 · foundational
Power iteration PageRank on a Wikipedia link subgraph — real-data stress test

Build a directed link graph from a Wikipedia dump subset and compute PageRank by power iteration, tracking convergence and dangling-node handling. Repeat on a real dataset, report a table with confidence intervals over three trials, and explain which assumption broke.

L1 residualiterations to convergetop-k rank overlap
mathematics~9h
L4 · advanced
Adaptive quadrature versus Gauss-Legendre for oscillatory integrals — controlled synthetic benchmark

Evaluate a family of highly oscillatory integrals with Simpson, adaptive Simpson and fixed-order Gauss-Legendre, and record cost against accuracy. Use a fixed seed, a controlled ground truth, and an ablation grid over the key hyperparameter.

absolute errorfunction evaluationswall-clock time
mathematics~11h
L5 · research
Adaptive quadrature versus Gauss-Legendre for oscillatory integrals — real-data stress test

Evaluate a family of highly oscillatory integrals with Simpson, adaptive Simpson and fixed-order Gauss-Legendre, and record cost against accuracy. Repeat on a real dataset, report a table with confidence intervals over three trials, and explain which assumption broke.

absolute errorfunction evaluationswall-clock time
mathematics~13h
L2 · foundational
Finite-difference Poisson solver on a 2D grid — controlled synthetic benchmark

Solve the Poisson equation with Dirichlet boundary conditions using Jacobi, Gauss-Seidel and multigrid V-cycles, and compare convergence rates. Use a fixed seed, a controlled ground truth, and an ablation grid over the key hyperparameter.

discrete L2 erroriterations to 1e-8 residualgrid convergence order
mathematics~8h
L3 · intermediate
Finite-difference Poisson solver on a 2D grid — real-data stress test

Solve the Poisson equation with Dirichlet boundary conditions using Jacobi, Gauss-Seidel and multigrid V-cycles, and compare convergence rates. Repeat on a real dataset, report a table with confidence intervals over three trials, and explain which assumption broke.

discrete L2 erroriterations to 1e-8 residualgrid convergence order
mathematics~10h
L5 · research
Multivariable Taylor models and trust-region quadratic approximations — controlled synthetic benchmark

Build second-order Taylor models of the Rosenbrock and Beale functions and check where the quadratic model predicts descent within a trust region. Use a fixed seed, a controlled ground truth, and an ablation grid over the key hyperparameter.

model errorfraction of steps with correct signradius where model fails
mathematics~15h
L1 · foundational
Multivariable Taylor models and trust-region quadratic approximations — real-data stress test

Build second-order Taylor models of the Rosenbrock and Beale functions and check where the quadratic model predicts descent within a trust region. Repeat on a real dataset, report a table with confidence intervals over three trials, and explain which assumption broke.

model errorfraction of steps with correct signradius where model fails
mathematics~7h
L3 · intermediate
Compressed sensing with OMP and basis pursuit — sparse-signal recovery

Recover sparse signals from 20% Gaussian measurements using orthogonal matching pursuit and L1 minimization, and map the recovery phase transition. Sweep sparsity 1% to 20% and record the phase-transition boundary where recovery collapses.

reconstruction SNRsupport F1runtime
linear-algebra~9h
L4 · advanced
Compressed sensing with OMP and basis pursuit — real sparse-matrix workload

Recover sparse signals from 20% Gaussian measurements using orthogonal matching pursuit and L1 minimization, and map the recovery phase transition. Run on a real sparse matrix and report memory footprint together with accuracy.

reconstruction SNRsupport F1runtime
linear-algebra~11h
L1 · foundational
Matrix completion by softImpute on MovieLens-100K — sparse-signal recovery

Predict held-out ratings from 100k MovieLens ratings using nuclear-norm-regularized matrix completion and compare with neighborhood baselines. Sweep sparsity 1% to 20% and record the phase-transition boundary where recovery collapses.

RMSEMAErank of solution
linear-algebra~6h