Telegraphic Semantic Compression (TSC) - A Semantic Compression Method for LLM Contexts

Telegraphic Semantic Compression (TSC) - A Semantic Compression Method for LLM Contexts
Telegraphic Semantic Compression (TSC) - A Semantic Compression Method for LLM Contexts

LLMs aren’t struggling with intelligence, they’re suffocating under too many useless tokens. Even a million-token context window can choke on long documents and multi-step agent chains.

But here’s the twist: most of those tokens are predictable grammar the model doesn’t even need.

Telegraphic Semantic Compression (TSC) cuts out the linguistic fluff and keeps only the high-value facts; names, numbers, entities, relationships. The stuff LLMs can’t reconstruct on their own.

In this article, you’ll see how TSC works, how it slashes context size without losing meaning, and how to implement it in Python.


What Is Telegraphic Semantic Compression (TSC)?

Telegraphic Semantic Compression (TSC) is a lossy semantic compression technique that removes predictable grammatical structure while preserving the high-entropy, fact-rich details that actually carry meaning.

Unlike traditional summarization, which often omits or rephrases important information, TSC retains all meaningful data points. It simply expresses them in a compact, telegraphic style, similar to classic “telegram language.”

Before → After Example

Original:

“The Eiffel Tower, located in Paris, France, was built in 1889 for the Exposition Universelle.”

TSC Output:

Eiffel Tower. Paris France. Built 1889. Exposition Universelle.

The core meaning remains fully intact. Only the predictable grammar is removed.


Visual Overview: The TSC Pipeline

To understand Telegraphic Semantic Compression (TSC) at a glance, here’s a step-by-step breakdown of how raw text is transformed into compact, fact-dense telegraphic form.

The diagram illustrates how predictable grammar is stripped away while high-entropy, meaning-bearing tokens are preserved and recombined into concise semantic fragments.

The TSC Pipeline

How to Read the Diagram

  • Input Text → Tokenization: The text is broken into tokens; words, punctuation marks, and linguistic units.
  • Filtering Predictable Grammar: Articles (“the”, “a”), prepositions (“of”, “in”), auxiliary verbs (“was”, “is”), and other low-information tokens are removed. These convey structure, not meaning.
  • Preserving High-Entropy Tokens: Important words; nouns, verbs, numbers, entity names, and domain-specific vocabulary; are preserved. These contain the unpredictable, fact-rich information an LLM cannot guess.
  • Recombining into Telegraphic Phrases: The retained tokens are assembled into short, dense fragments that resemble classic telegram language. The phrasing is minimal, but the semantics remain intact.
  • Output: Compressed TSC Text: The final result is dramatically shorter yet semantically rich, ideal for long-context LLM pipelines and multi-step reasoning workflows.
Nuno Bispo

Nuno Bispo

Solutions Architect · Senior Python & AI Engineer · AI Audits · Helping teams fix what they shipped too fast
Netherlands