Chain-of-thought prompting changed how we use LLMs. You ask the model to "think step by step," and it reasons its way to better answers. But there's a problem. When the task involves spatial relationships, all that verbal reasoning gets verbose and unreliable. The model describes positions in natural language, burns tokens doing it, and still gets confused about what sits where.

Chain-of-Symbol prompting fixes this. It swaps out those long spatial descriptions for compact symbols during the reasoning steps. The result: higher accuracy and far fewer tokens on spatial tasks.

What CoS Actually Does

The idea is straightforward. Instead of asking the model to describe spatial relationships in full sentences, you teach it to use abbreviations. These abbreviations act like a shorthand notation for positions, stacks, and directions.

Consider a simple spatial puzzle. You have blocks stacked vertically: V is on top of W, W is on top of S, and so on. A standard chain-of-thought prompt asks the model to narrate each relationship in words. "The block V is above W. W is above S." That narration eats tokens and invites mistakes. The model might swap "above" and "below" or lose track after a few layers.

CoS compresses that reasoning. The model writes something like "V/W/S" to represent the stack. Each symbol represents one object. The slashes or other delimiters represent spatial relationships. The model thinks in symbols, then produces its final answer in natural language.

This is not a new model. This is not fine-tuning. This is a prompting technique. You write your few-shot examples using symbolic notation in the intermediate steps, and the model follows the pattern.

The Numbers

The research, published at COLM 2024 by Hanxu Hu and colleagues from Westlake University, CUHK, and the University of Edinburgh, reports striking results.

On the Brick World task using ChatGPT, accuracy jumped from 31.8% with standard chain-of-thought to 92.6% with chain-of-symbol. That is a 60.8 percentage point improvement.

Token usage dropped from 407 to 139 tokens on Brick World intermediate steps. That is a 65.8% reduction.

The paper tested three spatial tasks: Brick World, NLVR-based Manipulation, and Natural Language Navigation. CoS outperformed standard chain-of-thought on all three. The gains were largest on tasks requiring precise tracking of positions and stacks.

How to Build a CoS Prompt

The paper describes a three-step procedure for creating CoS demonstrations.

  1. Prompt the LLM with a zero-shot chain-of-thought request. Let it generate its natural verbal reasoning.
  2. Correct any errors in that reasoning by hand.
  3. Replace the spatial descriptions with random symbols. Keep only the objects and the symbols that represent their relationships.

That third step is the key. You strip the verbose language and leave condensed notation. The model learns to reason with the symbols from your examples.

Here is what a few-shot CoS demonstration looks like for a block-stacking task. You represent a vertical stack as U/T/R/S/V/W, where each step in the reasoning removes the top block. The model works through the symbols, tracking what gets removed and what remains, then gives the final answer.

Why This Matters Right Now

Chain-of-thought is the default reasoning approach for most practitioners. It works well for logical and mathematical tasks. But spatial reasoning exposes its weakness. Natural language is a terrible medium for describing positions, orientations, and stacks. Words like "above," "below," "to the left of," and "behind" require the model to parse complex relative descriptions and maintain them across multiple steps. That is where hallucinations creep in.

CoS sidesteps the problem. Symbols are unambiguous. The model does not need to interpret "above" versus "on top of" versus "stacked over." It sees a compact representation and operates on it directly.

This matters more in 2026 because context windows are filling up. As people chain together longer reasoning traces, tool calls, and retrieval results, token efficiency becomes a real constraint. A technique that cuts token usage by 65% while boosting accuracy is not a marginal improvement. It changes what fits in a single prompt.

The symbolic approach also connects to broader trends. DSPy, structured outputs, and programmatic prompt optimization all push toward more disciplined, machine-readable reasoning formats. CoS is part of that shift. It treats intermediate reasoning as a compressed protocol, not free-form narration.

Practical Implementation

A LangChain v1.0 implementation of CoS already exists with Pydantic output parsing. The template starts with a system message like "You are a symbolic spatial-reasoning assistant" and provides few-shot examples using the symbolic notation.

The GitHub repository for the paper is available at https://github.com/hanxuhu/chain-of-symbol-planning. It includes the task definitions, evaluation scripts, and example prompts.

If you are building pipelines that involve spatial reasoning, navigation instructions, or any task where objects have positions relative to each other, CoS is worth testing. It requires no training, no API changes, and no infrastructure modifications. You write your prompts differently.

The Bigger Picture

The lesson from CoS extends beyond spatial tasks. When natural language is a poor fit for the reasoning the model needs to do, compress the representation. Use symbols, structured formats, or domain-specific notations in the intermediate steps. Save the natural language for the final output.

This pattern will show up more as prompt engineering matures. The first wave was "just talk to the model." The second wave was "make the model talk through its reasoning." The third wave is "give the model a better language for reasoning." CoS is an early example of that third wave.


Citations

Suggested Title

Chain-of-Symbol Prompting: Less Text, Better Reasoning

Word Count

683

Fact-Check Notes

  • The 60.8 percentage point improvement (31.8% to 92.6%) is specific to the Brick World task using ChatGPT. This is the headline number. Other tasks showed smaller but still significant improvements. The brief mentioned "+40%" as a rounded figure, but the paper's actual number is more dramatic for Brick World specifically. Worth noting the task-specific nature if the editor wants precision.
  • The 65.8% token reduction (407 to 139 tokens) is also Brick World specific. Other tasks showed reductions in the 60-70% range per the brief, but I should flag that I have not verified the exact numbers for NLVR-based Manipulation and Natural Language Navigation from the paper itself.
  • The paper was published at COLM 2024 and also submitted to ICLR 2024. I listed COLM as the publication venue since that is where it was accepted. The ICLR submission status is unclear from the brief alone.
  • The LangChain v1.0 implementation reference comes from the KalyanKS-NLP/Prompt-Engineering-Techniques-Hub. I have not verified this implementation independently.
  • The "three-step procedure" for creating CoS demonstrations comes directly from the paper. I have not verified whether subsequent work has refined this procedure.