There is a rule most people follow when writing prompts for language models. More context is better. More instructions are safer. More detail means the model understands you more precisely.

A paper published April 19 on arXiv proves the opposite. Prompts that carry more semantic information per token produce more accurate, more focused, and less hallucinated outputs. The key finding: you improve performance by removing low-information tokens, not by adding more.

The paper calls it the Semantic Density Effect. And the numbers are hard to argue with.

What the Semantic Density Effect Actually Is

The Semantic Density Effect, or SDE, comes from research by Amr Kamel Khalil Ahmed at Saudi Arabia's Ministry of Health. The full paper is titled "Semantic Density Effect (SDE): Maximizing Information Per Token Improves LLM Accuracy" (arXiv:2604.17659).

SDE measures the ratio of semantically loaded tokens to total prompt tokens, adjusted for redundancy and concreteness. Think of it as a compression ratio for meaning. A prompt with SDE of 0.90 has almost no filler. A prompt with SDE of 0.40 is mostly noise, repetition, and low-value words.

The core claim: prompts with higher SDE scores consistently outperform diluted prompts across every major model family tested.

That claim is simple. The evidence is not.

The Numbers

Ahmed evaluated SDE across five frontier models and seven benchmarks. The headline result: ultra-dense prompts with SDE above 0.80 beat their diluted counterparts by an average of +8.4 percentage points.

That gain costs nothing. Zero extra tokens. Zero extra latency. You are not adding anything. You are removing what does not carry meaning.

When SDE is combined with the Instruction Placement Effect, which positions critical instructions where transformer attention is strongest, the total gain reaches +11.7 percentage points.

For context, +11.7pp is the kind of improvement that prompt engineers chase for months with complex chains-of-thought and elaborate few-shot examples. SDE achieves it by deleting words.

Why It Works

Transformer models allocate finite attention across every token in a prompt. This is not a metaphor. It is how the architecture functions. Each token competes for attention weight. When you add redundant, vague, or low-information tokens, you dilute the attention signal. The model spends capacity processing words that contribute nothing to the task.

Consider a prompt like:

"I would like you to please carefully review the following document and provide a detailed summary of the key points that you find most important and relevant."

The meaningful content boils down to: "Summarize this document." The rest is padding. "I would like you to please" carries zero semantic weight. "carefully" adds nothing the model would not do by default. "detailed summary" and "key points that you find most important and relevant" say the same thing twice.

The diluted version wastes attention on politeness markers, hedging, and redundancy. The dense version focuses every token on the task.

This is not about being terse for terseness's sake. It is about maximizing the ratio of meaning to tokens. Every word should earn its place.

How SDE Is Calculated

The paper defines SDE as:

SDE = (semantically loaded tokens) / (total tokens), adjusted for redundancy and concreteness

Three components determine a prompt's SDE score:

  • Semantic loading: How many tokens carry actual meaning vs. function as filler. "Analyze" is loaded. "Please" is not.
  • Redundancy adjustment: Repeating the same instruction in different words counts against you. "Be concise" and "keep it brief" together score lower than "Be concise" alone.
  • Concreteness: Specific, concrete terms score higher than vague abstractions. "List the top 5 causes" beats "Talk about the main reasons."

A prompt that says "Analyze revenue trends in Q3 earnings" has high SDE. A prompt that says "I want you to take a look at the revenue trends and see what you can find in the Q3 earnings report and give me your thoughts" has low SDE. Same request. Different density. Different results.

What Makes SDE Different From Previous Approaches

SDE is not another prompt engineering trick. It is fundamentally different from the three dominant prompt optimization strategies:

  • Chain of Thought (CoT) adds tokens to guide reasoning. More tokens, more processing time.
  • Prompt Repetition duplicates the prompt to reinforce instructions. More tokens, more cost.
  • Instruction Placement Effect (IPE) reorders prompt components to exploit transformer attention patterns. Same tokens, different order.

SDE is the only approach that improves performance by removing tokens. It pairs naturally with IPE. Together they give you +11.7pp: SDE removes the noise, IPE positions the remaining signal where the model attends most strongly.

Think of it this way. IPE tells you where to put the furniture. SDE tells you which furniture to keep.

The Instruction Placement Connection

The Instruction Placement Effect deserves its own mention because it interacts powerfully with SDE.

Research on transformer attention has consistently shown a U-shaped attention curve. Models process tokens at the beginning and end of a prompt more reliably than tokens in the middle. This "lost in the middle" phenomenon means that a critical instruction buried at position 300 of an 800-token prompt gets underfunded by the attention mechanism.

IFScale, a benchmark from 2025 testing 20 models on up to 500 simultaneous instructions, quantified this. Safety constraints placed at the beginning of a prompt see compliance rates 30 to 50 percentage points higher than the same constraints placed in the middle. This holds across GPT-4, Claude, and other major models.

The instruction sandwich pattern emerged as a response: place your hardest constraints at the beginning and repeat them at the end. The beginning establishes the rule. The end reinforces it right before generation. Redundant by design, but structurally sound.

When you combine SDE with IPE, you get the best of both. SDE strips the prompt to its essential meaning. IPE places those essential tokens where the model will actually process them. The result is a short, dense, well-ordered prompt that punches far above its token count.

Real-World Evidence

The SDE finding aligns with independent evidence from production systems.

François Lépine tested four prompt variants on a CEFR language assessment task across 700 texts. An 8-word prompt ("Assess the CEFR level of this written production") scored 59% accuracy. An elaborated academic prompt scored 51%. A few-shot prompt following official OpenAI guidelines scored 44%. The enriched version of the minimal prompt, which added context the model already knew, dropped from 59% to 47%.

Adding two pieces of information that GPT-4.1 already knew, that the learner was studying English and that CEFR levels go from A1 to C2, cost 12 percentage points. The model did not need that information. Repeating it diluted the signal.

Lépine's experiment illustrates the mechanism. Transformer attention allocates finite capacity on each pass. When capacity is consumed by redundant information, less remains for the task itself. Attention does not disappear. It scatters across non-informative tokens.

IFScale added another dimension. When models fail at low instruction density, they modify instructions slightly. They approximate. When models fail at high density, the failure mode shifts. They do not misinterpret instructions. They simply omit them. At 500 instructions, Llama-4-Scout showed an omission-to-modification ratio of 34.88x. For every approximation error, 35 instructions were forgotten entirely.

The model is not doing its best with an imperfect result. It stopped reading.

How to Apply SDE to Your Prompts

Here is a practical framework for increasing semantic density in any prompt.

Step 1: Audit for filler

Read your prompt and mark every token that does not carry task-specific meaning. Common offenders:

  • Politeness markers: "please," "I would like you to," "kindly"
  • Hedging language: "might," "could," "perhaps," "if possible"
  • Redundant qualifiers: "detailed summary," "key important points," "carefully review"
  • Restatements: saying the same thing in two different ways
  • Obvious instructions: "use your knowledge," "be helpful," "answer the question"

Delete them all.

Step 2: Eliminate redundancy

If your prompt says "Be concise and keep it brief," it is diluting itself. Pick one. If it says "Analyze the data and provide your analysis," pick one. Every restatement is a token the model processes without gaining information.

Step 3: Replace abstract with concrete

"Provide a comprehensive overview" becomes "List the top 5 findings." "Discuss the implications" becomes "State 3 risks and 3 opportunities." Concrete instructions carry more semantic weight per token than vague ones.

Step 4: Apply Instruction Placement

Order your dense prompt using the IPE framework:

  1. Core identity and role, roughly 20 tokens
  2. Non-negotiable behavioral constraints
  3. Output format requirements
  4. Domain context and knowledge the model does not already have
  5. Few-shot examples, only if needed
  6. Task-specific instructions, repeated at the end if critical

Step 5: Test and measure

Compare your dense prompt against your original. Use the same model, the same parameters, and the same evaluation criteria. If you have a test suite, run both. If not, test on 20 to 50 examples covering edge cases.

A word of caution. SDE only removes redundancy and filler. It does not remove information the model genuinely needs. If you are working in a domain the model has never seen, proprietary jargon, internal frameworks, unpublished criteria, you still need to provide that context. SDE says to cut the noise, not the signal.

Before and After Examples

Before (SDE ~0.35):

"I would like you to please carefully review the following document and provide a detailed and comprehensive summary of the most important key points that you find relevant. Please make sure to be thorough but also concise, and organize your response in a clear and logical manner. The document is about quarterly financial performance and I need you to focus on the main highlights and significant trends that stand out to you."

After (SDE ~0.80):

"Summarize Q3 financial results. List top 5 findings, 3 risks, 3 opportunities. Format: numbered list."

Same task. The second version gives the model 31 tokens of pure signal. The first gives it 68 tokens of noise mixed with signal. The model's attention budget is the same either way. Which version uses that budget better?

The Counterintuitive Lesson

The deepest insight from SDE research is not that dense prompts work. It is that adding information to a prompt can actively hurt performance, even when that information is correct.

This violates a basic assumption. Most people treat prompts like instructions to a human intern. You would not tell an intern to "just summarize" with no guidance. You would give context, examples, and constraints. But language models are not human interns. They are pattern matchers with finite attention budgets. Every token you add competes for attention with every other token.

The right mental model is signal processing, not communication. You are not explaining a task to a colleague. You are constructing a signal that a statistical model will process. More signal is better. More noise is worse. The goal is to maximize the signal-to-noise ratio.

SDE gives you a framework for measuring that ratio. IPE tells you where to place the signal peaks. Together they describe a prompt engineering methodology that is the opposite of what most people do instinctively.

Stop adding words. Start removing them. Measure what remains. Place it where the model can see it. The results speak for themselves.


Citations

Suggested Title

Less Is More: Why Stripping Words From Your Prompts Makes LLMs Smarter

Word Count

1,830

Fact-Check Notes

  • The +8.4pp and +11.7pp figures come directly from the arXiv abstract. These are the headline numbers and are cited accurately.
  • The SDE formula definition is reconstructed from the abstract ("ratio of semantically loaded tokens to total prompt tokens, adjusted for redundancy and concreteness"). The full paper has not been converted to HTML on arXiv, so the exact formula implementation details should be verified against the PDF before publishing.
  • The Lépine experiment numbers (59%, 51%, 44%, 47%) are taken directly from his blog post and are self-reported. They have not been peer-reviewed.
  • The IFScale omission-to-modification ratio of 34.88x for Llama-4-Scout comes from Lépine's summary of the IFScale paper. This should be verified against the original IFScale paper (arXiv:2507.11538) if precise accuracy matters.
  • The claim that "ultra-dense prompts (SDE > 0.80) outperform diluted counterparts by +8.4pp" refers to the average across five frontier models and seven benchmarks. Individual model/benchmark results vary.
  • The connection between SDE and IPE yielding +11.7pp is stated in the abstract but the interaction mechanism is described based on the abstract alone. The full paper may have more nuanced findings about which models and benchmarks benefit most from the combination.
  • The "lost in the middle" 30-50pp compliance drop figure comes from Pan's blog post summarizing multiple studies. The exact figure varies by model and task.
  • I verified that arXiv:2604.17659 exists and the abstract matches. The PDF could not be fully parsed in text form. Recommend Brian review the full PDF for any additional details before publishing.