853 engineering & research projects
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.