中文
相关论文

相关论文: A Simple Solution to the Level-Ancestor Problem

200 篇论文

Described are two algorithms to find long approximate palindromes in a string, for example a DNA sequence. A simple algorithm requires O(n)-space and almost always runs in $O(k.n)$-time where n is the length of the string and k is the…

数据结构与算法 · 计算机科学 2007-05-23 L. Allison

In this paper, a 1d convolutional neural network is designed for classification tasks of plant leaves. This network based classifier is analyzed in two directions. In the forward direction, the proposed network can be used in two ways: a…

计算机视觉与模式识别 · 计算机科学 2020-09-18 Dongyang Kuang

Let $\mathcal{D}$ be a collection of $D$ documents, which are strings over an alphabet of size $\sigma$, of total length $n$. We describe a data structure that uses linear space and and reports $k$ most relevant documents that contain a…

数据结构与算法 · 计算机科学 2013-08-02 Gonzalo Navarro , Yakov Nekrich

Although application examples of multilevel optimization have already been discussed since the 1990s, the development of solution methods was almost limited to bilevel cases due to the difficulty of the problem. In recent years, in machine…

最优化与控制 · 数学 2021-10-27 Ryo Sato , Mirai Tanaka , Akiko Takeda

In 1971, Knuth gave an $O(n^2)$-time algorithm for the classic problem of finding an optimal binary search tree. Knuth's algorithm works only for search trees based on 3-way comparisons, while most modern computers support only 2-way…

数据结构与算法 · 计算机科学 2021-03-10 Marek Chrobak , Mordecai Golin , J. Ian Munro , Neal E. Young

Differentiable optimization layers enable learning systems to make decisions by solving embedded optimization problems. However, computing gradients via implicit differentiation requires solving a linear system with Hessian terms, which is…

机器学习 · 计算机科学 2025-12-03 Zihao Zhao , Kai-Chia Mo , Shing-Hei Ho , Brandon Amos , Kai Wang

Given an $n$-vertex planar embedded digraph $G$ with non-negative edge weights and a face $f$ of $G$, Klein presented a data structure with $O(n\log n)$ space and preprocessing time which can answer any query $(u,v)$ for the shortest path…

数据结构与算法 · 计算机科学 2023-07-31 Debarati Das , Evangelos Kipouridis , Maximilian Probst Gutenberg , Christian Wulff-Nilsen

Question answering is one of the most important and difficult applications at the border of information retrieval and natural language processing, especially when we talk about complex science questions which require some form of inference…

计算与语言 · 计算机科学 2019-05-08 George-Sebastian Pirtoaca , Traian Rebedea , Stefan Ruseti

This paper tightens the best known analysis of Hein's 1989 algorithm to infer the topology of a weighted tree based on the lengths of paths between its leaves. It shows that the number of length queries required for a degree-$k$ tree of $n$…

数据结构与算法 · 计算机科学 2024-12-05 Jack Gardiner , Lachlan L. H. Andrew , Junhao Gan , Jean Honorio , Seeun William Umboh

Given a set of n disjoint balls b1, . . ., bn in IRd, we provide a data structure, of near linear size, that can answer (1 \pm \epsilon)-approximate kth-nearest neighbor queries in O(log n + 1/\epsilon^d) time, where k and \epsilon are…

计算几何 · 计算机科学 2014-10-30 Sariel Har-Peled , Nirman Kumar

We present an oracle problem, which we call the Repeated Randomness problem, that a quantum algorithm can solve in one query, while any classical algorithm requires $\Omega(\log n)$ queries, where the oracle function has $2^n$ inputs. This…

量子物理 · 物理学 2015-03-17 Shelby Kimmel

Binary jumbled pattern matching asks to preprocess a binary string $S$ in order to answer queries $(i,j)$ which ask for a substring of $S$ that is of length $i$ and has exactly $j$ 1-bits. This problem naturally generalizes to…

数据结构与算法 · 计算机科学 2014-07-01 Travis Gagie , Danny Hermelin , Gad M. Landau , Oren Weimann

The current deep learning model is of a single-grade, that is, it learns a deep neural network by solving a single nonconvex optimization problem. When the layer number of the neural network is large, it is computationally challenging to…

机器学习 · 计算机科学 2023-02-02 Yuesheng Xu

Depth first search (DFS) tree is one of the most well-known data structures for designing efficient graph algorithms. Given an undirected graph $G=(V,E)$ with $n$ vertices and $m$ edges, the textbook algorithm takes $O(n+m)$ time to…

数据结构与算法 · 计算机科学 2018-02-21 Lijie Chen , Ran Duan , Ruosong Wang , Hanrui Zhang , Tianyi Zhang

We study two fundamental decremental dynamic graph problems. In both problems, we need to maintain a vertex-weighted forest of size $n$ under edge deletions, weight updates, and a certain information-retrieval query. Both problems can be…

数据结构与算法 · 计算机科学 2026-05-08 Benjamin Aram Berendsohn , Marek Sokołowski

In this paper, we first consider the subpath convex hull query problem: Given a simple path $\pi$ of $n$ vertices, preprocess it so that the convex hull of any query subpath of $\pi$ can be quickly obtained. Previously, Guibas, Hershberger,…

计算几何 · 计算机科学 2020-02-26 Haitao Wang

Latent Dirichlet Allocation (LDA) is a three-level hierarchical Bayesian model for topic inference. In spite of its great success, inferring the latent topic distribution with LDA is time-consuming. Motivated by the transfer learning…

机器学习 · 计算机科学 2015-08-06 Dongxu Zhang , Tianyi Luo , Dong Wang , Rong Liu

Grover's search algorithm searches a database of $N$ unsorted items in $O(\sqrt{N/M})$ steps where $M$ represents the number of solutions to the search problem. This paper proposes a scheme for searching a database of $N$ unsorted items in…

量子物理 · 物理学 2007-05-23 A. S. Gupta , M. Gupta , A. Pathak

Polytrees are a subclass of Bayesian networks that seek to capture the conditional dependencies between a set of $n$ variables as a directed forest and are motivated by their more efficient inference and improved interpretability. Since the…

数据结构与算法 · 计算机科学 2026-05-06 Juha Harviainen , Frank Sommer , Manuel Sorge

In this work, we consider bilevel optimization when the lower-level problem is strongly convex. Recent works show that with a Hessian-vector product (HVP) oracle, one can provably find an $\epsilon$-stationary point within…

最优化与控制 · 数学 2026-05-26 Lesi Chen , Yaohua Ma , Jingzhao Zhang