Fortress: A Case Study in Stabilizing Search Recommendations via Temporal Data Augmentation and Feature Pruning

Milind Pandurang Jagre, Jia Huang, Dayvid V. R. Oliveira, Zhinan Cheng, Babak Seyed Aghazadeh, Puja Das, Chris Alvino, Jinda Han, Kailash Thiyagarajan6 Jul 2026

Problem

Search and recommendation models are often stacked in several stages. An early-stage model that scores the same query-item pair differently each day changes which items reach the next stage, so users see unstable results. Engagement features (clicks, searches) predict relevance well but change quickly, so they are a common source of this volatility. Semantic features from LLMs and BERT-style models are steadier but do not cover every query or entity, so dropping engagement features costs accuracy.

Example from the article: a query-to-app relevance model in a large app marketplace, where engagement features raised PR-AUC but made scores for the same query-app pair fluctuate between snapshots.

Solution in brief

Fortress measures score instability on historical snapshots, finds the samples whose scores vary most, and traces that variation back to specific features. It removes those features and retrains, so the model keeps the stable engagement signals and loses the volatile ones. Offline, score variation fell and PR-AUC rose slightly.

Questions this case answers
  • How to make a ranking model's scores for the same entity stable across time when fast-changing behavioral features make them volatile, without losing accuracy
  • How to identify which input features cause score instability in a multi-stage ranking system
  • How to stop a search relevance model from giving the same query-item pair very different scores from one day to the next?
  • How to find which input features make a ranking model's predictions unstable over time?

Tools and methods

  • Temporal snapshots — dated copies of the same entities with features and scores, used to see how scores move.
  • Coefficient of Variation (CV) — standard deviation divided by mean of a score across snapshots, the instability measure.
  • Greedy feature pruning — remove high-CV features, retrain, repeat while validation PR-AUC improves.
  • XGBoost — the relevance classifier in the study.
  • DistilBERT — two-tower semantic-relevance feature trained with triplet loss.
Continue reading — it's free

Google or a one-time email code. No password.