paper-with-me

홈 › Papers

Solving Recurrence Relations using Machine Learning, with Application to Cost Analysis

2023-08-30 · Maximiliano Klemen, Miguel Á. Carreira-Perpiñán, Pedro Lopez-Garcia

Automatic static cost analysis infers information about the resources used by programs without actually running them with concrete data, and presents such information as functions of input data sizes. Most of the analysis tools for logic programs (and other languages) are based on setting up recurrence relations representing (bounds on) the computational cost of predicates, and solving them to find closed-form functions that are equivalent to (or a bound on) them. Such recurrence solving is a bottleneck in current tools: many of the recurrences that arise during the analysis cannot be solved with current solvers, such as Computer Algebra Systems (CASs), so that specific methods for different classes of recurrences need to be developed. We address such a challenge by developing a novel, general approach for solving arbitrary, constrained recurrence relations, that uses machine-learning sparse regression techniques to guess a candidate closed-form function, and a combination of an SMT-solver and a CAS to check whether such function is actually a solution of the recurrence. We have implemented a prototype and evaluated it with recurrences generated by a cost analysis system (the one in CiaoPP). The experimental results are quite promising, showing that our approach can find closed-form solutions, in a reasonable time, for classes of recurrences that cannot be solved by such a system, nor by current CASs.

📄 PDF Abstract BibTeX arXiv:2309.07259

Code (0)

등록된 구현이 없습니다.

Tasks

Form

Similar Papers 제목 키워드 기반

A Machine Learning-based Approach for Solving Recurrence Relations and its use in Cost Analysis of Logic Programs

2024-05-11 · Louis Rustenholz, Maximiliano Klemen, Miguel Ángel Carreira-Perpiñán, Pedro López-García

Automatic static cost analysis infers information about the resources used by programs without actually running them with concrete data, and presents such information as functions of input data sizes. Most of the analysi…

Symbolic Regression

A Class of Short-term Recurrence Anderson Mixing Methods and Their Applications

2021-09-29 · ICLR 2022 4 · Fuchao Wei, Chenglong Bao, Yang Liu

Anderson mixing (AM) is a powerful acceleration method for fixed-point iterations, but its computation requires storing many historical iterations. The extra memory footprint can be prohibitive when solving high-dimensio…

image-classificationImage ClassificationStochastic Optimization

Symbolic-Numeric Computation of Integrals in Successive Galerkin Approximation of Hamilton-Jacobi-Bellman Equation

2023-03-17 · Tomoyuki Iori

This paper proposes an efficient symbolic-numeric method to compute the integrals in the successive Galerkin approximation (SGA) of the Hamilton-Jacobi-Bellman (HJB) equation. A solution of the HJB equation is first appr…

Numerical Integration

Reviewing AI's Role in Non-Muscle-Invasive Bladder Cancer Recurrence Prediction

2024-03-15 · Saram Abbas, Rishad Shafik, Naeem Soomro, Rakesh Heer 외

Notorious for its 70-80% recurrence rate, Non-muscle-invasive Bladder Cancer (NMIBC) imposes a significant human burden and is one of the costliest cancers to manage. Current tools for predicting NMIBC recurrence rely on…

Management

When Attention Meets Fast Recurrence: Training Language Models with Reduced Compute

2021-02-24 · EMNLP 2021 11 · Tao Lei

Large language models have become increasingly difficult to train because of the growing computation time and cost. In this work, we present SRU++, a highly-efficient architecture that combines fast recurrence and attent…

GPULanguage ModelingLanguage ModellingMachine Translation