Learning from Streaming Data when Users Choose

Jinyan Su, Sarah Dean

Introduction

In the modern digital economy, the relationship between users and machine learning services is defined by a continuous feedback loop. Every time a user selects a music streaming app, a search engine, or a generative AI chatbot, they are not merely consuming a service; they are providing the very data that will be used to refine that service's underlying models. This creates a dynamic where a model’s current performance dictates its future data acquisition, which in turn shapes its future performance.

While traditional machine learning often assumes static datasets or independent data distributions, real-world platforms operate in a "performative" environment. A recent study by researchers at Cornell University, "Learning from Streaming Data when Users Choose," formalizes this interaction. The paper demonstrates that a decentralized, streaming-based approach can lead to stable, efficient, and specialized market outcomes even when users exhibit bounded rationality.

The Problem: Performative Learning in the Wild

Most machine learning research assumes that the data distribution is exogenous—meaning it exists independently of the model being trained. However, in digital marketplaces, the data a model sees is endogenous. This "performative" aspect of learning involves four distinct stages:

  1. Model Influence: A service’s current model parameters determine its quality for any given user.
  2. User Choice: Users select services they perceive as superior.
  3. Data Collection: A service only receives training data from the specific users who choose it.
  4. Model Update: The service uses this niche data to update its model, often specializing it further for that specific sub-population.

Previous attempts to model this dynamic often relied on unrealistic assumptions, such as the ability of services to retrain on massive batches of data or the assumption that users are perfectly rational actors. This paper addresses the messier reality of streaming data (where points arrive sequentially) and bounded rationality (where users may make suboptimal choices due to limited information or noise).

The MSGD Algorithm

The researchers propose the Multi-learner Streaming Gradient Descent (MSGD) algorithm. The hallmark of MSGD is its simplicity and lack of centralized coordination. The process follows a straightforward logic:

  • Decentralized Updates: Each service provider operates independently. There is no data sharing or explicit coordination between competitors.
  • On-the-Fly Learning: When a user chooses service $i$, that service performs a single gradient descent step using that specific user's data point. All other services remain idle for that time step.
  • Bounded Rationality Model: User behavior is characterized by a parameter $\zeta$. With probability $1-\zeta$, a user chooses the service with the lowest perceived loss (the "best" service). With probability $\zeta$, the user chooses a service uniformly at random, representing mistakes, exploration, or lack of information.

Using Martingale Convergence Theory, the authors prove that this asynchronous process settles into a "stationary point." At this point, no service can further improve its performance on the specific sub-population it has attracted, leading to a stable market equilibrium.

Empirical Validation

The researchers validated the MSGD framework using two distinct real-world datasets to simulate market dynamics:

  1. MovieLens 10M: In this recommendation task, users chose between different models based on their ability to predict movie ratings (using squared loss). The experiment demonstrated how models adapt to the specific cinematic tastes of the users they attract.
  2. Census Data (folktables): Using the ACSEmployment task, the authors simulated a market where services predict employment status based on demographic features. This task utilized logistic loss and showed how models specialize across different demographic segments.

In both scenarios, MSGD converged at a polynomial rate ($1/t$), proving that the decentralized approach is computationally efficient and practically viable.

Key Insights: The Power of Specialization

One of the most striking findings of the research is that specialization is a feature, not a bug. The feedback loop naturally encourages services to become experts in specific sub-populations rather than attempting to be "jack-of-all-trades" models.

Furthermore, the paper identifies a "Rationality Threshold." If users are sufficiently rational (a small $\zeta$), decentralized MSGD can actually achieve a lower overall social loss than a "Full Information" setting where all services share all data. This is because data sharing can dilute the specialization process; when services are forced to learn from everyone, they may fail to serve anyone particularly well. By working autonomously, services move the entire system toward a global optimum of social welfare.

Conclusion and Future Work

This research provides a robust theoretical foundation for understanding how competition and AI-driven personalization coexist. By proving that decentralized streaming learning is mathematically sound, it opens the door for more complex analyses of digital marketplaces.

However, several avenues for future research remain. The current model assumes that services are altruistic (aiming to minimize user loss) rather than profit-driven. Future work could explore how incentives like market share or retention influence these dynamics. Additionally, while the $\epsilon$-greedy model of bounded rationality is a strong start, incorporating more sophisticated "strategic users"—who might choose a worse service today in hopes it learns to serve them better tomorrow—could provide even deeper insights into the evolution of AI services.

Summary updated

BibTeX
@inproceedings{su2024learning,
  author = {Jinyan Su and Sarah Dean},
  title = {{Learning from Streaming Data when Users Choose}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=qLZ32oS7j2},
}
Figure