Manuscript Offprint
arXiv:2610.41374BrowseFlow: Sparse Event Flow Matching for Generative User Simulation
Yitian Pang*
pangyt23@mails.tsinghua.edu.cn
Department of Automation
Tsinghua University
Beijing, China
Jiayi Zhang*
Taobao & Tmall Group of Alibaba
Beijing, China
Xiaowei Yue†
Department of Industrial Engineering
Tsinghua University
Beijing, China
Zhenjia Ma
Taobao & Tmall Group of Alibaba
Beijing, China
Dagui Chen†
Taobao & Tmall Group of Alibaba
Beijing, China
Jian Xu
Taobao & Tmall Group of Alibaba
Beijing, China
Abstract
User simulation aims to reproduce how users interact with content and products across online platforms. Recent generative approaches have enriched user simulation with behavioral history and contextual information. However, realistic browsing simulation still faces two challenges. (i) Stochastic Responses: Even with the same recommendation feed, the same user may produce different browsing responses, yielding distinct behavioral trajectories. A logged trajectory records only one such realization. Reference matching alone cannot establish whether other plausible browsing responses are assigned appropriate probabilities. (ii) Sparse Key Events: Clicks and likes provide important feedback but occur sparsely within browsing trajectories dominated by progression actions such as scrolling. Many stepwise simulators predict these actions in a dense sequence, where key events contribute relatively few training targets. To address these challenges, we propose BrowseFlow, a conditional discrete flow matching method for generative user simulation. For Sparse Key Events, BrowseFlow represents each response by its browsing extent and an ordered sequence of key events, directly modeling their counts and locations under exposure constraints. BrowseFlow learns the conditional distribution of complete browsing responses through probabilistic extent prediction and discrete flow matching over key events. Random event retention defines probability paths over partial event sequences, while transition rate matching learns stochastic insertion dynamics. For Stochastic Responses, we use the energy score, a proper scoring rule, to evaluate response fidelity and generated variability, complemented by the Wasserstein distance between key event count distributions. We further introduce TaobaoBrowse, a benchmark pairing real recommendation contexts with fine-grained browsing trajectories. Experiments across three datasets demonstrate that BrowseFlow consistently achieves the best distributional performance.
CCS Concepts
• Information systems → Recommender systems.
1 Introduction
User simulation, with the aim of reproducing how users interact with content and products across online platforms, has been widely explored in e-commerce, short-video, news, and other interactive services. Users engage in diverse activities such as scrolling through feeds, clicking on items, and liking content, forming behavioral trajectories through successive interactions. Modeling such trajectories is a longstanding research problem in understanding and simulating user behavior [2]. Early approaches primarily focused on modeling user feedback over ranked items. Classical click models characterize examination and click decisions [6, 9]. Simulation frameworks such as RecSim and RecSim NG broadened the scope to sequential user interactions, providing environments for modeling user behavior over time [17, 32].
More recently, generative approaches have used stepwise generation to model user behavior with richer contextual detail. Data-driven simulators such as Virtual-Taobao, UserSim, and KuaiSim learn patterns of browsing, feedback, and session continuation from interaction logs [37, 47, 48]. Large language models incorporate user profiles, memory, and preference reasoning into behavioral simulation [41, 44, 46]. Vision-language models ground simulated interactions in webpage observations [45], while RecVerse [39] combines hierarchical memory with trajectory-level optimization for sequential shopping simulation. These developments have enabled richer representations of browsing responses across diverse user and recommendation contexts. Despite these advances, realistic browsing simulation still faces two challenges.
Stochastic Responses. User browsing behavior is inherently stochastic. As illustrated in Fig. 1, the same user presented with the same recommendation feed may produce different behavioral trajectories. This variability is consistent with random utility theory [30] and recent choice modeling for recommendation [20]. Each logged trajectory captures only one realization of the conditional response distribution. Therefore, faithful user simulation aims to model this distribution rather than reproduce individual logged trajectories. At the evaluation level, existing methods primarily measure agreement between generated responses and the logged
These authors contributed equally to this work.
Corresponding authors.

Figure 1: Motivation of BrowseFlow. The upper panel distinguishes frequent progression actions from sparse key events, highlighting the imbalance between browsing progression and meaningful feedback across three datasets. The lower panel illustrates stochastic responses, where the same user may produce different browsing trajectories under an identical recommendation feed.
trajectory. Such reference matching metrics emphasize reproducing a single observed realization, providing limited insight into whether the model captures other plausible browsing responses.
Sparse Key Events. Browsing trajectories exhibit a highly imbalanced action distribution. Progression actions, such as scrolling and swiping, advance content exposure and constitute most browsing actions. In contrast, key events such as clicks and likes reflect user engagement with specific items, providing valuable signals for downstream preference modeling and recommendation optimization. However, these events occur sparsely: positive feedback accounts for only 1.52%–5.96% of valid exposures across our three datasets (Fig. 1). Prior studies of browsing continuation [19] and probabilistic scrolling budgets [18] also distinguish exposure progression from engagement. Many stepwise simulators [37, 47, 48] model both types of actions within the same dense sequence, where frequent progression actions dominate prediction targets. Consequently, key event occurrence and placement receive comparatively limited direct supervision. During generation, errors in progression decisions may alter subsequent exposure states, while premature termination can prevent later key events from occurring.
To address these challenges, we propose BrowseFlow, a conditional discrete flow matching method for generative user simulation. For Sparse Key Events, BrowseFlow represents each response by
its browsing extent and an ordered sequence of key events. The extent compactly summarizes frequent progression actions, while the event sequence makes sparse key events the focus of generation. BrowseFlow models the conditional distribution of complete browsing responses through probabilistic extent prediction and discrete flow matching over key event sequences. Random event retention defines probability paths over partial sequences, while transition rate matching learns stochastic insertion dynamics. Conditioned on the predicted extent, the insertion process directly generates variable event counts and locations under exposure constraints. For Stochastic Responses, we use the energy score [12], a proper scoring rule for predictive distributions, to evaluate both fidelity to observed responses and variation across repeated generations. The Wasserstein distance between key event count distributions complements this evaluation by measuring aggregate event count alignment. We further introduce TaobaoBrowse, a benchmark pairing real recommendation contexts with fine-grained trajectories to support training and evaluation of browsing responses.
To summarize, our contributions are threefold:
-
Discrete Flow Matching for User Simulation. We introduce conditional discrete flow matching for generative user simulation, representing complete browsing responses through browsing extent and sparse key events. This formulation captures stochastic variation in browsing responses while directly modeling key event counts and locations under exposure constraints.
-
Distributional Evaluation of Simulated Responses. We apply the energy score to assess how well simulated conditional response distributions agree with observed user behavior, considering both observation fidelity and generated variability. The Wasserstein distance between key event count distributions complements this evaluation by measuring aggregate event count alignment.
-
The TaobaoBrowse Benchmark. We introduce TaobaoBrowse, a real-world benchmark that preserves recommendation sessions, fine-grained browsing behavior, and available user and item context for user browsing simulation.
2 Related Work
2.1 Generative Recommendation
Generative recommendation extends conventional candidate scoring to conditional generation of recommendation outputs. Autoregressive methods generate item identifiers or semantic IDs [33, 34], while diffusion methods model item representations [23, 43]. Flow matching has been applied to collaborative filtering and sequential recommendation [22, 25, 26], and OneRec extends generation to complete recommendation sessions [7]. These approaches focus on generating the recommendations presented to users. Generative user simulation studies a complementary task: generating user behavior conditioned on the presented recommendation context. BrowseFlow focuses on complete browsing responses, modeling browsing progression and key events as a structured conditional generation problem under exposure constraints.
2.2 User Simulation and Evaluation
User simulation has evolved from local feedback prediction toward generating complete behavioral trajectories. Classical click models and neural predictors capture examination, click dependencies, and evolving user interests [3, 6, 9, 50]. Simulation platforms support sequential interactions [17, 32], while learned simulators model browsing behavior and multiple feedback signals [47, 48]. Agent approaches incorporate profiles, memory, and Web observations [44, 45]. RecVerse introduces trajectory optimization for shopping simulation [39], while LPDO models dependencies among future interactions through listwise diffusion [16]. Evaluating stochastic responses also requires distributional measures. Proper scoring rules assess predictive distributions [1, 12], including complete trajectories [13]. Reference matching and best-of-N metrics emphasize individual matches rather than the full generated distribution [35]. We use the energy score to evaluate conditional browsing response distributions, accounting for both response fidelity and variation across generated trajectories.
2.3 Flow Matching for Structured Sequences
Insertion and editing methods enable flexible sequence generation [14, 38]. Temporal point process models capture event dependencies through history-dependent intensities [8, 31], while Add and Thin introduces diffusion-based event generation [29]. Flow matching learns generative dynamics along probability paths [24]. Extensions to discrete state spaces formulate these dynamics through continuous-time Markov processes [5, 11], with related work on discrete denoising and distribution ratios [4, 28]. General discrete paths support flexible probability path constructions [36], while Edit Flows extends discrete flow matching to variable-length sequences through learned edit operations [15]. Building on discrete flow matching, BrowseFlow defines conditional insertion dynamics over key event sequences. Its generation process models stochastic event counts and locations within the predicted browsing extent while enforcing exposure constraints.
3 Method
3.1 Problem Formulation
Generative user simulation aims to generate realistic sequences of user actions conditioned on observed user information and interaction context. We study this task for a fixed recommendation session . The observed context is , where denotes the interaction history, contains available user features, and is the current browsing frontier. The complete recommendation session is known before generation, while subsequent user behavior remains unknown.
A browsing response consists of three behavioral components. Progression actions, such as scrolling, advance content exposure. Key events, such as clicks and likes, reflect user engagement with specific items. Session termination marks the end of browsing. The objective is to generate a complete behavioral response conditioned on the observed context:
where denotes the learned generative model. Both the action sequence and its length are determined through generation, allowing different browsing responses under the same context.
3.2 Sparse Response Representation
To focus generation on sparse key events, BrowseFlow represents browsing progression compactly while modeling key events explicitly. Let denote the final browsing extent. The ordered key event sequence is , where records the browsing depth and mark of event . We represent a complete response by
The event sequence may be empty. Otherwise, , and sequence order distinguishes events at the same depth. In the click setting, identifies an interacted item. A target must be available by depth and cannot repeat within the same session.
The representation separates browsing progression from key event generation. Given and , a deterministic decoder reconstructs the progression actions between event depths and terminates browsing at . Thus, progression actions are represented through the response structure, while sparse key events become the primary generative variables.
This representation leads to an extent-first factorization:
where denotes the context restricted to the selected browsing extent. The first factor models the distribution of browsing extent, while the second models the conditional distribution of key events within that extent. Together, they define a stochastic generative model over complete browsing responses. Figure 2 summarizes the overall framework.
3.3 Browsing Extent Prediction
BrowseFlow first models the distribution of final browsing extent conditioned on the complete recommendation session. A session Transformer encodes all item attributes with position information, while a history Transformer encodes the observed user interactions. Their representations are combined with user features to score each reachable extent. The resulting categorical distribution is
Here is the learned extent score. The full recommendation session is visible to this branch, allowing different browsing extents to be sampled under the same context.
After sampling , BrowseFlow performs a second encoding pass for key event generation. Item attributes beyond are masked before contextual encoding, while list positions remain available. The extent and event stages share encoder parameters but do not reuse contextual activations. We denote the resulting item representations by and the cached event context, including these representations, by . Both remain fixed throughout the subsequent flow. The sampled extent therefore determines the browsing region and provides the conditioning context for key event generation.

Figure 2: Overview of BrowseFlow. The upper panels illustrate the sparse response representation, browsing extent prediction, and conditional discrete Flow Matching. Browsing progression is represented by its extent, while key events are generated through stochastic insertions under exposure constraints. The resulting extent and event sequence determine a complete browsing response. The lower panel summarizes training, where observed extents supervise extent prediction and random event retention provides insertion targets for conditional rate matching.
3.4 Extent-Conditioned Key Event Flow
Given the browsing extent, BrowseFlow models the conditional distribution of key events through a continuous-time Markov chain (CTMC) over ordered partial event sequences, following discrete Flow Matching for variable-length sequence generation [11, 15]. The state at flow time is a partial event sequence , initialized at . Flow time measures generation progress rather than physical browsing time.
For a state , an operation inserts a key event with depth and mark after the first events. Let and , and let denote the valid unused event marks at depth . The admissible insertion space is
The neighboring depths preserve event order. In the click setting, contains previously unused targets available by depth . Structural validity is therefore enforced by the transition support.
A Transformer encodes the current partial sequence using the extent-restricted item representations, event depths, and sequence positions. This provides partial-sequence conditioning. An embedding of provides extent conditioning, while a flow-time embedding specifies the current stage of generation. For compactness, let denote the shared conditioning. The transition rate
of an admissible insertion is
The nonnegative intensity determines the total insertion rate, while the normalized distribution allocates that rate across valid operations. We factorize the operation distribution as
The three factors select an insertion gap, a browsing depth within that gap, and an event mark. Each factor is normalized over choices that admit a valid operation in .
Conditional on the current state, an admissible operation occurs during a short interval with probability . Starting from the empty sequence, the CTMC generates a variable number of key events without a separate event count predictor. Their locations and marks are sampled through the insertion distribution. At , the resulting sequence defines a sample from . The sampled extent and generated events are then decoded into a complete browsing response. Each response is generated using one extent sample and one event flow, without replanning during generation.
3.5 Conditional Flow Matching
To learn the stochastic event generation process, BrowseFlow constructs conditional probability paths from the empty sequence to observed key event sequences. Averaging these paths over the data distribution yields a marginal path whose dynamics can be learned from individual logged responses.
For a training response, let denote the observed extent and the observed key event sequence. The event branch is conditioned on the context encoded at . In the following derivation, we fix and suppress this conditioning, writing for the conditional data distribution.
At flow time , each target event is independently retained with probability , preserving its original order. For any ordered subsequence ,
All other sequences have zero probability. The endpoints satisfy and . The path progressively reveals the target events without imposing a left-to-right generation order.
This path admits a continuous-time insertion interpretation. Assign each target event an independent activation time , retaining it when . For an event still absent at time s,
Thus, each missing event has conditional insertion hazard . Let denote the missing target indices. Each missing event k corresponds to a unique insertion into the current partial sequence, with conditional rate
All other conditional insertion rates are zero. Writing , the total conditional intensity is .
Each observed sequence defines a conditional flow. Their mixture induces the marginal probability path
At states of positive marginal probability, the corresponding transition rates are posterior averages of the conditional rates:
The posterior is induced by . Averaging the conditional Kolmogorov forward equations establishes that generates the marginal path [11, 15]. This connects supervision from individual observed responses with the dynamics of the conditional event distribution.
We learn the transition field using the generalized Kullback–Leibler divergence between nonnegative rate vectors, defined by . Since is the posterior mean of the conditional rates,
where is independent of the model parameters. Conditional rate matching thus optimizes the same parameter-dependent objective as matching the marginal rates.
Algorithm 1 Conditional Rate Matching Training
Require: Context X, observed response
Ensure: Stochastic training loss
1:
2:
3:
4:
5:
6:
7:
8:
9:
10: for do
11:
12:
13: end for
14:
15: return
For a sampled partial state , let , , and . Substituting Eq. (10) and the factorization into , and dropping model-independent terms, gives
The first two terms fit the total insertion intensity, while the last allocates that intensity across valid insertion operations. The factor removes the singular target-rate scale near s = 1 without changing the unrestricted pointwise optimum.
Combining extent prediction with conditional rate matching yields
The expectation is over logged responses, uniformly sampled flow times, and partial event sequences drawn from Eq. (8). The objective jointly learns uncertainty in browsing extent and the conditional distribution of key events.
The marginal intensity further characterizes variable event counts. Let . Summing the conditional insertion rates gives
At the unrestricted population optimum, the scaled intensity estimates the expected number of missing events. Event cardinality is therefore learned through the insertion process rather than predicted by a separate count head.
Algorithm 1 summarizes the training procedure. Each observed response provides a randomly retained partial sequence and its missing event insertion targets. The resulting stochastic loss jointly supervises browsing extent and conditional insertion rates.
4 Experiments
4.1 Experimental Setup
Datasets and tasks. We evaluate BrowseFlow on three datasets covering complete browsing response generation and key event generation under fixed exposures. TaobaoBrowse is constructed from real Taobao recommendation logs and serves as our primary
Table 1: Dataset statistics. Key rate denotes the fraction of valid exposures with positive key events across all splits. Key events correspond to clicks on TaobaoBrowse and AdSERP, and likes on KuaiRand-Like.
| Dataset | Train | Val. | Test | Key rate |
|---|---|---|---|---|
| TaobaoBrowse | 100K | 10K | 20K | 5.48% |
| KuaiRand-Like | 100K | 5K | 10K | 1.52% |
| AdSERP | 1,613 | 355 | 338 | 5.96% |
benchmark. It preserves complete browsing trajectories, including progression actions, key events, and session termination, together with user and item context. KuaiRand-Like [10] uses likes as key events over fixed observed exposure sequences. AdSERP [21] records fine-grained interactions with search result pages and is adapted to click event generation over fixed exposures. Table 1 summarizes the dataset statistics.
Baselines. We compare BrowseFlow with six representative approaches to user response modeling. UBM [9] and DBN [6] model examination and interaction over ranked items. RL4RS-DIEN [40, 50] captures evolving user interests, while UserSim [48] and KuaiSim [47] model sequential user behavior. We also include CaseRec [49], which uses a Transformer to predict feedback over exposure sequences.
Energy Score (ES). We use the energy score [12], a proper scoring rule for predictive distributions, to evaluate stochastic user responses. For context , let denote the observed response and denote independent generated samples. The estimated energy score is
The reported ES averages across evaluation contexts. The first term measures fidelity to observed responses, while the second accounts for variation among generated responses.
For TaobaoBrowse, each response suffix is encoded as a fixed-length sequence containing action tokens, click targets, padding, and a terminal coordinate. We use the square root of normalized token mismatch:
where is the number of encoded coordinates. For KuaiRand-Like and AdSERP, responses are binary key event vectors over the same valid exposure sequence. Their distance is
where denotes the number of valid exposures. Lower ES indicates better agreement with the observed response distribution.
Count W1. For one-dimensional distributions, the Wasserstein distance equals the integral of the absolute difference between their cumulative distribution functions. Let and denote the empirical cumulative distributions of observed and generated
key event counts. Since key event counts are nonnegative integers, their CDFs are constant between consecutive integers, yielding
Count W1 measures the agreement of aggregate key event count distributions across evaluation contexts, with lower values indicating better alignment. Additionally, we report AUC for local response discrimination, perplexity (PPL) for probabilistic fit, and SeqHit@1 for exact response matching.
Implementation. BrowseFlow is implemented in PyTorch 2.10.0. All experiments were conducted using ZW810E (96 GB) PPUs. The model uses 128-dimensional hidden states and 2, 2, and 4 Transformer layers for user history, session context, and partial key event encoding, respectively. We optimize using AdamW with an effective batch size of 128, weight decay of 0.01, and a warmup phase covering the first 5% of training updates. Learning rates are for TaobaoBrowse and KuaiRand-Like, and for AdSERP. Models are trained on the designated training splits, with the checkpoint minimizing validation Energy Score selected for evaluation. Generation discretizes flow time into 32 intervals. For distributional evaluation, we sample 8 response trajectories per context on TaobaoBrowse and 128 response vectors per context on the fixed-exposure tasks.
4.2 Results
TaobaoBrowse. BrowseFlow achieves the strongest distributional performance, leading in both ES and Count W1. These results indicate better agreement with complete browsing response distributions and closer alignment of key event count distributions. It also obtains the best PPL and SeqHit@1, demonstrating improved probabilistic fit and exact response matching. Its AUC, however, remains below that of several local response predictors. While these methods directly estimate click feedback at individual browsing states, BrowseFlow models the conditional distribution of complete responses through browsing extent and key event generation. This distinction highlights the different objectives of local click discrimination and stochastic response modeling.
KuaiRand-Like. BrowseFlow maintains the lowest ES and Count W1 on KuaiRand-Like, with particularly pronounced improvements in key event count alignment. Unlike TaobaoBrowse, this benchmark provides fixed exposure sequences and evaluates the generation of likes as key events. The smaller improvement in ES indicates a more modest gain in overall response fidelity, whereas the advantage in event count alignment remains substantial. The performance of local prediction remains competitive across all three metrics, demonstrating the effectiveness of the proposed formulation in fixed exposures.
AdSERP. BrowseFlow achieves the best ES and Count W1, alongside leading performance in probabilistic fit and exact response matching. It also maintains competitive local discrimination. AdSERP captures interactions with search results, providing a distinct exposure setting. Consistent improvements in distributional metrics
Table 2: Main results. Best results are in bold and second-best results are underlined.
| Dataset | Method | ES ↓ | Count W1 ↓ | PPL ↓ | SeqHit@1 ↑ | AUC ↑ |
|---|---|---|---|---|---|---|
| TaobaoBrowse | KuaiSim | |||||
| RL4RS-DIEN | ||||||
| UserSim | ||||||
| UBM | ||||||
| DBN | ||||||
| CaseRec | ||||||
| BrowseFlow | ||||||
| KuaiRand-Like | KuaiSim | |||||
| RL4RS-DIEN | ||||||
| UserSim | ||||||
| UBM | ||||||
| DBN | ||||||
| CaseRec | ||||||
| BrowseFlow | ||||||
| AdSERP | KuaiSim | |||||
| RL4RS-DIEN | ||||||
| UserSim | ||||||
| UBM | ||||||
| DBN | ||||||
| CaseRec | ||||||
| BrowseFlow |
further support the applicability of stochastic key event generation across different interaction environments.
Across all three datasets, BrowseFlow consistently achieves the best ES and Count W1. The improvements in ES indicate better agreement with stochastic response distributions, while the reductions in Count W1 demonstrate closer alignment of aggregate key event count distributions. These results also highlight that strong local prediction performance does not necessarily imply accurate modeling of the conditional browsing response distribution.
4.3 Ablation Study
We investigate the effects of response representation and generation mechanism on BrowseFlow. Table 3 compares dense action sequences and sparse key event representations under autoregressive generation and two Flow Matching variants.
Under autoregressive generation, sparse representation improves both ES and Count W1. By summarizing frequent progression actions through browsing extent, the sparse representation focuses generation on key events. These improvements suggest that separating browsing progression from key event generation benefits both response fidelity and event count alignment.
Flow Matching further improves both ES and Count W1 under dense and sparse representations, with particularly large gains in key event count alignment. Through conditional rate matching, it learns stochastic transition dynamics over partial response sequences, directly modeling event generation within the response
Table 3: Component ablation on TaobaoBrowse. Sparse denotes the browsing extent and key event representation. FM denotes Flow Matching, with append-only or insertion generation. The final row corresponds to BrowseFlow.
| Sparse | FM | Insertion | ES ↓ | Count W1 ↓ |
|---|---|---|---|---|
| X | X | X | 0.07815 | 0.45158 |
| ✓ | X | X | 0.07444 | 0.38071 |
| X | ✓ | X | 0.07392 | 0.12666 |
| ✓ | ✓ | X | 0.07279 | 0.09407 |
| X | ✓ | ✓ | 0.07786 | 2.56907 |
| ✓ | ✓ | ✓ | 0.07264 | 0.06969 |
structure. These improvements highlight the importance of the generation mechanism in capturing stochastic response distributions, beyond the choice of representation alone.
The effect of insertion depends on the response representation. Append-only generation follows browsing order, whereas insertion allows events to be placed between previously generated events. In the sparse key event space, insertion further improves Count W1, with a relatively small change in ES. In contrast, dense insertion degrades both metrics relative to append-only generation, with a particularly large deterioration in key event count alignment. These results highlight the complementary roles of sparse representation and insertion-based Flow Matching in generating structured browsing responses under explicit exposure constraints.

(a) Distance to observation

(b) Distance between samples

(c) Key event count CDF deviation
Figure 3: Distributional analysis on TaobaoBrowse. (a) Distribution of mean distances between generated and observed responses, , across contexts. (b) Distribution of mean pairwise distances between distinct generated responses, , across contexts. (c) Signed differences between generated and observed key event count cumulative distribution functions (CDFs), , for all seven methods.

(a) First click placement

(b) Browsing extent recovery
Figure 4: Behavioral structure analysis on TaobaoBrowse. (a) Mean first click placement in absolute and normalized browsing depth, compared with observed responses. (b) Browsing extent MAE grouped by observed depth, comparing BrowseFlow with UserSim. Lower MAE indicates more accurate extent recovery.
4.4 Distributional Analysis
Response fidelity and generated variability. Figure 3(a) examines response fidelity through the mean distance between generated and observed responses. Compared with CaseRec, BrowseFlow produces smaller sample-to-observation distances and a shorter upper tail, indicating fewer contexts with large deviations from observed behavior. Figure 3(b) examines generated variability through the mean pairwise distance between responses generated under the same context. BrowseFlow's sample-to-sample distances remain nonzero and exhibit a more pronounced upper tail, showing that repeated generations retain behavioral variation. Energy Score evaluates these two aspects jointly, reflecting the balance between observation fidelity and generated variability rather than favoring either in isolation.
Key event count alignment. Count W1 measures the agreement between observed and generated key event count distributions. Figure 3(c) provides a more detailed comparison through
signed CDF deviations, where the zero line indicates exact agreement in cumulative probability at each event count. Positive deviations indicate excessive probability assigned to responses with at most that many key events. In particular, the deviation at zero directly reflects the mismatch in the probability of browsing responses without any key events. BrowseFlow remains closer to zero across much of the count range, although some baselines achieve smaller deviations at individual counts. This pattern is consistent with its leading Count W1 and indicates more accurate recovery of the observed key event count distribution.
4.5 Behavioral Structure Analysis
First click placement. Figure 4(a) compares the mean first click positions in absolute and normalized browsing depth. Absolute depth reflects where the first click occurs along the exposure sequence, while normalized position accounts for differences in browsing extent. BrowseFlow more closely matches the observed placement on both measures, whereas competing methods generally place the first click at shallower absolute depths. The agreement in normalized position further suggests that this improvement is not explained solely by differences in generated browsing extent.
Browsing extent recovery. Figure 4(b) compares browsing extent errors across ranges defined by observed depth. BrowseFlow and UserSim perform similarly on shorter sessions, but their errors diverge as browsing depth increases. BrowseFlow maintains substantially lower errors on longer sessions, with the largest differences appearing in the deepest ranges. UserSim tends to underestimate the extent of these sessions, whereas BrowseFlow more closely recovers their browsing lengths.
5 Conclusion
In this work, we studied generative user simulation under two characteristics of browsing behavior: Sparse Key Events and Stochastic Responses. To address these challenges, we proposed BrowseFlow, which models the conditional distribution of browsing responses through probabilistic extent prediction and discrete flow matching over key events. This formulation separates browsing progression from sparse key event generation and models event counts and locations under exposure constraints. We also introduced TaobaoBrowse, a benchmark pairing real recommendation contexts with fine-grained browsing trajectories.
Experiments on TaobaoBrowse and two external benchmarks demonstrate consistent improvements in Energy Score and Count W1, reflecting better agreement with response distributions. Further analyses reveal improved observation fidelity while preserving variation across generated responses, alongside more accurate browsing extent recovery and first click placement. These findings highlight a central principle of faithful user simulation: model the key events that matter, and capture the many ways users may browse.
References
[1] Carol Alexander, Michael Coulon, Yang Han, and Xiaochun Meng. 2024. Evaluating the discrimination ability of proper multi-variate scoring rules. Annals of operations research 334, 1 (2024), 857–883.
[2] Krisztian Balog and ChengXiang Zhai. 2023. User simulation for evaluating information access systems. In Proceedings of the Annual International ACM SIGIR Conference on Research and Development in Information Retrieval in the Asia Pacific Region. 302–305.
[3] Alexey Borisov, Ilya Markov, Maarten De Rijke, and Pavel Serdyukov. 2016. A neural click model for web search. In Proceedings of the 25th international conference on world wide web. 531–541.
[4] Andrew Campbell, Joe Benton, Valentin De Bortoli, Thomas Rainforth, George Deligiannidis, and Arnaud Doucet. 2022. A continuous time framework for discrete denoising models. Advances in Neural Information Processing Systems 35 (2022), 28266–28279.
[5] Andrew Campbell, Jason Yim, Regina Barzilay, Tom Rainforth, and Tommi Jaakkola. 2024. Generative flows on discrete state-spaces: Enabling multimodal flows with applications to protein co-design. arXiv preprint arXiv:2402.04997 (2024).
[6] Olivier Chapelle and Ya Zhang. 2009. A dynamic bayesian network click model for web search ranking. In Proceedings of the 18th international conference on World wide web. 1–10.
[7] Jiaxin Deng, Shiyao Wang, Kuo Cai, Lejian Ren, Qigen Hu, Weifeng Ding, Qiang Luo, and Guorui Zhou. 2025. Onerec: Unifying retrieve and rank with generative recommender and iterative preference alignment. arXiv preprint arXiv:2502.18965 (2025).
[8] Nan Du, Hanjun Dai, Rakshit Trivedi, Utkarsh Upadhyay, Manuel Gomez-Rodriguez, and Le Song. 2016. Recurrent marked temporal point processes: Embedding event history to vector. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining. 1555–1564.
[9] Georges E Dupret and Benjamin Piowarski. 2008. A user browsing model to predict search engine click data from past observations.. In Proceedings of the
31st annual international ACM SIGIR conference on Research and development in information retrieval. 331–338.
[10] Chongming Gao, Shijun Li, Yuan Zhang, Jiawei Chen, Biao Li, Wenqiang Lei, Peng Jiang, and Xiangnan He. 2022. Kuairandi: An unbiased sequential recommendation dataset with randomly exposed videos. In Proceedings of the 31st ACM international conference on information & knowledge management. 3953–3957.
[11] Itai Gat, Tal Remez, Neta Shaul, Felix Kreuk, Ricky TQ Chen, Gabriel Synnaeve, Yossi Adi, and Yaron Lipman. 2024. Discrete flow matching. Advances in Neural Information Processing Systems 37 (2024), 133345–133385.
[12] Tilmann Gneiting and Adrian E Raftery. 2007. Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association 102, 477 (2007), 359–378.
[13] Faranak Golestaneh, Hoay Beng Gooi, and Pierre Pinson. 2016. Generation and evaluation of space-time trajectories of photovoltaic power. Applied Energy 176 (2016), 80–91.
[14] Jiatao Gu, Changhan Wang, and Junbo Zhao. 2019. Levenshtein transformer. Advances in neural information processing systems 32 (2019).
[15] Marton Havasi, Brian Karrer, Itai Gat, and Ricky TQ Chen. 2026. Edit Flows: Variable Length Discrete Flow Matching with Sequence-Level Edit Operations. Advances in Neural Information Processing Systems 38 (2026), 139037–139070.
[16] Hongtao Huang, Chengkai Huang, Junda Wu, Tong Yu, Julian McAuley, and Lina Yao. 2026. Listwise preference diffusion optimization for user behavior trajectories prediction. Advances in Neural Information Processing Systems 38 (2026), 159383–159408.
[17] Eugene le, Chih-wei Hsu, Martin Mladenov, Vihan Jain, Sanmit Narvekar, Jing Wang, Rui Wu, and Craig Boutlier. 2019. Recsim: A configurable simulation platform for recommender systems. arXiv preprint arXiv:1909.04847 (2019).
[18] Olivier Jeunen. 2023. A probabilistic position bias model for short-video recommendation feeds. In Proceedings of the 17th ACM conference on recommender systems. 675–681.
[19] Luo Ji, Gao Liu, Mingyang Yin, and Hongxia Yang. 2022. Intra-session Context-aware Feed Recommendation in Live Systems. In Proceedings of the 31st ACM International Conference on Information & Knowledge Management. 4079–4083.
[20] Thorsten Krause and Harrie Oosterhuis. 2025. A Non-Parametric Choice Model That Learns How Users Choose Between Recommended Options. In Proceedings of the Nineteenth ACM Conference on Recommender Systems. 21–30.
[21] Kayhan Latifzadeh, Jacek Gwizdka, and Luis A Leiva. 2025. A versatile dataset of mouse and eye movements on Search Engine Results Pages. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval. 3412–3421.
[22] Li Li, Mingyue Cheng, Yuyang Ye, Zhiding Liu, and Enhong Chen. 2026. FlowRec: Prior-Informed Flow Matching for Efficient Sequential Recommendation Generation. In International Conference on Database Systems for Advanced Applications. Springer, 206–222.
[23] Zihao Li, Aixin Sun, and Chenliang Li. 2023. Diffurec: A diffusion model for sequential recommendation. ACM Transactions on Information Systems 42, 3 (2023), 1–28.
[24] Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. 2022. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747 (2022).
[25] Chengkai Liu, Yangtian Zhang, Jianling Wang, Rex Ying, and James Caverlee. 2025. Flow matching for collaborative filtering. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2. 1765–1775.
[26] Feng Liu, Lixin Zou, Xiangyu Zhao, Min Tang, Liming Dong, Dan Luo, Xiangyang Luo, and Chenliang Li. 2025. Flow matching based sequential recommender model. arXiv preprint arXiv:2505.16298 (2025).
[27] Qi Liu, Kai Zheng, Rui Huang, Wuchao Li, Kuo Cai, Yuan Chai, Yanan Niu, Yiqun Hui, Bing Han, Na Mou, et al. 2025. Recflow: An industrial full flow recommendation dataset. In International Conference on Learning Representations, Vol. 2025. 40368–40385.
[28] Aaron Lou, Chenlin Meng, and Stefano Ermon. 2023. Discrete diffusion modeling by estimating the ratios of the data distribution. arXiv preprint arXiv:2310.16834 (2023).
[29] David Lüdke, Marin Bilós, Oleksandr Shchur, Marten Lienen, and Stephan Günnemann. 2023. Add and thim: Diffusion for temporal point processes. Advances in Neural Information Processing Systems 36 (2023), 56784–56801.
[30] Daniel McFadden. 1972. Conditional logit analysis of qualitative choice behavior. (1972).
[31] Hongyuan Mei and Jason M Eisner. 2017. The neural hawkes process: A neurally self-modulating multivariate point process. Advances in neural information processing systems 30 (2017).
[32] Martin Mladenov, Chih-Wei Hsu, Vihan Jain, Eugene Ie, Christopher Colby, Nicolas Mayoraz, Hubert Pham, Dustin Tran, Ivan Vendrov, and Craig Boutlier. 2021. Recsim ng: Toward principled uncertainty modeling for recommender ecosystems. arXiv preprint arXiv:2103.08057 (2021).
[33] Aleksandr V Petrov and Craig Macdonald. 2023. Generative sequential recommendation with gptrec. arXiv preprint arXiv:2306.11114 (2023).
[34] Shashank Rajput, Nikhil Mehta, Anima Singh, Raghunandan Hulikal Keshavan, Trung Vu, Lukasz Heldt, Lichan Hong, Yi Tay, Vinh Tran, Jonah Samost, et al. 2023. Recommender systems with generative retrieval. Advances in Neural Information Processing Systems 36 (2023), 10299–10315.
[35] Novin Shahroudi, Mihkel Lepson, and Meelis Kull. 2024. Evaluation of trajectory distribution predictions with energy score. In Forty-first International Conference on Machine Learning.
[36] Neta Shaul, Itai Gat, Marton Havasi, Daniel Severo, Anuroop Sriram, Peter Holderrith, Brian Karrer, Yaron Lipman, and Ricky TQ Chen. 2025. Flow matching with general discrete paths: A kinetic-optimal perspective. In International Conference on Learning Representations, Vol. 2025. 16397–16429.
[37] Jing-Cheng Shi, Yang Yu, Qing Da, Shi-Yong Chen, and An-Xiang Zeng. 2019. Virtual-taobao: Virtualizing real-world online retail environment for reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 33. 4902–4909.
[38] Mitchell Stern, William Chan, Jamie Kiros, and Jakob Uszkoreit. 2019. Insertion transformer: Flexible sequence generation via insertion operations. In International Conference on Machine Learning. PMLR, 5976–5985.
[39] Jiakai Tang, Yan Mi, Jing Yu, Yang Zhang, See-Kiong Ng, Qi Cao, Fei Sun, Xu Chen, Wen Chen, Jian Wu, et al. 2026. Towards Faithful Simulation of Human Shopping Behavior. arXiv preprint arXiv:2608.20707 (2026).
[40] Kai Wang, Zheng Zou, Minghao Zhao, Qilin Deng, Yue Shang, Yile Liang, Runze Wu, Xudong Shen, Tangjie Lyu, and Changjie Fan. 2023. RLARS: A real-world dataset for reinforcement learning based recommender system. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval. 2935–2944.
[41] Lei Wang, Jingsen Zhang, Hao Yang, Zhi-Yuan Chen, Jiakai Tang, Zeyu Zhang, Xu Chen, Yankai Lin, Hao Sun, Ruihua Song, et al. 2025. User behavior simulation with large language model-based agents. ACM Transactions on Information Systems 43, 2 (2025), 1–37.
[42] Ziyi Wang, Yuxuan Lu, Wenbo Li, Amirali Amini, Bo Sun, Yakov Bart, Weimin Lyu, Jiri Gesi, Tian Wang, Jing Huang, et al. 2026. Opera: A dataset of observation, persona, rationale, and action for evaluating llms on human online shopping behavior simulation. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 43942–43960.
[43] Zhengyi Yang, Jiancan Wu, Zhicai Wang, Xiang Wang, Yancheng Yuan, and Xiangnan He. 2023. Generate what you prefer: Reshaping sequential recommendation via guided diffusion. Advances in Neural Information Processing Systems 36 (2023), 24247–24261.
[44] An Zhang, Yuxin Chen, Leheng Sheng, Xiang Wang, and Tat-Seng Chua. 2024. On generative agents in recommendation. In Proceedings of the 47th international ACM SIGIR conference on research and development in Information Retrieval. 1807–1817.
[45] Yimeng Zhang, Jiri Gesi, Ran Xue, Tian Wang, Ziyi Wang, Yuxuan Lu, Sinong Zhan, Huimin Zeng, Qingjun Cui, Yufan Guo, et al. 2025. See, think, act: Online shopper behavior simulation with vlm agents. arXiv preprint arXiv:2510.19245 (2025).
[46] Zijian Zhang, Shuchang Liu, Ziru Liu, Rui Zhong, Qingpeng Cai, Xiangyu Zhao, Chunxu Zhang, Qidong Liu, and Peng Jiang. 2025. Llm-powered user simulator for recommender system. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 13339–13347.
[47] Kesen Zhao, Shuchang Liu, Qingpeng Cai, Xiangyu Zhao, Ziru Liu, Dong Zheng, Peng Jiang, and Kun Gai. 2023. KuaiSim: A comprehensive simulator for recommender systems. Advances in Neural Information Processing Systems 36 (2023), 44880–44897.
[48] Xiangyu Zhao, Long Xia, Lixin Zou, Hui Liu, Dawei Yin, and Jiliang Tang. 2021. Usersim: User simulation via supervised generativeadversarial network. In Proceedings of the Web Conference 2021. 3582–3589.
[49] Ziqi Zhao, Zhaochun Ren, Jiyuan Yang, Zuming Yan, Zihan Wang, Liu Yang, Pengjie Ren, Zhumin Chen, Maarten de Rijke, and Xin Xin. 2025. Improving sequential recommenders through counterfactual augmentation of system exposure. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval. 1508–1518.
[50] Guorui Zhou, Na Mou, Ying Fan, Qi Pi, Weijie Bian, Chang Zhou, Xiaoqiang Zhu, and Kun Gai. 2019. Deep interest evolution network for click-through rate prediction. In Proceedings of the AAAI conference on artificial intelligence, Vol. 33. 5941–5948.
A Benchmark and Dataset Details
A.1 TaobaoBrowse Construction
Browsing extent follows the order of factual exposures and is distinguished from the original candidate position. Unexposed candidates are not labeled as negative feedback.
After the observed prefix, 56.76% of response suffixes contain no key event and 25.70% contain exactly one. On TaobaoBrowse, key events correspond to clicks. Figure 5 shows the distributions of browsing extent and key event count, together with key event rates and exposure support across browsing depths.
A.2 Comparison with Existing Benchmarks
Table 4 compares five documented properties relevant to browsing response simulation: production provenance, factual within-session exposure progression, clicked-target occurrence, and user-profile and item context. Exposure progression refers to recorded browsing or viewport advancement, rather than merely time-ordered interactions. TaobaoBrowse combines production recommendation context with observed progression and item-directed key events. A cross indicates that a property is not established at the required granularity, rather than necessarily absent from the original dataset.
Table 4: Documented benchmark capabilities for browsing response simulation. ✓: verified; X: not established at the required granularity.
| Benchmark | Prod. | Exposure trace | Click target | Profile | Item |
|---|---|---|---|---|---|
| KuaiRand [10] | ✓ | ✗ | ✓ | ✓ | ✓ |
| RecFlow [27] | ✓ | ✗ | ✓ | ✓ | ✓ |
| RL4RS [40] | ✓ | ✗ | ✓ | ✓ | ✓ |
| OPeRA [42] | ✗ | ✓ | ✓ | ✓ | ✓ |
| AdSERP [21] | ✗ | ✓ | ✓ | ✗ | ✓ |
| TaobaoBrowse | ✓ | ✓ | ✓ | ✓ | ✓ |
A.3 External Evaluation Tasks
KuaiRand-Like. Blocks are constructed from KuaiRand-1K [10]. Records are ordered by user, date, time, and stable tie-breaking fields. Runs are separated by date/tab changes or gaps exceeding 30 minutes, then partitioned into blocks of at most 32 exposures. The target is i_s_like, with likes treated as key events. Valid positions define the binary event response vector. The splits contain 100,000/5,000/10,000 blocks.
AdSERP. Of 2,776 recorded search trials from 47 participants [21], 2,306 retain reconstructible exposure geometry and click-to-result mapping. A result is exposed when at least half of its card is visible; re-entry defines a new exposure occurrence. Clicks are treated as key events. The participant-disjoint training/validation/test split is 1,613/355/338. Both external tasks generate key event responses conditioned on fixed observed exposure sequences, rather than predicting natural session termination.
B Evaluation Details
B.1 Distributional Metrics
TaobaoBrowse uses all 20,000 test contexts and K = 8 generated responses per context; the fixed-exposure tasks use K = 128. Energy Score (ES) is computed per context using the U-statistic sample-pair term and then averaged across contexts.

(a) Browsing extent.

(b) Key event count.

(c) Key event rate and exposure support.
Figure 5: Empirical browsing statistics of TaobaoBrowse. Key event rate denotes the fraction of valid exposures with a click.
For TaobaoBrowse, the response encoding in Eq. (18) contains 400 ordered positions with joint action and clicked-target categories, padded as needed, and one terminal coordinate. A click and its target form a joint category, while progression actions do not carry clicked targets. Thus, in the response distance.
For the fixed-exposure tasks, the binary distance in Eq. (19) is computed only over valid exposures. Equivalently, a valid-exposure mask excludes padded positions, with .
The canonical TaobaoBrowse response encoding admits an equivalent Euclidean representation. For concatenated one-hot vectors ,
The encoding is injective on valid recorded responses. The binary response distance is likewise a positive rescaling of Euclidean distance over the valid exposure positions. Both distances therefore induce strictly proper population Energy Scores on their respective response spaces, as shown below.
Strict propriety of the Energy Score. Let be the predictive distribution and the true conditional response distribution on either response space. For a distance induced by a Euclidean embedding, the population Energy Score is
where and are independent draws from and is an independent draw from . Under the stated distance conditions, the Energy Score is strictly proper: its expected value is uniquely minimized when [12].
For TaobaoBrowse, injectivity of ensures that distinct valid responses have distinct embeddings. For the fixed-exposure tasks, each binary response is represented by its valid exposure coordinates, so distinct response vectors also have distinct embeddings. In both cases, the distance is a positive multiple of Euclidean distance. Hence the population Energy Score distinguishes different predictive distributions and is uniquely minimized by the true conditional response distribution.
Count W1 compares the aggregate empirical distributions of observed and generated key event counts, rather than averaging context-wise Wasserstein distances. Counts refer to suffix clicks on
TaobaoBrowse, likes on KuaiRand-Like, and clicks on AdSERP, restricted to valid exposures. For evaluations with multiple generation seeds, Count W1 is computed per seed before averaging.
B.2 Likelihood and Local Metrics
On TaobaoBrowse, PPL evaluates the observed next joint response, including the clicked target when applicable, rather than the likelihood of the complete response suffix:
BrowseFlow obtains local probabilities by marginalizing over possible browsing extents and future insertion paths, using flow-time intervals and importance samples for nontrivial marginals. External PPL uses joint binary response likelihood normalized by the total valid exposures in the evaluated panel.
On TaobaoBrowse, SeqHit@1 requires exact matching of the first sampled ordered response suffix, including clicked targets and the terminal state. For the external tasks, marginal key event probabilities estimated from draws are thresholded at 0.5 before exact vector matching.
TaobaoBrowse AUC pools 1,024 prefix queries and uses the fraction of first-event samples that are clicks as the prediction score. On the fixed-exposure tasks, AUC evaluates local key event discrimination over valid exposures.
B.3 Distributional and Behavioral Diagnostics
For the ES component plots, the mean generated-to-observed distance and the mean distance between distinct generated samples are computed for each evaluated context and averaged across available seeds before plotting their context-level distributions. The pairwise distance is shown without the factor of one half used in ES.
For the key event count CDF plot, each model's event count probabilities are averaged across seeds before cumulative summation and subtraction of the common observed CDF. The displayed range covers counts 0–10, while the full count support is retained. The signed CDF deviation is a diagnostic; its absolute area is not identified with the mean of seed-level Count W1 values.
For behavioral analysis, browsing extent MAE is grouped by observed extent. UserSim is selected as the strongest baseline by overall extent MAE, rather than separately within each group. First click placement is evaluated in absolute depth and relative to browsing extent, conditional on responses containing a first click.
C Baseline Adaptations
C.1 Common Response Interface
On TaobaoBrowse, baselines sequentially generate progression, click, and termination actions. For clicks, they also select a legal, visible, previously unclicked target. For baselines with learned action and target prediction heads, the task loss combines next-action and conditional clicked-target cross-entropy:
Here T and C count supervised actions and clicks, respectively. Native response representations and legal-item scores condition these predictions; CaseRec uses its own causal prediction head. For the fixed-exposure tasks, methods generate binary key event feedback over the recorded exposure sequence.
C.2 Method-Specific Adaptations
UBM [9]. The native click score factorizes as , with item attractiveness and examination conditioned on rank and the previous clicked position l. Generated clicks update l.
DBN [6]. Attractiveness, post-click satisfaction, and latent examination continuation are propagated through an active/stopped-state recursion. The latent stopped state is not identified with observed session termination; fixed-exposure likelihoods marginalize it by forward recursion.
RLARS-DIEN [40, 50]. GRU history encoding, candidate attention, and AUGRU interest evolution supply response features for the task heads. On fixed exposure sequences, feedback is sampled from history-conditioned Bernoulli probabilities.
UserSim [48]. The recurrent generator/discriminator retains its adversarial, response-supervision, and reconstruction objectives alongside . Generator and discriminator are pretrained before joint updates; sampled feedback updates the recurrent state.
KuaiSim [47]. Its history-conditioned response state drives task predictions. On fixed exposure plans, feedback is sampled within recorded groups and used to update a recurrent state between groups.
CaseRec [49]. A causal Transformer processes alternating state and action-context tokens, using a recurrent summary of completed events. The adapter predicts actions and legal targets from this state, using up to ten completed events per state.
D BrowseFlow Algorithm and Implementation
D.1 BrowseFlow Inference
On TaobaoBrowse, BrowseFlow first samples browsing extent from the complete recommendation context and re-encodes the session within the selected region. An insertion flow then generates an ordered sequence of key events, which is decoded into a complete
browsing response. Algorithm 2 summarizes this procedure. For the fixed-exposure tasks, the exposure horizon is given, and only key event responses are generated.
Algorithm 2 BrowseFlow Inference
Require: Context X, flow intervals G Ensure: Generated response 1: 2: 3: 4: for do 5: s , 6: while do 7: 8: if or then 9: break 10: end if 11: w 12: if then 13: break 14: end if 15: z 16: A , 17: end while 18: end for 19: return Decode
The sampled extent and its encoded context remain fixed throughout event generation. Within each flow interval, exponential waiting times determine successive insertions. After each insertion, transition rates and legal operations are updated. The operation distribution follows the gap, depth, and mark factorization in Section 3.4. The flow permits an empty key event sequence. Finally, decoding reconstructs progression actions and session termination on TaobaoBrowse, while the external tasks retain the observed exposure horizon.
D.2 Conditional Rate Matching
Fix the context and extent, suppressing them in the notation. For the random-retention path, let denote the conditional target insertion rate and its marginal rate. For nonnegative rate vectors on the same finite support, write
PROPOSITION D.1 (CONDITIONAL RATE MATCHING). For a state of positive marginal probability and finite divergences,
where is independent of model parameters.
PROOF. Expanding the generalized KL divergence, the terms depending on are , identical to those of the marginal divergence. The remaining difference is
which is independent of . The common positive weighting by preserves this equivalence.
COROLLARY D.2 (EXPECTED REMAINING EVENTS). If is the number of target key events absent from , the marginal total intensity satisfies
Each missing target key event has conditional insertion rate . Summing these rates and taking the posterior expectation gives the corollary.
D.3 Model Configuration and Ablation Protocol
BrowseFlow uses 128-dimensional hidden states, 2/2/4 Transformer layers for history, session, and partial key events, four attention
heads, FFN dimension 512, and dropout 0.1. We use AdamW with weight decay 0.01, effective batch size 128, and 5% warmup. Learning rates are on TaobaoBrowse and KuaiRand-Like, and on AdSERP. Generation uses 32 flow-time intervals.
The ablation study compares dense action sequences with a representation based on browsing extent and sparse key events under autoregressive and Flow Matching generation. Within Flow Matching, append-only generation restricts new events to the end of the partial sequence, whereas insertion allows events to be placed between existing events. These configurations isolate the effects of response representation, generation mechanism, and insertion operations on ES and Count W1.