@inproceedings{gutjahr2025_111827,
  title = {DuoLingo-AutoDiff : In-Database Automatic Differentiation with MLIR},
  author = {Gutjahr, Kevin and Ruck, Clemens and Schüle, Maximilian E.},
  year = {2025},
  pages = {1-8},
  publisher = {Otto-Friedrich-Universität},
  address = {Bamberg},
  urn = {urn:nbn:de:bvb:473-irb-111827x},
  url = {https://fis.uni-bamberg.de/handle/uniba/111827},
  language = {eng},
  abstract = {Forward and reverse mode automatic differentiation evaluate the gradient of a model function efficiently by caching the results of partial derivatives. Just-in-time compilation improves the runtime of automatic differentiation by eliminating function calls and storing partial derivatives in virtual registers. This paper discusses the first open-source implementation of automatic differentiation with MLIR and LingoDB. The evaluation compares optimizations applied to forward and reverse modes. It showed that sub-expressions, that appear frequently within the calculation, will be reused after MLIR performs its optimization. Additionally, reverse mode outperforms forward mode due to less generated code.},
  keywords = {Automatic Diferentiation, In-Database Machine Learning, Query Compilation, MLIR}
}
