Skip to main content
QUICK REVIEW

[Paper Review] Rational Tracer: a Tool for Faster Rational Function Reconstruction

Vitaly Magerya|arXiv (Cornell University)|Nov 7, 2022
Parallel Computing and Optimization TechniquesComputer Science5 citations
TL;DR

Rational Tracer (Ratracer) accelerates rational function reconstruction in high-energy physics by decoupling expression tracing from evaluation, using optimized C++ traces to reduce overhead in IBP reductions. It achieves up to 5x speedup over Kira + FireFly and 20x faster probe times by eliminating data structure management and enabling efficient, parallelizable reconstruction of Feynman integral coefficients.

ABSTRACT

Rational Tracer (Ratracer) is a tool to simplify complicated arithmetic expressions using modular arithmetics and rational function reconstruction, with the main idea of separating the construction of expressions (via tracing, i.e. recording the list of operations) and their subsequent evaluation during rational reconstruction. Ratracer can simplify arithmetic expressions (provided as text files), solutions of linear equation systems (specifically targeting Integration-by-Parts (IBP) relations between Feynman integrals), and even more generally: arbitrary sequences of rational operations, defined in C++ using the provided library ratracer.h. Any of these can also be automatically expanded into series prior to reconstruction. This paper describes the usage of Ratracer specifically focusing on IBP reduction, and demonstrates its performance benefits by comparing with Kira+FireFly and Fire6. Specifically, Ratracer achieves a typical ~10x probe time and ~5x overall time speedup over Kira+FireFly, and even higher if only a few terms in $\varepsilon$ need to be reconstructed.

Motivation & Objective

  • To address the performance bottleneck in IBP reduction caused by data structure management in traditional solvers like Kira and FireFly.
  • To reduce intermediate expression swell and computational overhead in rational function reconstruction for Feynman integrals.
  • To enable faster, scalable reconstruction of coefficients from modular evaluations by decoupling trace generation from evaluation.
  • To improve performance in high-multiplicity, multi-scale Feynman integral computations, especially at two- and three-loop levels.
  • To provide a modular, extensible C++ library and command-line tool for trace-based reconstruction in high-energy physics workflows.

Proposed method

  • Ratracer records arithmetic operations during Gaussian elimination as a trace, storing them as a sequence of modular operations rather than maintaining complex data structures.
  • It uses a custom binary format to store traces with marked output locations, enabling efficient memory layout and optimization.
  • Traces are optimized via dead code elimination, constant folding, common subexpression elimination, and memory layout reorganization.
  • Reconstruction is performed by evaluating the trace with variable values set to integers or rational numbers modulo a prime, followed by rational number reconstruction.
  • The system supports partial output reconstruction and parallelization across multiple machines by distributing subsets of outputs.
  • The approach integrates with existing IBP solvers like Kira and FireFly, replacing their reconstruction phase with faster, trace-based evaluation.

Experimental results

Research questions

  • RQ1Can decoupling trace generation from evaluation significantly reduce the computational overhead in rational function reconstruction for IBP reductions?
  • RQ2To what extent can trace optimization and memory layout improvements accelerate modular arithmetic evaluation in high-energy physics computations?
  • RQ3How does the performance of Ratracer compare to Kira + FireFly and Kira + Fermat in terms of total runtime and probe efficiency?
  • RQ4What is the impact of expanding coefficients in powers of ε on reconstruction speed and memory usage?
  • RQ5Can the overhead of rational reconstruction in FireFly become a performance bottleneck when probe times are drastically reduced?

Key findings

  • Ratracer achieves up to 20x faster probe times compared to Kira, significantly reducing the cost of individual modular evaluations.
  • The total runtime for challenging IBP reductions is improved by a factor of up to 5x compared to Kira + FireFly, especially in hard cases like massive five-point two-loop topologies.
  • For some benchmarks, such as the three-loop diamond with two masses, FireFly's efficiency drops below 3% due to high probe frequency, indicating that reconstruction overhead becomes dominant.
  • Expanding coefficients to O(ε⁰) yields a 2.5–5.5x speedup, while O(ε¹) expansion gives 1.4–4x speedup, showing the benefit of higher-order expansion.
  • Kira + Fermat is faster than Kira + FireFly in most cases, except for the non-planar box, where Fermat’s single-process bottleneck slows it down.
  • The method enables efficient parallelization by allowing independent reconstruction of output subsets, with dead code elimination reducing evaluation cost per output.

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.