Juha Harviainen

Juha Harviainen

University of Helsinki
1 previous affiliation
    • Postdoc · Since 2024
    • PhD student · 2021–2024
    • MS student · 2019–2021
    • Undergrad student · 2018–2019
18Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Juha Harviainen focuses on parameterized complexity, randomized algorithms, and exact structure learning within artificial intelligence and bioinformatics. His trajectory spans from advancing Monte Carlo methods for #P-hard counting problems to developing highly optimized sampling techniques for Bayesian networks. His most recent work investigates the theoretical limits and practical optimization of interpretable decision trees and probabilistic graphical models.

Research Trajectory

Harviainen’s early research included contributions to software reliability, such as his participation in developing the Software Framework for Data Fault Injection to Test Machine Learning Systems. He soon transitioned to a deep theoretical focus on randomized approximation schemes and counting problems. He introduced a novel method for approximating the permanent of nonnegative matrices in Approximating the Permanent with Deep Rejection Sampling. By extending recursive rejection sampling with a linear combination of subproblem bounds, this approach outperformed basic depth-zero variants. He continued to refine Monte Carlo methods in Trustworthy Monte Carlo, developing an orchestration technique that pairs massively parallel Monte Carlo integration with a verifiable proof of correctness, substantially reducing the computational overhead required to verify delegated computations.

Building on his work with matrix permanents, Harviainen developed faster practical approximation schemes. In A Faster Practical Approximation Scheme for the Permanent, he advanced the rejection sampling approach by introducing a new class of nesting upper bounds and preprocessing methods that significantly improved acceptance rates. He later hybridized these techniques in Estimating the Permanent by Nesting Importance Sampling, creating an algorithm that provides rigorous accuracy guarantees while achieving substantial speedups over state-of-the-art rejection sampling. This work intersects with the broader research area of Heavy Tailed Distributions in Stochastic Solver Performance. Concurrently, he explored the efficiency of probabilistic generating circuits in On Inference and Learning With Probabilistic Generating Circuits. By demonstrating that it suffices to track only the highest degree coefficients of computed polynomials, he eliminated a significant complexity factor, rendering the inference algorithm linear in circuit size. This contribution advanced the research directions of Non-monotone Circuits for Tractable Probabilistic Inference and Probabilistic Inference via Polynomial Evaluation and Differentiation.

A major theme in Harviainen’s trajectory is the application of parameterized complexity to graphical models, particularly in the area of The Combinatorial Complexity of Bayesian Network Structure Learning. He initiated this focus in Revisiting Bayesian Network Learning with Small Vertex Cover, investigating whether known polynomial-time algorithms for directed acyclic graphs (DAGs) with bounded vertex cover could be significantly improved for sampling and weighted counting. He subsequently achieved a major algorithmic milestone in Faster Perfect Sampling of Bayesian Network Structures, introducing a rejection sampling strategy that decomposed the problem to achieve an expected time complexity of $O(2.829^n)$, breaking the prior $O(3^n)$ bound. These themes of sampling and counting bipartite matchings and DAGs culminated in his doctoral dissertation, Advances in Sampling and Counting Bipartite Matchings and Directed Acyclic Graphs.

Following his dissertation, Harviainen expanded his work on Bayesian networks and graph algorithms. With collaborators, he developed "Gibby," a highly optimized MCMC sampler detailed in Scaling Up Bayesian DAG Sampling, which utilized tentative acceptance and score pruning to achieve orders-of-magnitude speedups for large networks. He also explored the integration of expert knowledge in On Tractability of Learning Bayesian Networks with Ancestral Constraints, extending sampling and counting results by parameterizing the path cover number of constraint graphs. Pushing the boundaries of computation, he investigated non-classical approaches in Quantum Speedups for Bayesian Network Structure Learning, presenting quantum algorithms that offer significant theoretical speedups over classical methods. In parallel, he studied theoretical graph recovery in Graph Reconstruction with a Connected Components Oracle, characterizing the query complexity required to reconstruct hidden graphs using an oracle that returns connected components on induced subgraphs.

Most recently, Harviainen has applied parameterized complexity to the optimization and pruning of decision trees, contributing to the research direction of Global Optimization for Decision Tree Induction. In Improving Decision Trees through the Lens of Parameterized Local Search, he proved that finding optimal local improvements is NP-complete, but identified polynomial-time tractability when feature counts and domain sizes are small. He further mapped the complexity landscape of tree simplification in Optimal Decision Tree Pruning Revisited: Algorithms and Complexity, revealing that the common "subtree raising" heuristic is NP-complete and providing linear-time algorithms for specific tree parameters. Continuing his work on graphical models, he provided a significant theoretical speedup in Exact and Approximate Algorithms for Polytree Learning, introducing an exact algorithm that approaches $O(2^n)$ time complexity and establishing rigorous approximation guarantees for greedy strategies.

Current Directions

The most recent papers in the evidence indicate a dual focus on the parameterized complexity of interpretable machine learning models and the theoretical limits of learning probabilistic graphical models. Recent work investigates the computational hardness of refining and pruning decision trees, identifying specific parameter regimes where optimal local search and subtree replacement become tractable. Concurrently, Harviainen continues to advance the structure learning of Bayesian networks and polytrees, exploring both rigorous approximation guarantees for classical greedy strategies and the potential for polynomial-time speedups using quantum computation.

Profile updated

See something wrong? Report a mistake