Attribution Projection Calculus: A Novel Framework for Causal Inference in Bayesian Networks
M Ruhul Amin
TL;DR
AP-Calculus introduces a structured Bayesian network with a source, intermediate deconfounding nodes, and a destination to achieve label-specific causal attribution. It formalizes deconfounder and confounder roles, defines separation functions, and proves architectural optimality for causal inference relative to alternatives including Pearl's do-calculus, while providing extensions for attribution, fairness, information gain, and uncertainty analysis. The framework includes rigorous theoretical guarantees, dimensional sufficiency for intermediate representations, and practical extensions to large language models and real-world tasks. Its combination of principled causal reasoning, scalable attribution, and applicability to high-dimensional models offers a robust path toward interpretable, fair, and reliable AI systems.
Abstract
This paper introduces Attribution Projection Calculus (AP-Calculus), a novel mathematical framework for determining causal relationships in structured Bayesian networks. We investigate a specific network architecture with source nodes connected to destination nodes through intermediate nodes, where each input maps to a single label with maximum marginal probability. We prove that for each label, exactly one intermediate node acts as a deconfounder while others serve as confounders, enabling optimal attribution of features to their corresponding labels. The framework formalizes the dual nature of intermediate nodes as both confounders and deconfounders depending on the context, and establishes separation functions that maximize distinctions between intermediate representations. We demonstrate that the proposed network architecture is optimal for causal inference compared to alternative structures, including those based on Pearl's causal framework. AP-Calculus provides a comprehensive mathematical foundation for analyzing feature-label attributions, managing spurious correlations, quantifying information gain, ensuring fairness, and evaluating uncertainty in prediction models, including large language models. Theoretical verification shows that AP-Calculus not only extends but can also subsume traditional do-calculus for many practical applications, offering a more direct approach to causal inference in supervised learning contexts.
