genriesz:基于广义Riesz回归的自动去偏机器学习Python包 genriesz: A Python Package for Automatic Debiased Machine Learning with Generalized Riesz Regression 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-02-19
⬇️ 4 次下载
👁️ 预览文献
💡 AI 中文简介
该研究开发了开源Python包genriesz,利用Riesz表示定理和去偏机器学习,自动估计因果与结构参数。它提出广义Riesz回归框架,通过最小化Bregman散度统一了协变量平衡、最近邻匹配等多种方法,并实现自动回归器平衡。包内提供模块化接口,支持自定义目标泛函、表示模型和Bregman生成器,输出多种估计量及置信区间。适用于平均处理效应等因果推断任务。
领域因果推断 / 机器学习
适合谁读需要一定专业背景(因果推断、机器学习基础)
核心贡献提出广义Riesz回归统一框架,将协变量平衡、最近邻匹配等纳入其中;实现自动回归器平衡(ARB),自动构造链接函数以满足平衡最优性条件。
关键数据暂无显著硬数据
推荐理由如果你做因果推断又不想手推公式,这个包能自动帮你搞定去偏估计,省时省力!
关键词["去偏机器学习", "Riesz回归", "因果推断", "Python包", "Bregman散度", "自动回归器平衡"]

原文摘要

查看英文原文摘要

Efficient estimation of causal and structural parameters can be automated using the Riesz representation theorem and debiased machine learning (DML). We present genriesz, an open-source Python package that implements automatic DML and generalized Riesz regression, a unified framework for estimating Riesz representers by minimizing empirical Bregman divergences. This framework includes covariate balancing, nearest-neighbor matching, calibrated estimation, and density ratio estimation as special cases. A key design principle of the package is automatic regressor balancing (ARB): given a Bregman generator $g$ and a representer model class, genriesz} automatically constructs a compatible link function so that the generalized Riesz regression estimator satisfies balancing (moment-matching) optimality conditions in a user-chosen basis. The package provides a modulr interface for specifying (i) the target linear functional via a black-box evaluation oracle, (ii) the representer model via basis functions (polynomial, RKHS approximations, random forest leaf encodings, neural embeddings, and a nearest-neighbor catchment basis), and (iii) the Bregman generator, with optional user-supplied derivatives. It returns regression adjustment (RA), Riesz weighting (RW), augmented Riesz weighting (ARW), and TMLE-style estimators with cross-fitting, confidence intervals, and $p$-values. We highlight representative workflows for estimation problems such as the average treatment effect (ATE), ATE on treated (ATT), and average marginal effect estimation. The Python package is available at https://github.com/MasaKat0/genriesz and on PyPI.