Could splitting an AI's 'what to draw' tokens from its 'where to draw it' numbers stop it from inventing nonsense layouts?
Does separating command tokens from coordinates reduce hallucination in structured generation?
This explores whether splitting structured outputs such as vector drawings, CAD sequences or layout specs into two kinds of tokens, 'what to do' commands and 'where to do it' numbers, makes a model less likely to make things up. The corpus has no paper that tests this split directly, but several nearby findings suggest why it might help and where it would stop helping.
This explores whether splitting structured outputs into 'what to do' command tokens and 'where to do it' coordinate tokens makes a model less likely to invent things. The short answer is that nothing in this collection tests that split head-on. The question still sits at a crossroads the corpus covers well: structured spatial generation fails often, different tokens play different roles, and hallucination can be managed but not removed.
Start with how bad the problem is. When GPT was asked to write room layouts as structured output, about 55% of them had real flaws: rooms left half-empty, objects bunched together, wrong object counts, furniture facing the wrong way Why do GPT-generated room layouts fail so often?. Those are two different kinds of error. 'Wrong number of chairs' is a mistake about what to place. 'Chairs piled in a corner' is a mistake about where to place it. Image generation shows the same pattern. Every reward model tested failed to penalize geometric distortion and duplicated objects, even though each one had its own other biases Do text-to-image rewards all miss the same structural flaws?. Getting the geometry right seems to be its own skill, and both generators and judges handle it badly. That is the strongest indirect argument for treating coordinates as their own channel.
The idea that tokens are not all alike has real support. In reasoning models, only about 20% of tokens are high-uncertainty 'forking points' where the output could go different ways. Training only on those tokens matches training on all of them Do high-entropy tokens drive reasoning model improvements?. By analogy, a command token ('draw a line', 'add a chair') is a forking decision, while a coordinate is a continuous value that should follow from context. Mixing them in one stream may waste learning on the wrong tokens. Prompt compression points the same way: instructions need more protection than examples Can prompts be compressed without losing model performance?. Diffusion language models go further and refine reasoning and answers as separate parts that settle at different speeds Can reasoning and answers be generated separately in language models?. That is a working example of how separating output roles changes model behavior.
Now the limit. Separating token types can lower certain errors. It cannot get rid of hallucination, which has been formally proven unavoidable for any computable LLM, whatever its architecture Can any computable LLM truly avoid hallucinating?. The bigger reductions in the corpus come from outside checks rather than cleverer token layouts. Interleaving reasoning with real tool feedback cuts errors by 10–34 points Can interleaving reasoning with real-world feedback prevent hallucination?. Gated verification keeps made-up content out of a knowledge base Can RAG systems safely learn from their own generated answers?. For structured generation, the equivalent would be rendering the output or checking it against geometry rules after each command, not just tokenizing it more neatly.
The surprising part is that the Holodeck layouts had to be filtered and fixed by hand before they could be used to train anything. Better token formats would not have saved them. A fair reading of the corpus is that separating commands from coordinates is a reasonable way to keep 'what' errors and 'where' errors apart. The bigger gains come from giving the coordinate channel its own checker, because standard reward models are blind to exactly that kind of error.
Sources 8 notes
About 55% of Holodeck's GPT-generated layouts contained structural flaws including under-population, clustering, and wrong object counts or orientations. OptiScene required manual filtering and correction before the layouts could train downstream models.
Every tested reward model—aesthetic, preference, and consistency-based—develops its own failure mode, but all consistently fail to penalize geometric distortions, object duplication, and entity blending. A lightweight adaptive reward model trained on human-judged artifact examples can fill this gap.
Only ~20% of tokens exhibit high entropy as pivotal reasoning decision points; RLVR primarily adjusts these forking tokens. Training exclusively on them matches or exceeds full-gradient performance, revealing that the minority carries the learning signal.
LLMLingua achieves up to 20x prompt compression with only 1.5-point performance drops by allocating less compression to instructions and questions, more to demonstrations, then pruning tokens using a small model's perplexity scoring aligned to the target LLM.
ICE shows that bidirectional attention in diffusion LLMs enables in-place prompting—embedding reasoning directly in masked positions refined alongside answers. Answer confidence converges early while reasoning continues refining, allowing early-exit mechanisms to cut compute by 50% while maintaining accuracy.
Show all 8 sources
Three formal theorems prove that any computable LLM must hallucinate on infinitely many inputs, and internal mechanisms like self-correction cannot eliminate this mathematical constraint. External safeguards are therefore necessary, not optional.
ReAct demonstrates that alternating verbal reasoning with external tool queries (Wikipedia API, environment interaction) prevents error propagation by injecting real-world feedback at each step. On knowledge-intensive and interactive tasks, this approach outperforms pure chain-of-thought and reinforcement learning by 10-34% absolute accuracy.
Systems can add generated answers to their retrieval corpus when outputs pass entailment verification, source attribution checks, and novelty detection. This prevents hallucinations from polluting future retrievals while allowing genuine knowledge accumulation.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Query Rewriting for Retrieval-Augmented Large Language Models
- DesignSense: A Human Preference Dataset and Reward Modeling Framework for Graphic Layout Generation
- Reasoning with Large Language Models, a Survey
- GameUIAgent: An LLM-Powered Framework for Automated Game UI Design with Structured Intermediate Representation
- Hallucination is Inevitable: An Innate Limitation of Large Language Models
- A comprehensive taxonomy of hallucinations in Large Language Models
- LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models
- Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoning