BrowseFlow: simulating many plausible browsing paths, not one logged click
BrowseFlow does not try to reproduce the single trajectory in the log more faithfully; it factorises a browsing response into a final extent and an ordered sequence of sparse key events, learns the conditional distribution with discrete flow matching, and evaluates it with a proper scoring rule.
On this page
Three datasets, one new benchmark, but the number most buyers check is still a single-trajectory match score. You have an acceptance report for a user simulator in front of you, and your team has to decide whether to renew. The report compares the one path the model generated against the one path the log recorded, and rewards closeness. Yet the same user facing the same recommendation feed may click different items and stop at a different depth; the log kept only one of those outcomes. Matching that outcome says nothing about whether the model assigns sensible probabilities to the other plausible ways to browse. The usual advice is to demand a higher match rate. This paper argues the metric itself is the problem.
The default verdict: closer to the logged path means better
Most acceptance tests compare outputs one by one: line the generated response up against the logged response, count how many actions agree, check whether the clicked position matches, or draw several samples and keep the best one. The paper calls this reference matching, and its flaw is that the log is a single realisation of a random process.
Two obstacles are named. The first is stochastic responses: under an identical recommendation feed the same user can produce different trajectories, so the faithful target is the conditional distribution, not one recorded path. The second is sparse key events: scrolling and swiping dominate, while clicks and likes carry the actual feedback signal yet occur rarely. Across the paper's three datasets, positive feedback accounts for between 1.52% and 5.96% of valid exposures.
| Dataset | Positive feedback share of valid exposures |
|---|---|
| TaobaoBrowse | 5.48% |
| KuaiRand-Like | 1.52% |
| AdSERP | 5.96% |
Sparsity alone is survivable. The real damage comes from stepwise simulators that predict progression and engagement inside one dense sequence. During training, sparse clicks contribute very few targets and are drowned out by progression actions. During generation, one wrong progression decision changes the subsequent exposure state, and premature termination removes any chance for later key events to occur at all.
Compressing a trajectory into a stopping depth plus a few events
BrowseFlow changes the representation first. Instead of emitting actions one by one, it records a complete response as a final browsing extent D plus an ordered sequence of key events, where each event stores the depth at which it happened and what it was. The scrolls in between are not generated; a deterministic decoder reconstructs them from those two quantities and terminates browsing at D.
response representation: R_X(tau) = (D, E)
D in {f, ..., N} final browsing extent (f = current frontier)
E = (e_1, ..., e_M), e_k = (d_k, mu_k) depth and mark of event k
constraints: f <= d_1 <= ... <= d_M <= D
factorisation: p(D, E | X) = pi_eta(D | X) * p_theta(E | D, X_D)The factorisation splits generation in two: first a categorical distribution over where browsing stops, then, inside that range, the number and placement of events. The event sequence may be empty, which is honest, since many sessions contain no click at all. Constraints are plain: depths must be non-decreasing and inside the extent, and an item cannot be marked twice in one session because it must already have been exposed at that depth.
Sample a stopping depth, then insert events inside it
Stage one predicts the browsing extent. A session Transformer encodes the item attributes of the whole recommendation session with positional information, a history Transformer encodes observed interactions, and their representations are combined with user features to score every reachable extent, normalised by a softmax. The full session is visible here, so the same context can yield different sampled depths. After sampling, a second encoding pass masks items beyond D while keeping list positions.
Stage two is conditional discrete flow matching. Flow matching can be read plainly: fix a probability path that carries the sequence from empty to complete, then learn the rate at which insertions happen along that path rather than emitting everything at once. The state is a partial event sequence and flow time runs from 0 to 1, measuring generation progress rather than real browsing time. Each operation inserts one event after the first g events, at some depth, with a mark not yet used.
- Ordering: the insertion depth must sit between the neighbouring event depths, keeping the sequence sorted by depth
- Marks: an item already used in this session cannot be inserted again
- Range: no event may fall beyond the sampled extent D
Where does supervision come from? Random event retention builds the probability path: keep a random subsequence of the true events as an intermediate state and ask the model to restore the rest. Transition rate matching learns that stochastic insertion dynamic. The model therefore learns how many events tend to appear inside a given extent and where, instead of memorising one trajectory.
Scoring distributions with the energy score, not the best match
The evaluation changes with the model. The paper's main metric is the energy score, a proper scoring rule, meaning expected performance is optimised only by reporting the true conditional distribution; cherry-picking the best of several samples cannot inflate it. It penalises two things at once: distance from observed responses, and a lack of variation across repeated generations. A simulator that keeps replaying one trajectory scores badly.
A Wasserstein distance between key-event count distributions complements it, measuring whether the generated number of events lines up in aggregate. One metric looks at per-response fidelity, the other at count alignment across samples.
Reference matching and best-of-N, by contrast, only ask whether one generated sample happened to land on the logged path. They cannot answer whether other plausible browsing paths receive appropriate probability, and that property is exactly what anyone using a simulator to evaluate recommendation policies needs.
TaobaoBrowse and distributional results on three datasets
The paper also releases TaobaoBrowse, a benchmark that pairs real recommendation contexts with fine-grained browsing trajectories, preserving recommendation sessions, detailed browsing behaviour, and available user and item context for training and evaluation. That matters for data buyers: this task needs session-level logs with full exposure sequences and context, not a pile of click records.
Experiments cover three datasets, TaobaoBrowse, KuaiRand-Like and AdSERP, spanning e-commerce, short video and search advertising. The reported conclusion is that BrowseFlow consistently achieves the best distributional performance across all three. The material available to me does not include the per-metric score tables, so no numeric comparison is quoted here; any figure precise to the decimal has to be checked against the paper itself [1].
Ablations and distributional analysis examine how much the sparse representation, the extent prediction and the event flow each contribute, and where the generated distribution approaches the real behaviour structure. For an acceptance reviewer this decomposition is more useful than a single headline number, because it shows which part of the model actually learned something.
When this method does not apply
It fails when the recommendation session is not fixed in advance. The setup simulates how a user reacts to a given feed, not a loop where recommendations change in response to behaviour; policy evaluation online needs an additional recommender layer.
It does not apply when scrolling dynamics themselves are the object of study. Progression actions are reconstructed deterministically, so exposure pacing, dwell time and attention decay are outside the model's scope.
The event vocabulary is narrow and hand-specified, covering clicks, likes and similar feedback under monotone, non-repeating depth constraints. Add-to-cart, back-navigation or long-press would require redefining the representation before the method can say anything about them.
Distributional scoring also needs many repeated samples; with few draws the energy score is noisy on its own. And all three datasets sit in e-commerce, short video or search advertising, so transfer to news or social feeds is out of scope as far as this paper shows. The method answers whether several plausible ways to browse are given correct probability. It does not answer how a recommender should adapt to them.
