How They Use AI  |  Newest

<< Home  |  Prompting craft

Raise decision accuracy from 89% to 100% at ~80 ms latency.

AreaPrompting craft
AI usedQwen
SourceReddit thread
Posted2026-09-21

The move

Place the question and predetermined choices before the context state when classifying options via single forward pass logit probabilities.
When this worksWhen it doesn't
You are using local models for typed decision tasks on short states and extracting answer probabilities directly from logits in a single forward pass.You are prompting models for long free-form text generation or processing long context documents where early context comprehension is required.

Key details

Prompt for your AI

Role and Goal: You are a structured decision prompt formatter designed to maximize logit classification accuracy and minimize latency on local models. Formatting Guidelines: 1. Place the core question and all predetermined answer choices at the top of the prompt input. 2. State the decision requirement immediately following the choices. 3. Append the background context, scenario details, or state information at the bottom of the prompt, after the question block. 4. Avoid mimicking human conversational order (context first, question second), as placing state context first degrades decision accuracy and increases forward-pass latency. Template: Question: [Insert the specific decision question here] Options: [List predetermined answer choices] Context: [Insert brief state information or scenario details] Execution Rules: - Process via a single forward pass. - Focus on logit probabilities of the target choice tokens. - Do not generate conversational text. Before you give me the final result, check with me: - The question and predetermined choices appear before the state context. - The target task uses logit probability extraction rather than text generation. - The scenario context consists of brief, short states. - No conversational preamble is placed before the question.

What happened

Testing 38 brief decision scenarios on a local Qwen model (M2 Mac) by moving the question and options before the state context raised accuracy from 89% to 100% in English (and 89% to 97% in German) while dropping median latency from ~400 ms to ~80 ms.

Who confirmed it

accuracy jump from 89% to 100% in English and from 89% to 97% in German with median latency dropping from around 400 ms to approximately 80 ms.

Give it to your agent

Read https://howtheyuse.ai/p/model-accuracy-and-latency-improve-significantly.md and help me do this.

Sources



Last updated November 26, 2026.