Lawful AI
summary
Argues that Scala’s FP libraries rarely serve data scientists and that building lawful libraries using abstract algebra (Spire, HLearn patterns) yields concrete wins: fast nearest neighbor for arbitrary metric spaces, parallel batch and online training and cross-validation. Gives a real bug where an H2O model’s entropy consumption as a side effect produced week-to-week noise and would have been caught by clearer signatures. Proposes implementing Pyro-style probabilistic algorithms with Spire and notes Polytope uses Shapeless to make genetic programming type-safe.
AI-written summary · about
chapters (7)
- 0:00Introduction and background
- 4:08Lawful libraries in Scala ecosystem
- 7:02Reasons for lawful AI libraries
- 12:23Cross-field communication challenges
- 15:57Category theory across disciplines
- 17:00Future of algebraic structures in AI
- 19:48Q&A and closing remarks
related talks
47mScala: The Unpredicted Lingua Franca for Data Science
47mScala: The Unpredicted Lingua Franca for Data Science
29mResponsible AI Challenges and Recommendations
39mMachine Learning with Scala on Spark
24mPractical Probabilistic Programming with Figaro
52mDoubt Truth to be a Liar: Non Trivialityy of Type Safety for Machine Learning
32mStructured Deep Learning with Probabilistic Neural Prog
01h 07mProbabilistic Programming and Readable Models
