NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Interpreting Black-boxes Using Primitive Parameterized Functions

Mahed Abroshan, Saumitra Mishra, Mohammad Mahdi KhaliliOpenReview 2021

TL;DR

This paper introduces a new method, Symbolic Metamodeling using Primitive Functions (SMPF), to create interpretable "models of models" for complex black-box machine learning systems. By leveraging the Kolmogorov Superposition Theorem and a modified genetic programming approach, SMPF can more accurately and efficiently approximate black-box functions, leading to better insights into feature importance and model behavior.

What Problem Does This Paper Address?

As machine learning models become increasingly powerful, they also become more opaque – acting as "black boxes." This lack of transparency is a significant barrier in high-stakes applications like healthcare, where understanding why a model makes a certain prediction is crucial for trust and adoption. While various interpretability methods exist, approximating the black-box model with a simpler, interpretable "metamodel" offers a powerful way to gain global insights into feature importance, model behavior, and feature interactions. Existing methods for creating these metamodels, particularly those based on symbolic regression, often struggle with limited building blocks or produce metamodels that are not easily interpretable themselves. This paper aims to bridge this gap by proposing a more flexible and effective approach to learning interpretable symbolic metamodels.

Methods

The core of the proposed method, SMPF, is built upon two key ideas:

  1. Kolmogorov Superposition Theorem (KST): This theorem provides a theoretical foundation for representing any multivariate function as a composition of univariate functions. The authors translate this into a tree-like structure where edges represent simple, parameterized univariate functions. This structure allows for a more flexible representation of complex interactions compared to previous methods.
  2. Modified Genetic Programming (GP) with Gradient Descent (GD): The authors adapt GP, a search algorithm inspired by natural selection, to explore different tree configurations (structures and function assignments to edges). Crucially, they combine GP with GD for optimizing the parameters of these primitive functions. This hybrid approach allows for efficient training of complex metamodels.

The process involves:

  • Generating Random Trees: Initializing a population of random tree structures with primitive parameterized functions assigned to edges.
  • Training Trees: Using gradient descent to optimize the parameters of the functions within each tree.
  • Evaluating Fitness: Assessing how well each tree approximates the black-box model, with options for regularization to favor simpler models.
  • Evolution: Using GP operations (crossover and mutation) to evolve the population of trees over generations, selecting fitter models to create the next generation.

Datasets

The paper evaluates its method on several synthetic datasets and real-world datasets:

  • Synthetic Datasets: Used for approximating fixed functions with two, three, four, six, and eight variables. These include exponential, sinusoidal, and rational functions.
  • UCI Datasets:
    • Yacht dataset
    • Energy dataset

These datasets are used to train black-box models (e.g., Multilayer Perceptrons, Support Vector Machines) which are then approximated by the proposed SMPF method and compared against other interpretability techniques.

Key Insights and Ideas

  • KST as a Structural Foundation: Using KST to structure metamodels as trees of univariate functions provides a principled way to represent complex multivariate interactions.
  • Hybrid GP+GD for Efficiency and Flexibility: Combining GP's ability to search for structures with GD's efficiency in optimizing parameters is a powerful combination for learning interpretable models. This allows for training both the structure and the parameters of the primitive functions.
  • Interpretable Primitive Functions: The choice of simple, interpretable parameterized functions (like polynomials, exponentials, and sinusoids) as building blocks is key to ensuring the final metamodel is understandable, even if the black-box itself is not.
  • Outperforming Existing Methods: SMPF consistently shows superior performance in approximating various functions and black-box models compared to established methods like Symbolic Metamodeling (SM) and Symbolic Pursuit (SP), particularly in terms of accuracy and the ability to capture complex interactions.

Key Results

  • Superior Accuracy: SMPF achieved better Mean Squared Error (MSE) and R² scores across multiple synthetic and real-world datasets compared to SM, SP, and Symbolic Regression (SR). For instance, in approximating two-variable functions, SMPF achieved the best score for three out of four functions.
  • Accurate Functional Form Identification: SMPF was able to correctly identify the underlying functional form of synthetic black-box functions, a crucial aspect for interpretability.
  • Efficient Computation: The training process for SMPF was significantly faster than SP, with the former taking 45 minutes compared to SP's 215 minutes for a complex experiment. This is attributed to the computational cost of evaluating Meijer G-functions in SP.
  • Competitive Feature Importance: In instance-wise feature importance tasks, SMPF performed competitively with other state-of-the-art methods like SHAP and LIME, achieving the best median rank for the XOR dataset.
  • Robustness to Dimensionality: SMPF showed robust performance even when the dimensionality of the input features increased, unlike some other methods that struggled.

Limitations and Future Work

  • No Theoretical Guarantees: The authors acknowledge that due to the use of GP, theoretical guarantees for the method's performance are challenging to establish.
  • Hyperparameter Tuning: Like many GP-based methods, SMPF has several hyperparameters that need to be specified, which can influence the tree structure and performance.
  • High-Dimensional Data: Symbolic metamodels, including SMPF, are not suitable for very high-dimensional data like images.
  • Future Work:
    • More Complex Tree Structures: Exploring trees with more layers to capture even more intricate relationships.
  • More General Primitive Functions: Investigating the use of more complex primitive functions, including Meijer G-functions, or even dynamically choosing polynomial degrees.
  • Improved Optimization: Addressing the non-convex nature of the optimization problem by exploring convex relaxation or more sophisticated non-convex optimization techniques.

Summary updated

BibTeX
@misc{abroshan2021interpreting,
  author = {Mahed Abroshan and Saumitra Mishra and Mohammad Mahdi Khalili},
  title = {{Interpreting Black-boxes Using Primitive Parameterized Functions}},
  year = {2021},
  url = {https://openreview.net/forum?id=k4jzOHrZ7F5},
  howpublished = {OpenReview},
}
Figure