Function-Invariant Learning on Decision Trees: A Theory of Probes, Measures, and Forest Representations

Learning on trained models is an active area for neural networks but remains largely unexplored for tree ensembles, the dominant models for tabular data. Many practical tasks take a trained model itself as input: predicting a deployed model's accuracy without evaluation data, comparing two models, or detecting duplicates. A learner that performs such tasks on decision trees and forests should give the same answer when a model is rewritten into an equivalent form, and nearly the same answer when it is exported, pruned or distilled into an approximately equivalent one. We characterize the learners whose output depends only on the function a model computes. Using Boolean actions (\( \mathcal{B} \)-sets) on the algebra generated by threshold tests, we show that every such recursive encoder factors through a Stone space whose points include \( c^{+} \) ("just to the right of \( c \)'') and \( \pm\infty \). Finite-dimensional affine encoders, and continuous encoders on connected manifolds satisfying the theory's identities, read the model at finitely many generalized points and cannot compute integrals against Lebesgue measure. Region-conditioned encoders escape this limit: they are invariant exactly when their leaf map is finitely additive, they integrate the model's function against a measure, and they are Lipschitz-stable. The main theorems are verified in Lean~4, one conditionally on two classical theorems not yet in Mathlib. In a pre-registered study of 4,950 trees and forests on 15 tabular datasets, function-reading encoders were unaffected by distilling forests into single trees, under which structural baselines' errors rose by 47–69%; learned point probes, the finite class identified by the theory, were the most accurate and cheapest invariant encoder, with differences consistent across datasets but small.

Authors

Publication Details

Journal
Preprints.org
Published
2026-12-02
DOI
https://doi.org/10.20944/preprints202612.0276.v1
Primary Topic
Data Mining Algorithms and Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Function-Invariant Learning on Decision Trees: A Theory of Probes, Measures, and Forest Representations

Ernest Fokoué, Detagnon Bernic Gbaguidi
Preprints.org
Data Mining Algorithms and Applications
preprint

Function-Invariant Learning on Decision Trees: A Theory of Probes, Measures, and Forest Representations

Ernest Fokoué, Detagnon Bernic Gbaguidi
preprint en

Abstract

Learning on trained models is an active area for neural networks but remains largely unexplored for tree ensembles, the dominant models for tabular data. Many practical tasks take a trained model itself as input: predicting a deployed model's accuracy without evaluation data, comparing two models, or detecting duplicates. A learner that performs such tasks on decision trees and forests should give the same answer when a model is rewritten into an equivalent form, and nearly the same answer when it is exported, pruned or distilled into an approximately equivalent one. We characterize the learners whose output depends only on the function a model computes. Using Boolean actions (\( \mathcal{B} \)-sets) on the algebra generated by threshold tests, we show that every such recursive encoder factors through a Stone space whose points include \( c^{+} \) ("just to the right of \( c \)'') and \( \pm\infty \). Finite-dimensional affine encoders, and continuous encoders on connected manifolds satisfying the theory's identities, read the model at finitely many generalized points and cannot compute integrals against Lebesgue measure. Region-conditioned encoders escape this limit: they are invariant exactly when their leaf map is finitely additive, they integrate the model's function against a measure, and they are Lipschitz-stable. The main theorems are verified in Lean~4, one conditionally on two classical theorems not yet in Mathlib. In a pre-registered study of 4,950 trees and forests on 15 tabular datasets, function-reading encoders were unaffected by distilling forests into single trees, under which structural baselines' errors rose by 47–69%; learned point probes, the finite class identified by the theory, were the most accurate and cheapest invariant encoder, with differences consistent across datasets but small.

Preprints.org
Data Mining Algorithms and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon