Informed Machine Learning Through Functional Composition

Christian Bauckhage, César Ojeda, Jannis Schücker, Rafet Sifa, Stefan WrobelLwda 2018

Abstract

Current deep learning paradigms rely heavily on massive parameter estimation from large datasets, often resulting in "black box" models. This paper explores an alternative approach: Informed Machine Learning, where models are constructed by sequencing human-understandable functions from a predefined library. Using Monte Carlo Tree Search (MCTS) to navigate the space of functional compositions, we demonstrate that complex non-linear problems like XOR classification can be solved with high accuracy, minimal data, and full intrinsic explainability.

Introduction

In the current era of AI, "learning" is almost synonymous with "parameter estimation." We take a massive neural network, initialize millions of random weights, and use mountains of data to nudge those weights until the model behaves. However, this approach faces significant hurdles in sensitive industries like finance or industrial control, where "thin data" (scarce labeled examples) and a lack of traceability prevent adoption.

A team from Fraunhofer IAIS and the University of Bonn suggests a different path: Informed Machine Learning Through Functional Composition. Instead of tuning weights in a black box, they propose assembling models from a library of human-understandable operations.

Methodology: Learning as Sequencing

The authors reframe a neural network as a composite function: $y(x) = f_L \circ \dots \circ f_1(x)$. In a standard network, these $f$ functions are fixed (linear layers + ReLUs), and we optimize the weights. In this "Informed Learning" approach, the building blocks are diverse functions provided by a domain expert (e.g., rotations, absolute values, products, trigonometric functions).

Instead of gradient descent, the training process utilizes Monte Carlo Tree Search (MCTS) to find the optimal sequence of these functions. This treats learning as a problem of sequencing predefined operations rather than parameter estimation.

Figure 1: Various functional compositions (b-f) generated during the search process for the XOR-type training data (a).

By giving the model a library of "how-to" functions, human intelligence is baked directly into the architecture. This leverages procedural knowledge—knowing how data should be processed—rather than forcing the model to re-discover basic logic from scratch.

Case Study: The XOR Problem

The concept was demonstrated using a synthetic XOR-type dataset. This consists of 2D points $(x_1, x_2)$ arranged in a checkerboard pattern. While simple, the XOR problem is a classic benchmark because it is not linearly separable; a single-layer linear model cannot solve it.

Key Results and Explainability

Using MCTS, the system successfully discovered a simple functional composition to solve the XOR problem: $$f_{16} \circ f_7 \circ f_1(x) = \text{sign}\left(\prod_i (Rx)_i\right)$$

This solution achieved 100% accuracy and was perfectly "traceable." A domain expert can look at this sequence—rotating the data, multiplying coordinates, and taking the sign—and immediately understand the logic.

Figure 2: The final discovered functional composition achieving perfect classification on the XOR-type dataset.

Unlike standard neural networks, there is no need for post-hoc explanation tools like LIME or SHAP; the model is the explanation.

Conclusion and Future Work

While the proof-of-concept is elegant, scalability remains a challenge. Searching through sequences of functions is computationally expensive, and the search space explodes as the library grows. Future work will focus on formalizing the translation of expert knowledge into mathematical libraries and exploring the existence of "universal" functional building blocks. By moving away from brute-force data and parameters, this research paves the way for AI that is smarter, leaner, and more human-centric.

Summary updated

BibTeX
@inproceedings{bauckhage2018informed,
  author = {Christian Bauckhage and César Ojeda and Jannis Schücker and Rafet Sifa and Stefan Wrobel},
  title = {{Informed Machine Learning Through Functional Composition}},
  booktitle = {Lwda},
  year = {2018},
}
Figure