An Introduction To
Compositional Public Health
February 19th, 2025
NYC Category Theory Seminar
I Am Jacob Zelko! Nice To Meet You!
GTRI & CDC (c. 2021 - 2023)
Working Definition of CPH
“Compositional public health is an emerging field at the intersection of category theory, public health, and engineering which utilizes tools from applied category theory for applications across public health.”
Compositional Public Health (CPH)
What Types of Questions?
What Types of Questions?
Drug Development
Example Diagrams from Public Health
Causal Loop Diagrams
Stock-and-Flow Diagrams
Drug Development
Example Diagrams from Public Health [5]
Part 1: Motivation
Part 2: Background
Part 3: Demonstration
Part 4: Conclusion
Structure of This Talk
Part 1: Motivation
Working Definition of CPH
“Compositional public health is an emerging field at the intersection of category theory, public health, and engineering which utilizes tools from applied category theory for applications across public health.”
Def: Compositional Public Health
Drug Development
CDC COVID Response Pipelines
Drug Development
Frustrations during Response
Part 2: Background
Working Definition of CPH
“Compositional public health is an emerging field at the intersection of category theory, public health, and engineering which utilizes tools from applied category theory for applications across public health.”
Def: Compositional Public Health
Drug Development
Explosion of CPH Literature
[9] Baez, J., Li, X., Libkind, S., Osgood, N. D., & Patterson, E. (2022). Compositional modeling with stock and flow diagrams. arXiv preprint arXiv:2205.08373.
[10] Aduddell, R., Fairbanks, J., Kumar, A., Ocal, P. S., Patterson, E., & Shapiro, B. T. (2024). A compositional account of motifs, mechanisms, and dynamics in biochemical regulatory networks. Compositionality, 6.
[11] Libkind, S., Baas, A., Halter, M., Patterson, E., & Fairbanks, J. P. (2022). An algebraic framework for structured epidemic modelling. Philosophical Transactions of the Royal Society A, 380(2233), 20210309.
… and much more!
Drug Development
Framework for Epidemic Modeling [11]
Drug Development
Composing Stock and Flow Diagrams [9]
Drug Development
CatColab – Collaborative Modeling [12]
IPUMS Demo
CatColab Demo
Drug Development
Applied Category Theory (ACT)
Drug Development
What Are Database Schemas?
Drug Development
Example of Schema and Instances
Employees | |
Name | Employee ID |
Jose Perez | 1 |
Departments | |
Name | Department ID |
Mathematics | 1 |
Employees | |
Name | Employee ID |
Departments | |
Name | Department ID |
Drug Development
Database Schemas as Categories
Employees
Departments
IPUMS Demo
Employees & Dept. Schema
IPUMS Demo
Employees & Dept. & Proj Schema
Drug Development
Employees & Dept. Schema
Drug Development
Employees & Dept. & Proj Schema
Drug Development
AlgebraicJulia
Drug Development
AlgebraicJulia
Drug Development
Catlab.jl
Drug Development
Catlab & Attributed C-Sets [9]
Drug Development
Instances of Databases in ACSets.jl
Employees | |
Name | Employee ID |
Emilia Guzman | 2 |
Departments | |
Name | Department ID |
Mathematics | 1 |
Drug Development
ACSets.jl & CPH Applications [9]
Drug Development
Ultimate Goal of CPH
“Compositional public health is an emerging field at the intersection of category theory, public health, and engineering which utilizes tools from applied category theory for applications across public health.”
Part 3: Demonstrations
MS Thesis Goals
MS Thesis Goals
Drug Development
Categorical Data Science
Approach
Approach
Census and Survey Microdata
Census and Survey Microdata
IPUMS Demo
IPUMS Demo
Weather and Climate Data
Weather and Climate Data
IPUMS Demo
NCEI Demo (Skipped)
Patient Data
Patient Data
IPUMS Demo
SYNTHEA Demo
Remarks
General Remarks about Datasets
IPUMS Demo
Research Demo Draft
IPUMS Demo
2. ACSet-ification of Data
IPUMS Demo
ACSet-ification Demo
IPUMS Demo
Conjunctive Queries on Junction Tables
Credit to Dr. Sean Wu and Matt Cuffaro here!
Remarks
Reflections on ACSet-ification
Remarks
Thoughts on Categorical Data Science
Part 4: Conclusion
Working Definition of CPH
“Compositional public health is an emerging field at the intersection of category theory, public health, and engineering which utilizes tools from applied category theory for applications across public health.”
Compositional Public Health (CPH)
Papers and Open Questions
Papers and Open Questions in CPH
How To Get Involved
Join CatColab!
Join AlgebraicJulia!
Get Involved!
Resources
Some Resources
Thoughts
Final Thoughts
Next Steps
Next Steps
Next Steps
Next Steps
Papers and Open Questions
Acknowledgements
Questions?
“‘Your system is just a component in another person’s system’
- Gioele Zardini’”
- Jacob S. Zelko
Questions?
“‘Your system is just a component in another person’s system’
- Gioele Zardini’”
- Jacob S. Zelko
References
[1] Gatseva, P. D., & Argirova, M. (2011). Public health: the science of promoting health. Journal of Public Health, 19, 205-206.
[2] Leinster, T. (2014). Basic category theory (Vol. 143). Cambridge University Press.
[3] https://ncatlab.org/nlab/show/HomePage
[4] Schultz, P., Spivak, D. I., Vasilakopoulou, C., & Wisnesky, R. (2016). Algebraic databases. arXiv preprint arXiv:1602.03501.
[5] Patterson, E. (2022) AlgebraicJulia: a compositional approach to technical computing
[6] Lynch O., Fairbanks, J. (2023) Computational Category Theory in Applied Mathematics
[7] Patterson, E. (2020) Graphs and C-sets I: What is a graph?
[8] Patterson, E., Lynch, O., & Fairbanks, J. (2022). Categorical data structures for technical computing. Compositionality, 4.
[12] CatColab, Patterson, E. (2024). Toward collaborative modeling with categorical logics. Topos Institute Berkeley Seminar
References
Supporting Slides
Category Theory
Drug Development
General Idea:
“Category theory takes a bird’s eye view of mathematics. From high in the sky, details become invisible, but we can spot patterns that were impossible to detect from ground level.” - Tom Leinster, Basic Category Theory [2]
“How things relate to things”
Quick Summary of Category Theory
Drug Development
Basics of Categories – Definition
Drug Development
Basics of Categories – Properties
Drug Development
Basics of Categories – Functors
ACSets Details
Drug Development
C-Sets [7]
Special Categories
Category of StockFlow
Category of Whole-Grain Petri Nets
Drug Development
Category: StockFlow
Drug Development
Category: Whole-Grain Petri Nets