paper-with-me

Papers

Don't Think It Twice: Exploit Shift Invariance for Efficient Online Streaming Inference of CNNs

2024-08-06

Deep learning time-series processing often relies on convolutional neural networks with overlapping windows. This overlap allows the network to produce an output faster than the window length. However, it introduces additional computations. This work explores the potential to optimize computational efficiency during inference by exploiting convolution's shift-invariance properties to skip the calculation of layer activations between successive overlapping windows. Although convolutions are shift-invariant, zero-padding and pooling operations, widely used in such networks, are not efficient and complicate efficient streaming inference. We introduce StreamiNNC, a strategy to deploy Convolutional Neural Networks for online streaming inference. We explore the adverse effects of zero padding and pooling on the accuracy of streaming inference, deriving theoretical error upper bounds for pooling during streaming. We address these limitations by proposing signal padding and pooling alignment and provide guidelines for designing and deploying models for StreamiNNC. We validate our method in simulated data and on three real-world biomedical signal processing applications. StreamiNNC achieves a low deviation between streaming output and normal inference for all three networks (2.03 - 3.55% NRMSE). This work demonstrates that it is possible to linearly speed up the inference of streaming CNNs processing overlapping windows, negating the additional computation typically incurred by overlapping windows.

📄 PDF Abstract BibTeX arXiv:2408.03223

Code (1)

esl-epfl/streaminnc 공식 구현 tf

Tasks

Computational EfficiencyTime Series

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

ThinkTwice: Jointly Optimizing Large Language Models for Reasoning and Self-Refinement

2026-04-02 · Difan Jiao, Qianfeng Wen, Blair Yang, Zhenwei Tang 외 arxiv

We introduce ThinkTwice, a simple two-phase framework that jointly optimizes LLMs to solve reasoning problems and refine the answers, based on Group Relative Policy Optimization (GRPO). In each pair of training steps, Th…

Mathematical Reasoning

Think Twice before Adaptation: Improving Adaptability of DeepFake Detection via Online Test-Time Adaptation

2025-05-24 · Hong-Hanh Nguyen-Le, Van-Tuan Tran, Dinh-Thuc Nguyen, Nhien-An Le-Khac

Deepfake (DF) detectors face significant challenges when deployed in real-world environments, particularly when encountering test samples deviated from training data through either postprocessing manipulations or distrib…

DeepFake DetectionFace SwappingTest-time Adaptation

Do not be greedy, Think Twice: Sampling and Selection for Document-level Information Extraction

2026-01-26 · Mikel Zubillaga, Oscar Sainz, Oier Lopez de Lacalle, Eneko Agirre arxiv

Document-level Information Extraction (DocIE) aims to produce an output template with the entities, relations, and events of interest occurring in the given document. Standard practices include prompting decoder-only LLM…

Information Extraction

There is No "apple" in Timeseries: Rethinking TSFM through the Lens of Invariance

2025-10-23 · Arian Prabowo, Flora D. Salim arxiv

Timeseries foundation models (TSFMs) have multiplied, yet lightweight supervised baselines and even classical models often match them. We argue this gap stems from the naive importation of NLP or CV pipelines. In languag…

Think Twice: Branch-and-Rethink Reasoning Reward Model

2025-10-27 · Yizhu Jiao, Jiaqi Zeng, Julien Veron Vialard, Oleksii Kuchaiev 외 arxiv

Large language models (LLMs) increasingly rely on thinking models that externalize intermediate steps and allocate extra test-time compute, with think-twice strategies showing that a deliberate second pass can elicit str…

Reinforcement Learning