Reproduce “Language modeling via stochastic processes” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Rose E Wang, Esin Durmus, Noah Goodman, Tatsunori Hashimoto

"Time Control" (TC), a new method, enhances long-text coherence in large language models by integrating contrastive learning with Brownian bridge stochastic processes. The approach learns latent representations of text segments following these dynamics, leading to more coherent and structured long text generation, exhibiting improved length consistency and better dialogue flow compared to fine-tuned autoregressive models.

Key insights

  • Explicitly modeling text dynamics using Brownian bridge stochastic processes within a contrastive learning framework provides a mechanism for improved global coherence in long text generation.
  • The learned latent representations effectively capture both local (discourse coherence) and global (section length consistency) text dynamics, demonstrating versatility for different language tasks.
  • Ablation studies confirm the importance of the specific contrastive loss and Brownian bridge dynamics over alternative approaches like variational auto-encoders or implicit dynamics for learning informative structural embeddings.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.