Reproduce “PonderLM-3: Adaptive Token-Wise Pondering with Differentiable Masking” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

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

About this paper

He Li, Feichen Song, Boyi Zeng, Shixiang Song, Zhiqin John Xu, Ziwei He, Zhouhan Lin

PonderLM-3 introduces a framework for large language models that adaptively allocates computational steps on a per-token basis during inference, moving beyond fixed-step approaches. It achieves a superior perplexity-compute Pareto frontier, demonstrating lower perplexity for a given amount of executed compute and maintaining competitive performance on downstream tasks with reduced inference FLOPs.

Key insights

  • Computational demand in language generation is highly non-uniform, necessitating an adaptive allocation of processing resources rather than a fixed 'compute tax' per token.
  • Adaptive pondering, including when to halt, can be learned end-to-end within a purely self-supervised pretraining objective through a differentiable masking mechanism, eliminating the need for external supervision.
  • Jacobi-aligned parallel training effectively approximates sequential inference behavior, ensuring consistency between the learned adaptive stopping policy during training and its hard-stopping application at inference time.

Summary by alphaXiv.

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