cd /news/machine-learning/striketwice-reusable-graph-represent… · home › topics › machine-learning › article
[ARTICLE · art-179145] src=arxiv.org ↗ pub= topic=machine-learning verified=true sentiment=· neutral

StrikeTwice: Reusable Graph Representations for Path Prediction

Researchers introduced StrikeTwice, a method that caches reusable graph encodings and connects them to path processors through ordered selection of vertex and pair states, preserving path order and repeated visits, according to arXiv paper 2611.35308v1. The paper also presents the Edge-Vertex Transformer (EVT), a graph encoder with direction-aware triangular attention, and proves relative universality for EVT and for StrikeTwice with EVT at both stages, showing that on compact domains EVT uniformly approximates the continuous predictions determined by stable bidirectional 2-FWL colors. The authors benchmark the approach on controlled synthetic tasks, the curated splicing benchmark ThorAxe-Combo, and temporal routing measurements from RIPE Atlas, measuring computational costs and the savings from cache reuse including the initial encoding cost.

key takeaway

Caching graph encodings and reusing them across path queries amortizes encoding costs, and marking path positions before graph encoding strictly increases distinguishability over ordered selection for stable 2-FWL profiles.

by read1 min views13 publishedDec 1, 2026

arXiv:2611.35308v1 Announce Type: new Abstract: Graph-path learning predicts properties of ordered paths in shared graphs, with applications in network routing and biology. We advocate caching graph representations to amortize encoding costs across path queries. We introduce the Edge-Vertex Transformer (EVT), a graph encoder coupling vertex and pair states through configurable interactions, with direction-aware triangular attention to compose pairwise relations. For graph-path learning, we introduce StrikeTwice, which connects reusable graph encodings to path processors by ordered selection of vertex and pair states, preserving path order and repeated visits. Our main theoretical contribution is relative universality for EVT and for StrikeTwice with EVT at both stages. On compact domains, EVT uniformly approximates exactly the continuous vertex- and pair-level predictions determined by stable bidirectional two-dimensional folklore Weisfeiler-Leman (2-FWL) colors, and StrikeTwice exactly those for path occurrences and their ordered pairs determined by graph size, path length and the ordered table of pair colors along the path. For each target and accuracy, one parameter set serves all admissible graph and path sizes. For stable 2-FWL profiles, jointly reading each vertex's relations to all path positions strictly increases distinguishability over ordered selection, and marking path positions before graph encoding strictly increases it further. We then build a benchmarking suite combining controlled synthetic tasks, ThorAxe-Combo, a curated splicing benchmark, and temporal routing measurements from RIPE Atlas. Through ablations and real-data comparisons, we examine how the graph encoder, path processor and query interface affect predictive performance at finite capacity and training budget. We also measure computational costs and the savings from cache reuse, including the initial encoding cost.

── more in #machine-learning 4 stories · sorted by recency
── more on @striketwice 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/striketwice-reusable…] indexed:0 read:1min 2026-12-01 · —