Continuous p-adic Optimization
Julian Salazar, Dimitri Kanevsky, Matt Harvey, Pascal Getreuer, Lucas Dixon
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Optimization & Federated Learning › Optimization Algorithms · Type: new method · Keywords: p-adic optimization, Berkovich affine line, max-plus gradient, tropical cells, non-Archimedean optimization
Areas: Optimization & Algorithms › Optimization Dynamics › Differentiable Optimization
Summary
The paper introduces the first continuous gradient-based optimization method for models with p-adic parameters, enabling efficient training of such models by lifting them to the Berkovich affine line and using max-plus gradient computation.
Explained to a 5-year-old
Scientists made a new tool to help math models learn using a kind of number that works differently. This tool lets the models keep learning even when the numbers are tricky. It was tested on simple made-up problems and a language test. The models learned just as well as those using regular numbers. This could help future math tools work better.
Explained to a 5-year-old, longer
Scientists wanted to train models that use special numbers called p-adics. Regular computers have trouble with these numbers because they can get stuck. They invented a new way to move around in a space that makes the numbers easier to handle. This new space is called the Berkovich affine line. By using this space, the models can take small steps and keep learning. The method also turns the loss functions into simple straight-line pieces. Gradients are computed using a special math trick called max-plus operations. The theory shows that for simple linear models, the learning will converge inside certain regions. Experiments on made-up problems and a language benchmark show the models perform as well as those using normal numbers. The training time is about the same as usual. This work opens the door to using p-adic numbers in more machine learning tasks.
For a technical reader
The paper presents a method to perform gradient descent directly on p-adic parameters by lifting them to the Berkovich affine line, which provides a continuous space. Losses become piecewise linear, allowing efficient gradient computation via max-plus arithmetic. Theoretical analysis guarantees local convergence for linear models within tropical cells. Experiments on synthetic tasks and a semantic benchmark demonstrate performance comparable to real-valued models with similar training time.
Problem
Optimizing models whose parameters are p-adic numbers is difficult because gradients tend to vanish due to the discrete valuation of these numbers, preventing effective continuous gradient-based training.
Method
The approach lifts p-adic parameters to the Berkovich affine line, providing a path-connected space where gradient descent respects the non-Archimedean metric. Losses are extended to the Berkovich line, yielding piecewise linear functions that enable efficient gradient computation via max-plus operations. This allows continuous optimization within tropical cells, with local convergence guarantees for linear models.
Results
The approach matches or exceeds the performance of real-valued models while requiring similar training time.
Contributions
It provides the first continuous gradient-based optimization method for p-adic parameters, enabling efficient training via lifting to the Berkovich line and max-plus gradient computation. The work also proves local convergence for linear models and validates the approach on synthetic and semantic benchmarks.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction