Data Science in the Wild · Peter Liu
Do recommenders use your latest search? Huawei's FocalSwap audit of 66,139 rows finds the credit flips with the control: masking credits search, matched swaps don't. Key takeaways: The control decides the credit. On the same 66,139 rows across three UniSAR checkpoints, swapping all search inputs for a neutral ID gives a positive contribution (+2.0 to +5.4 ×10⁻³ reciprocal rank). Category/profile-matched real searches give −1.18 to −0.35 ×10⁻³, below zero for one checkpoint. The paired gap (+2.8 to +6.6 ×10⁻³) is above zero every time and holds across five alternative donor assignments. Latest-search credit isn't established. Changing only the latest search slot gives +0.138 ×10⁻³ for SESRec and −0.213 to +0.089 ×10⁻³ for UniSAR. Every interval crosses zero, under matched donors too. That's “not established”, not proof of zero. Moving ranks isn't the same as helping. Neutral masks change 59.7–61.7% of target ranks and matched swaps 44.1–44.8%, but only masking yields a positive mean. The audit does catch real signals. On GenSAR's current-query task (8,958 rows), masking the query cuts RR by 0.035 and a matched donor query by 0.106. With Qilin's text, BM25 shows a focal-query edge (+0.084 over placebo) only on a 6.1% high-overlap subset. Our take. Pair masks with matched replacements before crediting search. The paper doesn't say whether masks look better because donors keep useful coarse info or because a neutral ID disrupts the model; results cover only the audited checkpoints. Chapters: 00:00 Cold open: did your search drive that pick? 00:53 Welcome: which search input earns the lift? 02:28 Why attribution matters for platforms 03:31 Headline: the control changes the answer 04:25 FocalSwap: fixed rows, two scopes, two controls 07:41 Reciprocal rank, KuaiSAR, Qilin, checkpoints 09:35 Calibration: planted signal and GenSAR 10:19 All-source results on UniSAR 12:57 Latest-slot results and Qilin text evidence 14:28 Why masking can mislead; related work 17:26 Our take, caveats and recap Sources: Do Search-Augmented Recommenders Use the Latest Search Episode? (Jiandong Ding (Huawei); arXiv, Nov 4, 2026; WSDM '27) FocalSwap code (GitHub) Enjoyed it? Follow Data Science in the Wild (one real production ML/AI system or paper per episode, hosted by Peter Liu) and rate it on Apple Podcasts or Spotify. Also from Peter: The GenAI Evolution Atlas, Wednesday AI deep dives and Friday news roundups. Made with AI-generated voices; curated by Peter Liu from the sources above.
0:00This is Data Science in the Wild, deep dives
0:03into how teams like Netflix, Airbnb, and MetaBuild
0:07machine learning and AI in production. Hosted
0:10by Peter Liu, produced with AI Voices. Have you
0:14ever, like, searched for a new pair of running
0:16shoes on a retail site, and then suddenly the
0:19exact pair you want is just sitting right there
0:21on the front page? Oh, yeah. It happens all the
0:23time. And I mean, it's a very natural assumption
0:25to make, right? You probably think the algorithm
0:27reacted instantly to your search. Yeah, exactly.
0:30Like it read your immediate input and just pivoted
0:33the results right then and there. But what if
0:36it didn't? What if that real -time control you
0:38think you have is actually an illusion? We really