Entity Aware Modelling: A Survey

Rahul Ghosh, Haoyu Yang, Ankush Khandelwal, Erhu He, Arvind Renganathan, Somya Sharma, Xiaowei Jia, Vipin KumararXiv 2023

TL;DR

This survey formalizes Entity-Aware Modeling (EAM), a paradigm for building personalized prediction models that account for the unique, often hidden characteristics of individual subjects (entities). By organizing diverse machine learning threads—from meta-learning to causal inference—the authors provide a roadmap for creating robust models that generalize across heterogeneous populations even when data is scarce.

What Problem Does This Paper Address?

Standard machine learning often relies on "population-level" models, which assume that a single set of parameters can map inputs (drivers) to outputs (responses) for everyone. However, in fields like healthcare, hydrology, or e-commerce, this assumption fails due to heterogeneity.

For example, two different river basins might receive the same amount of rainfall (the driver) but produce vastly different streamflow (the response) because one has sandy soil and the other has clay. A population-level model averages these differences, leading to sub-optimal predictions for both. The challenge is that these "entity characteristics"—like soil type or a patient's genetic predisposition—are often unmeasured, noisy, or completely unknown. EAM seeks to bridge this gap by explicitly or implicitly incorporating these traits into the modeling process.

Methods

The authors categorize EAM methods based on two factors: the availability of entity characteristics ($z$) and the nature of the training data.

Figure 1: Forward model (pθ) which uses external drivers (xt) and entity characteristics (z) to predict response (yt)
  1. Known $z$: When traits are measured, models use techniques like FiLM (Feature-wise Linear Modulation) or attention mechanisms to "condition" the global model on these specific features.
  2. Unknown $z$ (In-sample): When traits are hidden but we have plenty of data for each entity, Multi-Task Learning (MTL) is standard, where entities share a backbone network but have unique task-specific heads.
  3. Unknown $z$ (Few-shot): When we only have a few observations for a new entity, the paper highlights Meta-Learning (like MAML), which learns a global initialization that can quickly adapt, and Neural Processes (NPs), which use an encoder-aggregator-decoder structure to infer a latent representation of the entity on the fly.
  4. Unknown $z$ (Zero-shot): The most difficult scenario. Here, the paper discusses Disentangled Representation Learning (separating static traits from dynamic states) and Causal Representation Learning, which attempts to find invariant relationships that hold true even when the environment changes.
Figure 2: Problem Setting

Datasets

As a survey paper, the authors do not introduce a new benchmark. Instead, they review applications across several domains:

  • Hydrology: Modeling streamflow across diverse river basins (e.g., using the CAMELS dataset).
  • Healthcare: Predicting disease progression and clinical risks (e.g., diabetes management, rare disease modeling).
  • E-commerce: Personalized recommendation systems based on user behavior.
  • Environmental Science: Forecasting air pollution and water quality across different geographic sites.

Key Insights and Ideas

  • The Global-Local Tradeoff: Training individual models for every entity leads to overfitting due to data scarcity, while a single global model fails due to heterogeneity. EAM is the "Goldilocks" zone that shares knowledge across entities while respecting their differences.
  • Identifiability and Equifinality: A major "aha" moment in the paper is the warning that just because a model predicts well doesn't mean it has correctly identified the true underlying entity characteristics. Different latent variables can produce the same output (equifinality), which is a hurdle for scientific discovery.
  • Beyond Accuracy: The authors argue that EAM isn't just about lower RMSE. It’s a prerequisite for Fairness (ensuring models don't perform worse on minority groups) and Uncertainty Quantification (knowing when the model is guessing because it hasn't "seen" an entity like this before).

Key Results

While the paper is qualitative, it summarizes findings from the literature:

  • Meta-learning vs. Individual Models: In healthcare and environmental tasks, meta-learning approaches consistently outperform both global pooled models and individual models trained on sparse data.
  • Latent Inference: Neural Processes have shown significant promise in neuroscience and robotics for their ability to quickly infer entity "context" without explicit retraining.
  • Causal Robustness: Causal representation methods are shown to be more resilient to "distributional shifts"—situations where the test entities are fundamentally different from the training entities.

Limitations and Future Work

  • Quantifying Diversity: Current methods struggle to define exactly how much diversity is needed in a training set to make a meta-learner effective.
  • Complex Hierarchies: Most EAM assumes entities are independent. In reality, entities often exist in hierarchies (e.g., patients within hospitals within countries). Future work needs to incorporate this nested structure.
  • Identifiability in Nonlinear Systems: Recovering true causal factors in complex, nonlinear physical systems remains an open mathematical challenge.
  • Fairness Fragility: Fairness metrics in EAM are often sensitive to how entities are grouped, suggesting a need for more robust, statistically grounded fairness frameworks.

Summary updated

Abstract

Personalized prediction of responses for individual entities caused by external drivers is vital across many disciplines. Recent machine learning (ML) advances have led to new state-of-the-art response prediction models. Models built at a population level often lead to sub-optimal performance in many personalized prediction settings due to heterogeneity in data across entities (tasks). In personalized prediction, the goal is to incorporate inherent characteristics of different entities to improve prediction performance. In this survey, we focus on the recent developments in the ML community for such entity-aware modeling approaches. ML algorithms often modulate the network using these entity characteristics when they are readily available. However, these entity characteristics are not readily available in many real-world scenarios, and different ML methods have been proposed to infer these characteristics from the data. In this survey, we have organized the current literature on entity-aware modeling based on the availability of these characteristics as well as the amount of training data. We highlight how recent innovations in other disciplines, such as uncertainty quantification, fairness, and knowledge-guided machine learning, can improve entity-aware modeling.
BibTeX
@misc{ghosh2023entity,
  author = {Rahul Ghosh and Haoyu Yang and Ankush Khandelwal and Erhu He and Arvind Renganathan and Somya Sharma and Xiaowei Jia and Vipin Kumar},
  title = {{Entity Aware Modelling: A Survey}},
  year = {2023},
  eprint = {2302.08406},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.08406},
}
Figure