SemanticFold: Latent Sequence Compression SeparatesLanguage Modeling, Decodability, and Reasoning
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
We study whether latent sequence compression of prompt prefixes preserves the capabilities that large language models rely on during inference. We introduce SemanticFold, a compression scheme that folds prefix hidden states at learned boundaries, and evaluate it across five model scales: Qwen3-1.7B, Qwen3-8B, SmolLM2-1.7B, Pythia-1.4B, and Pythia-6.9B. We use a fixed-target protocol: a frozen prefix is executed natively or compressed, and both arms teacher-force identical continuation tokens. This design rules out target-selection explanations for likelihood changes. We examine five endpoint families: fixed-target negative log-likelihood, finite-label reasoning accuracy, linear probe accessibility, open-ended generation, and systems-level memory and latency. We find that compression moves these endpoints non-monotonically and that they do not share a single compression threshold. On Qwen3-1.7B at compression ratio R=1.7, compressed-minus-native mean NLL decreases by 0.135 under paired bootstrap with 10000 draws. On SmolLM2 at R=1.2, the mean change is 0.013 higher than native. On both Pythia checkpoints, NLL is effectively unchanged. An NLL decomposition separating sequence shortening from the learned residual transform shows that the favorable Qwen likelihood is attributable primarily to residual adaptation rather than to shortening alone. MLP-only, which applies the transform without shortening, achieves 0.082 lower NLL than Full SemanticFold. Linear probe accuracy and macro AUC change by less than 0.03 in absolute value across conditions, with confidence intervals crossing zero. We conclude that preservation under latent compression has no single scalar certificate: language-model fit, decodability, and reasoning behavior answer different questions and can move in different directions under the same compression operation.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 4 of its 21 references that are in the map. First posted on arXiv 7 Oct 2026.
Builds on
4 of 21 references.
References · 4
- 2022Token Merging: Your ViT But Fastercited by 995
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2024Long Context Compression with Activation Beaconcited by 101
- 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inferencecited by 70
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Dynamic Large Concept Models: Latent Reasoning in an Adaptive Semantic Space
- 2026Lexical Prompt Compression for Large Language Models: A Training-Free, Deterministic Pipeline with Empirical Pareto Analysis Across Eleven Task Categories
- 2026TopoCompress: Long Context Compression via Graph-Wired Semantic Trajectories
- 2026Lost in Compression: A Controlled Cross-Lingual Audit of Extractive Prompt Compressors
- 2025Compression is Routing: Reconstruction Error as an Intrinsic Signal for Modular Language Models
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression
- 2026End-to-End Context Compression at Scale
- 2026Compressing Sequences in the Latent Embedding Space: K-Token Merging for Large Language Models