A Type System For Feature Engineering (Extended Abstract)
summary
Built a small compiler for F3-style SQL DSL at Meta and demonstrates a dependent type system (inspired by Martin-Löf) that stores normal forms to make equivalence decidable, using normalization to normal forms and a three-part table type (data schema, normalized filter/join conditions, row/lineage environment). The system tags rows affected by left/right joins, supports about 20 operators, already validates semantic-preserving graph transforms and is being applied to dedupe and index a corpus of 100,000+ programs for querying and reuse.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:43Feature engineering
- 3:11Three DSL operators
- 5:20Semantic equivalence
- 6:02Large-scale challenges
- 8:29Type systems and normalization
- 10:34Type system for SQL
- 14:09Types for validation
- 15:58Q&A
related talks
31mF3: A Compiler For Feature Engineering
13mDesigning Feature DSLs: Principles and Tradeoffs
58mType Theory Behind the Glasgow Haskell Compiler Internals (Part 4)
01h 00mType Theory Behind the Glasgow Haskell Compiler Internals (Part 5)
01h 01mType Theory Behind the Glasgow Haskell Compiler Internals (Part 6)
40mType-Driven Program Synthesis
49mType Theory Behind the Glasgow Haskell Compiler Internals (Part 2)
57mType Theory Behind Glasgow Haskell Compiler Internals (Part 1)
