mlsanityData to 7 Oct 2026

Explaining Categorical Feature Interactions Using Graph Covariance and LLMs

arXiv 2501.14932 ↗First posted 24 Jan 2025stat.ML cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Modern datasets often consist of numerous samples with abundant features and associated timestamps. Analyzing such datasets to uncover underlying events typically requires complex statistical methods and substantial domain expertise. A notable example, and the primary data focus of this paper, is the global synthetic dataset from the Counter Trafficking Data Collaborative (CTDC) -- a global hub of human trafficking data containing over 200,000 anonymized records spanning from 2002 to 2022, with numerous categorical features for each record. In this paper, we propose a fast and scalable method for analyzing and extracting significant categorical feature interactions, and querying large language models (LLMs) to generate data-driven insights that explain these interactions. Our approach begins with a binarization step for categorical features using one-hot encoding, followed by the computation of graph covariance at each time. This graph covariance quantifies temporal changes in dependence structures within categorical data and is established as a consistent dependence measure under the Bernoulli distribution. We use this measure to identify significant feature pairs, such as those with the most frequent trends over time or those exhibiting sudden spikes in dependence at specific moments. These extracted feature pairs, along with their timestamps, are subsequently passed to an LLM tasked with generating potential explanations of the underlying events driving these dependence changes. The effectiveness of our method is demonstrated through extensive simulations, and its application to the CTDC dataset reveals meaningful feature pairs and potential data stories underlying the observed feature interactions.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 30 references that are in the map. First posted on arXiv 24 Jan 2025.

Builds on

12 of 30 references.

References · 12

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2021One-Hot Graph Encoder Embeddingcited by 16
  5. 2018A fast algorithm for computing distance correlationcited by 8
  6. 2019The Chi-Square Test of Distance Correlationcited by 8
  7. 2017From Distance Correlation to Multiscale Graph Correlationcited by 6
  8. 2020Design of a Privacy-Preserving Data Platform for Collaboration Against Human Traffickingcited by 4
  9. 2019Universally Consistent K-Sample Tests via Dependence Measurescited by 3
  10. 2019Independence Testing for Temporal Datacited by 2
  11. 2018New HSIC-based tests for independence between two stationary multivariate time seriescited by 1
  12. 2024On the properties of distance covariance for categorical data: Robustness, sure screening, and approximate null distributionscited by 1

Built on by

Not cited yet.