Dataset Viewer
Auto-converted to Parquet Duplicate
method
large_stringclasses
2 values
n
int64
331
331
schema_r1
float64
0.91
0.91
schema_correct_count
int64
301
301
coverage_mean
float64
0.88
0.89
type_match_mean
float64
0.85
0.87
ordinary_instantiation_ready_rate
float64
0.78
0.8
ordinary_instantiation_ready_count
int64
257
265
strict_instantiation_ready_rate
float64
0.75
0.77
strict_instantiation_ready_count
int64
247
255
exact5_mean
float64
0.22
0.24
exact20_mean
float64
0.24
0.26
key_overlap_mean
float64
0.92
0.92
prepatch_tfidf_typed_greedy
331
0.909366
301
0.87943
0.851545
0.776435
257
0.746224
247
0.219463
0.244888
0.921781
tfidf_typed_greedy_ratio_extraction
331
0.909366
301
0.888566
0.866549
0.800604
265
0.770393
255
0.235536
0.261391
0.921781

Natural-Language Optimization Instantiation Metrics

This dataset is a text-free metrics release for a retrieval-assisted natural-language optimization instantiation pipeline. It contains per-example and aggregate evaluation outcomes for a frozen pipeline evaluated on the NLP4LP benchmark.

Soroush Vahidi created and releases the evaluation metrics and derived outcomes in this repository. NLP4LP is a third-party benchmark/resource maintained by the Udell Lab. Soroush Vahidi does not own NLP4LP or OptiMUS.

Raw NLP4LP problem text, gold formulations, gold structures, source IDs, prompts, completions, external example text, provider raw outputs, and local/private metadata are not included. Public rows use project-local opaque identifiers. Users who need the source benchmark must obtain NLP4LP directly from its canonical source under its own access and licensing terms: https://huggingface.co/datasets/udell-lab/NLP4LP

What Is Being Evaluated?

Many optimization problems are first written in natural language and later translated into mathematical models. This release evaluates a narrower intermediate task: natural-language optimization instantiation. Given a natural-language problem description, the evaluated system retrieves a compatible optimization schema from a fixed catalog and then fills scalar parameter slots from numeric evidence.

Schema retrieval means selecting the top-ranked optimization schema for a problem description. Instantiation readiness measures whether the retrieved and filled schema has enough correctly typed scalar information to be useful for downstream modeling.

The frozen method represented here is TF-IDF schema retrieval plus typed greedy scalar grounding with deterministic multiplicative ratio-word extraction. The patch adds deterministic extraction for expressions such as multiplicative ratio words, while leaving schema retrieval, slot choice, and evaluation thresholds unchanged.

Configs

per_query_metrics

One row represents one benchmark query evaluated by the frozen method. It does not include the native benchmark ID or text.

Fields:

  • example_uid: project-local opaque identifier derived from the native source ID using a private keyed HMAC; the key and mapping are not released.
  • variant: benchmark/query variant label from the source evaluation output. In this v1 release it is orig.
  • method: method identifier. This is the source baseline column renamed for clarity; in this v1 release it is tfidf.
  • schema_hit: whether the retrieved top-1 schema matched the gold schema.
  • ordinary_ready: param_coverage >= 0.8 AND type_match >= 0.8.
  • strict_ready: schema_hit AND param_coverage >= 0.8 AND type_match >= 0.8.
  • n_expected_scalar: structural count of expected scalar slots used for evaluation. It is a small integer count and does not include slot names, variable names, formulation text, or problem text.
  • n_filled: number of scalar slots filled by the evaluated method.
  • param_coverage: scalar-slot coverage metric.
  • type_match: scalar-slot type compatibility metric.
  • exact5: exact-value metric at 5% tolerance where comparable; null means no comparable exact-value denominator for that row.
  • exact20: exact-value metric at 20% tolerance where comparable; null means no comparable exact-value denominator for that row.
  • key_overlap: schema/key overlap metric.

method_summary

Aggregate metrics for the pre-patch and final patched method variants. Counts are integer counts; rates and means are floating-point metrics.

strict_readiness_summary

Small aggregate table for strict-readiness counts and rate changes.

patch_transitions

Transition counts comparing pre-patch and patched outcomes. ID lists from the source transition file are deliberately excluded.

patch_case_metrics

Redacted per-case patch metrics for the changed-query audit. This config excludes source sentences, native query IDs, extracted mention strings, affected slot names, and multiplier expression text. It keeps only opaque IDs, change-status categories, readiness booleans, and numerical before/after metrics.

Current Canonical Results

The final patched method has:

  • schema R@1: 0.909366
  • ordinary instantiation-ready: 265 / 331 = 0.800604
  • strict instantiation-ready: 255 / 331 = 0.770393
  • strict-ready patch gain: +8
  • strict-ready losses: 0

These are point-in-time results for the frozen method state represented by the source repository at commit 6bb75a4c4bed02c458ac30b4af206a2802fce095.

Limitations

This is a benchmark-specific metrics release over NLP4LP orig evaluation queries. It does not contain the source benchmark examples, so users cannot inspect or resolve individual examples from this dataset alone. Users needing problem text or gold structures must obtain NLP4LP from the canonical upstream source.

The dataset includes remaining non-ready cases, schema retrieval failures, and type/coverage failures. Null exact5 and exact20 values indicate rows without a comparable exact-value denominator, not successful or failed exact matching.

The metrics are derived from one frozen pipeline/version. They should not be treated as claims about all natural-language optimization systems or all optimization-modeling benchmarks.

How This Dataset Differs from Existing Resources

NLP4LP provides benchmark problem resources. OptiMUS provides optimization-modeling systems and papers around NLP4LP. NL4Opt, ORLM, and PaMOP are related natural-language optimization or optimization-modeling resources. This release instead provides a text-free, downloadable metrics artifact: project-generated per-example evaluation outcomes, readiness indicators, and aggregate method metrics for a specific retrieval-assisted instantiation pipeline.

In the resources examined for this release, we did not identify an equivalent downloadable metrics-only artifact with this exact evaluation representation.

Relationship to Existing SoroushVahidi Datasets

This dataset is distinct from the existing original research datasets under SoroushVahidi:

  • lafc-evict: cache-eviction/counterfactual supervision data.
  • module-intervention-credit: LLM-serving intervention credit simulation results.
  • consistency-aware-judgments: consistency-aware ranking/judgment data.
  • frontier-allocation-metrics: budgeted inference/frontier allocation metrics.
  • mwfas-heuristic-metrics: minimum-weighted feedback arc set heuristic metrics.
  • ranking-fas-results: ranking by feedback arc set results.

This release concerns natural-language optimization problem instantiation and retrieval/grounding readiness. It does not supersede any existing dataset.

Ownership, Provenance, and License

Soroush Vahidi is the dataset author for this derived metrics release.

The released derived metrics, annotations, and release documentation are licensed under CC BY-NC-SA 4.0. This license does not relicense NLP4LP itself. NLP4LP remains subject to its own upstream terms, access controls, and license.

Observed upstream NLP4LP metadata at build time:

Associated Paper

Direct associated paper:

Soroush Vahidi. Retrieval-Assisted Instantiation of Natural-Language Optimization Problems. Preprint records: SSRN DOI 10.2139/ssrn.6434886; Research Square DOI 10.21203/rs.3.rs-10463941/v1.

Citation Policy

Cite this dataset when using the released rows or metrics. Cite the associated paper when using or discussing the methodology or scientific results. Cite both when using the released data and relying materially on the associated methodology/results. Cite NLP4LP/OptiMUS for upstream benchmark provenance.

Dataset citation:

@dataset{vahidi_nl_optimization_instantiation_metrics_2026,
  title = {Natural-Language Optimization Instantiation Metrics},
  author = {Vahidi, Soroush},
  year = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/SoroushVahidi/nl-optimization-instantiation-metrics}},
  note = {Derived metrics release; no dataset DOI assigned}
}

Associated paper citation:

@misc{vahidi_retrieval_assisted_instantiation_2026,
  title = {Retrieval-Assisted Instantiation of Natural-Language Optimization Problems},
  author = {Vahidi, Soroush},
  year = {2026},
  doi = {10.2139/ssrn.6434886},
  note = {Preprint; Research Square DOI: 10.21203/rs.3.rs-10463941/v1}
}

Upstream benchmark citation:

@inproceedings{ahmaditeshnizi2024optimus,
  title = {{O}pti{MUS}: Scalable Optimization Modeling with ({MI}){LP} Solvers and Large Language Models},
  author = {Ahmaditeshnizi, Ali and Gao, Wenzhi and Udell, Madeleine},
  booktitle = {Proceedings of the 41st International Conference on Machine Learning},
  pages = {577--596},
  year = {2024},
  volume = {235},
  series = {Proceedings of Machine Learning Research},
  publisher = {PMLR},
  url = {https://proceedings.mlr.press/v235/ahmaditeshnizi24a.html}
}
Downloads last month
18