RESYNC: Residual Latent-State Synchronization for Deadline-Bound Streaming Inference
Eljas Linna, Hao Dong, Juho Kanniainen
Abstract
Predicting every observation in a high-rate stream requires a model to finish before the next arrival. A large model may offer better predictions but miss that deadline. We propose RESYNC: the large model runs asynchronously, while a fast path updates its latest exact but stale latent state using the observations received since that state was computed and applies its unchanged prediction head. The updater learns from the frozen model's representations without task labels. Across one real and two synthetic streams and five architecture families, RESYNC beats the best compact or distilled alternative with a paired 95% interval above zero in all twelve dataset--architecture pairs with a material teacher advantage at anchor ages of 4--12 observations, and in eleven pairs at older tested ages up to 32. The share of the teacher's gain preserved remains complete on the real stream but is lower and generally declines with anchor age on the synthetic streams. In live replay with 1 ms arrivals, the synchronous large models cannot deliver any predictions on time while RESYNC serves at least 99.4% of arrivals within the interval, with 0.35--0.62 ms median latency on one CPU thread: around the same speed as or faster than the compact model, and 7.9--17.7× faster than synchronous large-model inference. RESYNC targets settings with background compute available but a strict per-observation response deadline.
Create a lesson
Related papers
CENTRY: A Probabilistic Latent-State Model for Continual AI Risk Estimation, Monitoring, and Regulation
Shared title terminology · Bonny Banerjee, Geetha Raju
Recursive State-Augmented Language Models: Persistent Latent-State Adaptation of Pretrained Language Models
Shared title terminology · Omer Haq
Efficient VLA Reinforcement Learning via Subchunk Rollouts in Latent World Models
Shared title terminology · Nan Tang, Han-Tao Zhang, Jing-Cheng Pang et al.
Degradation of Language Models under Controlled Load: Synchronization, Rule Execution and Misfires on the Background
Shared title terminology · Hennadii Kutomanov
HR-Merge: Model Merging with Headroom-Weighted Residual Refinement
Shared title terminology · Jiakang Huang, Xueyan Zhang, Renyi Cai et al.
cmHC: Balancing Stream Mixing in Hyper-Connections via Geometric Contraction
Shared title terminology · Haowei He, Ziwen Zhao, Chenshuo Pan et al.