mlsanityData to 7 Oct 2026

Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNets

arXiv 2602.10583 ↗First posted 11 Feb 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Standard autoregressive language models generate text token-by-token from a fixed vocabulary, inducing a tree-structured state space when viewing token sampling as an action, which limits flexibility and expressiveness. Recent work introduces dynamic vocabulary by sampling retrieved text spans but overlooks that the same sentence can be composed of spans of varying lengths, lacking explicit modeling of the directed acyclic graph (DAG) state space. This leads to restricted exploration of compositional paths and is biased toward the chosen path. Generative Flow Networks (GFlowNets) are powerful for efficient exploring and generalizing over state spaces, particularly those with a DAG structure. However, prior GFlowNets-based language models operate at the token level and remain confined to tree-structured spaces, limiting their potential. In this work, we propose Flow of SpanS (FOSS), a principled GFlowNets framework for span generation. FoSS constructs a dynamic span vocabulary by segmenting the retrieved text flexibly, ensuring a DAG-structured state space, which allows GFlowNets to explore diverse compositional paths and improve generalization. With specialized reward models, FoSS generates diverse, high-quality text. Empirically, FoSS improves MAUVE scores by up to 12.5% over Transformer on text generation and achieves 3.5% gains on knowledge-intensive tasks, consistently outperforming state-of-the-art methods. Scaling experiments further demonstrate FoSS benefits from larger models, more data, and richer retrieval corpora, retaining its advantage over strong baselines.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 56 of its 62 references that are in the map. First posted on arXiv 11 Feb 2026.

Builds on

56 of 62 references.

References · 56

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  6. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  7. 2016Pointer Sentinel Mixture Modelscited by 2,992
  8. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  9. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  10. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  11. 2017Billion-scale similarity search with GPUscited by 2,477
  12. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
38 more
  1. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  2. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
  3. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  4. 2023Large Language Models are not Fair Evaluatorscited by 1,050
  5. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  6. 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 525
  7. 2019Neural Text Generation with Unlikelihood Trainingcited by 489
  8. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  9. 2021Flow Network based Generative Models for Non-Iterative Diverse Candidate Generationcited by 384
  10. 2023GPTScore: Evaluate as You Desirecited by 357
  11. 2017Six Challenges for Neural Machine Translationcited by 334
  12. 2021GFlowNet Foundationscited by 286
  13. 2022Trajectory balance: Improved credit assignment in GFlowNetscited by 244
  14. 2022A Contrastive Framework for Neural Text Generationcited by 224
  15. 2023Helping or Herding? Reward Model Ensembles Mitigate but do not Eliminate Reward Hackingcited by 195
  16. 2022Biological Sequence Design with GFlowNetscited by 172
  17. 2020Revisiting Fundamentals of Experience Replaycited by 171
  18. 2022Bayesian Structure Learning with Generative Flow Networkscited by 153
  19. 2022Learning GFlowNets from partial episodes for improved convergence and stabilitycited by 129
  20. 2023Amortizing intractable inference in large language modelscited by 94
  21. 2023Better Training of GFlowNets with Local Credit and Incomplete Trajectoriescited by 83
  22. 2023Towards Understanding and Improving GFlowNet Trainingcited by 74
  23. 2025NoveltyBench: Evaluating Language Models for Humanlike Diversitycited by 64
  24. 2024Learning diverse attacks on large language models for robust red-teaming and safety tuningcited by 54
  25. 2023GFlowNet-EM for learning compositional latent variable modelscited by 40
  26. 2024RGFN: Synthesizable Molecular Generation Using GFlowNetscited by 39
  27. 2024Flow of Reasoning: Training LLMs for Divergent Reasoning with Minimal Examplescited by 29
  28. 2024Nearest Neighbor Speculative Decoding for LLM Generation and Attributioncited by 26
  29. 2023Copy Is All You Needcited by 25
  30. 2022Chunk-based Nearest Neighbor Machine Translationcited by 21
  31. 2023An Empirical Study of the Effectiveness of Using a Replay Buffer on Mode Discovery in GFlowNetscited by 17
  32. 2023Pre-Training and Fine-Tuning Generative Flow Networkscited by 16
  33. 2024How to Make the Most of LLMs' Grammatical Knowledge for Acceptability Judgmentscited by 14
  34. 2024Pessimistic Backward Policy for GFlowNetscited by 13
  35. 2024Improved Off-policy Reinforcement Learning in Biological Sequence Designcited by 13
  36. 2024Optimizing Backward Policies in GFlowNets via Trajectory Likelihood Maximizationcited by 12
  37. 2024Retrieval is Accurate Generationcited by 10
  38. 2024Investigating Generalization Behaviours of Generative Flow Networkscited by 6

50 most cited of 56 All 56 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Models
  2. 2025FS-DFM: Fast and Accurate Long Text Generation with Few-Step Diffusion Language Models
  3. 2026SRA: Span Representation Alignment for Large Language Model Distillation
  4. 2025LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learning
  5. 2025Explaining Large Language Models with gSMILE
  6. 2026ConvergeFlow: Language Flow with Provable Convergence to Token Embeddings
  7. 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graph
  8. 2025Syntax-Guided Diffusion Language Models with User-Integrated Personalization