Ranking with Long-Term Constraints

Kianté Brantley, Zhichong Fang, Sarah Dean, Thorsten Joachims

TL;DR

This paper introduces a control-theory framework to bridge the gap between short-term user engagement (clicks/purchases) and long-term platform goals (fairness, diversity, and sustainability). By treating ranking as a "macro/micro" control problem, the authors develop algorithms that satisfy long-term exposure targets while minimizing the "utility hit" to immediate user satisfaction.

What Problem Does This Paper Address?

Most search and recommendation engines are "myopic"—they are trained to maximize immediate metrics like Click-Through Rate (CTR). While this keeps users happy in the moment, it can lead to long-term platform decay: "rich-get-richer" dynamics for popular creators, the spread of misinformation, or a lack of demographic fairness.

The challenge is a mismatch in time scales. A platform operator might want to ensure that 30% of products sold this month are from local businesses (a macro goal), but the algorithm makes decisions every millisecond (a micro action). Standard reinforcement learning (RL) struggles here because these environments are massive, and end-to-end RL often suffers from "reward hacking" or poor reproducibility. This paper seeks a way to explicitly steer the platform toward strategic goals without breaking the user experience.

Methods

The authors formalize the problem as a closed-loop control system. They propose an interface layer that translates high-level strategic interventions into a sequence of individual rankings.

They derive three specific controllers:

  1. Myopic Controller (MC): A baseline that treats every single request as if it were the final deadline for the long-term goal. It is very effective at meeting constraints but "over-corrects," leading to a massive drop in short-term utility.
  2. Stationary Controller (SC): Based on online convex optimization, this controller learns a "dynamic violation cost" (a Lagrange multiplier). It adjusts how much it boosts certain items based on the "tracking error"—how far the system is currently trailing behind its linear progress target.
  3. Predictive Controller (PC): The most sophisticated approach. It uses historical data to forecast "progress-to-go." If the controller knows that a certain group of items (e.g., local artists) usually gets more organic traffic on weekends, it won't "force" them into rankings on a Tuesday, saving its "utility budget" for when it matters most.

Datasets

The researchers evaluated their controllers on three distinct types of data:

  • KuaiRec: A "fully observed" dataset from a video-sharing app, used to simulate a stationary environment where user interests don't shift drastically over time.
  • TV Audience: A dataset of television watching behavior over 12 weeks. This is non-stationary, featuring strong temporal patterns (e.g., certain channels are only watched at night).
  • Synthetic Dataset: A controlled environment designed to specifically test the Predictive Controller's ability to handle disjoint groups of items that are relevant at different times.
  • Last.fm: Used for ablation studies to see how shuffling temporal data affects performance.

Key Insights and Ideas

  • The Control Analogy: The authors compare platform management to a self-driving car. The "macro" command is "turn left 10 degrees," while the "micro" execution involves specific voltages sent to steering motors. Ranking should work the same way.
  • P-Control Connection: The paper provides a rigorous theoretical justification for "Proportional (P) Control" in ranking. They show that common heuristic methods for "boosting" items are actually a special case of their Stationary Controller.
  • Planning for Non-Stationarity: The "aha moment" is that if you know the future distribution of requests (even approximately), you can satisfy long-term constraints much more efficiently. The Predictive Controller acts like a budget manager who knows when a "sale" is coming.

Key Results

  • Efficiency vs. Robustness: Both the SC and PC significantly outperformed the Myopic baseline, achieving the same long-term goals with much higher user utility (measured via DCG).
  • The Predictive Advantage: On the TV Audience and Synthetic datasets, the Predictive Controller (PC) was the clear winner. Because it could "plan ahead" for temporal shifts, it achieved the highest overall objective by not over-promoting items during their "off-peak" hours.
  • Stationary Success: On the KuaiRec dataset (which lacks strong temporal shifts), the Stationary Controller performed just as well as the Predictive one, suggesting that simpler models suffice when the environment is stable.

Limitations and Future Work

  • Full Information Assumption: The current controllers assume "full information"—meaning the system knows the relevance of items before they are shown. In many real-world cases, relevance is only discovered after a user interacts with an item.
  • Forecast Quality: The Predictive Controller relies on accurate "progress-to-go" forecasts. If the historical data is a poor predictor of the future, the PC's performance could degrade.
  • Interactive Learning: The authors suggest that future work should involve learning the relevance models and the control parameters simultaneously in an online, interactive fashion.
  • Goal Setting: While the paper provides the tools to steer, it notes that the ethical responsibility of what goals to set (e.g., what defines "fairness") remains with the human designers and regulators.

Summary updated

BibTeX
@inproceedings{brantley2024ranking,
  author = {Kianté Brantley and Zhichong Fang and Sarah Dean and Thorsten Joachims},
  title = {{Ranking with Long-Term Constraints}},
  booktitle = {WSDM},
  year = {2024},
  doi = {10.1145/3616855.3635819},
}
Figure