Abstract
We study the problem of testing if a function depends on a small number of linear directions of its input data. We call a function $f$ a linear $k$-junta if it is completely determined by some $k$-dimensional subspace of the input space. In this paper, we study the problem of testing whether a given $n$ variable function $f : \mathbb{R}^n \to \{0,1\}$, is a linear $k$-junta or $\epsilon$-far from all linear $k$-juntas, where the closeness is measured with respect to the Gaussian measure on $\mathbb{R}^n$. Linear $k$-juntas are a common generalization of two fundamental classes from Boolean function analysis: $k$-juntas on the Boolean cube and intersections of $k$ halfspaces. We show that the class of linear $k$-juntas is not testable in general, but adding a surface area constraint makes it testable: we give a $\mathsf{poly}(k \cdot s/\epsilon)$-query non-adaptive tester for linear $k$-juntas with surface area at most $s$. We show that the polynomial dependence on $s$ is necessary. Moreover, for functions passing the test, we provide a $(s \cdot k)^{O(k)}$-query non-adaptive algorithm to learn the function up to a rotation of the basis. This implies that the class of intersections of $k$ halfspaces in $\mathbb{R}^n$ can be tested with query complexity independent of $n$.
1. Introduction
In high-dimensional data analysis, we often encounter functions of thousands or millions of variables. A common structural hypothesis is that these functions are "simple"—specifically, that they depend only on a small number of features or directions. In the context of Boolean functions, such functions are known as $k$-juntas. This paper extends this concept to the continuous domain $\mathbb{R}^n$, investigating linear $k$-juntas: functions $f: \mathbb{R}^n \to \{0, 1\}$ that are determined by a $k$-dimensional subspace of the input space.
Testing for this property is critical for dimensionality reduction and feature selection. However, the transition from the discrete Boolean cube to the continuous Gaussian space introduces significant geometric challenges. The authors explore whether it is possible to test if a function is a linear $k$-junta with a number of queries that does not grow with the ambient dimension $n$.
2. Problem Formulation
Let $f: \mathbb{R}^n \to \{0, 1\}$ be a measurable function. We say $f$ is a linear $k$-junta if there exists a $k$-dimensional subspace $V \subseteq \mathbb{R}^n$ and a function $g: V \to \{0, 1\}$ such that $f(x) = g(\text{proj}_V(x))$ for almost all $x$.
The goal of a property tester is to distinguish, with high probability, between two cases:
- $f$ is a linear $k$-junta (potentially with additional constraints).
- $f$ is $\epsilon$-far from every linear $k$-junta, meaning $\mathbb{E}_{x \sim \gamma_n}[|f(x) - h(x)|] > \epsilon$ for all linear $k$-juntas $h$.
3. The Necessity of Surface Area Constraints
A primary contribution of this work is the realization that linear $k$-juntas are not testable in $\mathbb{R}^n$ without further assumptions. Because functions in continuous space can be arbitrarily "jagged" or oscillate rapidly, they can appear to be high-dimensional noise to any finite set of queries.
To overcome this, the authors introduce Gaussian surface area ($s$) as a regularizer. By restricting the class to functions where the boundary between the 0 and 1 regions is not excessively complex, the problem becomes tractable. This constraint is naturally satisfied by many important geometric classes; for example, the intersection of $k$ halfspaces has a Gaussian surface area bounded by $O(k)$.
4. Methodology
The proposed testing framework utilizes several sophisticated tools from functional analysis:
- The Ornstein-Uhlenbeck Operator ($P_t$): The algorithm applies a small amount of Gaussian noise to smooth the function. This smoothing allows the tester to analyze the function's "linear part" via its first-order Hermite coefficients.
- Gram Matrix Analysis: The tester samples random directions and computes the gradients of the noise-smoothed function. By constructing a Gram matrix of these gradients and checking its rank, the algorithm can determine if the function's variation is confined to a $k$-dimensional subspace.
- Non-Adaptive Querying: The algorithm is non-adaptive, meaning all query points are determined before any responses are received. This makes the tester highly efficient for parallel implementation.
5. Key Results
5.1 Query Complexity
The authors provide a non-adaptive tester for linear $k$-juntas with surface area at most $s$ using $\mathsf{poly}(k \cdot s / \epsilon)$ queries. The most significant aspect of this result is dimension independence: the number of queries required does not depend on the ambient dimension $n$. This allows the algorithm to scale to extremely high-dimensional datasets.
5.2 Lower Bounds
The paper proves that the dependence on surface area is not just a technical artifact but a fundamental requirement. Any non-adaptive tester for this class requires at least $s^{1/10}$ queries, confirming that polynomial dependence on $s$ is necessary.
5.3 Learning the Subspace
Beyond testing, the authors show that if a function is a linear $k$-junta with bounded surface area, it is possible to learn the underlying subspace. While the testing complexity is polynomial, the learning complexity is $(s \cdot k)^{O(k)}$, identifying the subspace up to an unknown rotation of the basis.
6. Conclusion and Future Work
This research establishes that while general linear juntas are untestable in high dimensions, the addition of a surface area constraint enables efficient, dimension-independent testing. This has immediate implications for geometric concept classes like intersections of halfspaces.
Future research directions include reducing the exponential dependence on $k$ in the learning algorithm and extending these results beyond Gaussian measures to other distributions, such as the uniform distribution on the hypercube or the sphere.
Summary updated