Skip to main content
QUICK REVIEW

[Paper Review] Contract2Plan: Verified Contract-Grounded Retrieval-Augmented Optimization for BOM-Aware Procurement and Multi-Echelon Inventory Planning

Sahil Agarwal|arXiv (Cornell University)|Jan 7, 2026
Constraint Satisfaction and OptimizationComputer Science0 citations
TL;DR

Contract2Plan presents a verified retrieval-augmented system that extracts contract constraints with provenance, grounds them in a BOM-aware MILP model, and uses a solver verifier with a conservative repair loop and human-in-the-loop gating to ensure feasibility and compliance.

ABSTRACT

Procurement and inventory planning is governed not only by demand forecasts and bills of materials (BOMs), but also by operational terms in contracts and supplier documents (e.g., MOQs, lead times, price tiers, allocation caps, substitution approvals). LLM-based extraction can speed up structuring these terms, but extraction-only or LLM-only decision pipelines are brittle: missed clauses, unit errors, and unresolved conflicts can yield infeasible plans or silent contract violations, amplified by BOM coupling. We introduce Contract2Plan, a verified GenAI-to-optimizer pipeline that inserts a solver-based compliance gate before plans are emitted. The system retrieves clause evidence with provenance, extracts a typed constraint schema with evidence spans, compiles constraints into a BOM-aware MILP, and verifies grounding, eligibility, consistency, and feasibility using solver diagnostics, triggering targeted repair or abstention when automation is unsafe. We formalize which clause classes admit conservative repair with contract-safe feasibility guarantees and which require human confirmation. A self-contained synthetic micro-benchmark (500 instances; T=5) computed by exact enumeration under an execution model with MOQ uplift and emergency purchases shows heavy-tailed regret and nontrivial MOQ-violation incidence for extraction-only planning, motivating verification as a first-class component of contract-grounded planning systems.

Motivation & Objective

  • Define a contract-grounded, BOM-aware procurement and planning problem with auditable provenance.
  • Develop a verified retrieval-augmented generation pipeline that extracts constraint schemas with evidence spans and confidence.
  • Integrate a solver-based verifier that grounds, checks feasibility, and performs conservative repairs or escalates to humans.
  • Provide compliance guarantees for monotone contract terms and establish abstention policies for non-monotone clauses.
  • Quantify tail risk and demonstrate the importance of verification in contract-driven supply chain optimization.

Proposed method

  • Hybrid retrieval pipeline combining BM25, dense retrieval, and reranking to fetch multi-source procurement documents with versioning.
  • Typed constraint schema with provenance and confidence for each field to ensure grounding and auditable decisions.
  • Normalization and deterministic compilation of constraints into a BOM-aware MILP backbone.
  • Multi-layer verifier that enforces grounding, consistency, and solver feasibility, with a targeted repair loop and human gate for unsafe clauses.
  • Decision cards linking each binding constraint and recommendation to evidence spans for auditability.
  • Formal compliance theorems distinguishing Class A (monotone) constraints safe for conservative repair from Class C (non-monotone) clauses requiring human confirmation.

Experimental results

Research questions

  • RQ1Which contract-derived constraints can be safely integrated into BOM-aware optimization via conservative repair and grounding guarantees?
  • RQ2How can a verification layer detect and repair extraction errors to prevent infeasible or non-compliant plans?
  • RQ3What is the impact of extraction errors on planning cost and service levels in a controlled micro-benchmark?
  • RQ4Under what conditions do abstention rules trigger human intervention, and how do they affect operational decisions?
  • RQ5How does provenance-enabled constraint grounding improve auditability and compliance in contract-driven procurement?

Key findings

  • Extraction-only planning exhibits heavy-tailed regret relative to verified planning (mean 142.33, 5.40% of mean optimal cost).
  • Synthetic micro-benchmark (500 instances, horizon 5) shows nontrivial tail risk and 16.6% MOQ-violation incidence in extracted plans.
  • Under joint MOQ and lead-time mis-extraction, tail risk is highest due to uplifted orders and late arrivals prompting emergency purchases.
  • Conservative repair guarantees contract-safe feasibility for monotone constraints (MOQ, lead time, capacity, cadence) under explicit assumptions.
  • Tier eligibility constraints prevent ineligible discount claims by encoding thresholds as binding constraints.
  • Non-monotone or exception-heavy clauses trigger abstention or escalation to human confirmation, preventing unsafe automatic merges.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.