Skip to content

Reasoning-model responses truncated: 19-37% cap-hit on Qwen3.5, and ifeval_ood's 2048 budget never completes #399

Closed

Description

@abhishekraok

Claude Opus 5 (Claude Code) · agent-written from Abhishek's comparator-grid runs, 2026-09-21

Corrected 2026-09-21. The original title and body of this issue claimed Qwen3.5 produces no reasoning. That was wrong — see the correction comment below. The real defect is generation truncation, described here.

Qwen3.5 models reason normally, but 19-37% of their responses are cut off before the reasoning closes, and a truncated response scores near zero. Nothing errors; the runs exit 0.

Measured

Guards battery, -c h100, vLLM 0.19.1, olmo-eval 25ae07a, provider.kwargs.max_model_len=36864. Runs: 9B, 4B.

Task model overall cap-hit score on truncated score on completed published
ifeval 4B 69.3 36.8% 0.241 0.956 89.8
ifeval 9B 79.7 19.2% 0.173 0.945 91.5
gpqa_diamond:cot 4B 66.7 35.4% 0.271 0.883 76.2
gpqa_diamond:cot 9B 75.3 20.7% 0.341 0.860 81.7

On the instances they complete, both models meet or exceed their published numbers. The whole shortfall is truncation.

Median generated length is 5,623 tokens (4B) and 4,268 (9B); the maxima are 36,841 and 36,836, sitting exactly on the cap.

Two separate causes

1. The provider-level cap is blunt. max_model_len bounds prompt + generation, so the generation budget varies per instance and there is no per-task control. I only used it because sampling-params-override-crashes-workers (#397) makes the documented per-task max_tokens override unusable. Fixing #397 removes the need for this workaround.

2. ifeval_ood (IFBench) has a hard 2048-token budget, which is not survivable for a reasoning model. Cap-hit at max_model_len is 0%, but 97.3% (4B) and 95.0% (9B) of responses never close their <think> block — the 2048 budget is consumed by reasoning and no answer is ever produced. Measured 30.3 / 33.3 against published 59.2 / 64.5. Any reasoning-regime task with a short fixed max_tokens has this problem.

Suggested fix

Note for anyone reading predictions

strip_thinking mutates LMOutput.text in place and stores the pre-strip generation in metadata["original_text"], so saved model_output[].text and final_output are answer-only. Absence of </think> there is expected and is not evidence that a model did not reason. Use original_text, or num_tokens vs num_chars, which is how the truncation above was measured.

Activity

  1. changed the title [-]Qwen3.5 runs with no reasoning through the vLLM chat path, scoring 6-31pp under published[/-] [+]Reasoning-model responses truncated: 19-37% cap-hit on Qwen3.5, and ifeval_ood's 2048 budget never completes[/+] on Sep 21, 2026
  2. abhishekraok commented on Sep 21, 2026

    @abhishekraok
    CollaboratorAuthor

    Claude Opus 5 (Claude Code)

    Correction: the original version of this issue claimed Qwen3.5 produces no reasoning at all. That was wrong, and I have rewritten the body.

    The error: I inferred "no reasoning" from the absence of </think> in the saved predictions. But strip_thinking removes the trace before predictions are written, so answer-only text is exactly what a reasoning model produces there. metadata["original_text"] holds the real generation, and it shows median traces of 5,623 tokens (4B) and 4,268 (9B).

    A 2x3 probe over sampling regime and template settings (01M320D87WNHEV4XGGFYSRK1HS) confirms the model reasons under the default template — 7,243 / 4,728 / 5,216 tokens, all closing their think block — and that sampling makes no difference. It only stops reasoning under an explicit enable_thinking=False, which the harness does not set.

    The real defect is truncation, now described in the body.

  3. abhishekraok commented on Oct 31, 2026

    @abhishekraok
    CollaboratorAuthor

    Codex · codex://threads/01a1326f-ed81-75e3-80e4-661392dbe4b5

    The reasoning-regime IFBench budgets (#420) and generation diagnostics (#421) are merged. The remaining nested sampling override crash is addressed by #522, now open with local validation and independent review complete. Keeping this issue open until that fix lands. These fixes address configuration and observability; they do not establish that the historical models' cap-hit rates have decreased.

  4. abhishekraok commented on Nov 10, 2026

    @abhishekraok
    CollaboratorAuthor

    Written by Claude Code session eval-metrics-handoff

    All three fixes are merged: reasoning-regime budgets (#420), cap-hit / unclosed-trace diagnostics (#421), and the nested -o sampling_params.max_tokens crash, via typed-sampling-overrides (#522, merged 11-09), which fixes #397. Per-task max_tokens now works, so the max_model_len workaround isn't needed. The Qwen3.5 cap-hit rates haven't been re-measured with the new budgets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions