How to Evaluate Multimodal LLMs on Coding Ability and Real-World Experience
This article explains how to evaluate multimodal large language models by verifying task delivery instead of leaderboard rankings. It covers long-context understanding, maintainable code changes, factual reliability, cross-modal use of images and audio, interaction cost, and a reproducible evaluation workflow for production-like work.
1. Evaluating large models: turn “capability lead” into a verifiable question
When a new generation of large models appears, developers usually care less about release cadence than about a few concrete questions: Can the model read a large codebase? Can it make cross-file changes? Are answers trustworthy? Does multimodal input actually help? How much time and cost does one task take?
A single composite score cannot replace these questions. Strong knowledge-QA performance does not mean the model can reliably edit engineering code. Handling a long input does not mean it can find hidden dependencies across a large corpus. An impressive demo does not equal success in long-running production work.
Evaluation should therefore shift from ranking model names to verifying task delivery. Five dimensions are useful:
- Long-context understanding: locate, relate, and correctly use information in a large body of material.
- Programming delivery: whether generated changes pass tests and fit existing architecture and constraints.
- Factual reliability: whether conclusions have evidence, and whether the model states uncertainty when information is missing.
- Multimodal understanding: jointly handle text, images, audio, and spatial relationships.
- Interaction and economics: ease of communication and whether total effort to finish a task is reasonable.
This article does not reuse unverified launch details, leaderboard scores, or one-off experience numbers. It focuses on evaluation methods around these general capabilities.
2. Long context: fitting a lot of material is not the same as understanding all of it
1. Separate input capacity, retrieval, and reasoning
Long-context ability has at least three layers.
The first is capacity: how much input the model can accept. The second is retrieval: whether it can find relevant information accurately. The third is synthesis: whether it can connect information in different places and complete the task.
For example, analyzing a business change may require reading API notes, permission rules, data structures, and tests at the same time. Even if the model finds the target function, it may miss a permission constraint in another document and produce a change that runs but does not meet business requirements.
“Supports a longer input” only shows a prerequisite for such tasks. It does not prove end-to-end quality.
2. Test real understanding with position, noise, and multi-hop relations
A more complete long-context test should cover:
- Place key rules at the beginning, middle, and end of the material and check whether position changes the result.
- Add similar names, outdated versions, or conflicting conclusions and see whether the model misuses sources.
- Require conclusions that combine multiple files, not only keyword lookup.
- Set tasks that omit necessary information and check whether the model invents missing premises.
For example, whether a feature can ship may depend on service configuration, permission policy, and data-migration state. Ask the model to cite evidence locations for all three conditions, then give a conclusion. That checks both the result and the reasoning trail.
3. Long context and retrieval are not either-or
Sending all materials at once fits tasks that need a global view and a manageable corpus. It can also raise input cost, inject noise, and expose sensitive material.
Another approach is retrieve first, then supply relevant snippets. That is easier to size and to cite, but retrieval misses can drop critical background.
A practical pattern is layered context: start with project structure and a task overview, then add the target module, required dependencies, relevant rules, and key tests. Expand the material only for especially complex problems.
The goal is not the shortest possible input, but a balance between completeness and processing cost.
3. Programming ability: from “generate code” to “deliver maintainable changes”
1. A single-function test does not represent engineering skill
Real development usually includes several steps:
- Understand the requirement and the current implementation.
- Determine the change scope.
- Modify business logic.
- Add or adjust tests.
- Run verification and analyze failures.
- Check compatibility, security, and rollback risk.
Writing a function that looks correct is only a small part of that path. A more valuable test is to have the model complete a change under existing engineering constraints, then verify with an independent check.
For example, adding request retries is not only “call again after failure.” You still need a retry cap, no repeated non-idempotent work, no swallowed exceptions, and logs that help locate issues.
2. Pass rate still needs interpretation
Passing existing tests is not the same as a correct change. If tests miss edge cases, the model can still introduce defects. If it also edits tests, it may weaken assertions just to pass.
Keep acceptance somewhat separate from generation:
- Keep a set of acceptance cases the model cannot see.
- Check that new tests verify the real requirement.
- Record how many files changed and how large the diff is.
- Use human review for permission, data-consistency, and concurrency changes.
- Explicitly forbid “fixing” failures by deleting checks or relaxing constraints.
Evaluation should ask not only whether the code runs, but whether it solves the problem in a reasonable way.
3. Cost comparison needs the same acceptance standard
A cheap single call does not mean a cheap completed task. Total cost can come from input, output, tool execution, retries, and human rework.
A general accounting frame:
Total task cost = input processing + output generation + tool execution + retries + human review and repair.
Then:
Cost per accepted delivery = total spend in the evaluation window ÷ number of tasks that pass acceptance.
When comparing options, fix the task, permissions, resources, and acceptance criteria. Report first-try success, success within a retry limit, time to completion, and how much humans intervened. Otherwise a cheaper result may only mean a smaller task, or that repair was shifted to developers.
4. Factual reliability: a low hallucination rate is not just one percentage
1. “Hallucination rate” depends on the task and the scoring method
Different evaluations may count factual errors, bad citations, unsupported claims, or inappropriate answers. Those metrics are not interchangeable.
Coverage also matters. A system that refuses often may have fewer errors but lower business usefulness. Reliability evaluation should at least watch:
- Share of correct answers.
- Share of unsupported claims.
- Appropriate refusal when information is insufficient.
- Answer coverage.
- Match between citations and conclusions.
2. In coding, watch for answers that sound plausible but do not exist
Common risks include invented APIs, misunderstood parameters, assumed config keys that are not there, or treating old-version behavior as current.
Reducing that risk means giving the model clear evidence: actual code, interface definitions, runtime logs, and test results. Answers should distinguish facts confirmed by the material, inferences from available information, and hypotheses that still need verification.
“I do not see related configuration, so I cannot confirm yet” is usually more valuable than confidently filling in a config name.
3. Prefer a verification loop over fluent confidence
For important conclusions, add external checks:
- Confirm an API exists via definition files.
- Confirm a change works via tests.
- Confirm performance via controlled experiments.
- Confirm configuration via runtime state.
- Confirm factual citations against source material.
The model can propose analysis and advice, but fluency and a confident tone are not evidence.
5. Multimodality: the point is whether cross-modal information is used correctly
1. Distinguish direct understanding from intermediate conversion
Audio may be processed directly or first converted to text. Images may go through visual understanding or first yield text or structured data. Routes have different fit.
If the task depends on spoken content, a transcript may be enough. If it depends on timbre, rhythm, background sound, or multiple sources, transcript-only usually loses important information.
So multimodal evaluation should not stop at whether a file type is accepted. Check whether the system can complete tasks that need information unique to that modality.
2. Audio tests should cover uncertainty and localization
Split audio tests into speech content, time localization, and non-speech sound. Asking for the time range of a sound is easier to verify than a vague category.
For rare sounds, allow multiple candidate explanations with rationale and limits. Guessing a sound once is not stable audio understanding.
3. Spatial reasoning first needs sufficient observation
Multiple photos do not always contain enough information. Occlusion, glare, missing viewpoints, and objects changing during capture can create ambiguity.
A reliable flow identifies visible state, checks consistency across images, then decides whether more photos are needed. Only when state is well determined should the system compute an action path and verify it with execution feedback.
The same principle applies to equipment inspection, assembly guidance, and environment understanding: when perception is uncertain, the system should gather information rather than emit action advice immediately.
6. Natural language: fluency is only the start; accuracy and executability are the goal
Interaction quality can be judged on three axes.
First, term consistency. The same concept should not change names across paragraphs, especially for APIs, permissions, and data state.
Second, information structure. For troubleshooting, an effective shape is often “initial conclusion—evidence—investigation steps—risk notes,” not long preamble or repeating the user’s question.
Third, communication cost. The model should match explanation depth to the reader, without dropping necessary conditions for brevity or replacing technical judgment with vague reassurance.
Style can be scored by humans. Factual errors, missing steps, and broken constraints should be logged separately. Mixing them makes “reads well” look like “does it right.”
7. Build a reproducible evaluation and rollout process
1. Build a test set from real tasks
Choose representative tasks covering code edits, document Q&A, log analysis, image understanding, and audio localization. Each task should include input materials, expected outcomes, allowed and forbidden operations, acceptance method, and a difficulty tag.
When production data is involved, desensitize first and define usage rights so evaluation does not become a new data risk.
2. Fix conditions and keep necessary records
Keep the same task description, material scope, tool permissions, resource budget, and retry cap. Record system version, test time, and actual configuration. Repeat stochastic tasks and report variance instead of only the best run.
In programming tests, keep action traces, diffs, test logs, and human review notes so failures can be attributed to understanding, execution, or verification.
3. Match human involvement to business risk
Document summaries, draft cleanup, and general code explanation can be piloted first. Permission changes, production configuration, important data operations, and high-risk judgments need stricter review and approval.
Systems that can execute tools should use least privilege, isolation, and audit. Being able to call tools does not mean full production access. Instructions in external documents should not automatically override the stated task and safety rules.
4. Monitor continuously; do not freeze a one-time result
Model updates, changing knowledge sources, and expanding business needs can invalidate old results. Run regression tests on a schedule and track success rate, refusal rate, error types, latency, cost, and human repair volume.
When quality drops, adjust task scope, add context, strengthen verification, or pause high-risk automation—not merely increase call volume.
8. Conclusion: real experience advantage is stably closing the business loop
Long context, low error rate, multimodal understanding, and natural language all have practical value, but they must become verifiable task outcomes.
For developers, the useful question is whether the model can understand an existing system, make necessary changes, pass independent verification, and state its limits. For organizations, data governance, permission boundaries, audit trails, and total spend also matter.
So the core evaluation question is not “which score is higher,” but: under fixed conditions, can the model complete the same real task more stably, economically, and safely? Only when capability demos become a reproducible business loop can you decide whether it is worth putting into use.
