NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SlotFill: Repairing Lossy SoC Communication Traces for Post-Silicon Validation

Tasnim Tabassum, Hao ZhengarXiv 2026

TL;DR

When engineers debug newly manufactured chips, they rely on recorded message logs—except tiny on-chip memory buffers frequently overflow and silently drop messages, making healthy hardware look broken. SlotFill treats this invisible data loss as a structured fill-in-the-blanks puzzle, using a compact, custom-trained Transformer to reconstruct up to 97% of vanished messages with exact precision. It turns corrupted, false-alarm-ridden hardware traces back into clean, reliable diagnostic logs.

What Problem Does This Paper Address?

Designing a System-on-Chip (SoC)—the dense metropolis of CPUs, caches, and memory controllers inside your phone or laptop—is only half the battle. Once physical silicon comes back from the fab, engineers enter post-silicon validation: running real workloads to hunt down elusive hardware bugs.

To see what is happening inside the chip, hardware monitors record traces of messages (like cache read requests and responses) zipping between components. The catch? On-chip trace buffers are tiny, and bandwidth is tight. When traffic spikes, queues overflow and messages are unceremoniously dropped. Worse, a dropped message leaves no placeholder—no [REDACTED] tag to show where or how many messages vanished. Automated debugging tools expect every request to have a matching response; when messages go missing, these tools throw hundreds of false alarms on perfectly good surviving messages, sending tired engineers on wild goose chases.

Methods

Prior attempts tried a fragile two-step "find-then-fill" cascade (guessing where a gap was, then guessing what went inside) or rewrote the entire trace, often introducing more errors than they fixed.

SlotFill solves "where, what, and in what order" in a single pass using a clever fixed slot layout:

  • Uniform Blanks: Between every pair of surviving messages, SlotFill inserts a fixed number of unknown slots ($S=6$). Because every gap gets the exact same number of slots regardless of actual data loss, the input shape never leaks hints about how much was deleted.
  • NULL Weighting: A standard 6-layer Transformer (~5M parameters, trained from scratch) predicts either a specific message type or NULL (empty) for each slot. Since most slots are empty (up to 97% at low loss), the model is penalized 20x harder for missing a real message than for mispredicting an empty slot during training, then recalibrated during decoding. Kept messages are copied verbatim, never rewritten.
  • Hardware Hints as Features: Instead of just reading message names, SlotFill reads surviving hardware metadata—specifically clock-cycle time gaps, continuous-time rotary embeddings (Time-RoPE), memory address links, and an "orphan flag" that spots a response missing its paired request via transaction IDs.
  • Two Decoding Flavors: The authors test filling slots left-to-right (autoregressively, one slot at a time) versus in parallel (via masked diffusion, locking in the most confident slots first).
Overview of the SlotFill pipeline: surviving messages are separated by a fixed number of slots, which a Transformer fills with missing messages or empty symbols.

Datasets

Because real silicon cannot pause mid-execution to dump logs cleanly, the authors generated a massive, realistic benchmark using the gem5 architectural simulator across 4-core and 8-core x86 systems (in both syscall-emulation and full-system Ubuntu modes):

  • Workloads: Standard parallel benchmarks from PARSEC and SPLASH-2 (e.g., blackscholes, fluidanimate, ocean), plus custom lock/I/O microbenchmarks. One program per mode (ocean and swaptions) is held out completely unseen to test generalization.
  • Scale: Models train on ~5.4M messages per mode, and are evaluated on uninterrupted, whole-program test runs totaling 2.07 billion messages, subjected to random burst deletions (15%, 25%, and 50% loss) as well as realistic FIFO buffer-overflow drops.

Key Insights and Ideas

  • Tiny, scratch-built models beat LLM bloat: You don't need a 7B-parameter LLM here. Hardware traces aren't English; a text tokenizer shreds a single message type into ~13 sub-words. By treating each message type as one token, a 5M-parameter model hits peak accuracy—doubling it to 9.7M adds zero benefit.
  • Sequential context beats parallel speed (and is actually faster): Left-to-right decoding consistently outperforms parallel masked diffusion, especially in chaotic multi-core traffic beyond the L1 cache. Because parallel diffusion re-evaluates the entire window over 128 steps without slots in the same step seeing each other, left-to-right with a key-value cache is both more accurate and over 2x faster (0.45s vs. 1.1s per window).
  • Hardware metadata drives generalization: Stripping away timestamps and transaction IDs drops strict accuracy by 10–24 percentage points, hitting unseen programs the hardest. Those side-channel hints teach the model universal protocol physics rather than workload memorization.
  • Repairing traces doesn't hide real bugs: Because SlotFill never alters surviving messages and flags every insertion with a confidence score, downstream checkers get flow continuity back without masking genuine hardware bugs (with the natural exception of "dropped reply" bugs, which engineers can catch by inspecting only original, un-inserted messages).

Key Results

  • High Exact Recovery: At 15% message loss, SlotFill restores 93.5%–96.8% of deleted messages in the exact gap, type, and order (crushing the ~19–22% achieved by prior BERT-based work). Even when half (50%) of the trace is obliterated, it recovers 78.6%–86.5% strictly.
  • Coarse Clock Resilience: When timestamps are rounded to coarse 1,000-cycle buckets—mimicking real-world silicon monitors—a mixed-resolution model still recovers 76%–83% of lost messages at 15% loss.
  • Eliminating False Alarms: When feeding a 50%-damaged trace into an automated protocol checker (AutoModel), false rejections of valid surviving messages plummet from ~475 per 100k messages down to ~40 after repair, restoring event acceptance rates to 93.3%–99.9% of clean traces.

Limitations and Future Work

The traces come from gem5 simulations rather than physical silicon, primarily using in-order CPUs. When tested on out-of-order (O3) cores—which fire off many simultaneous same-cycle requests—strict recovery drops to 45%–55% (though tie-aware accuracy, which ignores arbitrary same-cycle ordering, reaches 63%–71%). Furthermore, fixed-slot layouts cannot rebuild catastrophic, sustained buffer overflows that wipe out hundreds of consecutive messages at once. Exploring dynamic insertion models, training directly on buggy traces, and scaling to full-system out-of-order silicon are slated for future work.

Summary updated

BibTeX
@misc{tabassum2026slotfill,
  author = {Tasnim Tabassum and Hao Zheng},
  title = {{SlotFill: Repairing Lossy SoC Communication Traces for Post-Silicon Validation}},
  year = {2026},
  eprint = {2611.31313},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31313},
}
Figure