atlas

Research map / Large language models / Agents, code and math

EquivaMap: Leveraging LLMs for Automatic Equivalence Checking of Optimization Formulations

ICML 2025 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Quasi-Karp equivalence and EquivaMap, which uses an LLM (GPT-4) to find variable mappings between two MILP formulations, verified by solving and checking optimality, plus the EquivaFormulation dataset of transformed NLP4LP formulations.

Problem

Existing automatic equivalence checks for optimization formulations (canonical accuracy, execution accuracy, WL-test) are heuristic and fail on rescaling, cutting planes, and variable/constraint permutations, which matters for evaluating optimization copilots.

Approach

Define formulation equivalence via a (linear) mapping from decision variables of one formulation to the other such that optimal solutions map to optimal solutions; use an LLM to discover the mapping at the symbolic formulation level and verify by substituting the solver-produced optimal solution, avoiding extra solver calls.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use EquivaMap instead of the strongest baselineequivalence checking after rescaling · Rescalingaccuracy: 69.9% -> 100%Helped
Use EquivaMap instead of the strongest baselineequivalence checking after adding valid inequalities · Add Valid Inequalitiesaccuracy: 100% -> 100%No clear effect
Use EquivaMap instead of the strongest baselineequivalence checking after replacing variables by linear combinations · Replace by Linear Combinationsaccuracy: 100% -> 100%No clear effect
Use EquivaMap instead of the strongest baselineequivalence checking after substituting objective functions · Substitute Objective Functionsaccuracy: 100% -> 100%No clear effect
Use EquivaMap instead of the strongest baselineequivalence checking after adding slack variables · Add Slack Variablesaccuracy: 100% -> 100%No clear effect
Use EquivaMap instead of the strongest baselineequivalence checking after replacing variables with base-10 representations · Replace by Base-10 Representationaccuracy: 100% -> 100%No clear effect
Use EquivaMap instead of the strongest baselineequivalence checking after random-order transformation · Random Orderaccuracy: 100% -> 100%No clear effect
Use EquivaMap instead of the strongest baselineequivalence checking after deleting loose constraints · Loose Constraintsaccuracy: 100% -> 100%No clear effect
Use EquivaMap instead of the strongest baselineequivalence checking after converting to feasibility problems · Feasibilityaccuracy: 100% -> 100%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: NLP4LP

Benchmarks: EquivaFormulation

Metrics: accuracy of equivalence classification

Baselines: canonical accuracy execution accuracy WL-test naive-LLM EquivaMap (Maj.)

Builds on: Karp reductions NLP4LP Weisfeiler-Lehman test

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy