Skip to content

Valid Inference with AI-Generated Covariates in Clustered Business Panels: Informative Validation, Temporal Contamination and Stabilization

Yousef Nejatbakhsh, Malihe Aliasgari, Sina Shokoohyar, Reza Kia, Mahshid Fahanzadesaadi

cs.LG

Abstract

Language models turn corporate filings, earnings-call transcripts and news into covariates for firm-level regressions, but predictive accuracy does not justify inference. We study when estimators that correct an AI-generated covariate with human labels remain valid in short firm panels where whole firms are validated with probabilities that depend on firm characteristics, machine error is non-classical, and historical measurements may encode later information. A prospectively frozen simulation study compares sixteen implementations across 149 configurations (567,000 panel replications). Under informative validation, a uniformly weighted rectifier targets the labeled firms' mixture of strata: an unweighted cross-fitted rectifier's bias (+0.0970) matches the +0.0965 predicted by a selection-bias identity and persists as the panel grows. Inverse-probability weighting of the rectifier removes it; weighting only the calibration fit does not. The resulting design-aware cross-fitted rectifiers are asymptotically linear with a consistent cluster sandwich and have 0.82-0.87 times the RMSE of design-weighted labeled-only analysis. In post-hoc analyses, predict-then-debias and a design-weighted, tuned PPI++ matched that efficiency, selection bias persisted with strata observable before annotation, and t critical values improved coverage under sparse validation, although at the sparsest design cross-fitted intervals were often unavailable. Temporal contamination is a separate failure: unit demeaning makes it endogenous even without serial dependence, and regression calibration loses coverage (0.943 to 0.001 with serial dependence) while label-anchored rectifiers with design-unbiased weights remain centered. A proposed 1/T decay law is refuted, including for the leakage-specific displacement. Five requirements for applied work follow.

Create a lesson

Metadata

Categories
cs.LG, q-fin.ST
Comments
57 pages (20-page manuscript and 37-page supplementary material), 12 figures. Simulation code and results available at https://github.com/malihealiasgari20/AI-Generated-Covariates-Clustered-Panels