Nearest Neighbor Matching as Least Squares Density Ratio Estimation and Riesz Regression

Masahiro Kato
10/28/2025
econ.EMcs.LGmath.ST

No confident code implementation found for this paper.

Abstract

This study proves that Nearest Neighbor (NN) matching can be interpreted as an instance of Riesz regression for automatic debiased machine learning. Lin et al. (2023) shows that NN matching is an instance of density-ratio estimation with their new density-ratio estimator. Chernozhukov et al. (2024) develops Riesz regression for automatic debiased machine learning, which directly estimates the Riesz representer (or equivalently, the bias-correction term) by minimizing the mean squared error. In this study, we first prove that the density-ratio estimation method proposed in Lin et al. (2023) is essentially equivalent to Least-Squares Importance Fitting (LSIF) proposed in Kanamori et al. (2009) for direct density-ratio estimation. Furthermore, we derive Riesz regression using the LSIF framework. Based on these results, we derive NN matching from Riesz regression. This study is based on our work Kato (2025a) and Kato (2025b).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kato2025nearest,
  title  = {Nearest Neighbor Matching as Least Squares Density Ratio Estimation and Riesz Regression},
  author = {Masahiro Kato},
  year   = {2025},
  eprint = {2510.24433},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.24433v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.24433.svg)](https://codeofpaper.com/paper/2510.24433)

Discussion