Lune

SODA2021顶会

Counting Small Permutation Patterns

Chaim Even-Zohar, Calvin Leng

摘要

A sample of n generic points in the xy-plane defines a permutation that relates their ranks along the two axes. Every subset of k points similarly defines a pattern, which occurs in that permutation. The number of occurrences of small patterns in a large permutation arises in many areas, including nonparametric statistics. It is therefore desirable to count them more efficiently than the straightforward Õ(n k ) time algorithm.

This work proposes new algorithms for counting patterns. We show that all patterns of order 2 and 3, as well as eight patterns of order 4, can be counted in nearly linear time. To that end, we develop an algebraic framework that we call corner tree formulas. Our approach generalizes the existing methods and allows a systematic study of their scope.

Using the machinery of corner trees, we find twenty-three independent linear combinations of order-4 patterns, that can be computed in time Õ(n). We also describe an algorithm that counts one of the remaining 4-patterns, and hence all 4-patterns, in time Õ(n 3/2 ).

As a practical application, we provide a nearly linear time computation of a statistic by Yanagimoto (1970), Bergsma andDassios (2010). This statistic yields a natural and strongly consistent variant of Hoeffding's test for independence of X and Y , given a random sample as above. This improves upon the so far most efficient Õ(n 2 ) algorithm.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. Approximate Counting of Permutation PatternsOmri Ben-Eliezer, Slobodan Mitrovic, Pranjal SrivastavaSODA 2026

它引用的 Paper1

  1. Combinatorial generation via permutation languagesElizabeth J. Hartung, Hung Phuc Hoang, Torsten Mütze, Aaron WilliamsSODA 2020 · 22 次引用

相关 Paper

  1. Hopcroft's Problem, Log-Star Shaving, 2D Fractional Cascading, and Decision TreesTimothy M. Chan, Da Wei ZhengSODA 2022 · 6 次引用
  2. Detecting and counting small patterns in planar graphs in subexponential parameterized timeJesper NederlofSTOC 2020 · 1 次引用
  3. Near-linear time subhypergraph counting in bounded degeneracy hypergraphsDaniel Paul-Pena, C. SeshadhriSODA 2026
  4. Permutation-Free High-Order Interaction TestsZhaolu Liu, Robert L. Peach, Mauricio BarahonaICML 2025
  5. Computing in Anonymous Dynamic Networks Is LinearGiuseppe Antonio Di Luna, Giovanni VigliettaFOCS 2022 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖