Skip to main content
QUICK REVIEW

[Paper Review] Algebraic Statistics in OSCAR

Tobias Boege, A. Della Vecchia|arXiv (Cornell University)|Jan 22, 2026
Polynomial and algebraic computationComputer Science0 citations
TL;DR

This paper introduces the AlgebraicStatistics section of OSCAR, detailing its design for graphical models and phylogenetics, specialized implicitization methods, and data serialization to support sharing and databases.

ABSTRACT

We introduce the AlgebraicStatistics section of the OSCAR computer algebra system. We give an overview of its extensible design and highlight its features including serialization of data types for sharing results and creating databases, and state-of-the-art implicitization algorithms.

Motivation & Objective

  • Present the AlgebraicStatistics section of OSCAR and its extensible design.
  • Show how graphical models and phylogenetics are represented as parametrized images and their Zariski closures.
  • Demonstrate specialized implicitization techniques and their computational benefits.
  • Explain serialization and database integration for sharing results.
  • Highlight how multiple dispatch in Julia enables custom model types and optimized algorithms.

Proposed method

  • Define a unified GraphicalModel framework as an abstract parametric type with customizable parameter_ring and model_ring.
  • Implement Gaussian and discrete graphical models, and phylogenetic models, as concrete subtypes.
  • Use Julia's multiple dispatch to provide specialized algorithms for different graph families (e.g., toric/GroupBased models).
  • Compute vanishing ideals via implicitization, leveraging structure (e.g., toric in Fourier coordinates) and fast tools (4ti2).
  • Present multigraded and birational implicitization methods to speed up computations.
  • Include serialization to the mrdi/JSON-based OSCARDB format for sharing results.

Experimental results

Research questions

  • RQ1How can OSCAR unify graphical models and phylogenetics under a common parametric framework?
  • RQ2What algebraic-statistical techniques (e.g., vanishing ideals, implicitization) are most effective for common model classes in OSCAR?
  • RQ3How do specialized methods (e.g., toric structure, multigraded implicitization) compare to generic approaches for these models?
  • RQ4How can results be serialized and stored for reuse and collaboration via OSCARDB?

Key findings

  • OSCAR provides an extensible AlgebraicStatistics suite in Julia for graphical models and phylogenetics.
  • Specialized implicitization techniques (multigraded and birational) and toric structure speed up vanishing-ideal computations.
  • Group-based phylogenetic models are toric in Fourier coordinates, enabling use of 4ti2 for faster Gröbner basis computations.
  • Serialization support (mrdi/JSON) enables sharing results and populating OSCARDB with model data.
  • Empirical comparisons show OSCAR-based multigraded implicitization can outperform Macaulay2 in specific scenarios (e.g., Kimura 3 on sunlet networks).
  • Demonstrates practical workflows from model construction to invariant computation and database integration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.