arXiv++ Combinatorics

Browse math.CO papers from arXiv

Papers by Pengyu Liu

6 paper(s) by this author · All BibTeX
2026-07-06
Polynomial encoding of rooted trees with branch lengths
Phylogenetic trees are rooted trees with branch lengths that record genetic divergence or elapsed time, and quantifying differences between them is central to a wide range of evolutionary and epidemiological analyses. Graph-polynomial encodings of rooted trees provide an accurate, interpretable, and computationally efficient way to compare tree shapes, but existing polynomial encodings must be paired with auxiliary structures to study rooted trees with branch lengths. We introduce a bivariate polynomial encoding that incorporates branch lengths directly into a recursive computation from the leaf vertices to the root vertex of a tree. We prove that, for rooted trees with branch lengths and no vertices of degree two, which include all standard phylogenetic trees, two trees have the same polynomial if and only if their underlying unlabeled trees are isomorphic and the branch lengths of corresponding edges are equal. We apply the polynomial encoding to three published HIV-1 phylogenies sampled in different epidemiological settings and show that it accurately separates the three datasets based on their tree topologies and branch lengths, outperforming previous polynomial-based approaches for analyzing rooted trees with branch lengths.
2022-11-13
Quantifying syntax similarity with a polynomial representation of dependency trees
Published • View PublicationBIB
We introduce a graph polynomial that distinguishes tree structures to represent dependency grammar and a measure based on the polynomial representation to quantify syntax similarity. The polynomial encodes accurate and comprehensive information about the dependency structure and dependency relations of words in a sentence. We apply the polynomial-based methods to analyze sentences in the Parallel Universal Dependencies treebanks. Specifically, we compare the syntax of sentences and their translations in different languages, and we perform a syntactic typology study of available languages in the Parallel Universal Dependencies treebanks. We also demonstrate and discuss the potential of the methods in measuring syntax diversity of corpora.
2022-08-07
Effects of network topology and trait distribution on collective decision making
Published • View PublicationBIB
Social networks play an important role in analyzing the impact of individual-level interactions on societal or economic outcomes. We model interactive decision making for a community of individuals with different traits, represented by a social network with trait-attributed nodes. We develop a deterministic process generating a sequence of choices for each individual based on a trait-attributed social network, initial choices of individuals and a set of predetermined trait-dependent rules for making decisions. The object of interest is the sequence of cumulative sum of choices over all individuals, which we call the cumulative sequence and consider as an index of collective decisions. We observe that, in a time period, a cumulative sequence can be unpredictable or predictable showing a repeated pattern either escalating to an extreme or constantly oscillating. We consider that predictable cumulative sequences represent unstable collective decisions of communities either extremizing or internally conflicting, while unpredictable cumulative sequences show stable changes. We analyze the effects of network topology and trait distribution on the probability of cumulative sequences being predictable, escalating and oscillating by simulations. Our findings include that unstable collective decisions are more probable as network density increases, that centralized networks are more likely to have unstable collective decisions and that networks with excessively clustered or scattered conformists and rebels tend to produce unstable cumulative sequences. We discuss the potential of the model as a framework for studying individuals with different traits on a social network directly and indirectly interacting in decision making.
2022-04-04 v2
A Generalized Hamming Distance of Sequence Patterns
We define sequence patterns of length $n$ and level $\ell$ to be equivalence classes of sequences that have $n$ elements from the set of $\ell$ integer symbols $\{1,2,\ldots,\ell\}$ with no restriction on repetition, where the equivalence relation is induced by symbol relabeling without swapping positions of symbols. We define a distance for a set of $k$ sequence patterns of length $n$ and level $\ell$ by generalizing the Hamming distance between sequences. We compute the maximal distance for $k$ sequence patterns of length $n$ and level $\ell$ and demonstrate how to calculate the exact distance between a pair of length-$n$ level-$\ell$ sequence patterns.
2021-06-12
Comparing the topology of phylogenetic network generators
Published • View PublicationBIB
Phylogenetic networks represent evolutionary history of species and can record natural reticulate evolutionary processes such as horizontal gene transfer and gene recombination. This makes phylogenetic networks a more comprehensive representation of evolutionary history compared to phylogenetic trees. Stochastic processes for generating random trees or networks are important tools in evolutionary analysis, especially in phylogeny reconstruction where they can be utilized for validation or serve as priors for Bayesian methods. However, as more network generators are developed, there is a lack of discussion or comparison for different generators. To bridge this gap, we compare a set of phylogenetic network generators by profiling topological summary statistics of the generated networks over the number of reticulations and comparing the topological profiles.
2019-04-06 v2
A tree distinguishing polynomial
We define a bivariate polynomial for unlabeled rooted trees and show that the polynomial of an unlabeled rooted tree $T$ is the generating function of a class of subtrees of $T$. We prove that the polynomial is a complete isomorphism invariant for unlabeled rooted trees. Then, we generalize the polynomial to unlabeled unrooted trees and we show that the generalized polynomial is a complete isomorphism invariant for unlabeled unrooted trees.