Abstract
Large Language Models (LLMs) are increasingly deployed in complex, multi-step workflows, yet their ability to maintain ordered execution across non-sequential steps remains underexplored. We introduce the Reordered Instruction Following Testbed (RIFT), an evaluation framework that holds factual content fixed while comparing linear and jumping traversal. Across six models, mean jumping accuracy is approximately 72–94% lower than mean linear accuracy, corresponding to absolute losses of 13–43 percentage points. Between 33 and 60% of incorrect responses are identified as answers to other questions in the same prompt, providing behavioral evidence of sequence misalignment. In a single-model intervention study, path-based prompts raise sequence coverage from about 21% to about 90%, while the best overall accuracy remains about 22%. Model-generated paths outperform algorithmic paths descriptively, but differences in path structure and fallback selection prevent a causal interpretation. The results distinguish completion from ordered correctness without establishing an internal mechanism for the observed failures.
1. Introduction
Instruction following—mapping a natural-language specification to behavior that satisfies its content, format, and procedural constraints—is a central objective of instruction tuning and preference alignment [1,2,3,4]. The requirement becomes more consequential when a model is used as an agent rather than as a single-turn text generator. Agentic methods interleave reasoning with actions and maintain plans across multiple interactions [5], while evaluations such as AgentBench identify long-horizon reasoning, decision making, and instruction following as persistent obstacles to reliable agents [6]. In these settings, skipping, repeating, or reordering one step can change the state seen by every downstream step.
Long context windows do not by themselves establish reliable long-horizon execution. LongBench evaluates understanding across long-document tasks [7], lost-in-the-middle analyses reveal strong sensitivity to the position of relevant information [8], and RULER shows that effective context length can be substantially shorter than the advertised window as sequence length and task complexity increase [9]. These studies establish that access to more tokens does not guarantee uniform use of those tokens. However, their primary targets are retrieval, question answering, summarization, aggregation, or in-context learning, rather than the faithful production of a long, externally specified output sequence.
Instruction-following benchmarks examine complementary dimensions. IFEval emphasizes objectively verifiable constraints [10]; ComplexBench and FollowBench vary the number and composition of constraints [11,12]; and SIFo evaluates coherent sequences of instructions across several task types [13]. These benchmarks demonstrate that models struggle as constraints or instruction sequences become more complex, but they generally change task content together with instruction structure. Consequently, they do not isolate whether a failure is caused by the underlying item, the number of constraints, the position of information, or the topology through which otherwise identical items must be traversed.
We study this unresolved factor through execution state, which we use as an operational behavioral concept rather than a claim about a model’s internal architecture. Execution state denotes the model’s ability to preserve the current location in a prescribed sequence, identify the required successor, and keep generated answers aligned with that sequence. Our central question is therefore the following: can a model maintain ordered execution when traversal structure changes while task content remains fixed?
We introduce RIFT (Reordered Instruction Following Testbed), a controlled evaluation that compares linear traversal with jumping traversal over the same rephrased Jeopardy! question–answer pairs. RIFT makes three contributions. First, it defines prompt topology as an independently manipulated variable while holding questions, answers, and output requirements constant. Second, it separates coverage (whether required positions are attempted) from accuracy (whether the correct answer is produced at the correct position) and explicitly identifies wrong-question answers as order errors. Third, it evaluates planning and path-based prompt interventions to distinguish incomplete outputs, wrong-question answers, and residual answer errors at the behavioral level.
Across the tested models, changing only the traversal topology causes substantial performance degradation. The experiments further show that path-based prompting greatly improves completion but does not restore reliable order fidelity. RIFT is therefore not intended as a benchmark of factual difficulty or retrieval; it isolates ordered execution under controlled topology changes, complementing existing work on constraint following, sequential instruction following, agent evaluation, and long-context understanding.
2. Related Work
2.1. Instruction Following and Sequential Execution
Instruction tuning established that collections of natural-language task descriptions can produce broad zero-shot generalization [1,2], and reinforcement learning from human feedback further improved adherence to user intent [3]. Surveys of this literature distinguish instruction understanding, constraint satisfaction, generalization, and evaluation as related but separate problems [4]. Objective benchmarks subsequently targeted specific aspects of adherence: IFEval uses automatically verifiable constraints [10], ComplexBench studies compositions of multiple constraints [11], and FollowBench adds content, situational, stylistic, formatting, and example-based constraints at increasing levels of difficulty [12].
The closest line of work to RIFT concerns multiple or sequential instructions. SIFo tests whether a model can apply coherent instruction sequences whose success is verifiable from the final result [13], while studies of instruction-count limits report declining adherence as more requirements are combined [14,15]. Agent benchmarks broaden the setting to multi-turn interaction with external environments; AgentBench, for example, evaluates reasoning and decision making across eight environments and reports instruction-following and long-term planning failures [6]. RIFT differs in experimental control: each condition contains the same factual items and output format, and only the successor relation among items changes. It therefore measures sensitivity to traversal topology rather than to a different instruction set, environment, or task objective.
2.2. Long-Context Evaluation and Positional Effects
General evaluation suites such as BIG-Bench and HELM emphasize broad capability coverage and standardized comparison across heterogeneous tasks [16,17]. LongBench instead focuses on long-document understanding across question answering, summarization, few-shot learning, synthetic tasks, and code completion [7]. RULER extends long-context testing beyond simple needle retrieval to multi-hop tracing and aggregation, finding substantial degradation as context length and task complexity increase [9]. These results motivate distinguishing a model’s nominal context window from its effective ability to use that context.
Positional retrieval is also relevant but not equivalent to ordered execution. The lost-in-the-middle effect describes reduced access to information placed near the center of a long input [8]. RIFT instead requires an evolving sequence of successor decisions and evaluates whether outputs remain aligned after each decision. A positional retrieval error concerns whether a particular item can be recovered; an execution-state error can propagate because one incorrect transition changes the intended identity of subsequent outputs.
2.3. Planning and Structured Prompting
Chain-of-thought prompting and zero-shot reasoning prompts externalize intermediate computation [18,19], while self-consistency aggregates multiple reasoning paths [20]. Plan-and-Solve separates plan construction from solution execution [21], Tree of Thoughts explores multiple candidate reasoning trajectories [22], and ReAct interleaves reasoning with actions while updating a task plan [5]. These methods motivate RIFT’s plan-first and path-generation interventions, but RIFT uses them diagnostically rather than as general reasoning methods: the factual questions are deliberately simple, and the intervention is tested for its ability to preserve traversal order.
Taken together, prior work documents failures under complex constraints, many instructions, long contexts, difficult positions, and interactive agent trajectories, as seen in Table 1. The remaining gap is a controlled comparison in which content and instruction count are fixed while only the order relation changes. RIFT fills this gap by treating prompt topology as the independent variable and by separately measuring completion, factual correctness, and sequence alignment.
Table 1.
Conceptual positioning of RIFT relative to complementary evaluations. The comparison concerns task design rather than relative model performance.
3. Framework
3.1. Design Rationale
RIFT isolates the effect of prompt topology—the organization and traversal order of questions—independently of linguistic or semantic difficulty. This controlled-factor design follows the broader benchmark principle that interpretable comparisons require clearly specified scenarios and metrics [17], but the topology manipulation, prompts, and error categories described below are introduced in this work. The central methodological choice is to use short factual items rather than tasks requiring extended reasoning. Single-question accuracy nevertheless ranges from 55.71% to 84.83% across models, so factual knowledge is not uniformly assured. Holding items fixed supports comparisons between traversal conditions, but does not establish the cause of each individual error. Section 4 examines dollar-value trends; this aggregate check does not replace item-level baseline normalization.
3.2. Formal Structure
We use standard directed-graph and Hamiltonian-path terminology [23] to define a prompt graph , where each node represents a question–answer pair and each directed edge specifies the next question to answer. The following equations are our formalization of the RIFT manipulation and are not adapted from an existing benchmark. In the baseline configuration, questions are presented individually to establish each model’s factual knowledge ceiling.
In the linear configuration, traversal is sequential:
with followed by a terminal “done.” For the jumping configuration, let denote the node visited at traversal position t under jump distance k:
The standard coprimality property of modular sequences [24] ensures that visit every node exactly once. Thus, is a Hamiltonian path beginning at ; after , the prompt terminates with “done” rather than adding an edge back to . Without the coprimality constraint, modular jumping can enter a shorter cycle that revisits some nodes and omits others, confounding the evaluation. Here k is a modular stride, not a maximum absolute displacement: adjacent indices differ by either k or because of wraparound. This construction provides a controlled way to vary traversal complexity while holding task content fixed. Varying k changes traversal structure without changing the underlying items, but its effect depends on n and need not increase monotonically.
3.3. Phase 1 Prompt Construction
Each configuration uses two layers of instruction: a system prompt establishing behavioral constraints, and a user prompt containing the question sequence with embedded traversal logic. The system prompt instructs the model to act as a factual executor that follows arrow-based navigation commands and outputs only a comma-separated answer list; the full templates are given in Section 3.5. Each question in the user prompt concludes with a navigation instruction:
1. ⟨Question text⟩ → Now Answer Question Number 32. ⟨Question text⟩ → You are done.3. ⟨Question text⟩ → Now Answer Question Number 2
In linear prompts, each arrow points to the next numerical index. In jumping prompts, the destination follows the Hamiltonian path defined by k. Questions, answers, and the system prompt are identical across both conditions; only the arrow destinations differ.
To make the contrast concrete: suppose under the linear condition on a five-question prompt, the correct output is the Jordan, loch, the Missouri, Jackie Robinson, the Boer War. Under the jumping condition with (traversal order 1, 4, 2, 5, 3), the identical questions require the output the Jordan, Jackie Robinson, loch, the Boer War, the Missouri. The answers are the same; only their required order changes.
3.4. Phase 2 Prompt Families
Phase 2 evaluates four prompt families, each targeting a different hypothesis about the source of execution failure. Plan-first is motivated by methods that separate planning from execution [21], and generate-path is motivated more broadly by structured trajectory construction in planning-oriented prompting [5,22]. The exact prompt templates, explicit-path control, two-stage generate-path procedure, and comparison among the four families are original to this study.
Current is the unmodified Phase 1 jumping baseline.
Plan-first instructs the model to determine the complete traversal order before producing any answers, then answer in that order.
Explicit-path removes arrow instructions from the question list and instead supplies the full traversal sequence as a precomputed path string.
Generate-path uses two LLM calls: the first generates a traversal path as JSON, which is parsed and normalized; the second answers the questions using that generated path. If no valid Hamiltonian path is produced within five attempts, the system falls back to the algorithmic constructor used in explicit-path.
Generate-path and explicit-path share the answer-phase prompt format and instructions, but not necessarily the same traversal sequence. Stage 1 constrains absolute step sizes, whereas explicit-path uses modular strides. Repair attempts and fallback selection introduce further differences. Their comparison therefore evaluates bundled procedures rather than isolating a path representation effect (Section 7.4).
3.5. Prompt Templates
All prompt families share the following output instruction appended to every system prompt:
Do not second guess yourself. Stick with your initial answer. After finishing, output ONLY a comma-separated list of your answers in the order answered. The comma-separated list must be your only final output. Do not include commentary, reasoning, labels, numbering, markdown, or any text before or after the list.
3.5.1. Current
System: You are a program executor, not a commentator. You always have access to general knowledge and must provide real factual answers when asked. Your only job is to follow jump instructions (→) strictly and answer each question factually and concisely. You start by answering question number 1, then follow each arrow in order until you reach ‘done’. Never analyze the task or comment on it. Never summarize. [+ shared output instruction]
User: Questions: {numbered questions with arrow instructions}\nBegin.
3.5.2. Plan-First
System: You are a program executor, not a commentator. Your job has three phases. PHASE 1 – DETERMINE ANSWER ORDER: Trace each jump instruction to determine which question comes next. Start at question 1 and determine the full answer order before answering anything. Follow the path until you reach ‘done’. PHASE 2 – ANSWER IN THAT ORDER: answer each question factually and concisely in the exact order from Phase 1. PHASE 3 – OUTPUT ONLY THE FINAL LIST: your visible output must be only the comma-separated answer list in the order answered. [+ shared output instruction]
User: Identical to Current.
3.5.3. Explicit-Path
System: You are a program executor, not a commentator. Your job has three phases. PHASE 1 – DETERMINE ANSWER ORDER: Use this provided answer order exactly: {path string}. Do not reorder questions or infer a different path. PHASE 2 – ANSWER IN THAT ORDER. PHASE 3 – OUTPUT ONLY THE FINAL LIST. [+ shared output instruction]
User:
Path: 1 → 4 → 2 → 5 → 3 → doneQuestions: {numbered questions without arrows}Follow the path strictly. Begin.
3.5.4. Generate-Path
Stage 1 system: You are a strict JSON generator. Output ONLY valid JSON and nothing else. Task: Generate a valid Hamiltonian path over the integers . Constraints: the path must contain each integer exactly once, start with 1, and for each consecutive pair , . Output format: {"path":[1,2,3]}. Do not include explanations, labels, markdown, or extra keys.
If the output is invalid, a repair prompt is sent specifying the error and requesting corrected JSON. After five failed attempts, the system falls back to the algorithmic constructor. Stage 2 is identical to Explicit-Path with the path string populated by the normalized Stage 1 output.
The parameter max_jump bounds absolute index displacement, , and is distinct from the modular stride k in Equation (2). Even setting max_jump would not make the two constraints equivalent because modular wraparound can produce a displacement of . The Stage 1 constraint permits a fully linear path whenever max_jump ; it does not require long jumps.
3.6. Evaluation
We use a hybrid scoring pipeline. First, we apply the normalized exact-match convention used in question-answering evaluation—lowercasing and removing leading articles before comparison [25]. For non-exact matches, we use an LLM judge (Gemma3-27B-it) to identify semantic equivalents, following the broader LLM-as-a-judge paradigm [26]. The judge uses temperature 0 and top-p 1. On a 100-item audit, this pipeline achieved 98% agreement with human judgments. Judge errors may differ across conditions when output length, formatting, or alignment differs; aggregate agreement does not rule out such bias.
We also introduce a structural adherence flag: cases where the response is correct for a different question in the same prompt. This flags observable wrong-question answers; it does not identify an internal cause. The residual category, termed “knowledge error” in the figures, can also include generation, parsing, or alignment failures.
Phase 2 reports two metrics: Accuracy, the fraction of positions with the correct answer for the correct question, and Coverage, the fraction of required positions with any non-empty output. Reporting both avoids conflating skipped steps with wrong-order execution.
For a required sequence of n answers, let indicate a scored correct answer at required position t, and let indicate a non-empty parsed response at that position. Position-level accuracy is , coverage is , and parsed-only accuracy is when the denominator is positive. Missing positions contribute zero to both A and C. An order error is a non-empty incorrect-position answer accepted as correct for another question in the prompt; a residual (“knowledge”) error is a non-empty response accepted for neither the target nor another question. These output categories should not be equated with independent cognitive mechanisms.
For sequence-level metrics, let L be the largest for which . The longest correct prefix rate is , the perfect-run indicator is , and the first-failure index is , with denoting an error-free sequence.
4. Data
Our derived dataset consists of 83,453 question–answer pairs from Jeopardy!, whose underlying clue–response material is publicly cataloged by the fan-maintained J! Archive [27]. We rephrased the clues from the show’s inverse format into direct interrogative form with Gemma3-27B; this rephrasing, filtering, and assembly into the RIFT dataset were performed for this study. Jeopardy! was chosen for three specific reasons. First, it spans 24,907 unique categories across history, science, literature, geography, culture, and sports, minimizing the risk that results are specific to any knowledge domain. Second, its monetary value tiers provide a proxy for examining aggregate trends in content difficulty. Third, Jeopardy! answers are typically one to three words and factually determinate, making them directly compatible with the comma-separated output format without subjective scoring.
Preprocessing removed items with commas in answers, superscripts or subscripts, and non-ASCII characters. Table 2 shows representative examples of the rephrasing transformation.
Table 2.
Representative examples of the Jeopardy! rephrasing pipeline.
Content Difficulty Validation
Before examining structural effects, we address the potential confound of question difficulty. Figure 1 and Figure 2 show accuracy and all three error types as a function of Jeopardy! dollar value across all four Phase 2 prompt families. All metrics are essentially flat across the full $200–$1000 range. This provides a descriptive check within the displayed tiers but does not establish equal item difficulty or control for each model’s single-question accuracy. Baseline accuracy by value, including higher-value clues, and item-matched normalization are needed before excluding difficulty as a contributing factor.
Figure 1.
Accuracy by Jeopardy! dollar value across Phase 2 prompt families. Approximately flat aggregate trends do not establish item-level difficulty equivalence.
Figure 2.
Error type rates by Jeopardy! dollar value. All three error types are flat across the difficulty range.
5. Phase 1: Baseline Collapse
5.1. Experimental Setup
All experiments were run with vLLM [28] on NVIDIA H100 and H200 GPUs, with a maximum of 81,920 output tokens per prompt at bfloat16 precision. Total GPU runtime was approximately 300 h. Inference uses temperature , top-p , and a repetition penalty of . The tested Qwen3 models do not support a reasoning-effort setting; their thinking budget was 81,920 tokens, equal to the maximum output-token limit. For gpt-oss, reasoning effort was set to high. Mean input length was 5161 tokens for the Qwen models and 4657 tokens for gpt-oss. These input counts include the system prompt, chat formatting, and assistant generation prefix.
Six models were selected to compare model scale, reasoning-oriented versus instruction-oriented variants within Qwen3 [29], and the gpt-oss family [30]. These are observational model comparisons rather than isolated interventions on training or architecture. In particular, total parameter counts are not equivalent measures of active computation across dense and mixture-of-experts models.
5.2. Results
Table 3 summarizes performance across all conditions. Baseline accuracy varies across models, indicating that factual knowledge is not uniformly assured even for isolated questions.
Table 3.
Accuracy (%) under baseline, linear, and jumping conditions across six models. Baseline and mean values are reported with standard errors across runs (±); medians are reported without uncertainty estimates.
Jumping prompts produce large accuracy losses across the tested models, with low median accuracy even for the largest models. The strongest model, gpt-oss-120b, achieves 13.9% mean jumping accuracy with a median below 3%, compared with 84.8% single-question baseline accuracy. Across the six models, the linear-to-jumping mean loss ranges from 12.81 to 42.66 percentage points, or approximately 72–94% relative to the linear mean. High isolated accuracy makes a purely factual explanation insufficient, but it does not identify the mechanism of the additional errors.
The qualitative degradation appears across the tested model families and scales. Larger models perform better under linear conditions but still show substantial losses under jumping prompts. This pattern establishes sensitivity to traversal structure without isolating capacity, attention, parsing, or state tracking as its cause.
Qwen3-4B-Thinking (8.29% jumping mean) outperforms Qwen3-30B-Instruct (2.43%) in this setting. This association does not establish that reasoning supervision matters more than scale: the variants also differ in inference-time reasoning and available scratchpad use, and the 30B-A3B model uses a mixture-of-experts architecture with approximately 3B active parameters. Even so, absolute performance remains low for all reasoning-tuned models: the failure is attenuated but not resolved.
5.3. Prompt Length and Effective Context Limits
Figure 3 shows accuracy as a function of prompt token count for both linear and jumping conditions. Linear performance degrades well before nominal context limits: models with advertised 131k–262k token windows exhibit substantial accuracy loss in the 2k–5k token range. This measures reliability on the present ordered-output task rather than a general limit on context capacity. Jumping prompts collapse much earlier, with most models approaching near-zero accuracy within the same range.
Figure 3.
Accuracy vs. prompt token count under linear (left) and jumping (right) conditions. Linear accuracy degrades well before nominal context limits, while jumping prompts collapse rapidly.
5.4. Accuracy vs. Prompt Depth
Figure 4 shows accuracy as a function of questions previously answered, averaged across all models. Under linear conditions, accuracy begins high and declines gradually, stabilizing around 20–25% at 300 questions. Under jumping conditions, accuracy collapses from approximately 55% at the first question to below 10% within the first 50 questions, and it approaches zero by 100. At 50 questions, linear prompts still achieve 40–60% accuracy while jumping prompts are near zero. Traversal structure is associated with the difference, although output depth, input length, and accumulated errors may also interact.
Figure 4.
Accuracy vs. depth into the prompt, averaged across all models. Jumping collapses within the first 50 questions while linear degrades gradually.
5.5. Error Analysis
High baseline accuracy suggests that factual knowledge alone does not explain the observed degradation. Figure 5 shows that 33–60% of incorrect responses involve producing a factually correct answer for the wrong question. These responses demonstrate accessible answer content paired with incorrect sequence placement. The remaining errors cannot be assigned uniquely to knowledge deficits.
Figure 5.
Percentage of incorrect answers identified as answers to another question in the prompt, by model (33–60%). This is an output-level classification rather than a causal attribution.
Qualitative inspection suggests several patterns in linear prompts: skipping a question, repeating a previous answer, or misaligning the output sequence by one position. Once an off-by-one error occurs, subsequent answers may remain factually correct but are assigned to the wrong questions. Under jumping conditions, failures take qualitatively different forms: models retrace previously visited questions, misinterpret traversal instructions as self-referential, and prematurely infer that execution has completed. Examples include failures to follow jump instructions, repeated visits, self-referential loops, and absent outputs. These examples are illustrative; we have not quantified their prevalence by model here.
6. Phase 2: Prompt Interventions
Phase 1 established a large behavioral accuracy loss under jumping conditions, including wrong-question answers and incomplete outputs. Phase 2 asks which specific failure modes are responsible and whether prompt engineering can address them. All Phase 2 experiments focus exclusively on the jumping condition, evaluating prompts from 1 to 300 questions using Qwen3-30B-Thinking, the strongest Phase 1 performer runnable without quantization on a single H100 GPU. Overall, 6% of Phase 2 responses were empty, truncated, or unparseable.
6.1. Overall Performance
Table 4 presents the headline result. Moving from current and plan-first to path-based methods raises coverage from roughly 21% to roughly 90%, largely solving completion failure. Yet accuracy over the same transition improves only from 2.2% to 22%, revealing a distinct and persistent order failure problem. Without separating these metrics, the magnitude of residual failure would be hidden by the coverage improvement. This separation shows that coverage and ordered correctness capture distinct aspects of performance. Path-based prompting makes it possible for models to sustain long sequences, but it does not ensure that those sequences are executed correctly. The model can produce a full-length output while systematically misaligning answers with their intended positions. This distinction would be invisible under a single aggregate accuracy metric, but it becomes clear when coverage and accuracy are evaluated separately.
Table 4.
Overall accuracy and coverage by prompt family across all question buckets.
Plan-first achieves higher parsed-only accuracy (31.26%) than explicit-path (13.55%) or generate-path (24.23%), which might suggest plan-first produces high-quality answers when it does respond. This comparison is subject to selection by coverage: plan-first has very low coverage on long prompts, concentrating its scored responses at earlier positions where performance is higher. High parsed-only accuracy therefore does not establish superior execution across the full required sequence.
Figure 6 visualizes the same distinction across overall accuracy, coverage, and parsed-only accuracy.
Figure 6.
Prompt family comparison: overall accuracy, coverage, and parsed-only accuracy. Parsed-only accuracy conditions on non-empty responses and is subject to coverage selection.
6.2. Scaling Behavior
Table 5 shows performance by prompt length bucket. At 1–25 questions, all structured methods perform comparably (70–73% accuracy, near-complete coverage). At 101–125 questions, generate-path maintains 35.82% while plan-first falls to 7.49% and current to 2.71%. At maximum scale (276–300 questions), generate-path has the highest reported accuracy (11.9%), while explicit-path reaches 2.8%. Figure 7 shows the full bucketed trends: generate-path degrades most gradually, while current and plan-first collapse sharply beyond 50 questions.
Table 5.
Accuracy and coverage by prompt length bucket.
Figure 7.
Accuracy (left) and coverage (right) by prompt length bucket. Generate-path degrades most gradually; plan-first and current collapse sharply beyond 50 questions.
6.3. Failure Mode Transformation
Prompt structure changes not just how well models perform but how they fail. Current and plan-first collapse primarily by stopping early, while explicit-path and generate-path largely solve this completion problem but expose a different failure: the model continues generating but answers in the wrong order. Residual errors labeled “knowledge” are substantial and vary with length and condition; they cannot be assumed to reflect factual deficits alone. Figure 8 shows this transformation by question bucket: missing answers dominate current and plan-first, whereas jump/order errors become the primary failure mode for path-based methods at scale.
Figure 8.
Error type rates by question bucket. Missing answers dominate in current and plan-first; jump/order errors become the primary failure mode for path-based conditions at scale.
6.4. Effect of the Jump Parameter
Figure 9 shows Phase 2 accuracy against the jump parameter. For modular paths, k is a stride; for generated paths, max_jump is an absolute-step bound. These quantities are not equivalent. The aggregate declining trend also mixes sequence lengths and path sources, so it cannot establish an independent or monotonic causal effect of jump distance. Fixed-n comparisons and observed step-size distributions are needed to interpret this trend.
Figure 9.
Phase 2 accuracy by configured jump parameter. The plotted parameter has different meanings for modular and generated paths; sequence length and path selection are not controlled in this aggregate comparison.
7. Analysis
7.1. Taxonomy of Execution Failure
The results reveal three distinct failure modes. Completion failure: The model stops producing outputs before finishing the required sequence. This is the dominant mode under current and plan-first. Order failure: The model produces answers in the wrong sequence, retrieving correct content but assigning it to the wrong position. This failure is exposed once path-based conditions solve the completion problem. Residual answer failure (labeled “knowledge error” in figures): The response is not accepted as an answer to the target or another question. This category can include factual errors, malformed outputs, and undetected misalignment.
These categories partition scored outcomes but do not establish independent mechanisms. Higher coverage changes which positions yield scorable answers and can increase the observed rates of both order and residual errors. In Table 6, residual errors account for 34.8% of positions with model-generated paths and 43.1% with fallback paths; they are neither negligible nor invariant. Figure 10 shows the overall error breakdown by prompt family.
Table 6.
Descriptive comparison of model-generated and algorithmic fallback paths within generate-path. Answer-stage format is shared; path content and selection into fallback are uncontrolled.
Figure 10.
Overall error breakdown by prompt family. Correct answers (green), jump/order errors (yellow), knowledge errors (orange), missing answers (purple).
7.2. Per-Position Accuracy and Error Progression
Figure 11 shows accuracy as a function of relative position within the traversal sequence. All methods show monotonic deterioration from start to end with no recovery at later positions. These are output traversal positions, whereas the classical lost-in-the-middle effect concerns the input position of relevant information [8]. Jumping traversal separates these coordinates, so this plot cannot confirm or exclude that effect. Declining output-position accuracy is compatible with accumulated alignment errors, incomplete generation, or positional retrieval effects; an input-position analysis is required to distinguish them.
Figure 11.
Accuracy by relative position within the traversal sequence. All methods deteriorate monotonically; generate-path degrades most gradually.
Generate-path declines most gradually, from approximately 46% at positions 0–10% to approximately 13% at positions 90–100%. Current and plan-first collapse within the first 20% of the traversal, dropping from roughly 14% and 33%, respectively, to near zero. Explicit-path shows intermediate behavior, declining from approximately 37% to 5%.
Early failures are primarily order failures, while late failures are primarily completion failures. Conditions with higher coverage show a later transition to completion failure, while early order failures remain evident. Figure 12 makes this temporal structure explicit: jump/order errors are front-loaded, missing answers are back-loaded, and knowledge errors peak mid-sequence for path-based methods.
Figure 12.
Error type rates by relative position. Jump/order errors are front-loaded; missing answers are back-loaded; knowledge errors peak mid-sequence for path-based methods.
7.3. Sequence-Level Analysis
Aggregate accuracy figures obscure how rarely models execute sequences correctly end to end. Figure 13 shows three sequence-level metrics: perfect-run rate (all answers correct and ordered), longest correct prefix rate, and mean first failure index.
Figure 13.
Sequence-level performance by prompt family.
Perfect-run rates are below 1.1% overall for all methods, rising to at most roughly 13% in the 1–25-question bucket for generate-path. Beyond 25 questions, perfect-run rates approach zero. The reported mean first-failure index is 2–3 across conditions, indicating early errors on average.
This reveals a sharp disconnect between aggregate accuracy and end-to-end reliability: models often produce a few early correct answers, then fail.
7.4. Path Source and Selection Confounds
Within generate-path, the fallback constructor was triggered in roughly 33% of runs (493/1500), yet model-generated paths still outperformed fallback-generated paths by a large margin. The shared answer-stage format does not control path content. Model-generated paths satisfy a bounded absolute-step constraint that permits near-linear traversal, while fallback paths use the modular constructor. Moreover, fallback occurs only after repeated generation failures, so the groups can differ in length and difficulty. The observed gap therefore cannot establish a path-representation effect or a benefit caused by generating the path. Table 6 provides the full comparison. Model-generated paths achieve 27.5% accuracy and 92.3% coverage, compared with 10.4% accuracy and 87.7% coverage for algorithmic fallback paths. They also show lower order, knowledge, and missing-answer error rates in this descriptive comparison.
8. Multiple-Choice Robustness Study
To reduce the role of open-ended factual recall, we repeated the original experiments using the same questions in a multiple-choice format, where four candidate answers are given and the model must select the correct one. We omitted the two instruct models from the original experiments and used the freed compute to evaluate three additional models. This variant changes the nature of the task by coupling traversal with constrained answer selection, so we treat it as an auxiliary robustness analysis rather than part of the core framework.
Compared with the open-ended setting, the multiple-choice variant yields substantially stronger jumping performance, as seen in Table 7. This suggests that part of the collapse in the main setting comes from the combination of traversal control and unconstrained answer generation. At the same time, recognition among provided options is a materially different task from open-ended generation, so the variant does not replace the main result: even with candidate answers supplied, jumping accuracy remains far below the corresponding linear accuracy for every model.
Table 7.
Accuracy (%) under baseline, linear, and jumping conditions across seven models in the multiple-choice variant. Baseline and mean values are reported with standard errors across runs (±); medians are reported without uncertainty estimates.
9. Conclusions
Reordering traversal while holding task content fixed is associated with a 72–94% relative reduction in mean accuracy across six models, or 13–43 percentage points. Between 33 and 60% of incorrect responses are identified as answers to another question in the prompt. These are behavioral findings of sequence misalignment, not direct evidence about internal execution state.
Phase 2 revealed the structure of that failure. Coverage and position-correct accuracy measure different aspects of behavior. Path-based prompting raises coverage from roughly 21% to 90%, while the best overall accuracy improves from roughly 2% to 22%. Model-generated paths score higher than fallback paths, but path complexity and fallback selection prevent attribution of that difference to path generation itself.
These results reframe what long-context capability means in practice. The standard evaluation paradigm treats context length as a property of the input, measuring how much the model can read. RIFT proposes an alternative dimension: how much of a structured output sequence the model can reliably sustain. In these experiments, ordered-answer performance degrades at input lengths far below the models’ nominal context windows; this measures task-specific reliability rather than a general context-window limit. Building models that reason deeply about individual instructions while maintaining execution fidelity across many ordered steps remains a central open challenge for the field.
10. Limitations and Reproducibility
RIFT uses short factual questions with independent answers. Real workflows can involve dependent instructions, tools, external state, and error recovery, so these findings do not establish performance on those tasks. Phase 2 evaluates only Qwen3-30B-Thinking. The multiple-choice study uses a different model set and answer-selection task; direct comparisons with open-ended performance should be restricted to shared models and interpreted descriptively.
Input token count, question count, and output traversal depth are different quantities. Increasing the number of questions usually increases both input and required output length. The linear condition also degrades substantially, so the results cannot assign all losses to non-sequential navigation. Prompt-length bins without sample counts or uncertainty estimates cannot establish the significance of local curve inflections. The overall rate of empty, truncated, or unparseable responses is reported for Phase 2, but these outcomes have not been separately quantified by type or prompt family.
The error taxonomy operates on parsed outputs. A correct answer at the wrong position is evidence of misalignment, but residual “knowledge errors” can absorb formatting and alignment failures. Attention decay, retrieval difficulty, generation constraints, and execution-state loss remain alternative or interacting explanations. Internal representation analysis would be required for mechanistic claims. Exact positional scoring is also sensitive to a single insertion or omission; edit distance, longest common subsequence, and rank-based analyses would provide complementary measures but are not reported here.
Generate-path combines path generation, repair, and fallback with a different path constraint from explicit-path. Observed advantages cannot isolate path representation without matched paths and repair ablations. Existing fallback counts alone do not establish step-size distributions or fallback rates by sequence length. Likewise, flat dollar-value trends do not substitute for normalization against item-level isolated accuracy.
The reported means are accompanied by standard errors where indicated in the tables. Paired tests, uncertainty estimates accounting for shared items and runs, and bin sample sizes remain to be established from the underlying records. The 100-item human audit provides only aggregate agreement and does not validate each error category separately.
The remaining model and run identifiers are stored in the run logs, which may be made available upon request.
Author Contributions
Conceptualization, A.J., N.R. and J.D.C.; methodology, N.R.; software, A.J.; formal analysis, A.J.; investigation, A.J. and N.R.; data curation, A.J.; writing—original draft preparation, A.J., N.R. and J.D.C.; writing—review and editing, A.J., N.R. and J.D.C.; visualization, A.J.; supervision, J.D.C.; project administration, J.D.C. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The raw data supporting the conclusions of this article may be made available by the authors upon request.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| LLM | Large Language Model |
| RIFT | Reordered Instruction Following Testbed |
| JSON | JavaScript Object Notation |
| GPU | Graphics Processing Unit |
| ASCII | American Standard Code for Information Interchange |
References
- Sanh, V.; Webson, A.; Raffel, C.; Bach, S.H.; Sutawika, L.; Alyafeai, Z.; Chaffin, A.; Stiegler, A.; Scao, T.L.; Raja, A.; et al. Multitask Prompted Training Enables Zero-Shot Task Generalization. arXiv 2022, arXiv:2110.08207. [Google Scholar]
- Wei, J.; Bosma, M.; Zhao, V.Y.; Guu, K.; Yu, A.W.; Lester, B.; Du, N.; Dai, A.M.; Le, Q.V. Finetuned Language Models Are Zero-Shot Learners. arXiv 2022, arXiv:2109.01652. [Google Scholar]
- Ouyang, L.; Wu, J.; Jiang, X.; Almeida, D.; Wainwright, C.; Mishkin, P.; Zhang, C.; Agarwal, S.; Slama, K.; Ray, A.; et al. Training Language Models to Follow Instructions with Human Feedback. In Proceedings of the NeurIPS, New Orleans, LA, USA, 28 November–9 December 2022. [Google Scholar]
- Lou, R.; Zhang, K.; Yin, W. Large Language Model Instruction Following: A Survey of Progresses and Challenges. Comput. Linguist. 2024, 50, 1053–1095. [Google Scholar] [CrossRef] [Scilit]
- Yao, S.; Zhao, J.; Yu, D.; Du, N.; Shafran, I.; Narasimhan, K.; Cao, Y. ReAct: Synergizing Reasoning and Acting in Language Models. arXiv 2023, arXiv:2210.03629. [Google Scholar]
- Liu, X.; Yu, H.; Zhang, H.; Xu, Y.; Lei, X.; Lai, H.; Gu, Y.; Ding, H.; Men, K.; Yang, K.; et al. AgentBench: Evaluating LLMs as Agents. arXiv 2024, arXiv:2308.03688. [Google Scholar]
- Bai, Y.; Lv, X.; Zhang, J.; Lyu, H.; Tang, J.; Huang, Z.; Du, Z.; Liu, X.; Zeng, A.; Hou, L.; et al. LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Ku, L.W., Martins, A., Srikumar, V., Eds.; Association for Computational Linguistics (ACL): Bangkok, Thailand, 2024; pp. 3119–3137. [Google Scholar] [CrossRef] [Scilit]
- Liu, N.F.; Lin, K.; Hewitt, J.; Paranjape, A.; Bevilacqua, M.; Petroni, F.; Liang, P. Lost in the Middle: How Language Models Use Long Contexts. Trans. Assoc. Comput. Linguist. 2024, 12, 157–173. [Google Scholar] [CrossRef] [Scilit]
- Hsieh, C.P.; Sun, S.; Kriman, S.; Acharya, S.; Rekesh, D.; Jia, F.; Zhang, Y.; Ginsburg, B. RULER: What’s the Real Context Size of Your Long-Context Language Models? arXiv 2024, arXiv:2404.06654. [Google Scholar]
- Zhou, J.; Lu, T.; Mishra, S.; Brahma, S.; Basu, S.; Luan, Y.; Zhou, D.; Hou, L. Instruction-Following Evaluation for Large Language Models. arXiv 2023, arXiv:2311.07911. [Google Scholar]
- Wen, B.; Ke, P.; Gu, X.; Wu, L.; Huang, H.; Zhou, J.; Li, W.; Hu, B.; Gao, W.; Xu, J.; et al. Benchmarking Complex Instruction-Following with Multiple Constraints Composition. In Proceedings of the NeurIPS Datasets and Benchmarks Track, Vancouver, BC, Canada, 10–15 December 2024. [Google Scholar]
- Jiang, Y.; Wang, Y.; Zeng, X.; Zhong, W.; Li, L.; Mi, F.; Shang, L.; Jiang, X.; Liu, Q.; Wang, W. FollowBench: A Multi-level Fine-grained Constraints Following Benchmark for Large Language Models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Ku, L.W., Martins, A., Srikumar, V., Eds.; Association for Computational Linguistics: Bangkok, Thailand, 2024; pp. 4667–4688. [Google Scholar] [CrossRef] [Scilit]
- Chen, X.; Liao, B.; Qi, J.; Eustratiadis, P.; Monz, C.; Bisazza, A.; de Rijke, M. The SIFo Benchmark: Investigating the Sequential Instruction Following Ability of Large Language Models. In Proceedings of the Findings of EMNLP; Association for Computational Linguistics: Miami, FL, USA, 2024. [Google Scholar]
- Jaroslawicz, D.; Whiting, B.; Shah, P.; Maamari, K. How Many Instructions Can LLMs Follow at Once? arXiv 2025, arXiv:2507.11538. [Google Scholar]
- Harada, K.; Yamazaki, Y.; Taniguchi, M.; Kojima, T.; Iwasawa, Y.; Matsuo, Y. Curse of Instructions: Large Language Models Cannot Follow Multiple Instructions at Once. In Proceedings of the ICLR, Singapore, 24–28 April 2025. [Google Scholar]
- Srivastava, A.; Rastogi, A.; Rao, A.; Shoeb, A.A.M.; Abid, A.; Fisch, A.; Brown, A.R.; Santoro, A.; Gupta, A.; Garriga-Alonso, A.; et al. Beyond the Imitation Game: Quantifying and Extrapolating the Capabilities of Language Models. arXiv 2023, arXiv:2206.04615. [Google Scholar]
- Liang, P.; Bommasani, R.; Lee, T.; Tsipras, D.; Soylu, D.; Yasunaga, M.; Zhang, Y.; Narayanan, D.; Wu, Y.; Kumar, A.; et al. Holistic Evaluation of Language Models. arXiv 2023, arXiv:2211.09110. [Google Scholar]
- Wei, J.; Wang, X.; Schuurmans, D.; Bosma, M.; Ichter, B.; Xia, F.; Chi, E.; Le, Q.V.; Zhou, D. Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. Adv. Neural Inf. Process. Syst. 2022, 35, 24824–24837. [Google Scholar] [CrossRef] [Scilit]
- Kojima, T.; Gu, S.S.; Reid, M.; Matsuo, Y.; Iwasawa, Y. Large Language Models Are Zero-Shot Reasoners. In Proceedings of the NeurIPS, New Orleans, LA, USA, 28 November–9 December 2022. [Google Scholar]
- Wang, X.; Wei, J.; Schuurmans, D.; Le, Q.; Chi, E.; Narang, S.; Chowdhery, A.; Zhou, D. Self-Consistency Improves Chain of Thought Reasoning in Language Models. arXiv 2023, arXiv:2203.11171. [Google Scholar]
- Wang, X.; Xu, W.; Lan, Y.; Hu, Z.; Lan, Y.; Lee, R.K.-W.; Lim, E.-P. Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Models. In Proceedings of the ACL; Association for Computational Linguistics: Toronto, ON, Canada, 2023. [Google Scholar]
- Yao, S.; Yu, D.; Zhao, J.; Shafran, I.; Griffiths, T.; Cao, Y.; Narasimhan, K. Tree of Thoughts: Deliberate Problem Solving with Large Language Models. Adv. Neural Inf. Process. Syst. 2023, 36, 11809–11822. [Google Scholar] [CrossRef] [Scilit]
- Diestel, R. Graph Theory, 5th ed.; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar] [CrossRef] [Scilit]
- Rosen, K.H. Discrete Mathematics and Its Applications, 8th ed.; McGraw-Hill Education: Columbus, OH, USA, 2019. [Google Scholar]
- Rajpurkar, P.; Zhang, J.; Lopyrev, K.; Liang, P. SQuAD: 100,000+ Questions for Machine Comprehension of Text. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing; Su, J., Duh, K., Carreras, X., Eds.; Association for Computational Linguistics: Austin, TX, USA, 2016. [Google Scholar] [CrossRef] [Scilit]
- Zheng, L.; Chiang, W.L.; Sheng, Y.; Zhuang, S.; Wu, Z.; Zhuang, Y.; Lin, Z.; Li, Z.; Li, D.; Xing, E.P.; et al. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. arXiv 2023, arXiv:2306.05685. [Google Scholar]
- J! Archive. J! Archive: The Fan-Created Archive of Jeopardy! Games and Players. 2025. Available online: https://j-archive.com/ (accessed on 12 October 2025).
- Kwon, W.; Li, Z.; Zhuang, S.; Sheng, Y.; Zheng, L.; Yu, C.H.; Gonzalez, J.; Zhang, H.; Stoica, I. Efficient Memory Management for Large Language Model Serving with PagedAttention. In Proceedings of the SOSP ’23: Proceedings of the 29th Symposium on Operating Systems Principles; Association for Computing Machinery: New York, NY, USA, 2023. [Google Scholar]
- Yang, A.; Li, A.; Yang, B.; Zhang, B.; Hui, B.; Zheng, B.; Yu, B.; Gao, C.; Huang, C.; Lv, C.; et al. Qwen3 Technical Report. arXiv 2025, arXiv:2505.09388. [Google Scholar]
- OpenAI; Agarwal, S.; Ahmad, L.; Ai, J.; Altman, S.; Applebaum, A.; Arbus, E.; Arora, R.K.; Bai, Y.; Baker, B.; et al. gpt-oss-120b & gpt-oss-20b Model Card. arXiv 2025, arXiv:2508.10925. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.












