Idea · Aug 1, 2026

Federated Learning Privacy Lab

Students build and experiment with a browser-based federated learning simulation — local models, gradient aggregation, and adjustable differential privacy noise — so they can directly observe the privacy-utility tradeoff without any GPU or server setup.

What it would do

Federated Learning Privacy Lab is a multi-week capstone assignment for AI, ML, or data-privacy courses. Students implement a client-server FL system entirely in the browser using TensorFlow.js for training and a lightweight Flask server for gradient aggregation. A control panel lets students dial in the number of simulated clients, the dataset partition strategy (IID vs. non-IID), and the Laplace or Gaussian differential privacy noise level added to each gradient update before it leaves the client. A live dashboard shows model accuracy after each round, the privacy budget consumed (epsilon), and per-client gradient norms. A Claude-powered narrator explains what is happening at each training round in plain language, making the math approachable. Students submit a lab report analyzing specific scenarios: how much accuracy is lost per unit of privacy added, and when non-IID data distributions cause model divergence.

Key features

  • Browser-based TF.js training for each simulated client — no GPU or cloud account needed
  • Adjustable differential privacy noise (Laplace/Gaussian) with real-time epsilon budget meter
  • IID vs. non-IID data partition toggle to observe statistical heterogeneity effects
  • Claude-powered round-by-round narrator explaining aggregation and privacy mechanics

More in AI Literacy & Ethics

From-Scratch Neural Net with Live Visualization

Students implement a two-layer feedforward neural network in vanilla Python or TypeScript, then build a browser-based D3 visualization that animates forward-pass activations and gradient flow during backpropagation, culminating in a live-trainable demo on XOR or a 2D toy dataset.

AI Literacy & EthicsClass assignmentLargeAug 14, 2026

Dataset Ethics Audit Pipeline

Students build a CLI tool and React dashboard that ingests any tabular dataset and produces a structured ethics audit report covering demographic balance, historical bias, missing consent signals, and intersectionality gaps — with a remediation roadmap.

AI Literacy & EthicsClass assignmentLargeAug 11, 2026

GenAI Social Thermometer

Students anonymously log which help source they used for each assignment (peer, TA, AI, textbook, self). Instructors see a real-time dashboard of class-level help-seeking trends, including whether peer collaboration is declining as AI use rises.

AI Literacy & EthicsTeaching toolMediumJul 19, 2026

Agent Memory Architecture Studio

Students implement and benchmark three AI agent memory architectures (sliding buffer, vector store, knowledge graph) for a shared CS-tutor domain, then present a comparative analysis of recall, cost, and long-horizon reasoning trade-offs.

AI Literacy & EthicsClass assignmentLargeJul 18, 2026

All 110 ideas in AI Literacy & Ethics →