Evaluating Multimodal Large Models for Mathematical Modeling: Methods and Practices

    This article provides an engineering perspective on evaluating the mathematical modeling capabilities of multimodal large models. It outlines a comprehensive and executable methodology covering the construction of evaluation datasets, the design of scoring criteria, the handling of multimodal inputs, the automation of the evaluation process, error attribution, and fair comparisons. This guide helps technical teams assess whether a model can genuinely execute complete mathematical modeling workflows rather than merely scoring well on standard benchmarks.

    Introduction

    Mathematical modeling is the process of abstracting real-world problems into mathematical structures and deriving conclusions through calculation and interpretation. It requires models to possess semantic understanding, symbolic reasoning, numerical calculation, and structured expression simultaneously. As multimodal inputs become increasingly common, charts, formula screenshots, diagrams, and tables within problem statements have become essential content that models must process.

    This raises a practical question: how can we determine if a multimodal model is genuinely viable for modeling tasks? General benchmark scores often fail to answer this. A high score on multiple-choice questions does not indicate that a model can independently complete the end-to-end modeling workflow from problem comprehension to final conclusion. Therefore, teams need to build specialized evaluation systems tailored to their business or research objectives.

    This article provides an executable methodology from an engineering perspective, covering six key components: evaluation dataset construction, scoring criteria design, multimodal input processing, automated execution, error attribution, and fair comparison.

    1. Define Evaluation Objectives

    The first step in evaluation is defining the objective. Different goals dictate different evaluation focuses:

    1. Capability Benchmarking: Understanding the model’s overall proficiency across various modeling problem types to inform model selection or version iteration.
    2. Identifying Weaknesses: Pinpointing specific shortcomings in stages such as chart reading, variable definition, constraint formulation, or result interpretation.
    3. Regression Monitoring: Checking for capability degradation after model updates or prompt adjustments.
    4. Production Readiness: Confirming whether the model’s error rate in specific business scenarios falls below an acceptable threshold.

    The evaluation dataset size, scoring granularity, and execution frequency vary by objective. Capability benchmarking typically requires a broad question bank, whereas regression monitoring relies more on a stable, quickly repeatable core set.

    2. Principles for Building the Evaluation Dataset

    2.1 Question Sources and Coverage

    The evaluation dataset should cover primary types of modeling problems, such as optimization, prediction, evaluation, graph theory, and differential equations. Each category should include several questions to prevent the model from excelling only in a specific type. Question difficulty should also be stratified—basic, standard, and comprehensive—to observe how performance scales with difficulty.

    Question sources can include past public competition problems, textbook exercises, internal enterprise business problems, or modified questions by domain experts. When using public materials, pay attention to copyright and scope of use, and avoid overlap between training data and evaluation data.

    2.2 Specifics of Multimodal Questions

    Compared to pure text, multimodal questions have unique characteristics that require separate handling.

    First, extracting chart information is an independent capability. For instance, the coordinate units, scale intervals, and legend meanings of a line chart must be correctly identified; otherwise, subsequent derivations will be fundamentally flawed.

    Second, when formulas appear as images, recognition quality directly impacts problem comprehension. Handwritten formulas, low-resolution screenshots, and noisy scans all increase difficulty.

    Third, spatial relationships in diagrams must be correctly inferred by the model. For example, if the correspondence between nodes and edges in a pipeline layout, circuit connection, or network topology is misidentified, the conclusion will inevitably be wrong.

    Therefore, a multimodal evaluation dataset should separately annotate “visual information extraction” and “modeling reasoning.” This allows evaluators to determine whether an error originates in the perception layer or the reasoning layer.

    2.3 Reference Answers and Annotation Standards

    Each question should be accompanied by a reference solution highlighting key steps, such as core assumptions, key variables, primary formulas, and final numerical values. Annotations should follow these standards:

    • For open-ended questions, provide multiple acceptable modeling paths rather than a single correct answer.
    • Numerical results must specify the allowable error margin and units.
    • For questions dependent on assumptions, the reference answer should explain the reasonable range of conclusions under different assumptions.
    • Each question should be independently annotated by at least two annotators, with records of how disagreements were resolved.

    Annotation quality directly determines the credibility of the evaluation. If the reference answer is flawed, a high model score is meaningless.

    3. Scoring Criteria Design

    A simple “right or wrong” binary judgment cannot reflect the quality of the modeling process. It is recommended to decompose the score into multiple dimensions, scoring each independently.

    3.1 Problem Understanding

    Assess whether the model accurately restates the problem’s objectives, constraints, and known conditions. Common point deductions include omitting constraints, misunderstanding the direction of optimization objectives (confusing maximization with minimization), and ignoring specific units in the problem.

    3.2 Assumptions and Variable Definition

    The rationality of a model largely depends on appropriate assumptions. Scoring should focus on whether the model explicitly lists assumptions, whether they align with the problem’s intent, whether decision variables and parameters are clearly defined, and whether symbols are used consistently.

    3.3 Model Construction

    Assess whether the mathematical model itself is correct. This includes the form of the objective function, the completeness of constraints, the rationality of the chosen model type (e.g., distinguishing linear programming from integer programming), and the appropriate handling of nonlinear relationships.

    3.4 Solving and Calculation

    Evaluate whether the derivation process and numerical results are correct. For calculation-based questions, check the self-consistency of intermediate steps, whether the final values fall within the allowable error margin, and the accuracy of unit conversions.

    3.5 Result Interpretation and Expression

    Examine whether the conclusion addresses the original problem, whether the applicability conditions and limitations of the results are discussed, and whether the expression is logically organized.

    A reference scoring rubric is shown below:

    Dimension Points Scoring Focus
    Problem Understanding 10 Are objectives, constraints, and units complete and accurate?
    Assumptions & Variables 15 Are assumptions reasonable and symbols consistent?
    Model Construction 30 Are the objective function and constraints correct?
    Solving & Calculation 30 Are derivations and numerical values within the error margin?
    Result Interpretation 15 Does the conclusion address the problem and state limitations?

    Point values can be adjusted based on question difficulty and business focus. The key is to ensure each dimension has clear criteria so that judgments from different evaluators are as consistent as possible.

    4. Multimodal Input Specific Evaluation

    For multimodal questions, two controlled experiments can be designed.

    The first group uses complete inputs, providing both the question text and images. The second group uses textualized inputs, where human annotators transcribe the image content into text before providing it to the model. The difference in results between the two groups roughly reflects the loss introduced by the visual information extraction phase.

    If the gap is significant, further decompose the visual tasks—for example, by independently testing the accuracy of coordinate reading, formula recognition, and table parsing. This decomposition provides specific directions for subsequent optimization, such as improving image preprocessing or adding structured intermediate prompts.

    It is also necessary to account for the quality variable of input images. Generate different resolutions and compression levels for the same set of questions to observe how model performance degrades as image quality drops. This helps determine the minimum acceptable input quality for a business scenario.

    5. Automated Evaluation Process

    Manual scoring is costly and slow, making it difficult to support frequent regression testing. A common approach is to split evaluation into “batch execution” and “result scoring” phases. The scoring phase combines rule-based validation with model-assisted judgment, followed by manual review of key samples.

    Below is a schematic of a general evaluation framework. The functions are placeholder implementations and should be replaced with actual model interfaces and graders:

    1. from dataclasses import dataclass, field
    2. @dataclass
    3. class Item:
    4. item_id: str
    5. question: str
    6. images: list[str] = field(default_factory=list)
    7. reference: str = ""
    8. difficulty: str = "standard"
    9. def run_evaluation(models, items, rubric, grader):
    10. records = []
    11. for model in models:
    12. for item in items:
    13. answer = model.generate(
    14. question=item.question,
    15. images=item.images,
    16. )
    17. scores = grader.score(
    18. answer=answer,
    19. reference=item.reference,
    20. rubric=rubric,
    21. )
    22. records.append({
    23. "model": model.name,
    24. "item_id": item.item_id,
    25. "difficulty": item.difficulty,
    26. **scores,
    27. })
    28. return records

    During execution, note the following:

    • Use the same question order and prompt template for all models.
    • Record the raw output for each question for post-hoc review.
    • For generative processes with randomness, sample the same question multiple times and report the mean and variance.
    • Validate the grader itself by extracting a portion of manually scored results to calculate consistency metrics.

    6. Result Analysis and Error Attribution

    Obtaining scores is only the first step; understanding the source of errors is more important. It is recommended to categorize errors as follows:

    1. Problem Misinterpretation: Omitting conditions or misunderstanding objectives, usually resulting in lost points in the problem understanding dimension.
    2. Visual Extraction Errors: Incorrect identification of chart values, coordinate units, or formula symbols.
    3. Modeling Bias: Inappropriate model type selection or omitted constraints.
    4. Calculation Errors: Mistakes in intermediate derivation steps or numerical operations.
    5. Expression Defects: Conclusions that do not correspond to the problem or fail to state applicability conditions.

    Calculate the frequency of each error type and perform cross-analysis by problem type and difficulty. For instance, if visual extraction errors concentrate on complex charts, it indicates that the input processing phase is the primary bottleneck. If calculation errors concentrate on high-difficulty questions, it may be necessary to adjust the reasoning budget or step-by-step prompting strategy.

    Error samples should be compiled into a case library. Each case should record the question, model output, error type, and correction method. Over time, this case library becomes a critical reference for improving prompt strategies and post-processing rules.

    7. Fairness Requirements in Horizontal Comparisons

    Comparisons between multiple models are easily influenced by experimental conditions. To ensure reliable conclusions, the following variables must be controlled:

    • Prompt Template: Use the same template to avoid optimizing prompts exclusively for one model.
    • Inference Settings: Parameters including output length limit, sampling temperature, and reasoning depth should be explicitly recorded and unified as much as possible.
    • Input Format: Image size, file format, and the organization of text descriptions must remain consistent.
    • Scoring Criteria: Apply the same rubric and evaluation process; do not adjust the judgment scale based on the model’s identity.
    • Evaluation Time: Record the execution date, as model service versions may change over time.

    When reporting results, provide scores for each dimension, sample size, and confidence intervals. Avoid drawing conclusions based solely on total scores. If the gap between two models is smaller than the statistical variance, state honestly that their capabilities are comparable rather than forcing a ranking.

    8. Implementation Recommendations

    For teams looking to establish an evaluation system, follow this sequence:

    1. Establish a baseline using a core set of around 100 questions, covering major problem types and difficulty levels.
    2. Write reference solutions and scoring rubrics for each question, completing double-annotation.
    3. Build an automated execution and scoring process, ensuring that configurations are traceable for every run.
    4. Run regression tests after every model or prompt change, comparing variations across dimensions.
    5. Regularly expand the question bank and incorporate real-world error cases encountered in production into the evaluation set.

    It is important to emphasize that the evaluation dataset should evolve alongside the business. A static question bank will eventually be overfitted by model training or tuning, losing its discriminative power. Maintaining the freshness and representativeness of questions is a prerequisite for long-term evaluation validity.

    Conclusion

    The mathematical modeling capability of a multimodal model cannot be fully captured by a single score. Effective evaluation requires clear objectives, a comprehensively covered evaluation dataset, multi-dimensional scoring criteria, specialized design for visual inputs, a reproducible automated process, and systematic analysis of error sources. Only by comparing under unified conditions and maintaining a cautious approach to conclusions can evaluation results genuinely serve model selection, quality monitoring, and capability improvement.