The Duck’s Brain : Training and Inference of Neural Networks within Database Engines

Uložené v:
Podrobná bibliografia
Názov: The Duck’s Brain : Training and Inference of Neural Networks within Database Engines
Autori: Schüle, Maximilian, Neumann, Thomas, Kemper, Alfons
Informácie o vydavateľovi: Otto-Friedrich-Universität
Bamberg
Rok vydania: 2025
Zbierka: Bamberg University: OPUS Publication Server
Predmety: SQL-92, Neural Networks, Automatic Differentiation, In-Memory Database Systems, Machine Learning
Time: 004
Popis: Although database systems perform well in data access and manipulation, their relational model hinders data scientists from formulating machine learning algorithms in SQL. Nevertheless, we argue that modern database systems perform well for machine learning algorithms expressed in relational algebra. To overcome the barrier of the relational model, this paper shows how to transform data into a coordinate relational representation for training neural networks in SQL: We first describe building blocks for data transformation, model training and inference in SQL-92 and their counterparts using an extended array data type. Then, we compare the implementation for model training and inference using array data types to the one using a coordinate relational representation in SQL-92 only. The evaluation in terms of runtime and memory consumption proves the suitability of modern database systems for matrix algebra, although specialised array data types perform better than matrices in coordinate relational representation.
Druh dokumentu: article in journal/newspaper
Popis súboru: application/pdf
Jazyk: English
Relation: Juniorprofessur für Informatik, insbesondere Data Engineering; #PLACEHOLDER_PARENT_METADATA_VALUE#
Dostupnosť: https://fis.uni-bamberg.de/handle/uniba/107115
https://nbn-resolving.org/urn:nbn:de:bvb:473-irb-1071155
Prístupové číslo: edsbas.33E95509
Databáza: BASE
Popis
Abstrakt:Although database systems perform well in data access and manipulation, their relational model hinders data scientists from formulating machine learning algorithms in SQL. Nevertheless, we argue that modern database systems perform well for machine learning algorithms expressed in relational algebra. To overcome the barrier of the relational model, this paper shows how to transform data into a coordinate relational representation for training neural networks in SQL: We first describe building blocks for data transformation, model training and inference in SQL-92 and their counterparts using an extended array data type. Then, we compare the implementation for model training and inference using array data types to the one using a coordinate relational representation in SQL-92 only. The evaluation in terms of runtime and memory consumption proves the suitability of modern database systems for matrix algebra, although specialised array data types perform better than matrices in coordinate relational representation.