Skip to content

ExAb-OPT: Reducing Exact-Payload Exposure in LLM-Based Optimization through Executable Abstraction

Zezhen Ding, Tianlong Chen, Jiheng Zhang

cs.AI

Abstract

Automating the translation of operational requirements into executable optimization programs can reduce the expert effort required to deploy decision models across supply chains, production, and resource allocation. Frontier LLMs provide strong formulation and code-generation capability, but self-hosting them can impose substantial serving and maintenance costs, while sending raw problems to hosted services exposes exact costs, capacities, demands, and entity names. We introduce ExAb-OPT, a model-adaptation-free inference-time framework that splits these responsibilities. A locally deployable model performs the narrower task of factoring numeric and entity payloads into modality-distinct symbolic references while keeping their concrete mappings local. An external frontier LLM writes solver code over the abstracted representation, and the client binds the required numeric values only during local execution. We evaluate ExAb-OPT on operations research (OR) problems using six hosted models. In a controlled comparison with one hosted model, replacing direct prompts with ExAb-OPT prompts reduces objective accuracy by only 2.78 percentage points, from 81.60% to 78.82%. Under the same change, a fixed attacker recovers 24.03% of exact numeric targets, down from 77.38% with direct prompts. At similar numeric recovery rates, programs generated with ExAb-OPT reach the benchmark objective more often than those generated with generic or rule-based masking. These results suggest that a hosted model can write optimization code using the roles and relationships of parameters, even when the client supplies their exact values only at execution time.

Create a lesson

Metadata

Comments
22 pages, including references and appendix