Federated Learning Analytics, Visualization, Optimization & Reliability
FLAVOR is a tool for visualizing and understanding the privacy-preserving properties and optimization techniques used in federated learning. App live at https://flavor-studio.vercel.app/
- 9 Interactive Sections with 38 total steps
- Shamir Secret Sharing Scheme implementation (7-of-10 threshold)
- FedAvg Algorithm visualization
- MNIST Dataset simulation with non-IID distribution
- Dark/Light Theme toggle
- Keyboard Navigation (Arrow keys, Space)
- Intro - What is Federated Learning?
- Data Distribution - MNIST across 10 clients
- Local Training - Client-side model training
- Shamir Secret Sharing - Deep dive into the cryptography
- Secure Aggregation - Combining shares privately
- FedAvg - Weighted averaging algorithm
- Global Model - Model update process
- Convergence - Multi-round training progress
- Summary - Results and next steps
- Next.js 14 (App Router)
- TypeScript
- Tailwind CSS + shadcn/ui
- Framer Motion (animations)
- D3.js (visualizations ready)
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run build
# Start production server
npm start