PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 31, 20260 citationsOpen Access

FEW-AI-SERIAL: A Domain-Agnostic Semantic Compression Protocol for LLM Prompt Injection and IoT Data Encoding

View Full Paper
VNVinícius Perfetti NegrãoPPPaulo PitrezMBMaíra Bocci

Key Points

  • To introduce FEW-AI-SERIAL, a protocol that efficiently compresses structured data while remaining human-readable and interpretable by LLMs.
  • Developed a domain-agnostic semantic compression protocol.
  • Compared compression rates with binary serialization formats like Protocol Buffers and JSON.
  • Validated the protocol across three real-world applications: LLM prompt injection, IoT data encoding, and agent communication.
  • Achieved 68-92% reduction in structured data payloads.
  • Demonstrated 100% extraction accuracy for LLM prompt injection with 86% token reduction.
  • Showed 92% byte reduction for IoT sensor data on ESP32 microcontrollers.
  • Achieved 88% message size reduction in agent-to-agent communication while maintaining 100% extraction accuracy.

Abstract

We present FEW-AI-SERIAL, a domain-agnostic semantic compression protocol that reduces structured data payloads by 68–92% while maintaining full human readability and native interpretability by Large Language Models (LLMs). Unlike binary serialization formats (Protocol Buffers, Avro, CBOR) that achieve comparable compression but produce opaque byte streams, FEW-AI-SERIAL uses positional mnemonic keys (2–3 uppercase characters) and domain-native value notation to produce compact text that both humans and LLMs can read without external schema or decoder. We validate the protocol across three production domains: (1) LLM few-shot prompt injection for poker decision-making (86% token reduction, 100% extraction accuracy), (2) IoT sensor data encoding on ESP32 microcontrollers (92% byte reduction), and (3) Model Context Protocol (MCP) agent-to-agent communication (88% message size reduction). Empirical benchmarks using Claude Haiku demonstrate identical extraction accuracy (100%) with 41% fewer bytes and 31% lower latency compared to JSON.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Negrão et al. (2026) studied this question.

synapsesocial.com/papers/69cb6526e6a8c024954b93d3https://doi.org/10.5281/zenodo.19323794
Ask AI
Helpful
Bookmark
Share
View Full Paper