Abstract
Databases in domains such as healthcare are routinely released to the public in aggregated form. Unfortunately, naive modeling with aggregated data may significantly diminish the accuracy of inference. This paper introduces a framework for training Generalized Linear Models (GLMs) when individual-level features are available but target data is only provided in aggregate form (e.g., histograms). By treating individual targets as missing variables and utilizing an alternating optimization approach, the authors demonstrate that individual-level inferences can be recovered with high accuracy.
Introduction
In fields like healthcare and social science, privacy concerns often prevent the release of raw, individual-level data. Instead, agencies release aggregated summaries such as means, medians, or histograms. A significant challenge in using this data is the ecological fallacy: the mistaken assumption that relationships observed at a group level necessarily hold true for individuals. For instance, a high correlation between a country's average fat consumption and breast cancer rates does not imply that fat consumption causes cancer in individuals.
This research addresses a specific "missing data" scenario where researchers possess exact features (covariates) for every individual but only the distribution of outcomes (targets) for the group. The goal is to build accurate predictive models for individuals under these constraints.
Methodology: Alternating Minimization
The proposed framework utilizes an iterative algorithm based on alternating minimization. The problem is framed as finding both the model parameters ($\beta$) and the "true" individual targets ($Z$) that best fit the observed aggregate constraints. The approach consists of three repeating steps:
- Parameter Update: Given the current estimate of individual targets, a standard GLM (e.g., linear or Poisson regression) is solved to update model weights.
- Target Value Update: Estimated target values are adjusted to satisfy histogram or order statistic constraints while remaining close to the model's predictions.
- Permutation Update: The authors prove that for models using Bregman Divergences, the optimal assignment of target values to individuals ensures that targets are isotonic (perfectly sorted) relative to the model's predictions.
Essentially, the model predicts the relative ranking of individuals, and the algorithm "shuffles" the known aggregate values to match those predictions as closely as possible.
Experimental Evaluation
The framework was evaluated on three distinct datasets:
- Simulated Data: Synthetic datasets following Gaussian, Poisson, and Binomial distributions.
- DE-SynPUF Dataset: A Medicare "Synthetic Public Use File" used to model outpatient reimbursement amounts.
- Texas Inpatient Discharge Dataset: Real-world hospital billing records from 2006, used to predict length of stay and total charges.
Key Results and Insights
The researchers found that the model's performance (measured by Square Loss or I-Divergence) rapidly approaches that of a "fully observed" model—one trained on raw, non-aggregated data—as the granularity of the aggregate data increases.
The Power of Sorting and Granularity
A core insight is that matching aggregate data to individuals reduces to a simple sorting task. If the model's predictive ranking is better than random, sorting aggregate values to match these rankings significantly improves accuracy. Furthermore, there are diminishing returns to granularity; accuracy improves sharply when moving from a single mean to a 5-bin or 10-bin histogram, but gains level off quickly thereafter.
Validation via Permutation Testing
The framework shows a deep link to permutation testing. If a standard permutation test suggests a strong relationship exists in the underlying data, the algorithm is highly likely to recover that relationship from the aggregates. Conversely, the "No Relationship" baseline in Figure 2 illustrates how the model behaves when no underlying correlation exists.
Conclusion and Privacy Implications
While this framework is a powerful tool for researchers, it also highlights a "double-edged sword" regarding privacy. The results suggest that simple aggregation (like histograms) might not provide as much privacy as previously thought, as individual values can be imputed with high accuracy. Future work will explore extending this logic to non-linear models, such as neural networks, and more complex binned data structures.
Summary updated