# Differentiable Range-Partition Entropy for Entropy-Sensitive Geometric Algorithms

*Ibne Farabi Shihab, Sanjeda Akter, Anuj Sharma*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149856) · [OpenReview](https://openreview.net/forum?id=ml7qF9daTZ) · [alphaXiv](https://www.alphaxiv.org/abs/2509.03733) · [Open on the map](../papers.html#p149856)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Optimal Transport and Distribution Alignment](../pgroup/219.md) · Type: new method · Keywords: range-partition entropy, differentiable regularization, geometric preprocessing, soft-to-hard approximation, computational geometry acceleration

## Summary
The paper introduces Differentiable Entropy Regularization (DER), a gradient-optimizable surrogate for range-partition entropy that enables geometry-first training and yields speedups in convex-hull and Delaunay pipelines.

## Explained to a 5-year-old
Computers sometimes need to split a space into many small regions to solve problems. The way they split it can be measured by how complex or messy the regions are. Usually, this measurement is hard to change because it is not smooth. The researchers created a new smooth measurement that can be changed using math. They used this smooth measurement to teach a computer how to make the regions simpler.

## Explained to a 5-year-old, longer
Computers sometimes need to split a space into many small regions to solve problems. The way they split it can be measured by how complex or messy the regions are. Usually, this measurement is hard to change because it is not smooth. The researchers created a new smooth measurement that can be changed using math. They used this smooth measurement to teach a computer how to make the regions simpler. By doing this, the computer can finish tasks like finding the outer shape of points faster. The improvement is biggest when the problem is two-dimensional. The same idea also helps other computer programs that look at lots of data, making them work more efficiently. The new method is easy to add to existing software without changing the core algorithms. It gives a way to speed up many geometry tasks used in science and engineering. The researchers tested it on simple shapes and saw big speed gains with very small errors. They also showed that the idea can be used in other areas like image processing.

## For a technical reader
The work provides a differentiable surrogate for a geometric entropy measure, allowing gradient-based optimization of space partitions. It proves that soft partitions converge to hard ones under certain margin conditions, giving theoretical confidence in the learned structure. When applied as a preprocessing step to standard convex-hull and Delaunay solvers, the partitions reduce solver work, delivering up to fivefold speedups on 2D problems with minimal accuracy loss. The same regularizer also transfers to attention mechanisms, inducing structured sparsity and improving efficiency there.

## Problem
Algorithms that depend on the entropy of geometric partitions lack a differentiable way to optimize those partitions, limiting the ability to learn partitions that reduce computational work. Additionally, the relationship between soft and hard entropy approximations is not well understood.

## Method
The approach constructs a differentiable surrogate for range-partition entropy by separating normalized and runtime-scaled components, and uses a soft halfspace-cell entropy that can be optimized via gradient descent. It also provides a theoretical analysis linking soft and hard entropy approximations under margin-separated halfspace arrangements. The trained partitions are applied as preprocessing to existing SciPy/Qhull pipelines.

## Results
The approach yields up to 4×-5× solver-side speedups on 2D tasks and convex-hull area error below 0.2%, with smaller end-to-end gains after preprocessing. In a transfer study, the regularizer induces structured sparsity and improves empirical efficiency in ViT-style attention.

## Contributions
The paper separates normalized and runtime-scaled entropy, provides a soft-to-hard approximation theorem with convergence guarantees, and introduces a geometry-first training pipeline that learns partitions to accelerate computational geometry algorithms. Additionally, it demonstrates transferability of the regularizer to attention mechanisms.

## Limitations and assumptions
The evaluation is limited to 2D geometric tasks and may not generalize to higher dimensions. The theoretical results assume a fixed margin-separated halfspace arrangement and admissible partitions.

## Practical relevance
The method enables practitioners to learn geometric partitions that directly reduce runtime of standard computational geometry libraries, offering faster preprocessing for applications such as collision detection, mesh generation, and scientific computing.

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](../feedback/?on=p/149856)
