VLDB 2026 Research / reviewers in the wild / expert
Mikko Koivisto
dblp:k/MikkoKoivisto
· DBLP profile ↗
79ranked-venue papers
10as first author
9since 2021 · last 2025
0000-0001-9662-3605ORCID · conflict
Domains — the database's venue-derived domains; a paper can count in several
Artificial intelligence and machine learning · 43 · 5 first-author · 9 since 2021Theory of computation · 33 · 5 first-authorGraphics, computer vision, multimedia, augmented reality and games · 11 · 1 since 2021Databases, data management, data science and information retrieval · 6 · 1 first-authorApplied, interdisciplinary, general and emerging computing · 3
| Year | Publication | Venue | Position |
|---|---|---|---|
| 2025 | Quantum Speedups for Bayesian Network Structure LearningabstractThe Bayesian network structure learning (BNSL) problem asks for a directed acyclic graph that maximizes a given score function. For networks with $n$ nodes, the fastest known algorithms run in time $O(2^n n^2)$ in the worst case, with no improvement in the asymptotic bound for two decades. Inspired by recent advances in quantum computing, we ask whether BNSL admits a polynomial quantum speedup, that is, whether the problem can be solved by a quantum algorithm in time $O(c^n)$ for some constant $c$ less than $2$. We answer the question in the affirmative by giving two algorithms achieving $c \leq 1.817$ and $c \leq 1.982$ assuming the number of potential parent sets is, respectively, subexponential and $O(1.453^n)$. Both algorithms assume the availability of a quantum random access memory. We also prove that one presumably cannot lower the base $2$ for any classical algorithm, as that would refute the strong exponential time hypothesis. Juha Harviainen, Kseniya Rychkova, Mikko Koivisto |
UAI | 3 |
| 2024 | Estimating the Permanent by Nesting Importance SamplingabstractSequential importance sampling (SIS) is one of the prominent methods for estimating high-dimensional integrals. For example, it is empirically the most efficient method known for estimating the permanent of nonnegative matrices, a notorious problem with numerous applications in computer science, statistics, and other fields. Unfortunately, SIS typically fails to provide accuracy guarantees due to difficulties in bounding the variance of the importance weights; for estimating the permanent with accuracy guarantees, the most efficient practical methods known are based on rejection sampling. Taking the best of both worlds, we give a variant of SIS, in which sampling is proportional to the upper bound used in rejection sampling. We show that this method is provably more efficient than its rejection sampling counterpart, particularly in high accuracy regimes. On estimating the permanent, we empirically obtain up to two orders-of-magnitude speedups over a state-of-the-art rejection sampling method. Juha Harviainen, Mikko Koivisto |
ICML | 2 |
| 2024 | Faster Perfect Sampling of Bayesian Network StructuresabstractBayesian inference of a Bayesian network structure amounts to averaging over directed acyclic graphs (DAGs) on a given set of $n$ variables, each DAG weighted by its posterior probability. In practice, save some special inference tasks, one averages over a sample of DAGs generated perfectly or approximately from the posterior. For the hard problem of perfect sampling, we give an algorithm that runs in $O(2.829^n)$ expected time, getting below $O(3^n)$ for the first time. Our algorithm reduces the problem into two smaller sampling problems whose outputs are combined; followed by a simple rejection step, perfect samples are obtained. Subsequent samples can be generated considerably faster. Empirically, we observe speedups of several orders of magnitude over the state of the art. Juha Harviainen, Mikko Koivisto |
UAI | 2 |
| 2024 | Approximate Counting of Linear Extensions in PracticeabstractWe investigate the problem of computing the number of linear extensions of a given partial order on n elements. The problem has applications in numerous areas, such as sorting, planning, and learning graphical models. The problem is #P-hard but admits fully polynomial-time approximation schemes. However, the polynomial complexity bounds of the known schemes involve high degrees and large constant factors, rendering the schemes only feasible when n is some dozens. We present novel schemes, which stem from the idea of not requiring provable polynomial worst-case running time bounds. Using various new algorithmic techniques and implementation optimizations, we discover schemes that yield speedups by several orders of magnitude, enabling accurate approximations even when n is in several hundreds. Topi Talvitie, Mikko Koivisto |
J. Artif. Intell. Res. | 2 |
| 2023 | A Faster Practical Approximation Scheme for the PermanentabstractThe permanent of a matrix has numerous applications but is notoriously hard to compute. While nonnegative matrices admit polynomial approximation schemes based on rapidly mixing Markov chains, the known practical estimators of the permanent rely on importance or rejection sampling. We advance the rejection sampling approach, which provides probabilistic accuracy guarantees, unlike importance sampling. Specifically, we give a novel class of nesting upper bounds and a simple preprocessing method that, in comparison to previous works, enable faster sampling with better acceptance rate; we demonstrate order-of-magnitude improvements with both theoretical and empirical analyses. In addition, we display instances on which our approximation scheme is competitive against state-of-the-art importance sampling based estimators. Juha Harviainen, Mikko Koivisto |
AAAI | 2 |
| 2023 | Revisiting Bayesian network learning with small vertex coverabstractThe problem of structure learning in Bayesian networks asks for a directed acyclic graph (DAG) that maximizes a given scoring function. Since the problem is NP-hard, research effort has been put into discovering restricted classes of DAGs for which the search problem can be solved in polynomial time. Here, we initiate investigation of questions that have received less attention thus far: Are the known polynomial algorithms close to the best possible, or is there room for significant improvements? If the interest is in Bayesian learning, that is, in sampling or weighted counting of DAGs, can we obtain similar complexity results? Focusing on DAGs with bounded vertex cover number—a class studied in Korhonen and Parviainen’s seminal work (NIPS 2015)—we answer the questions in the affirmative. We also give, apparently the first, proof that the counting problem is $#$P-hard in general. In addition, we show that under the vertex-cover constraint counting is $#$W[1]-hard. Juha Harviainen, Mikko Koivisto |
UAI | 2 |
| 2023 | On inference and learning with probabilistic generating circuitsabstractProbabilistic generating circuits (PGCs) are economical representations of multivariate probability generating polynomials (PGPs). They unify and extend decomposable probabilistic circuits and determinantal point processes, admitting tractable computation of marginal probabilities. However, the need for addition and multiplication of high-degree polynomials incurs a significant additional factor in the complexity of inference. Here, we give a new inference algorithm that eliminates this extra factor. Specifically, we show that it suffices to keep track of the highest degree coefficients of the computed polynomials, rendering the algorithm linear in the circuit size. In addition, we show that determinant-based circuits need not be expanded to division-free circuits, but can be handled by division-based fast algorithms. While these advances enhance the appeal of PGCs, we also discover an obstacle to learning them from data: it is NP-hard to recognize whether a given PGC encodes a PGP. We discuss the implications of our ambivalent findings and sketch a method, in which learning is restricted to PGCs that are composed of moderate-size subcircuits. Juha Harviainen, P. R. Vaidyanathan, Mikko Koivisto |
UAI | 3 |
| 2022 | Trustworthy Monte CarloabstractMonte Carlo integration is a key technique for designing randomized approximation schemes for counting problems, with applications, e.g., in machine learning and statistical physics. The technique typically enables massively parallel computation, however, with the risk that some of the delegated computations contain spontaneous or adversarial errors. We present an orchestration of the computations such that the outcome is accompanied with a proof of correctness that can be verified with substantially less computational resources than it takes to run the computations from scratch with state-of-the-art algorithms. Specifically, we adopt an algebraic proof system developed in computational complexity theory, in which the proof is represented by a polynomial; evaluating the polynomial at a random point amounts to a verification of the proof with probabilistic guarantees. We give examples of known Monte Carlo estimators that admit verifiable extensions with moderate computational overhead: for the permanent of zero--one matrices, for the model count of disjunctive normal form formulas, and for the gradient of logistic regression models. We also discuss the prospects and challenges of engineering efficient verifiable approximation schemes more generally. Juha Harviainen, Mikko Koivisto, Petteri Kaski |
NeurIPS | 2 |
| 2021 | Approximating the Permanent with Deep Rejection SamplingabstractWe present a randomized approximation scheme for the permanent of a matrix with nonnegative entries. Our scheme extends a recursive rejection sampling method of Huber and Law (SODA 2008) by replacing the permanent upper bound with a linear combination of the subproblem bounds at a moderately large depth of the recursion tree. This method, we call deep rejection sampling, is empirically shown to outperform the basic, depth-zero variant, as well as a related method by Kuck et al. (NeurIPS 2019). We analyze the expected running time of the scheme on random $(0, 1)$-matrices where each entry is independently $1$ with probability $p$. Our bound is superior to a previous one for $p$ less than $1/5$, matching another bound that was only known to hold when every row and column has density exactly $p$. Juha Harviainen, Antti Roeyskoe, Mikko Koivisto |
NeurIPS | 3 |
| 2020 | Error-Correcting and Verifiable Parallel Inference in Graphical Models
Negin Karimi, Petteri Kaski, Mikko Koivisto |
AAAI | 3 |
| 2020 | A Bayesian Approach for Estimating Causal Effects from Observational DataabstractWe present a novel Bayesian method for the challenging task of estimating causal effects from passively observed data when the underlying causal DAG structure is unknown. To rigorously capture the inherent uncertainty associated with the estimate, our method builds a Bayesian posterior distribution of the linear causal effect, by integrating Bayesian linear regression and averaging over DAGs. For computing the exact posterior for all cause-effect variable pairs, we give an algorithm that runs in time O(3d d) for d variables, being feasible up to 20 variables. We also give a variant that computes the posterior probabilities of all pairwise ancestor relations within the same time complexity, significantly improving the fastest previous algorithm. In simulations, our Bayesian method outperforms previous methods in estimation accuracy, especially for small sample sizes. We further show that our method for effect estimation is well-adapted for detecting strong causal effects markedly deviating from zero, while our variant for computing posteriors of ancestor relations is the method of choice for detecting the mere existence of a causal relation. Finally, we apply our method on observational flow cytometry data, detecting several causal relations that concur with previous findings from experimental data. Johan Pensar, Topi Talvitie, Antti Hyttinen, Mikko Koivisto |
AAAI | 4 |
| 2020 | Towards Scalable Bayesian Learning of Causal DAGsabstractWe give methods for Bayesian inference of directed acyclic graphs, DAGs, and the induced causal effects from passively observed complete data. Our methods build on a recent Markov chain Monte Carlo scheme for learning Bayesian networks, which enables efficient approximate sampling from the graph posterior, provided that each node is assigned a small number K of candidate parents. We present algorithmic techniques to significantly reduce the space and time requirements, which make the use of substantially larger values of K feasible. Furthermore, we investigate the problem of selecting the candidate parents per node so as to maximize the covered posterior mass. Finally, we combine our sampling method with a novel Bayesian approach for estimating causal effects in linear Gaussian DAG models. Numerical experiments demonstrate the performance of our methods in detecting ancestor–descendant relations, and in causal effect estimation our Bayesian method is shown to outperform previous approaches. Jussi Viinikka, Antti Hyttinen, Johan Pensar, Mikko Koivisto |
NeurIPS | 4 |
| 2020 | Layering-MCMC for Structure Learning in Bayesian NetworksabstractBayesian inference of the Bayesian network structure requires averaging over all possible directed acyclic graphs, DAGs, each weighted by its posterior probability. For approximate averaging, the most popular method has been Markov chain Monte Carlo, MCMC. It was recently shown that collapsing the sampling space from DAGs to suitably defined ordered partitions of the nodes substantially expedites the chain’s convergence; this partition-MCMC is similar to order-MCMC on node orderings, but it avoids biasing the sampling distribution. Here, we further collapse the state space by merging some number of adjacent members of a partition into layers. This renders the computation of the (unnormalized) posterior probability of a state, called layering, more involved, for which task we give an efficient dynamic programming algorithm. Our empirical studies suggest that the resulting layering-MCMC is superior to partition-MCMC in terms of mixing time and estimation accuracy. Jussi Viinikka, Mikko Koivisto |
UAI | 2 |
| 2020 | A Faster Tree-Decomposition Based Algorithm for Counting Linear ExtensionsabstractAbstract We investigate the problem of computing the number of linear extensions of a givenn-element poset whose cover graph has treewidtht. We present an algorithm that runs in time $${\tilde{O}}(n^{t+3})$$ O~(nt+3) for any constantt; the notation $${\tilde{O}}$$ O~ hides polylogarithmic factors. Our algorithm applies dynamic programming along a tree decomposition of the cover graph; the join nodes of the tree decomposition are handled by fast multiplication of multivariate polynomials. We also investigate the algorithm from a practical point of view. We observe that the running time is not well characterized by the parametersnandtalone: fixing these parameters leaves large variance in running times due to uncontrolled features of the selected optimal-width tree decomposition. We compare two approaches to select an efficient tree decomposition: one is to include additional features of the tree decomposition to build a more accurate, heuristic cost function; the other approach is to fit a statistical regression model to collected running time data. Both approaches are shown to yield a tree decomposition that typically is significantly more efficient than a random optimal-width tree decomposition. Kustaa Kangas, Mikko Koivisto, Sami Salonen |
Algorithmica | 2 |
| 2020 | NP-completeness results for partitioning a graph into total dominating sets
Mikko Koivisto, Petteri Laakkonen, Juho Lauri |
Theor. Comput. Sci. | 1 |
| 2019 | Counting and Sampling Markov Equivalent Directed Acyclic GraphsabstractExploring directed acyclic graphs (DAGs) in a Markov equivalence class is pivotal to infer causal effects or to discover the causal DAG via appropriate interventional data. We consider counting and uniform sampling of DAGs that are Markov equivalent to a given DAG. These problems efficiently reduce to counting the moral acyclic orientations of a given undirected connected chordal graph on n vertices, for which we give two algorithms. Our first algorithm requires O(2nn4) arithmetic operations, improving a previous superexponential upper bound. The second requires O(k!2kk2n) operations, where k is the size of the largest clique in the graph; for bounded-degree graphs this bound is linear in n. After a single run, both algorithms enable uniform sampling from the equivalence class at a computational cost linear in the graph size. Empirical results indicate that our algorithms are superior to previously presented algorithms over a range of inputs; graphs with hundreds of vertices and thousands of edges are processed in a second on a desktop computer. Topi Talvitie, Mikko Koivisto |
AAAI | 2 |
| 2019 | On Structure Priors for Learning Bayesian NetworksabstractTo learn a Bayesian network structure from data, one popular approach is to maximize a decomposable likelihood-based score. While various scores have been proposed, they usually assume a uniform prior, or “penalty,” over the possible directed acyclic graphs (DAGs); relatively little attention has been paid to alternative priors. We investigate empirically several structure priors in combination with different scores, using benchmark data sets and data sets generated from benchmark networks. Our results suggest that, in practice, priors that strongly favor sparsity perform significantly better than the uniform prior or even the informed variant that is conditioned on the correct number of parents for each node. For an analytic comparison of different priors, we generalize a known recurrence equation for the number of DAGs to accommodate modular weightings of DAGs, a result that is also of independent interest. Ralf Eggeling, Jussi Viinikka, Aleksis Vuoksenmaa, Mikko Koivisto |
AISTATS | 4 |
| 2019 | Exact Sampling of Directed Acyclic Graphs from Modular Distributions
Topi Talvitie, Aleksis Vuoksenmaa, Mikko Koivisto |
UAI | 3 |
| 2019 | Learning Bayesian networks with local structure, mixed variables, and exact algorithmsabstractModern exact algorithms for structure learning in Bayesian networks first compute an exact local score of every candidate parent set, and then find a network structure by combinatorial optimization so as to maximize the global score. This approach assumes that each local score can be computed fast, which can be problematic when the scarcity of the data calls for structured local models or when there are both continuous and discrete variables, for these cases have lacked efficient-to-compute local scores. To address this challenge, we introduce a local score that is based on a class of classification and regression trees. We show that under modest restrictions on the possible branchings in the tree structure, it is feasible to find a structure that maximizes a Bayes score in a range of moderate-size problem instances. In particular, this enables global optimization of the Bayesian network structure, including the local structure. In addition, we introduce a related model class that extends ordinary conditional probability tables to continuous variables by employing an adaptive discretization approach. The two model classes are compared empirically by learning Bayesian networks from benchmark real-world and synthetic data sets. We discuss the relative strengths of the model classes in terms of their structure learning capability, predictive performance, and running time. Topi Talvitie, Ralf Eggeling, Mikko Koivisto |
Int. J. Approx. Reason. | 3 |
| 2019 | Algorithms for learning parsimonious context treesabstractParsimonious context trees, PCTs, provide a sparse parameterization of conditional probability distributions. They are particularly powerful for modeling context-specific independencies in sequential discrete data. Learning PCTs from data is computationally hard due to the combinatorial explosion of the space of model structures as the number of predictor variables grows. Under the score-and-search paradigm, the fastest algorithm for finding an optimal PCT, prior to the present work, is based on dynamic programming. While the algorithm can handle small instances fast, it becomes infeasible already when there are half a dozen four-state predictor variables. Here, we show that common scoring functions enable the use of new algorithmic ideas, which can significantly expedite the dynamic programming algorithm on typical data. Specifically, we introduce a memoization technique, which exploits regularities within the predictor variables by equating different contexts associated with the same data subset, and a bound-and-prune technique, which exploits regularities within the response variable by pruning parts of the search space based on score upper bounds. On real-world data from recent applications of PCTs within computational biology the ideas are shown to reduce the traversed search space and the computation time by several orders of magnitude in typical cases. Ralf Eggeling, Ivo Grosse, Mikko Koivisto |
Mach. Learn. | 3 |
| 2018 | Counting Linear Extensions in Practice: MCMC Versus Exponential Monte CarloabstractCounting the linear extensions of a given partial order is a #P-complete problem that arises in numerous applications. For polynomial-time approximation, several Markov chain Monte Carlo schemes have been proposed; however, little is known of their efficiency in practice. This work presents an empirical evaluation of the state-of-the-art schemes and investigates a number of ideas to enhance their performance. In addition, we introduce a novel approximation scheme, adaptive relaxation Monte Carlo (ARMC), that leverages exact exponential-time counting algorithms. We show that approximate counting is feasible up to a few hundred elements on various classes of partial orders, and within this range ARMC typically outperforms the other schemes. Topi Talvitie, Kustaa Kangas, Teppo Niinimaki, Mikko Koivisto |
AAAI | 4 |
| 2018 | Intersection-Validation: A Method for Evaluating Structure Learning without Ground TruthabstractTo compare learning algorithms that differ by the adopted statistical paradigm, model class, or search heuristic, it is common to evaluate the performance on training data of varying size. Measuring the performance is straightforward if the data are generated from a known model, the ground truth. However, when the study concerns real-world data, the current methodology is limited to estimating predictive performance, typically by cross-validation. This work introduces a method to compare algorithms’ ability to learn the model structure, assuming no ground truth is given. The idea is to identify a partial structure on which the algorithms agree, and measure the performance in relation to that structure on subsamples of the data. The method is instantiated to structure learning in Bayesian networks, measuring the performance by the structural Hamming distance. It is tested using benchmark ground truth networks and algorithms that maximize various scoring functions. The results show that the method can produce evaluation outcomes that are close to those one would obtain if the ground truth was available. Jussi Viinikka, Ralf Eggeling, Mikko Koivisto |
AISTATS | 3 |
| 2018 | A Scalable Scheme for Counting Linear ExtensionsabstractCounting the linear extensions of a given partial order not only has several applications in artificial intelligence but also represents a hard problem that challenges modern paradigms for approximate counting. Recently, Talvitie et al. (AAAI 2018) showed that an exponential time scheme beats the fastest known polynomial time schemes in practice, even if allowing hours of running time. Here, we present a novel scheme, relaxation Tootsie Pop, which in our experiments exhibits polynomial characteristics and significantly outperforms previous schemes. We also instantiate state-of-the-art model counters for CNF formulas; two natural encodings yield schemes that, however, are inferior to the more specialized schemes. Topi Talvitie, Kustaa Kangas, Teppo Niinimaki, Mikko Koivisto |
IJCAI | 4 |
| 2018 | Counting Connected Subgraphs with Maximum-Degree-Aware SievingabstractWe study the problem of counting the isomorphic occurrences of a k-vertex pattern graph P as a subgraph in an n-vertex host graph G. Our specific interest is on algorithms for subgraph counting that are sensitive to the maximum degree Delta of the host graph. Assuming that the pattern graph P is connected and admits a vertex balancer of size b, we present an algorithm that counts the occurrences of P in G in O ((2 Delta-2)^{(k+b)/2} 2^{-b} n/(Delta) k^2 log n) time. We define a balancer as a vertex separator of P that can be represented as an intersection of two equal-size vertex subsets, the union of which is the vertex set of P, and both of which induce connected subgraphs of P. A corollary of our main result is that we can count the number of k-vertex paths in an n-vertex graph in O((2 Delta-2)^{floor[k/2]} n k^2 log n) time, which for all moderately dense graphs with Delta <= n^{1/3} improves on the recent breakthrough work of Curticapean, Dell, and Marx [STOC 2017], who show how to count the isomorphic occurrences of a q-edge pattern graph as a subgraph in an n-vertex host graph in time O(q^q n^{0.17q}) for all large enough q. Another recent result of Brand, Dell, and Husfeldt [STOC 2018] shows that k-vertex paths in a bounded-degree graph can be approximately counted in O(4^kn) time. Our result shows that the exact count can be recovered at least as fast for Delta<10. Our algorithm is based on the principle of inclusion and exclusion, and can be viewed as a sparsity-sensitive version of the "counting in halves"-approach explored by Björklund, Husfeldt, Kaski, and Koivisto [ESA 2009]. Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
ISAAC | 4 |
| 2018 | A Faster Tree-Decomposition Based Algorithm for Counting Linear ExtensionsabstractWe consider the problem of counting the linear extensions of an n-element poset whose cover graph has treewidth at most t. We show that the problem can be solved in time O~(n^{t+3}), where O~ suppresses logarithmic factors. Our algorithm is based on fast multiplication of multivariate polynomials, and so differs radically from a previous O~(n^{t+4})-time inclusion - exclusion algorithm. We also investigate the algorithm from a practical point of view. We observe that the running time is not well characterized by the parameters n and t alone, fixing of which leaves large variance in running times due to uncontrolled features of the selected optimal-width tree decomposition. For selecting an efficient tree decomposition we adopt the method of empirical hardness models, and show that it typically enables picking a tree decomposition that is significantly more efficient than a random optimal-width tree decomposition. Kustaa Kangas, Mikko Koivisto, Sami Salonen |
IPEC | 2 |
| 2018 | Empirical hardness of finding optimal Bayesian network structures: algorithm selection and runtime predictionabstractVarious algorithms have been proposed for finding a Bayesian network structure that is guaranteed to maximize a given scoring function. Implementations of state-of-the-art algorithms, solvers , for this Bayesian network structure learning problem rely on adaptive search strategies, such as branch-and-bound and integer linear programming techniques. Thus, the time requirements of the solvers are not well characterized by simple functions of the instance size. Furthermore, no single solver dominates the others in speed. Given a problem instance, it is thus a priori unclear which solver will perform best and how fast it will solve the instance. We show that for a given solver the hardness of a problem instance can be efficiently predicted based on a collection of non-trivial features which go beyond the basic parameters of instance size. Specifically, we train and test statistical models on empirical data, based on the largest evaluation of state-of-the-art exact solvers to date. We demonstrate that we can predict the runtimes to a reasonable degree of accuracy. These predictions enable effective selection of solvers that perform well in terms of runtimes on a particular instance. Thus, this work contributes a highly efficient portfolio solver that makes use of several individual solvers. Brandon M. Malone, Kustaa Kangas, Matti Järvisalo, Mikko Koivisto, Petri Myllymäki |
Mach. Learn. | 4 |
| 2018 | Sharper Upper Bounds for Unbalanced Uniquely Decodable Code PairsabstractTwo sets of 0–1 vectors of fixed length form a uniquely decodeable code pair if their Cartesian product is of the same size as their sumset, where the addition is pointwise over integers. For the size of the sumset of such a pair, van Tilborg has given an upper bound in the general case. Urbanke and Li, and later Ordentlich and Shayevitz, have given better bounds in the unbalanced case, that is, when either of the two sets is sufficiently large. Improvements to the latter bounds are presented. Per Austrin, Petteri Kaski, Mikko Koivisto, Jesper Nederlof |
IEEE Trans. Inf. Theory | 3 |
| 2017 | NP-completeness Results for Partitioning a Graph into Total Dominating Sets
Mikko Koivisto, Petteri Laakkonen, Juho Lauri |
COCOON | 1 |
| 2017 | The Mixing of Markov Chains on Linear Extensions in PracticeabstractWe investigate almost uniform sampling from the set of linear extensions of a given partial order. The most efficient schemes stem from Markov chains whose mixing time bounds are polynomial, yet impractically large. We show that, on instances one encounters in practice, the actual mixing times can be much smaller than the worst-case bounds, and particularly so for a novel Markov chain we put forward. We circumvent the inherent hardness of estimating standard mixing times by introducing a refined notion, which admits estimation for moderate-size partial orders. Our empirical results suggest that the Markov chain approach to sample linear extensions can be made to scale well in practice, provided that the actual mixing times can be realized by instance-sensitive upper bounds or termination rules. Examples of the latter include existing perfect simulation algorithms, whose running times in our experiments follow the actual mixing times of certain chains, albeit with significant overhead. Topi Talvitie, Teppo Niinimaki, Mikko Koivisto |
IJCAI | 3 |
| 2017 | Narrow sieves for parameterized paths and packings
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
J. Comput. Syst. Sci. | 4 |
| 2016 | Counting Linear Extensions of Sparse Posets
Kustaa Kangas, Teemu Hankala, Teppo Niinimaki, Mikko Koivisto |
IJCAI | 4 |
| 2016 | Sharper upper bounds for unbalanced Uniquely Decodable Code PairsabstractTwo sets A, B ⊆ {0, 1}nform a Uniquely Decodable Code Pair (UDCP) if every pair a ∈ A, b ∈ B yields a distinct sum a+b, where the addition is over ℤn. We show that every UDCP A, B, with |A| = 2(1−ε)nand |B| = 2βn, satisfies equation. For sufficiently small ε, this bound significantly improves previous bounds by Urbanke and Li [Information Theory Workshop ′98] and Ordentlich and Shayevitz [2014, arXiv:1412.8415], which upper bound β by 0.4921 and 0.4798, respectively, as ε approaches 0. Per Austrin, Petteri Kaski, Mikko Koivisto, Jesper Nederlof |
ISIT | 3 |
| 2016 | Dense Subset Sum May Be the HardestabstractThe SUBSET SUM problem asks whether a given set of n positive integers contains a subset of elements that sum up to a given target t. It is an outstanding open question whether the O^*(2^{n/2})-time algorithm for SUBSET SUM by Horowitz and Sahni [J. ACM 1974] can be beaten in the worst-case setting by a "truly faster", O^*(2^{(0.5-delta)*n})-time algorithm, with some constant delta > 0. Continuing an earlier work [STACS 2015], we study SUBSET SUM parameterized by the maximum bin size beta, defined as the largest number of subsets of the n input integers that yield the same sum. For every epsilon > 0 we give a truly faster algorithm for instances with beta <= 2^{(0.5-epsilon)*n}, as well as instances with beta >= 2^{0.661n}. Consequently, we also obtain a characterization in terms of the popular density parameter n/log_2(t): if all instances of density at least 1.003 admit a truly faster algorithm, then so does every instance. This goes against the current intuition that instances of density 1 are the hardest, and therefore is a step toward answering the open question in the affirmative. Our results stem from a novel combinatorial analysis of mixings of earlier algorithms for SUBSET SUM and a study of an extremal question in additive combinatorics connected to the problem of Uniquely Decodable Code Pairs in information theory. Per Austrin, Petteri Kaski, Mikko Koivisto, Jesper Nederlof |
STACS | 3 |
| 2016 | Pruning Rules for Learning Parsimonious Context Trees
Ralf Eggeling, Mikko Koivisto |
UAI | 2 |
| 2016 | Separating OR, SUM, and XOR circuits
Magnus Find, Mika Göös, Matti Järvisalo, Petteri Kaski, Mikko Koivisto, Janne H. Korhonen |
J. Comput. Syst. Sci. | 5 |
| 2016 | Structure Discovery in Bayesian Networks by Sampling Partial OrdersabstractWe present methods based on Metropolis-coupled Markov chain Monte Carlo (MC3) and annealed importance sampling (AIS) for estimating the posterior distribution of Bayesian networks. The methods draw samples from an appropriate distribution of partial orders on the nodes, continued by sampling directed acyclic graphs (DAGs) conditionally on the sampled partial orders. We show that the computations needed for the sampling algorithms are feasible as long as the encountered partial orders have relatively few down-sets. While the algorithms assume suitable modularity properties of the priors, arbitrary priors can be handled by dividing the importance weight of each sampled DAG by the number of topological sorts it has---we give a practical dynamic programming algorithm to compute these numbers. Our empirical results demonstrate that the presented partial-order- based samplers are superior to previous Markov chain Monte Carlo methods, which sample DAGs either directly or via linear orders on the nodes. The results also suggest that the convergence rate of the estimators based on AIS are competitive to those of MC3. Thus AIS is the preferred method, as it enables easier large- scale parallelization and, in addition, supplies good probabilistic lower bound guarantees for the marginal likelihood of the model. Teppo Niinimaki, Pekka Parviainen, Mikko Koivisto |
J. Mach. Learn. Res. | 3 |
| 2016 | Fast Zeta Transforms for Lattices with Few IrreduciblesabstractWe investigate fast algorithms for changing between the standard basis and an orthogonal basis of idempotents for Möbius algebras of finite lattices. We show that every lattice with v elements, n of which are nonzero and join-irreducible (or, by a dual result, nonzero and meet-irreducible), has arithmetic circuits of size O ( vn ) for computing the zeta transform and its inverse, thus enabling fast multiplication in the Möbius algebra. Furthermore, the circuit construction in fact gives optimal (up to constants) monotone circuits for several lattices of combinatorial and algebraic relevance, such as the lattice of subsets of a finite set, the lattice of set partitions of a finite set, the lattice of vector subspaces of a finite vector space, and the lattice of positive divisors of a positive integer. Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto, Jesper Nederlof, Pekka Parviainen |
ACM Trans. Algorithms | 4 |
| 2015 | Dealing with small data: On the generalization of context treesabstractContext trees (CT) are a widely used tool in machine learning for representing context-specific independences in conditional probability distributions. Parsimonious context trees (PCTs) are a recently proposed generalization of CTs that can enable statistically more efficient learning due to a higher structural flexibility, which is particularly useful for small-data settings. However, this comes at the cost of a computationally expensive structure learning algorithm, which is feasible only for domains with small alphabets and tree depths. In this work, we investigate to which degree CTs can be generalized to increase statistical efficiency while still keeping the learning computationally feasible. Approaching this goal from two different angles, we (i) propose algorithmic improvements to the PCT learning algorithm, and (ii) study further generalizations of CTs, which are inspired by PCTs, but trade structural flexibility for computational efficiency. By empirical studies both on simulated and real-world data, we demonstrate that the synergy of combining of both orthogonal approaches yields a substantial improvement in obtaining statistically efficient and computationally feasible generalizations of CTs. Ralf Eggeling, Mikko Koivisto, Ivo Grosse |
ICML | 2 |
| 2015 | Subset Sum in the Absence of ConcentrationabstractWe study the exact time complexity of the Subset Sum problem. Our focus is on instances that lack additive structure in the sense that the sums one can form from the subsets of the given integers are not strongly concentrated on any particular integer value. We present a randomized algorithm that runs in O(2^0.3399nB^4) time on instances with the property that no value can arise as a sum of more than B different subsets of the n given integers. Per Austrin, Petteri Kaski, Mikko Koivisto, Jesper Nederlof |
STACS | 3 |
| 2015 | Averaging of Decomposable Graphs by Dynamic Programming and Sampling
Kustaa Kangas, Teppo Niinimaki, Mikko Koivisto |
UAI | 3 |
| 2015 | On finding optimal polytrees
Serge Gaspers, Mikko Koivisto, Mathieu Liedloff, Sebastian Ordyniak, Stefan Szeider |
Theor. Comput. Sci. | 2 |
| 2014 | Predicting the Hardness of Learning Bayesian NetworksabstractThere are various algorithms for finding a Bayesian networkstructure (BNS) that is optimal with respect to a given scoring function. No single algorithm dominates the others in speed, and, given a problem instance, it is a priori unclear which algorithm will perform best and how fast it will solve the problem. Estimating the runtimes directly is extremely difficult as they are complicated functions of the instance. The main contribution of this paper is characterization of the empirical hardness of an instance for a given algorithm based on a novel collection of non-trivial, yet efficiently computable features. Our empirical results, based on the largest evaluation of state-of-the-art BNS learning algorithms to date, demonstrate that we can predict the runtimes to a reasonable degree of accuracy, and effectively select algorithms that perform well on a particular instance. Moreover, we also show how the results can be utilized in building a portfolio algorithm that combines several individual algorithms in an almost optimal manner. Brandon M. Malone, Kustaa Kangas, Matti Järvisalo, Mikko Koivisto, Petri Myllymäki |
AAAI | 4 |
| 2014 | Learning Chordal Markov Networks by Dynamic Programming
Kustaa Kangas, Mikko Koivisto, Teppo Niinimaki |
NIPS | 2 |
| 2014 | On the Number of Connected Sets in Bounded Degree Graphs
Kustaa Kangas, Petteri Kaski, Mikko Koivisto, Janne H. Korhonen |
WG | 3 |
| 2014 | Fast monotone summation over disjoint sets
Petteri Kaski, Mikko Koivisto, Janne H. Korhonen, Igor S. Sergeev |
Inf. Process. Lett. | 2 |
| 2013 | Space-Time Tradeoffs for Subset Sum: An Improved Worst Case Algorithm
Per Austrin, Petteri Kaski, Mikko Koivisto, Jussi Määttä |
ICALP (1) | 3 |
| 2013 | Annealed Importance Sampling for Structure Learning in Bayesian Networks
Teppo Niinimaki, Mikko Koivisto |
IJCAI | 2 |
| 2013 | Treedy: A Heuristic for Counting and Sampling Subsets
Teppo Niinimaki, Mikko Koivisto |
UAI | 2 |
| 2013 | Finding optimal Bayesian networks using precedence constraints
Pekka Parviainen, Mikko Koivisto |
J. Mach. Learn. Res. | 2 |
| 2012 | On Finding Optimal PolytreesabstractInferring probabilistic networks from data is a notoriously difficult task. Under various goodness-of-fit measures, finding an optimal network is NP-hard, even if restricted to polytrees of bounded in-degree. Polynomial-time algorithms are known only for rare special cases, perhaps most notably for branchings, that is, polytrees in which the in-degree of every node is at most one. Here, we study the complexity of finding an optimal polytree that can be turned into a branching by deleting some number of arcs or nodes, treated as a parameter. We show that the problem can be solved via a matroid intersection formulation in polynomial time if the number of deleted arcs is bounded by a constant. The order of the polynomial time bound depends on this constant, hence the algorithm does not establish fixed-parameter tractability when parameterized by the number of deleted arcs. We show that a restricted version of the problem allows fixed-parameter tractability and hence scales well with the parameter. We contrast this positive result by showing that if we parameterize by the number of deleted nodes, a somewhat more powerful parameter, the problem is not fixed-parameter tractable, subject to a complexity-theoretic assumption. Serge Gaspers, Mikko Koivisto, Mathieu Liedloff, Sebastian Ordyniak, Stefan Szeider |
AAAI | 2 |
| 2012 | Fast Monotone Summation over Disjoint Sets
Petteri Kaski, Mikko Koivisto, Janne H. Korhonen |
IPEC | 2 |
| 2012 | Homomorphic Hashing for Sparse Coefficient Extraction
Petteri Kaski, Mikko Koivisto, Jesper Nederlof |
IPEC | 2 |
| 2012 | Finding Efficient Circuits for Ensemble Computation
Matti Järvisalo, Petteri Kaski, Mikko Koivisto, Janne H. Korhonen |
SAT | 3 |
| 2012 | Fast zeta transforms for lattices with few irreduciblesabstractWe investigate fast algorithms for changing between the standard basis and an orthogonal basis of idempotents for Möbius algebras of finite lattices. We show that every lattice with v elements, n of which are nonzero and join-irreducible (or, by a dual result, nonzero and meet-irreducible), has arithmetic circuits of size O(vn) for computing the zeta transform and its inverse, thus enabling fast multiplication in the Möbius algebra. Furthermore, the circuit construction in fact gives optimal (up to constants) circuits for a number of lattices of combinatorial and algebraic relevance, such as the lattice of subsets of a finite set, the lattice of set partitions of a finite set, the lattice of vector subspaces of a finite vector space, and the lattice of positive divisors of a positive integer. Andreas Björklund, Mikko Koivisto, Thore Husfeldt, Jesper Nederlof, Petteri Kaski, Pekka Parviainen |
SODA | 2 |
| 2012 | The traveling salesman problem in bounded degree graphsabstractWe show that the traveling salesman problem in bounded-degree graphs can be solved in time O ((2-ϵ) n ), where ϵ > 0 depends only on the degree bound but not on the number of cities, n . The algorithm is a variant of the classical dynamic programming solution due to Bellman, and, independently, Held and Karp. In the case of bounded integer weights on the edges, we also give a polynomial-space algorithm with running time O ((2-ϵ) n ) on bounded-degree graphs. In addition, we present an analogous analysis of Ryser's algorithm for the permanent of matrices with a bounded number of nonzero entries in each column. Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
ACM Trans. Algorithms | 4 |
| 2011 | Ancestor Relations in the Presence of Unobserved Variables
Pekka Parviainen, Mikko Koivisto |
ECML/PKDD (2) | 2 |
| 2011 | Partial Order MCMC for Structure Discovery in Bayesian Networks
Teppo Niinimaki, Pekka Parviainen, Mikko Koivisto |
UAI | 3 |
| 2011 | Covering and packing in linear space
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
Inf. Process. Lett. | 4 |
| 2010 | Covering and Packing in Linear Space
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
ICALP (1) | 4 |
| 2010 | A Space-Time Tradeoff for Permutation ProblemsabstractMany combinatorial problems—such as the traveling salesman, feedback arcset, cutwidth, and treewidth problem—can be formulated as finding a feasible permutation of n elements. Typically, such problems can be solved by dynamic programming in time and space O*(2n), by divide and conquer in time O*(4n) and polynomial space, or by a combination of the two in time O*(4n2−s) and space O*(2s) for s = n, n/2, n/4, …. Here, we show that one can improve the tradeoff to time O*(Tn) and space O*(Sn) with TS < 4 at any . The idea is to find a small family of “thin” partial orders on the n elements such that every linear order is an extension of one member of the family. Our construction is optimal within a natural class of partial order families. Mikko Koivisto, Pekka Parviainen |
SODA | 1 |
| 2010 | Evaluation of permanents in rings and semirings
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
Inf. Process. Lett. | 4 |
| 2010 | Trimmed Moebius Inversion and Graphs of Bounded Degree
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
Theory Comput. Syst. | 4 |
| 2009 | Counting Paths and Packings in Halves
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
ESA | 4 |
| 2009 | Exact Structure Discovery in Bayesian Networks with Less Space
Pekka Parviainen, Mikko Koivisto |
UAI | 2 |
| 2009 | Set Partitioning via Inclusion-ExclusionabstractGiven a set N with n elements and a family $\mathcal{F}$ of subsets, we show how to partition N into k such subsets in $2^n n^{O(1)}$ time. We also consider variations of this problem where the subsets may overlap or are weighted, and we solve the decision, counting, summation, and optimization versions of these problems. Our algorithms are based on the principle of inclusion-exclusion and the zeta transform. In effect we get exact algorithms in $2^n n^{O(1)}$ time for several well-studied partition problems including domatic number, chromatic number, maximum k-cut, bin packing, list coloring, and the chromatic polynomial. We also have applications to Bayesian learning with decision graphs and to model-based data clustering. If only polynomial space is available, our algorithms run in time $3^n n^{O(1)}$ if membership in $\mathcal{F}$ can be decided in polynomial time. We solve chromatic number in $O(2.2461^n)$ time and domatic number in $O(2.8718^n)$ time. Finally, we present a family of polynomial space approximation algorithms that find a number between $\chi(G)$ and $\lceil(1+\epsilon)\chi(G)\rceil$ in time $O(1.2209^n+2.2461^{e^{-\epsilon}n})$. Andreas Björklund, Thore Husfeldt, Mikko Koivisto |
SIAM J. Comput. | 3 |
| 2008 | Computing the Tutte Polynomial in Vertex-Exponential TimeabstractThe deletion–contraction algorithm is perhapsthe most popular method for computing a host of fundamental graph invariants such as the chromatic, flow, and reliability polynomials in graph theory, the Jones polynomial of an alternating link in knot theory, and the partition functions of the models of Ising, Potts, and Fortuin–Kasteleyn in statistical physics. Prior to this work, deletion–contraction was also the fastest known general-purpose algorithm for these invariants, running in time roughly proportional to the number of spanning trees in the input graph.Here, we give a substantially faster algorithm that computes the Tutte polynomial—and hence, all the aforementioned invariants and more—of an arbitrary graph in time within a polynomial factor of the number of connected vertex sets. The algorithm actually evaluates a multivariate generalization of the Tutte polynomial by making use of an identity due to Fortuin and Kasteleyn. We also provide a polynomial-space variant of the algorithm and give an analogous result for Chung and Graham's cover polynomial. Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
FOCS | 4 |
| 2008 | The Travelling Salesman Problem in Bounded Degree Graphs
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
ICALP (1) | 4 |
| 2008 | Trimmed Moebius Inversion and Graphs of Bounded DegreeabstractWe study ways to expedite Yates's algorithm for computing the zeta and Moebius transforms of a function defined on the subset lattice. We develop a trimmed variant of Moebius inversion that proceeds point by point, finishing the calculation at a subset before considering its supersets. For an $n$-element universe $U$ and a family $\scr F$ of its subsets, trimmed Moebius inversion allows us to compute the number of packings, coverings, and partitions of $U$ with $k$ sets from $\scr F$ in time within a polynomial factor (in $n$) of the number of supersets of the members of $\scr F$. Relying on an intersection theorem of Chung et al. (1986) to bound the sizes of set families, we apply these ideas to well-studied combinatorial optimisation problems on graphs of maximum degree $Δ$. In particular, we show how to compute the Domatic Number in time within a polynomial factor of $(2^{Δ+1-2)^{n/(Δ+1)$ and the Chromatic Number in time within a polynomial factor of $(2^{Δ+1-Δ-1)^{n/(Δ+1)$. For any constant $Δ$, these bounds are $O\bigl((2-ε)^n\bigr)$ for $ε>0$ independent of the number of vertices $n$. Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
STACS | 4 |
| 2008 | Fast Bayesian Haplotype Inference Via Context Tree Weighting
Pasi Rastas, Jussi Kollin, Mikko Koivisto |
WABI | 3 |
| 2007 | Fourier meets möbius: fast subset convolutionabstractWe present a fast algorithm for the subset convolution problem:given functions f and g defined on the lattice of subsets of ann-element set n, compute their subset convolution f*g, defined for S⊆ N by [ (f * g)(S) = [T ⊆ S] f(T) g(S/T),,]where addition and multiplication is carried out in an arbitrary ring. Via Möbius transform and inversion, our algorithm evaluates the subset convolution in O(n2 2n) additions and multiplications, substanti y improving upon the straightforward O(3n) algorithm. Specifically, if the input functions have aninteger range [-M,-M+1,...,M], their subset convolution over the ordinary sum--product ring can be computed in Õ(2n log M) time; the notation Õ suppresses polylogarithmic factors.Furthermore, using a standard embedding technique we can compute the subset convolution over the max--sum or min--sum semiring in Õ(2n M) time. Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto |
STOC | 4 |
| 2006 | Parent Assignment Is Hard for the MDL, AIC, and NML Costs
Mikko Koivisto |
COLT | 1 |
| 2006 | Bayesian Learning with Mixtures of Trees
Jussi Kollin, Mikko Koivisto |
ECML | 2 |
| 2006 | An O*(2^n ) Algorithm for Graph Coloring and Other Partitioning Problems via Inclusion--ExclusionabstractWe use the principle of inclusion and exclusion, combined with polynomial time segmentation and fast Mobius transform, to solve the generic problem of summing or optimizing over the partitions of n elements into a given number of weighted subsets. This problem subsumes various classical graph partitioning problems, such as graph coloring, domatic partitioning, and MAX k-CUT, as well as machine learning problems like decision graph learning and model-based data clustering. Our algorithm runs in O*(2^n ) time, thus substantially improving on the usual O*(3^n )-time dynamic programming algorithm; the notation O* suppresses factors polynomial in n. This result improves, e.g., Byskov's recent record for graph coloring from O*(2.4023^n ) to O*(2^n ). We note that twenty five years ago, R. M. Karp used inclusion--exclusion in a similar fashion to reduce the space requirement of the usual dynamic programming algorithms from exponential to polynomial. Mikko Koivisto |
FOCS | 1 |
| 2006 | Advances in Exact Bayesian Structure Discovery in Bayesian Networks
Mikko Koivisto |
UAI | 1 |
| 2006 | Optimal 2-constraint satisfaction via sum-product algorithms
Mikko Koivisto |
Inf. Process. Lett. | 1 |
| 2005 | Computational aspects of Bayesian partition modelsabstractThe conditional distribution of a discrete variable y, given another discrete variable x, is often specified by assigning one multinomial distribution to each state of x. The cost of this rich parametrization is the loss of statistical power in cases where the data actually fits a model with much fewer parameters. In this paper, we consider a model that partitions the state space of x into disjoint sets, and assigns a single Dirichlet-multinomial to each set. We treat the partition as an unknown variable which is to be integrated away when the interest is in a coarser level task, e.g., variable selection or classification. Based on two different computational approaches, we present two exact algorithms for integration over partitions. Respective complexity bounds are derived in terms of detailed problem characteristics, including the size of the data and the size of the state space of x. Experiments on synthetic data demonstrate the applicability of the algorithms. Mikko Koivisto, Kismat Sood |
ICML | 1 |
| 2005 | A Hidden Markov Technique for Haplotype Reconstruction
Pasi Rastas, Mikko Koivisto, Heikki Mannila, Esko Ukkonen |
WABI | 2 |
| 2004 | Hidden Markov Modelling Techniques for Haplotype Analysis
Mikko Koivisto, Teemu Kivioja, Heikki Mannila, Pasi Rastas, Esko Ukkonen |
ALT | 1 |
| 2004 | Exact Bayesian Structure Discovery in Bayesian Networks
Mikko Koivisto, Kismat Sood |
J. Mach. Learn. Res. | 1 |