A Pattern Language for Machine Learning Tasks

Abstract

We formalise the essential data of objective functions as equality constraints on composites of learners. We call these constraints ``tasks'', and we investigate the idealised view that such tasks determine model behaviours. We develop a flowchart-like graphical mathematics for tasks that allows us to; offer a unified perspective of approaches in machine learning across domains; design and optimise desired behaviours model-agnostically; and import insights from theoretical computer science into practical machine learning. As preliminary experimental validation of our theoretical framework, we exhibit and implement a novel ``manipulation'' task that minimally edits input data to have a desired attribute. Our model-agnostic approach achieves this end-to-end, and without the need for custom architectures, adversarial training, random sampling, or interventions on the data, hence enabling capable, small-scale, and training-stable models.

Cite

Text

Rodatz et al. "A Pattern Language for Machine Learning Tasks." Transactions on Machine Learning Research, 2025.

Markdown

[Rodatz et al. "A Pattern Language for Machine Learning Tasks." Transactions on Machine Learning Research, 2025.](https://mlanthology.org/tmlr/2025/rodatz2025tmlr-pattern/)

BibTeX

@article{rodatz2025tmlr-pattern,
  title     = {{A Pattern Language for Machine Learning Tasks}},
  author    = {Rodatz, Benjamin and Fan, Ian and Laakkonen, Tuomas and Ortega, Neil John and Hoffmann, Thomas and Wang, Vincent},
  journal   = {Transactions on Machine Learning Research},
  year      = {2025},
  url       = {https://mlanthology.org/tmlr/2025/rodatz2025tmlr-pattern/}
}