Every Time I Hire a Linguist, Inference Costs Go Down: On Linguistic Rules as Effective Prompt Compressors
Abstract
Prompt compression shortens LLM input to reduce inference cost, yet existing methods score token importance through LM forward passes. It remains questionable whether such nuanced, costly token selection is necessary. Compression requires identifying informative content, a problem that linguistic research has long addressed through cues that can be operationalized as deterministic rules. We therefore ask: can linguistic rules alone serve as effective prompt compressors, without LM-based scoring at compression time? To address this, we conduct offline evolutionary search over lexical, syntactic, semantic, and discourse seeds to find competitive rule combinations. The resulting linguistic compressor requires no LM forward pass at deployment and uses only CPU-side processing for compression. We evaluate it with a dual-path protocol to balance compression quality and reconstruction fidelity. Across short passages, multi-document reasoning, and dialogue-memory QA datasets, evolved compressors achieve performance similar to that of recent advanced prompt-compression strategies. Performance is strongest under light-to-moderate compression and degrades as compression becomes more aggressive, while the Direct and Reconstruction paths exhibit distinct patterns. Evolutionary analysis reveals that effective compression fuses signals across linguistic levels and, as the compression ratio increases, rules shift from token pruning to sentence extraction.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
- Comments
- EMNLP 2026
Related papers
MentorCollab: Large-to-Small Inference-Time Mentorship for Concise Reasoning in Language Models
Shared title terminologycs.CLHaojin Wang, Yike Wang, Shangbin Feng et al.
Steering Instruction Hierarchies at Inference Time
Shared title terminologycs.CLSiqi Zeng, Sewoong Lee, Han Zhao et al.
The Linguistic Knowledge Benchmark: Do Language Models Know the Foundations of Early-Grade Literacy?
Shared title terminologycs.CLMaxime Lelièvre, Alasdair Mackintosh, Dominic Andrews et al.
PersonaFactory: Stylistic User Prompt Augmentation with Synthetic Persona Bank
Shared title terminologycs.CLBich Ngoc Doan, Hanna Yukhymenko, Imanol Schlag
MINE: A Training-Free Defense against Indirect Prompt Injection via Mutual Information and Embedding Variance
Shared title terminologycs.CLTruong Phan, Ngoc-Quan Pham, Dat Quoc Nguyen
Evaluating Ukrainian Grammatical Competence in Language Models: Probability Versus Prompting
Shared title terminologycs.CLDmytro Babarytskyi, Oleksandr Babarytskyi, Vadym Savanevych