Skip to main content

Showing 1–12 of 12 results for author: Serang, O

Searching in archive cs. Search in all archives.
.
  1. arXiv:2304.12313  [pdf, other

    cs.DS

    Median of heaps: linear-time selection by recursively constructing binary heaps

    Authors: Oliver Serang

    Abstract: The first worst-case linear-time algorithm for selection was discovered in 1973; however, linear-time binary heap construction was first published in 1964. Here we describe another worst-case linear selection algorithm,which is simply implemented and uses binary heap construction as its principal engine. The algorithm is implemented in place, and shown to perform similarly to in-place median of me… ▽ More

    Submitted 24 April, 2023; originally announced April 2023.

    ACM Class: F.2

  2. arXiv:2210.03354  [pdf, other

    stat.ML cs.LG

    Adversarial network training using higher-order moments in a modified Wasserstein distance

    Authors: Oliver Serang

    Abstract: Generative-adversarial networks (GANs) have been used to produce data closely resembling example data in a compressed, latent space that is close to sufficient for reconstruction in the original vector space. The Wasserstein metric has been used as an alternative to binary cross-entropy, producing more numerically stable GANs with greater mode covering behavior. Here, a generalization of the Wasse… ▽ More

    Submitted 7 October, 2022; originally announced October 2022.

    ACM Class: G.3; G.1.6

  3. arXiv:2008.07023  [pdf, other

    cs.DS

    Selection on $X_1 + X_1 + \cdots X_m$ via Cartesian product tree

    Authors: Patrick Kreitzberg, Kyle Lucke, Jake Pennington, Oliver Serang

    Abstract: Selection on the Cartesian product is a classic problem in computer science. Recently, an optimal algorithm for selection on $X+Y$, based on soft heaps, was introduced. By combining this approach with layer-ordered heaps (LOHs), an algorithm using a balanced binary tree of $X+Y$ selections was proposed to perform $k$-selection on $X_1+X_2+\cdots+X_m$ in $o(n\cdot m + k\cdot m)$, where $X_i$ have l… ▽ More

    Submitted 16 August, 2020; originally announced August 2020.

  4. arXiv:2007.13356  [pdf, other

    cs.DS

    Optimal construction of a layer-ordered heap

    Authors: Jake Pennington, Patrick Kreitzberg, Kyle Lucke, Oliver Serang

    Abstract: The layer-ordered heap (LOH) is a simple, recently proposed data structure used in optimal selection on $X+Y$, thealgorithm with the best known runtime for selection on $X_1+X_2+\cdots+X_m$, and the fastest method in practice for computing the most abundant isotope peaks in a chemical compound. Here, we introduce a few algorithms for constructing LOHs, analyze their complexity, and demonstrate tha… ▽ More

    Submitted 15 August, 2020; v1 submitted 27 July, 2020; originally announced July 2020.

  5. arXiv:2004.07444  [pdf, other

    cs.CE cs.DS

    Fast exact computation of the $k$ most abundant isotope peaks with layer-ordered heaps

    Authors: Patrick Kreitzberg, Jake Pennington, Kyle Lucke, Oliver Serang

    Abstract: The theoretical computation of isotopic distribution of compounds is crucial in many important applications of mass spectrometry, especially as machine precision grows. A considerable amount of good tools have been created in the last decade for doing so. In this paper we present a novel algorithm for calculating the top $k$ peaks of a given compound. The algorithm takes advantage of layer-ordered… ▽ More

    Submitted 15 April, 2020; originally announced April 2020.

  6. arXiv:2001.11607  [pdf, ps, other

    cs.DS

    Optimally selecting the top $k$ values from $X+Y$ with layer-ordered heaps

    Authors: Oliver Serang

    Abstract: Selection and sorting the Cartesian sum, $X+Y$, are classic and important problems. Here, a new algorithm is presented, which generates the top $k$ values of the form $X_i+Y_j$. The algorithm relies only on median-of-medians and is simple to implement. Furthermore, it uses data structures contiguous in memory, and is fast in practice. The presented algorithm is demonstrated to be theoretically opt… ▽ More

    Submitted 5 October, 2020; v1 submitted 30 January, 2020; originally announced January 2020.

  7. arXiv:1910.11993  [pdf, other

    cs.DS

    Selection on $X_1+X_2+\cdots + X_m$ with layer-ordered heaps

    Authors: Patrick Kreitzberg, Kyle Lucke, Oliver Serang

    Abstract: Selection on $X_1+X_2+\cdots + X_m$ is an important problem with many applications in areas such as max-convolution, max-product Bayesian inference, calculating most probable isotopes, and computing non-parametric test statistics, among others. Faster-than-naïve approaches exist for $m=2$: Frederickson (1993) published the optimal algorithm with runtime $O(k)$ and Kaplan \emph{et al.} (2018) has s… ▽ More

    Submitted 15 August, 2020; v1 submitted 26 October, 2019; originally announced October 2019.

  8. arXiv:1907.00278  [pdf, other

    cs.DS

    Most abundant isotope peaks and efficient selection on $Y=X_1+X_2+\cdots + X_m$

    Authors: Patrick Kreitzberg, Kyle Lucke, Oliver Serang

    Abstract: The isotope masses and relative abundances for each element are fundamental chemical knowledge. Computing the isotope masses of a compound and their relative abundances is an important and difficult analytical chemistry problem. We demonstrate that this problem is equivalent to sorting $Y=X_1+X_2+\cdots+X_m$. We introduce a novel, practically efficient method for computing the top values in $Y$. t… ▽ More

    Submitted 29 June, 2019; originally announced July 2019.

  9. arXiv:1708.01873  [pdf, other

    cs.MS

    Practically efficient methods for performing bit-reversed permutation in C++11 on the x86-64 architecture

    Authors: Christian Knauth, Boran Adas, Daniel Whitfield, Xuesong Wang, Lydia Ickler, Tim Conrad, Oliver Serang

    Abstract: The bit-reversed permutation is a famous task in signal processing and is key to efficient implementation of the fast Fourier transform. This paper presents optimized C++11 implementations of five extant methods for computing the bit-reversed permutation: Stockham auto-sort, naive bitwise swap**, swap** via a table of reversed bytes, local pairwise swap** of bits, and swap** via a cache-lo… ▽ More

    Submitted 2 August, 2017; originally announced August 2017.

  10. arXiv:1608.00206  [pdf, ps, other

    cs.CG cs.MS

    An exact, cache-localized algorithm for the sub-quadratic convolution of hypercubes

    Authors: Oliver Serang

    Abstract: Fast multidimensional convolution can be performed naively in quadratic time and can often be performed more efficiently via the Fourier transform; however, when the dimensionality is large, these algorithms become more challenging. A method is proposed for performing exact hypercube convolution in sub-quadratic time. The method outperforms FFTPACK, called via numpy, and FFTW, called via pyfftw) f… ▽ More

    Submitted 31 July, 2016; originally announced August 2016.

  11. TRIOT: Faster tensor manipulation in C++11

    Authors: Florian Heyl, Oliver Serang

    Abstract: [abridged] Context: Multidimensional arrays are used by many different algorithms. As such, indexing and broadcasting complex operations over multidimensional arrays are ubiquitous tasks and can be performance limiting. Inquiry: Simultaneously indexing two or more multidimensional arrays with different shapes (e.g., copying data from one tensor to another larger, zero padded tensor in anticipation… ▽ More

    Submitted 31 March, 2017; v1 submitted 30 July, 2016; originally announced August 2016.

    Journal ref: The Art, Science, and Engineering of Programming, 2017, Vol. 1, Issue 2, Article 6

  12. arXiv:1511.05690  [pdf, other

    cs.DS

    Fast Computation on Semirings Isomorphic to $(\times, \max)$ on $\mathbb{R}_+$

    Authors: Oliver Serang

    Abstract: Important problems across multiple disciplines involve computations on the semiring $(\times, \max)$ (or its equivalents, the negated version $(\times, \min)$), the log-transformed version $(+, \max)$, or the negated log-transformed version $(+, \min)$): max-convolution, all-pairs shortest paths in a weighted graph, and finding the largest $k$ values in $x_i+y_j$ for two lists $x$ and $y$. However… ▽ More

    Submitted 17 June, 2016; v1 submitted 18 November, 2015; originally announced November 2015.