# HYVE: Hybrid Views for LLM Context Engineering over Machine Data

*Jian Tan, Fan Bu, Yuqing Gao, Devavrat Khanolkar, Jason Mackay, Boris Sobolev, Lei Jin, Li Zhang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152054) · [Open on the map](../papers.html#p152054)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Sparse Long-Context Attention](../pgroup/226.md) · Type: new method · Keywords: LLM context engineering, machine data, hybrid columnar view, token efficiency, observability, structured generation

Areas: [Long Context](../areas/longcontext.md) › Long-context mechanisms › Long-context attention mechanisms

## Summary
HYVE is a framework that engineers LLM context for large machine-data payloads by creating hybrid columnar and row-oriented views, reducing token usage by 50-90% and improving structured generation performance.

## Explained to a 5-year-old
Computers collect lots of information like logs and measurements. This information can be long and hard for AI to understand. The researchers created a way to organize that information into simple views, like tables and lists, so the AI can see only what it needs. This helps the AI answer questions faster and use less memory. As a result, the AI can better help fix problems and make charts.

## Explained to a 5-year-old, longer
Computers generate a lot of data, like logs, measurements, and snapshots. This data is often mixed with normal text and can be very long. Large language models sometimes get confused by this kind of data. The researchers noticed that many parts of the data repeat over and over. They built a system that finds those repeats and stores them in a special place. They then turn the data into two different formats: one like a table and one like a list. Only the most useful parts are shown to the language model. After the model answers, the system can look back at the stored data to add missing pieces. Sometimes it even asks the model a short extra question to help understand the data better. This makes the model work faster and use less memory. It also helps the model produce better results, like more accurate charts. Overall, this makes it possible to use AI on big data without running out of space.

## For a technical reader
HYVE is a context-engineering framework that preprocesses machine-data inputs by detecting repetitive patterns and materializing them in a request-scoped datastore with schema information. It then creates hybrid columnar and row-oriented views of the data and presents only the relevant representation to the LLM, reducing the token count dramatically. During post-processing, HYVE either returns the model output directly, queries the datastore for omitted details, or makes a bounded additional LLM call for SQL-augmented semantic synthesis. Evaluations on knowledge QA, chart generation, anomaly detection, and network troubleshooting show token reductions of 50-90 % and improvements in chart-generation accuracy up to 132 % with latency cuts up to 83 %. This approach effectively approximates an unbounded context window for large machine-data payloads, enabling practical LLM-based observability and diagnosis.

## Problem
LLMs struggle with long, deeply nested, repetitive machine data such as logs, metrics, and configuration snapshots, leading to brittleness and high token consumption.

## Method
The approach preprocesses inputs to detect repetitive structure, materializes it in a request-scoped datastore with schema information, creates hybrid columnar and row-oriented views, and presents only the relevant representation to the LLM; postprocessing either returns outputs directly, queries the datastore for omitted information, or uses a bounded additional LLM call for semantic synthesis.

## Results
It reduces token usage by 50-90%, improves chart-generation accuracy by up to 132%, and lowers latency by up to 83%.

## Contributions
A framework for LLM context engineering that leverages hybrid columnar and row-oriented views and a request-scoped datastore to efficiently handle large, repetitive machine-data payloads, along with evaluation across multiple real-world tasks.

## Practical relevance
Enables practical deployment of LLMs on large machine-data workloads by approximating an unbounded context window, reducing cost and latency for observability and diagnosis tasks.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152054)
