mlsanityData to 7 Oct 2026

NEST: Nested Event Stream Transformer for Sequences of Multisets

arXiv 2602.00520 ↗First posted 31 Jan 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Event stream data often exhibit hierarchical structure in which multiple events co-occur, resulting in a sequence of multisets (i.e., bags of events). In electronic health records (EHRs), for example, medical events are grouped into a sequence of clinical encounters with well-defined temporal structure, but the order and timing of events within each encounter may be unknown or unreliable. Most existing foundation models (FMs) for event stream data flatten this hierarchy into a one-dimensional sequence, leading to (i) computational inefficiency associated with dense attention and learning spurious within-set relationships, and (ii) lower-quality set-level representations from heuristic post-training pooling for downstream tasks. Here, we show that preserving the original hierarchy in the FM architecture provides a useful inductive bias that improves both computational efficiency and representation quality. We then introduce Nested Event Stream Transformer (NEST), a FM for event streams comprised of sequences of multisets. Building on this architecture, we formulate Masked Set Modeling (MSM), an efficient paradigm that promotes improved set-level representation learning. Experiments on real-world multiset sequence data show that NEST captures real-world dynamics while improving both pretraining efficiency and downstream performance.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 41 of its 51 references that are in the map. First posted on arXiv 31 Jan 2026.

Builds on

41 of 51 references.

References · 41

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2020Longformer: The Long-Document Transformercited by 3,362
  6. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  7. 2020GLU Variants Improve Transformercited by 1,724
  8. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  9. 2020Rethinking Attention with Performerscited by 1,584
  10. 2018Self-Attentive Sequential Recommendationcited by 1,169
  11. 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
  12. 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 952
29 more
  1. 2020On Layer Normalization in the Transformer Architecturecited by 906
  2. 2020Object-Centric Learning with Slot Attentioncited by 865
  3. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
  4. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  5. 2020Med-BERT: pre-trained contextualized embeddings on large-scale structured electronic health records for disease predictioncited by 368
  6. 2016Using the Output Embedding to Improve Language Modelscited by 266
  7. 2019BEHRT: Transformer for Electronic Health Recordscited by 258
  8. 2019Neural Legal Judgment Prediction in Englishcited by 208
  9. 2019Time2Vec: Learning a Vector Representation of Timecited by 208
  10. 2021Self-attention Does Not Need O(n2) Memorycited by 152
  11. 2022DiffCSE: Difference-based Contrastive Learning for Sentence Embeddingscited by 131
  12. 2023EHRSHOT: An EHR Benchmark for Few-Shot Evaluation of Foundation Modelscited by 101
  13. 2024Large Concept Models: Language Modeling in a Sentence Representation Spacecited by 86
  14. 2021CEHR-BERT: Incorporating temporal information from structured EHR data to improve prediction taskscited by 75
  15. 2023MOTOR: A Time-To-Event Foundation Model For Structured Medical Recordscited by 75
  16. 2024Zero Shot Health Trajectory Prediction Using Transformercited by 74
  17. 2019Deep Set Prediction Networkscited by 71
  18. 2021Hi-BEHRT: Hierarchical Transformer-based model for accurate prediction of clinical events using multimodal longitudinal electronic health recordscited by 53
  19. 2023Soft Contrastive Learning for Time Seriescited by 49
  20. 2023Event Stream GPT: A Data Pre-processing and Modeling Library for Generative, Pre-trained Transformers over Continuous-time Sequences of Complex Eventscited by 46
  21. 2022An Exploration of Hierarchical Attention Transformers for Efficient Long Document Classificationcited by 38
  22. 2020Modeling Personalized Item Frequency Information for Next-basket Recommendationcited by 24
  23. 2024CORE-BEHRT: A Carefully Optimized and Rigorously Evaluated BEHRTcited by 20
  24. 2023BERT4ETH: A Pre-trained Transformer for Ethereum Fraud Detectioncited by 19
  25. 2021A Next Basket Recommendation Reality Checkcited by 15
  26. 2023Event-Based Contrastive Learning for Medical Time Seriescited by 13
  27. 2023Masked and Swapped Sequence Modeling for Next Novel Basket Recommendation in Grocery Shoppingcited by 7
  28. 2017Loss Functions for Multiset Predictioncited by 6
  29. 2024HDT: Hierarchical Document Transformercited by 6

Built on by

Not cited yet.