Reproduce “Think in Sentences: Explicit Sentence Boundaries Enhance Language Model's Capabilities” 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
Zhichen Liu, Yongyuan Li, Yang Xu
Researchers from Southern University of Science and Technology introduce a method to enhance large language model capabilities by explicitly marking sentence boundaries with a delimiter token. This approach, applied through both in-context learning and supervised fine-tuning, consistently improves performance across various reasoning benchmarks, including gains of up to +7.73% on GSM8k and +12.5% on DROP.
Key insights
- Explicit sentence delimiters encourage LLMs to perform a 'context integration A next-step planning' cycle at each sentence's end, mimicking human post-sentence reflection and enhancing reasoning.
- The choice of delimiter is crucial, with structured, non-semantic tokens yielding the most consistent performance gains, indicating the importance of a clear structural signal.
- Sentence-level granularity for delimitation is optimal, outperforming fixed-length chunking or random token insertion, as it aligns with natural linguistic structure.
- Delimiter tokens act as focal points in attention maps, drawing significantly higher attention from subsequent tokens and serving as 'inference anchors' that organize information flow within the model.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.