ACM HotNets 2026

AutogramInvariant Discovery for Networked Systems

1 Princeton University2 UC Berkeley / Google

* Equal contribution

Discovering network invariants from noisy telemetry by pairing AI grammar design with deterministic search and validation.

Presentation & demo

2-minute paper intro

System demo

Two rules to start. How far can your grammar go?

Abstract

Network invariants support applications from verification to traffic generation, telemetry imputation, and input validation. Writing these rules by hand requires expertise in both networking and formal logic. Testing all combinations of network variables is impractical at scale. Existing tools depend on expert-written grammars and exact rules that miss invariants obscured by noise.

Autogram uses a large language model to construct a compact grammar from variable names and metadata. The grammar defines which relations the system can express and test. A deterministic engine searches that space, removes trivial or contradictory candidates with a logical solver, and evaluates the remaining rules on held-out telemetry. When the search misses trusted invariants, Autogram asks the model to expand the grammar and repeats the checks.

Autogram produces readable invariants with measured tolerances and hold rates. For a fixed grammar and dataset, the search is reproducible and exhaustive. Our prototype recovered expert-derived invariants with full recall and low false positives in evaluations on public and production WAN telemetry.

BibTeX

@inproceedings{he2026autogram,
  title     = {Invariant Discovery for Networked Systems},
  author    = {Hè, Hongyu and Krentsel, Alexander and
               Ratnasamy, Sylvia and Apostolaki, Maria},
  booktitle = {The 25th ACM Workshop on Hot Topics in Networks},
  series    = {HotNets '26},
  year      = {2026},
  publisher = {Association for Computing Machinery},
  doi       = {10.1145/3847290.3859952},
  url       = {https://doi.org/10.1145/3847290.3859952}
}