Embedding-Bias in Conditional Independence Testing
Abstract
To test conditional independence of and given a text or an image , one conditions on an embedding in place of . The embedded test is valid if is independent of or of given , which cannot be confirmed from data, and when this fails, the rejection probability under the null hypothesis can tend to one. We study this failure, and show that focusing on a specific form of dependence relaxes what the embedding must retain. For a residual correlation test inspired by the Generalised Covariance Measure, validity only requires that the parts of and missed by and are uncorrelated. Otherwise, we treat the discarded information as an omitted variable. Under the null hypothesis, the bias equals the absolute correlation of the missed parts times the geometric mean of two partial values. This identity yields a robust test valid under a declared tolerance for the geometric mean, which, like a sensitivity parameter, is not identified from the data. On synthetic data and text embeddings, the robust test holds its level approximately. On text generated by a language model, under an exact null hypothesis, every embedding, even the generator's own states, biases the embedded test.
Create a lesson
Related papers
Bet Imaginatively, not Historically in Independent-Data Sequential Testing
Shared title terminology · Nathaniel Xu, Feng Liu, Danica J. Sutherland
Rare-Tail Statistics For Learning Biased Gaussian Halfspaces with Label Noise
Shared title terminology · Arya Mazumdar, Prateeti Mukherjee, Harsh Vardhan
NOTREKS: Marginal Independence in Score-based Structure Learning
Shared title terminology · Fabian Bleile, Sarah Lumpp, Mathias Drton
Modeling Document and Section Hierarchies in Embedding Space
Shared title terminology · Kriste Krstovski, Sharyn O'Halloran, Kshitij Chandna
Conditional Asset Pricing Transformer
Shared title terminology · Hao Fu, Xinbing Kong, Zeyu Li et al.
Stochastic Kernel Mode Decomposition: Information, Uncertainty, and Conditional Regime Inference
Shared title terminology · Boumediene Hamzi, Houman Owhadi