Abstract
Causal inference in longitudinal biomedical data remains a central challenge,especially in psychiatry, where symptom heterogeneity and latent confoundingfrequently undermine classical estimators. Most existing methods for treatmenteffect estimation presuppose a fixed outcome variable and address confoundingthrough observed covariate adjustment. However, the assumption ofunconfoundedness may not hold for a fixed outcome in practice. To address thisfoundational limitation, we directly optimize the outcome definition tomaximize causal identifiability. Our DEBIAS (Durable Effects withBackdoor-Invariant Aggregated Symptoms) algorithm learns non-negative,clinically interpretable weights for outcome aggregation, maximizing durabletreatment effects and empirically minimizing both observed and latentconfounding by leveraging the time-limited direct effects of prior treatmentsin psychiatric longitudinal data. The algorithm also furnishes an empiricallyverifiable test for outcome unconfoundedness. DEBIAS consistently outperformsstate-of-the-art methods in recovering causal effects for clinicallyinterpretable composite outcomes across comprehensive experiments in depressionand schizophrenia.