paper-with-me

Papers

Quick Adaptive Ternary Segmentation: An Efficient Decoding Procedure For Hidden Markov Models

2023-05-29 · Alexandre Mösching, Housen Li, Axel Munk

Hidden Markov models (HMMs) are characterized by an unobservable (hidden) Markov chain and an observable process, which is a noisy version of the hidden chain. Decoding the original signal (i.e., hidden chain) from the noisy observations is one of the main goals in nearly all HMM based data analyses. Existing decoding algorithms such as the Viterbi algorithm have computational complexity at best linear in the length of the observed sequence, and sub-quadratic in the size of the state space of the Markov chain. We present Quick Adaptive Ternary Segmentation (QATS), a divide-and-conquer procedure which decodes the hidden sequence in polylogarithmic computational complexity in the length of the sequence, and cubic in the size of the state space, hence particularly suited for large scale HMMs with relatively few states. The procedure also suggests an effective way of data storage as specific cumulative sums. In essence, the estimated sequence of states sequentially maximizes local likelihood scores among all local paths with at most three segments. The maximization is performed only approximately using an adaptive search procedure. The resulting sequence is admissible in the sense that all transitions occur with positive probability. To complement formal results justifying our approach, we present Monte-Carlo simulations which demonstrate the speedups provided by QATS in comparison to Viterbi, along with a precision analysis of the returned sequences. An implementation of QATS in C++ is provided in the R-package QATS and is available from GitHub.

📄 PDF Abstract BibTeX arXiv:2305.18578

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Learning How Hard to Think: Input-Adaptive Allocation of LM Computation

2024-10-07 · Mehul Damani, Idan Shenfeld, Andi Peng, Andreea Bobu 외

Computationally intensive decoding procedures--including search, reranking, and self-critique--can improve the quality of language model (LM) outputs in problems spanning code generation, numerical reasoning, and dialog.…

Code GenerationLanguage ModellingReranking

Interest Point Detection based on Adaptive Ternary Coding

2018-12-31 · Zhenwei Miao, Kim-Hui Yap, Xudong Jiang

In this paper, an adaptive pixel ternary coding mechanism is proposed and a contrast invariant and noise resistant interest point detector is developed on the basis of this mechanism. Every pixel in a local region is ada…

Face RecognitionInterest Point DetectionQuantization

EFCNet: Every Feature Counts for Small Medical Object Segmentation

2024-06-26 · Lingjie Kong, Qiaoling Wei, Chengming Xu, Han Chen 외

This paper explores the segmentation of very small medical objects with significant clinical value. While Convolutional Neural Networks (CNNs), particularly UNet-like models, and recent Transformers have shown substantia…

DecoderImage SegmentationSegmentationSemantic Segmentation

TeLLMe: An Energy-Efficient Ternary LLM Accelerator for Prefilling and Decoding on Edge FPGAs

2025-04-22 · Ye Qiao, Zhiheng Chen, Yifan Zhang, Yian Wang 외

Deploying large language models (LLMs) on edge platforms is challenged by their high computational and memory demands. Although recent low-bit quantization methods (e.g., BitNet, DeepSeek) compress weights to as little a…

Quantization

Binary and Ternary Natural Language Generation

2023-06-02 · Zechun Liu, Barlas Oguz, Aasish Pappu, Yangyang Shi 외

Ternary and binary neural networks enable multiplication-free computation and promise multiple orders of magnitude efficiency gains over full-precision networks if implemented on specialized hardware. However, since both…

Machine TranslationQuantizationText GenerationTranslation