When Can Clicks Be Debiased? Position Bias as Low-Rank Completion Under Ranker-Shaped Masks

Search engines learn from clicks, but people click whatever sits near the top of the page. Methods that try to undo this "position bias" have a sobering track record. On 1.2 billion real Baidu search sessions, they improve click prediction yet fail to beat naive models, and sometimes untuned BM25, on expert relevance labels (Unbiased Learning to Rank Meets Reality). They also fail whenever the system that produced the logs was already good (Investigating the Robustness of Counterfactual Learning to Rank Models). We argue these failures share one cause, and that matrix-completion theory names it. Build a table whose rows are query-document pairs, whose columns are display slots, and whose entries are click rates. Under the standard click model this table is low-rank. The logging ranker decides which entries are ever observed. If each document is almost always shown in the same slot, the observed entries form a nearly disconnected graph, and no method can tell "relevant" apart from "shown on top."

The proposal has three parts. First, it turns this observation into a quantity computed from logs alone: the spectral gap of the bipartite graph linking documents to the slots where they appeared. Second, it proves that this gap controls how many sessions any click-based debiasing method needs. Third, it tests whether the gap predicts, ahead of time, where existing debiasing methods help and where they cannot. The same analysis explains a predictable failure of the obvious geometric fix, which is erasing "position" from a ranker's embeddings: under a strong logging ranker, the position direction and the relevance direction nearly coincide.

Core Claim

The Position-Based Model (PBM) says a click happens when the user both examines a slot and finds the document relevant. Let $C_{ij}$ be the click probability of query-document pair $i$ shown in slot $j$, where a slot is a position combined with a presentation context such as device or result-height bin. We allow $U$ user types, each with relevance perception $r_u(i)$, examination curve $e_u(j)$ and population share $\pi_u$. Then

$$C_{ij} = \sum_{u=1}^{U} \pi_u \, r_u(i)\, e_u(j),$$

so $C$ has rank at most $U$. Plain PBM is the special case $U=1$.

The observation mask is the set of (pair, slot) entries that appear in the log. It is neither uniform nor independent of $C$, because the ranker places likely-relevant documents on top. Classical recovery guarantees therefore do not apply. That includes nuclear-norm minimization, which recovers low-rank matrices by minimizing the sum of singular values (Exact Matrix Completion via Convex Optimization; Estimation of (near) low-rank matrices with noise and high-dimensional scaling). The setting fits instead with the line of work showing that deterministic masks with a spectral gap still allow recovery (Bhojanapalli et al.).

The specific claim is this. Let $\gamma$ be the gap between the first and second singular values of the degree-normalized document-slot mask. When $\gamma$ is near zero, every documented debiasing method collapses to the naive click model. These methods are inverse propensity scoring, the dual learning algorithm, two-tower models and EM-based estimators. When $\gamma$ is large, a weighted nuclear-norm estimator recovers both relevance and examination, and the existing methods can work too. The extreme case is easy to see. If each document appears in exactly one slot, the graph splits into one star per slot. The ratio of examination between slots is then unidentifiable, and $\gamma=0$.

This differs from all prior work in the file. Classical completion theory does not consider masks shaped by a ranker. Unbiased learning to rank never asks whether its target is identifiable from a given log. Concept erasure has never been analyzed for position.

Research Program

Theory. We will bound the recovery error of relevance factors in terms of four quantities: $\gamma$, the number of sessions per query, the rank $U$, and the incoherence of $r_u$. The aim is a bound of the expander form in Bhojanapalli et al., adapted to a bipartite mask whose structure is induced by ranking. We will specialize the bound to logging policies with a temperature parameter, so that $\gamma$ becomes an explicit function of how stochastic the ranker is.

The theory also has to settle a tension the file identifies. Spectral methods trim or down-weight over-observed rows (Matrix Completion from a Few Entries; the weighted trace norm of Barber et al.). Inverse propensity scoring does the opposite and up-weights rare deep-rank clicks (Unbiased Learning-to-Rank with Biased Feedback). In our setting both are reweightings of the same mask. We will derive which choice gives lower error as a function of $\gamma$.

Estimator. Let $\Omega$ be the set of observed entries, $\ell$ the logistic click loss, $c_{ij}$ the observed click count, $n_{ij}$ the impression count, $D_r$ and $D_c$ diagonal matrices of square-rooted row and column observation frequencies, and $\lambda$ the regularization strength. We solve

$$\hat X = \arg\min_X \sum_{(i,j)\in\Omega} n_{ij}\,\ell\!\left(X_{ij}, \tfrac{c_{ij}}{n_{ij}}\right) + \lambda \,\| D_r X D_c \|_* .$$

This reuses the weighted trace norm of Barber et al. The boundedness trick of Collaborative Filtering with the Trace Norm applies directly, because click rates lie in $[0,1]$. To scale, we use singular value thresholding blockwise per query and treat slots as shared columns. Recovered relevance then serves as a training target for a feature-based ranker.

Erasure analysis. Orthogonal subspace projection removes a learned "concept direction" from embeddings by projecting onto its orthogonal complement. It plays two roles here: it is the natural competitor, and it is a quantity we predict. Methods such as Null It Out and Linear Adversarial Concept Erasure remove whatever linearly predicts the protected attribute. Under a strong logging ranker, position is linearly predictable from relevance. Erasing position should therefore delete relevance in proportion to the overlap between the two directions, measured as the principal angle between them. That angle is computable once relevance is recovered on high-$\gamma$ data.

Fundamental Limits of Perfect Concept Erasure gives the general version: utility after erasure is capped by $H(X\mid A)$, the information about the input that remains once the attribute is known. A ranker-coupled log makes $H(\text{relevance}\mid\text{position})$ small, so the cap is low. We expect this to be a clean negative result that constrains future embedding-level debiasing.

Baselines

The naive reference is a listwise softmax cross-entropy ranker trained directly on clicks, as in TF-Ranking. Brouwer et al. report that this naive model is often the strongest method on expert labels, so it is the bar every method must clear.

The strongest existing method is the dual learning algorithm (DLA) of Unbiased Learning to Rank with Unbiased Propensity Estimation, which jointly learns a ranker and a propensity model from raw clicks. On Baidu-ULTR, A Large Scale Search Dataset for Unbiased Learning to Rank reports DLA at DCG@10 of 9.147 on high-frequency queries, falling to 3.920 on tail queries. For the semi-synthetic Yahoo and MSLR settings of Niu et al., we found no reported numeric result on Lacuna, so we will rerun every method under that paper's protocol.

The other competitors are as follows:

  • Inverse propensity scoring with propensities fit by randomized swaps, following Joachims et al.
  • The two-tower model, with a separate position tower that is discarded at inference.
  • RegressionEM, an expectation-maximization method that alternates between estimating relevance and examination.
  • Position erasure on the ranker's penultimate embeddings, using both iterative nullspace projection and its rank-1 minimax variant R-LACE.

All methods share the same feature extractor, the same click logs, the same validation split of expert labels and the same hyperparameter search budget. Methods with propensity models use the same position and presentation features.

Two ablations isolate our ingredients. The first uses an unweighted nuclear norm, which tests whether the trimming direction matters. The second forces rank one, which tests whether heterogeneous examination matters.

"Beating" has two separate meanings. For the estimator, it means higher expert DCG@10 than both naive and DLA within the high-$\gamma$ bucket. For the diagnostic, which is the central claim, it means that $\gamma$ ranks conditions by their debiasing gain better than the obvious alternatives: sessions per query, or the entropy of the logging policy.

Why not just…?

Why not just use the two-tower model, which already separates position from relevance? In the identifiable regime, two-tower is functionally a rank-one factorization. It may match our estimator there, and that is a real threat to the estimator half of this work. It does not threaten the diagnostic. Two-tower has no way to report that its factorization is unidentified, and Brouwer et al. show it improving click likelihood without improving relevance, which is the signature of a mask with $\gamma \approx 0$. The experiments test both claims: whether two-tower's gain over naive tracks $\gamma$, and whether our estimator adds anything beyond it at high $\gamma$.

Why not just fit propensities by EM or intervention-style counting on documents seen in multiple positions? For $U=1$ this is essentially our estimator without the nuclear norm. We expect it to tie on pure PBM simulations, and we will report that honestly. Our method's distinct predictions are two. It should win under heterogeneous examination ($U>1$, simulated with two user types). It should degrade more gracefully at low session counts, where a weighted trace norm pools information across queries. If neither prediction holds, the estimator reduces to RegressionEM, and the contribution narrows to the diagnostic and the theory.

Why not just erase position from the embeddings with R-LACE? This is the obvious idea at the intersection. R-LACE removes linear predictability using a single rank-1 projection, but it cannot tell which part of "predicts position" is presentation and which is genuine relevance. We predict that its loss in relevance tracks the principal angle between the two subspaces. Lipstick on a Pig further suggests that whatever position signal survives will be recoverable by the non-linear ranking head. We will measure both effects with a post-erasure non-linear probe.

Proposed Experiments

Semi-synthetic sweep. On Yahoo! LETOR and MSLR-WEB10K, we simulate PBM clicks following Niu et al. The sweep varies four factors:

  • Logging-ranker strength, up to a ranker trained on 20% of labels.
  • Sessions per query, from 5 to 100.
  • Logging temperature.
  • Number of user types $U$, either 1 or 2.

For every condition we compute $\gamma$ and the normalized increase over the naive model for each method. The decisive check is the rank correlation between $\gamma$ and debiasing gain, pooled across methods, compared against the correlations obtained using sessions per query and policy entropy. A second check is whether the gain from erasure-induced relevance loss is predicted by the principal angle.

Real logs. On Baidu-ULTR, after removing the roughly 20% placeholder documents as Brouwer et al. did, we compute $\gamma$ per query from the slots each document occupied across sessions. We then split the expert-annotated queries into $\gamma$ terciles and evaluate expert DCG@10 for each method within each tercile.

The prediction is falsifiable. If the debiasing gains of DLA, two-tower and our estimator are spread evenly across terciles, the identifiability account is wrong. The account is supported if the gains concentrate in the top tercile while all methods tie the naive model in the bottom tercile. That pattern would also explain DLA's drop from 9.147 to 3.920 on tail queries, provided tail queries prove to have low $\gamma$. We will check that directly.