Skip to main content
QUICK REVIEW

[Paper Review] Interpretable Set Functions

Andrew Cotter, Maya R. Gupta|arXiv (Cornell University)|May 31, 2018
Explainable Artificial Intelligence (XAI)Computer Science18 references7 citations
TL;DR

This paper proposes interpretable set functions using deep lattice networks (DLN) to aggregate variable-length, permutation-invariant feature sets, enabling monotonicity constraints and visualizable 1D calibrator curves for enhanced model interpretability and debuggability. The method achieves accuracy comparable to deep sets and DNNs while significantly improving interpretability and stability through structured regularization and simplified aggregation (K=1).

ABSTRACT

We propose learning flexible but interpretable functions that aggregate a variable-length set of permutation-invariant feature vectors to predict a label. We use a deep lattice network model so we can architect the model structure to enhance interpretability, and add monotonicity constraints between inputs-and-outputs. We then use the proposed set function to automate the engineering of dense, interpretable features from sparse categorical features, which we call semantic feature engine. Experiments on real-world data show the achieved accuracy is similar to deep sets or deep neural networks, and is easier to debug and understand.

Motivation & Objective

  • To develop a model that learns flexible yet interpretable functions for aggregating variable-length, permutation-invariant feature sets.
  • To improve model interpretability by incorporating monotonicity constraints based on domain knowledge, ensuring global behavior aligns with expert intuition.
  • To enhance debuggability by simplifying the aggregation function to a single output per token (K=1), making it easier to trace model decisions.
  • To automate the creation of dense, interpretable features from sparse categorical inputs using a semantic feature engine (SFE).
  • To demonstrate that the proposed method achieves accuracy on par with deep learning baselines while offering superior interpretability and stability.

Proposed method

  • Use deep lattice networks (DLNs) as the function class for the transforms φ and ρ in the deep sets framework, enabling structured, interpretable modeling.
  • Implement 1D piecewise linear calibrator functions for each input feature, stored as lookup tables, to enable visual interpretation of feature transformations.
  • Enforce monotonicity constraints on input-output relationships using DLN's built-in regularization, ensuring that increases in input features do not decrease the output.
  • Simplify the aggregation by setting K=1 in the deep lattice network, reducing the model to a per-token score averaged across the set, which improves debuggability.
  • Construct a semantic feature engine (SFE) that converts sparse categorical features (e.g., ingredients, adjectives) into dense, interpretable set-based representations.
  • Train the model end-to-end using discriminative learning, with constraints and visualizations that support domain expert validation and model auditing.

Experimental results

Research questions

  • RQ1Can we design a set function model that maintains high accuracy while significantly improving interpretability compared to standard deep learning models?
  • RQ2How effective are monotonicity constraints in improving model trustworthiness and debuggability in nonlinear set aggregation tasks?
  • RQ3To what extent does simplifying the aggregation layer (K=1) reduce model complexity without sacrificing predictive performance?
  • RQ4Can a semantic feature engine (SFE) effectively convert sparse categorical features into dense, interpretable representations that preserve predictive accuracy?
  • RQ5How does the proposed DLN-based set function compare in performance and interpretability to deep sets and DNNs on real-world datasets with variable-length sets?

Key findings

  • The DLN aggregation function with K>1 (specifically K=4) achieved the best precision@1 and precision@3 scores on the recipes dataset, outperforming DNNs and Deep Sets.
  • On the wine quality prediction task, the DLN agg function with K=1 achieved lower mean squared error (7.19 on test set) than both DNNs and Deep Sets, demonstrating superior generalization.
  • The K=1 variant of the DLN agg function matched the performance of the more complex Deep Sets model, showing that simplification does not degrade accuracy.
  • Calibrator curves learned by the model revealed meaningful, interpretable patterns—e.g., treating 2-star and 1-star reviews similarly, and identifying a critical threshold at 25–50 words for review length.
  • Monotonicity constraints ensured that increases in input features (e.g., star ratings) never decreased the predicted output, providing consistent, predictable behavior across all test cases.
  • The semantic feature engine (SFE) successfully transformed sparse categorical features into dense, interpretable representations that enabled high accuracy while remaining debuggable and stable across retraining.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.