Query-Driven Subgroup Discovery
Finding the diverse subgroups that respond most to an intervention, within a search area defined by a query
Paper (ICDE 2026) Code on GitHub
Description
Overview
An analyst defines a search area with a query (e.g. WHERE age > 40), and the system returns the K subgroups inside it that respond most to a treatment, are diverse, and are each large enough to matter.
A causal effect estimator (e.g. a Causal Forest) is trained once, offline, and yields a tree of candidate subgroups. At query time, the system keeps the subgroups that fall inside the search area and picks the top K with one of four algorithms that balance responsiveness against diversity:
- DiRe: weighted sum of responsiveness and diversity.
- ReCoD: maximizes diversity among the most responsive subgroups.
- DiCoR: maximizes responsiveness with a minimum diversity.
- LoRe: picks the most responsive subgroups from a single tree level.
Key Results
We evaluate on synthetic, semi-synthetic and real-world (Criteo Uplift) datasets:
- Pretrained Causal Forests find more responsive subgroups than Causal Trees, and training once offline avoids retraining for every query.
- DiCoR reaches 94% of the optimal responsiveness found by exhaustive search, at the same diversity.
- LoRe and DiCoR stay fast on datasets of up to 30M rows.
Code
The code and experiments are available on GitHub.