Saved in:
Bibliographic Details
Main Authors: Wyatt, Charlie, Joshi, Aditya, Salim, Flora
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.07702
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908484323246080
author Wyatt, Charlie
Joshi, Aditya
Salim, Flora
author_facet Wyatt, Charlie
Joshi, Aditya
Salim, Flora
contents Transformer-based models primarily rely on Next Token Prediction (NTP), which predicts the next token in a sequence based on the preceding context. However, NTP's focus on single-token prediction often limits a model's ability to plan ahead or maintain long-range coherence, raising questions about how well LLMs can predict longer contexts, such as full sentences within structured documents. While NTP encourages local fluency, it provides no explicit incentive to ensure global coherence across sentence boundaries-an essential skill for reconstructive or discursive tasks. To investigate this, we evaluate three commercial LLMs (GPT-4o, Claude 3.5 Sonnet, and Gemini 2.0 Flash) on Masked Sentence Prediction (MSP) - the task of infilling a randomly removed sentence - from three domains: ROCStories (narrative), Recipe1M (procedural), and Wikipedia (expository). We assess both fidelity (similarity to the original sentence) and cohesiveness (fit within the surrounding context). Our key finding reveals that commercial LLMs, despite their superlative performance in other tasks, are poor at predicting masked sentences in low-structured domains, highlighting a gap in current model capabilities.
format Preprint
id arxiv_https___arxiv_org_abs_2508_07702
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle What am I missing here?: Evaluating Large Language Models for Masked Sentence Prediction
Wyatt, Charlie
Joshi, Aditya
Salim, Flora
Computation and Language
Transformer-based models primarily rely on Next Token Prediction (NTP), which predicts the next token in a sequence based on the preceding context. However, NTP's focus on single-token prediction often limits a model's ability to plan ahead or maintain long-range coherence, raising questions about how well LLMs can predict longer contexts, such as full sentences within structured documents. While NTP encourages local fluency, it provides no explicit incentive to ensure global coherence across sentence boundaries-an essential skill for reconstructive or discursive tasks. To investigate this, we evaluate three commercial LLMs (GPT-4o, Claude 3.5 Sonnet, and Gemini 2.0 Flash) on Masked Sentence Prediction (MSP) - the task of infilling a randomly removed sentence - from three domains: ROCStories (narrative), Recipe1M (procedural), and Wikipedia (expository). We assess both fidelity (similarity to the original sentence) and cohesiveness (fit within the surrounding context). Our key finding reveals that commercial LLMs, despite their superlative performance in other tasks, are poor at predicting masked sentences in low-structured domains, highlighting a gap in current model capabilities.
title What am I missing here?: Evaluating Large Language Models for Masked Sentence Prediction
topic Computation and Language
url https://arxiv.org/abs/2508.07702