paper-with-me

Papers

A* shortest string decoding for non-idempotent semirings

2022-04-14 · Kyle Gorman, Cyril Allauzen

The single shortest path algorithm is undefined for weighted finite-state automata over non-idempotent semirings because such semirings do not guarantee the existence of a shortest path. However, in non-idempotent semirings admitting an order satisfying a monotonicity condition (such as the plus-times or log semirings), the notion of shortest string is well-defined. We describe an algorithm which finds the shortest string for a weighted non-deterministic automaton over such semirings using the backwards shortest distance of an equivalent deterministic automaton (DFA) as a heuristic for A* search performed over a companion idempotent semiring, which is proven to return the shortest string. While there may be exponentially more states in the DFA, this algorithm needs to visit only a small fraction of them if determinization is performed "on the fly".

📄 PDF Abstract BibTeX arXiv:2204.07236

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

DFA 설명 없음

Similar Papers 제목 키워드 기반

PALMA: A Lightweight Tropical Algebra Library for ARM-Based Embedded Systems

2026-01-17 · Gnankan Landry Regis N'guessan arxiv

Tropical algebra, including max-plus, min-plus, and related idempotent semirings, provides a unifying framework in which many optimization problems that are nonlinear in classical algebra become linear. This property mak…

Enriching Ontology-based Data Access with Provenance (Extended Version)

2019-06-01 · Diego Calvanese, Davide Lanti, Ana Ozaki, Rafael Penaloza 외

Ontology-based data access (OBDA) is a popular paradigm for querying heterogeneous data sources by connecting them through mappings to an ontology. In OBDA, it is often difficult to reconstruct why a tuple occurs in the …

Quantum Algorithm for the Shortest Superstring Problem

2021-12-26 · Kamil Khadiev, Carlos Manuel Bosch Machado

In this paper, we consider the ``Shortest Superstring Problem''(SSP) or the ``Shortest Common Superstring Problem''(SCS). The problem is as follows. For a positive integer $n$, a sequence of n strings $S=(s^1,\dots,s^n)$…

Novel algorithm to generate shortest edit script using Levenshtein distance algorithm

2022-08-16 · Github 2022 8 · P. Prakash Maria Liju

String similarity, longest common subsequence and shortest edit scripts are the triplets of problem that related to each other. There are different algorithms exist to generate edit script by solving longest common subse…

Edit script generationFile difference

Ternary Gamma Semirings as a Novel Algebraic Framework for Learnable Symbolic Reasoning

2025-11-21 · Chandrasekhar Gokavarapu, D. Madhusudhana Rao arxiv

Binary semirings such as the tropical, log, and probability semirings form a core algebraic tool in classical and modern neural inference systems, supporting tasks like Viterbi decoding, dynamic programming, and probabil…

Knowledge Graphs