The xyz algorithm for fast interaction search in high-dimensional data

Gian-Andrea Thanei, Nicolai Meinshausen, Rajen D. Shah
10/17/2016
24 citations
stat.MLstat.CO

Official code: gathanei/xyz (16 stars, C++, last commit 2017-07-28).

Abstract

When performing regression on a dataset with $p$ variables, it is often of interest to go beyond using main linear effects and include interactions as products between individual variables. For small-scale problems, these interactions can be computed explicitly but this leads to a computational complexity of at least $\mathcal{O}(p^2)$ if done naively.

Show full abstract

This cost can be prohibitive if $p$ is very large. We introduce a new randomised algorithm that is able to discover interactions with high probability and under mild conditions has a runtime that is subquadratic in $p$. We show that strong interactions can be discovered in almost linear time, whilst finding weaker interactions requires $\mathcal{O}(p^α)$ operations for $1 < α< 2$ depending on their strength. The underlying idea is to transform interaction search into a closestpair problem which can be solved efficiently in subquadratic time. The algorithm is called $\mathit{xyz}$ and is implemented in the language R. We demonstrate its efficiency for application to genome-wide association studies, where more than $10^{11}$ interactions can be screened in under $280$ seconds with a single-core $1.2$ GHz CPU.

View on arXivView PDF

Code Implementations(1)

gathanei/xyzOfficial100%

The xyz algorithm for fast interaction search in high-dimensional data.

164C++, ROct 19, 20169 years ago

Similar Papers

Cite this paper

@article{thanei2016algorithm,
  title  = {The xyz algorithm for fast interaction search in high-dimensional data},
  author = {Gian-Andrea Thanei and Nicolai Meinshausen and Rajen D. Shah},
  year   = {2016},
  eprint = {1610.05108},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1610.05108}
}

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/1610.05108.svg)](https://codeofpaper.com/paper/1610.05108)

Discussion