How to Evaluate the Complex Interaction Generation Capabilities of Large Language Models
Traditional LLM benchmarks like poetry writing, casual chat, and a few logic puzzles no longer separate top models effectively, as scores converge and sampling noise exceeds real differences. This article presents a reproducible evaluation method based on heavy-duty tasks: generating a complete, runnable interactive page in one pass and then converting it to a 3D form after a follow-up prompt. It covers task design, process metrics, three-layer result validation, capability tiers, cost control, and a reusable scoring table, helping teams replace subjective impressions with comparable data.
Evaluating which large language model is “better” no longer works with poetry, casual conversation, or a handful of logic puzzles. On these tasks, mainstream models score almost identically, and sampling variance is often larger than the real gap between them. The tasks that truly separate models are the heavy ones: producing a complete, runnable interactive page in a single pass, then reworking it into a 3D form after a follow-up prompt. This article abstracts such tasks into a reproducible evaluation method with four layers: task design, process metrics, result validation, and cost control. It also includes a scoring table and sample code to turn subjective impressions into comparable data.
1. Why Traditional Benchmark Tasks No Longer Work
Model evaluation has long relied on three task types: writing poetry, casual chat, and a few reasoning puzzles. The problem is that after multiple rounds of iteration, mainstream models score very closely on these tasks, and sampling variance often exceeds the real differences between models. Using low-discrimination tasks for model selection naturally leads to unreliable conclusions.
A better approach is to choose tasks that are long-chain, strongly constrained, and automatically verifiable. Long-chain means the task requires multiple rounds of context continuity. Strongly constrained means the output must satisfy three constraints at once: syntax, structure, and runtime. Automatically verifiable means the result can be judged by a machine rather than by a reviewer’s subjective preference. Interactive web pages and 3D visualization satisfy all three conditions at the same time.
2. Task Design: Creating Real Pressure with Two-Round Follow-Ups
The recommended core task is “first generate a 2D interactive page, then follow up by asking for a 3D form.” The first round asks for a detailed, interactive visualization model. The second round adds only one sentence: “convert it to a 3D form.” This follow-up is critical because it tests three capabilities simultaneously: memory of the mechanical structure and hierarchy from the previous round, the ability to organize a 3D scene and geometry within the browser environment, and the ability to complete a large-scale code rewrite within a limited context budget.
For topic selection, mechanical transmission themes (for example, a reciprocating piston structure) are better than static display themes because they contain explicit kinematic relationships: how crankshaft rotation drives the connecting rod to swing, how the piston completes four strokes, and how the valve timing mechanism stays synchronized with rotational speed. Such relationships cannot be faked by piling up decorative geometry; the model must genuinely establish the coupling between parameters.
The same prompt should be sent concurrently under the same temperature, the same maximum output length, and the same time window to avoid sampling randomness contaminating the comparison.
3. Process Metrics: Latency and Token Consumption Must Be Viewed Together
Looking only at the final output ignores engineering cost. At least four process data points should be recorded: end-to-end latency for the first round and the follow-up round, cumulative output tokens, whether syntax and runtime validation passed on the first attempt, and the number of manual rework rounds.
The empirical pattern is that more complete solutions usually come with significantly higher latency and token consumption. A 3D scene with complete structure, annotations, and exploded-view animation may require tens of thousands of tokens and tens of minutes, while an implementation closer to an engineering sketch may take only a fraction of that time. This is not a defect but a trade-off that must match the scenario: when racing a deadline, prioritize a “runnable baseline”; for review or external demos, invest in a higher-cost solution for completeness.
A sample record structure can be organized as follows:
{"task": "mechanical-3d-interaction","rounds": [{"name": "2d", "latency_sec": 0, "output_tokens": 0, "pass": true},{"name": "3d", "latency_sec": 0, "output_tokens": 0, "pass": true}],"rework_rounds": 0}
4. Result Validation: Three Layers, Machine First
The first layer is syntax: use a parser to check the generated markup and scripts for structural errors. The second layer is runtime: open the page in a headless browser and capture console exceptions and unhandled rejections. The third layer is interaction: use scripts to simulate clicks, drags, and slider operations to confirm that state actually changes.
// Sample: verify in a headless environment whether interaction actually worksconst page = await browser.newPage();const errors = [];page.on('console', m => m.type() === 'error' && errors.push(m.text()));await page.goto(url, { waitUntil: 'load' });await page.click('#toggle-shell');await page.mouse.move(200, 200);await page.mouse.down();await page.mouse.move(320, 260, { steps: 10 });await page.mouse.up();const changed = await page.evaluate(() => window.__sceneState !== undefined);console.log({ errors, changed });
Only when all three layers are green can the result be considered truly “clickable and playable.”
5. Capability Tiers: From Surface Resemblance to Behavioral Fidelity
Comparisons typically fall into three clear tiers. The first tier is completeness-first: full part coverage with annotations, exploded views, and assembly hierarchy, but with the highest latency and token cost. The second tier is kinematics-first: it does not chase shell detail but gets the phase relationships and stroke color coding of the crankshaft, connecting rod, and piston right, supports stepping observation at fixed angles and toggling a semi-transparent shell, and even synthesizes sound that varies with rotational speed using the web audio API. This is the “behavioral fidelity” route. The third tier is efficiency-first: it presents an industrial block-style look with undistorted proportions and complete controls for part toggles, exploded views, transparency, and reset, deliverable in minutes and suitable for a baseline draft.
Selection advice by scenario: use efficiency-first for proof of concept and iterative exploration; use kinematics-first for teaching demos and product showcases; use completeness-first for immersive pages delivered externally, with ample time and token budget reserved.
6. Cost Control and Engineering Implementation
High token consumption means latency and cost rise together. Engineering should do three things: first, split large tasks into “skeleton first, details later,” letting the model produce a minimal runnable scene and then adding geometry and interaction round by round; second, package reusable 3D scenes as private team components to reduce repeated generation; third, incorporate validation scripts into continuous integration so that every model or prompt change runs a regression pass.
For online services, general cloud capabilities can carry the workload: object storage holds static artifacts, a container platform runs the headless browser validation cluster, logging and monitoring with alerting track failure rates and latency distribution, and a message queue smooths peaks and fills valleys for batch evaluation.
7. Reusable Scoring Table
| Dimension | Weight | Judgment Method |
|---|---|---|
| First-pass rate | 25% | Whether all three validation layers are green |
| Structural completeness | 20% | Whether key parts and hierarchy are complete |
| Kinematic correctness | 20% | Whether phase, proportion, and stepping are accurate |
| Interaction usability | 15% | Whether controls actually change state |
| Latency and tokens | 20% | Compared after normalization by task complexity |
The conclusion is not complicated: there is no single answer for which model is stronger, only an answer that matches the scenario. Design heavy tasks as automatically verifiable problems, constrain cost with process metrics, and make decisions with a tiered checklist. Model selection then shifts from a contest of impressions to a contest of data.
