Multi-Model Collaboration in Practice: Speeding Up a Utility App and Validating Game Balance
This article reports on a hands-on experiment that pairs two different working styles of AI coding models on two real projects: a LiDAR-based indoor measurement app and a WeChat mini-game called Arrow Tower Defense. It explains why relying on a single model leaves blind spots, describes the shared constraints used to keep the comparison fair, and shows how a product-oriented model untangles workflow bottlenecks while an evidence-oriented model runs batch simulations and statistical checks. You will find reusable pipeline pseudocode, a balance-testing skeleton, a structured prompt template, common pitfalls, and a four-layer collaboration workflow built around role separation and cross-review.
1. Background: Why a Single Model Leaves Visible Blind Spots
In day-to-day development, handing a requirements document and the project code to an AI coding tool and expecting a directly implementable optimization plan is a common practice. The real experience, however, is inconsistent. Some tools handle requirement clarification and trade-off discussion smoothly but reach key conclusions without empirical support. Others skip the small talk, answer in a dense style, yet are willing to run large numbers of simulations in the background and base their conclusions on reproducible data.
This shows that today’s leading models have diverged into two distinct “working personalities.” One leans toward being a product partner, good at translating vague requirements into clear interaction and process decisions. The other leans toward being a lab engineer, good at designing experiments, running validation in batches, and using data to push back on intuition. Every single model has blind spots. The way to maximize engineering efficiency is not to crown an all-around champion, but to put them in the same project so they review each other’s work.
2. Test Design: Two Real Projects Under Unified Constraints
This exercise uses two in-house projects as carriers. The first is an indoor measurement tool already published in mobile app stores: a mobile device with LiDAR is carried around a room to scan it and generate 2D and 3D floor plans, supporting tap-to-select walls for measured dimensions, attaching on-site photos to wall surfaces, and exporting reports. The second is a WeChat mini-game, Arrow Tower Defense, currently in the review-submission stage, with the focus on numerical balance and rendering performance.
To make the comparison meaningful, three constraints were applied uniformly:
- Identical input: the same requirements description, the same code snapshot, and the same batch of on-device or engine logs.
- Unchanged underlying capabilities: core capabilities such as recognition and scanning are not swapped out; only the workflow and engineering implementation may be optimized.
- Verifiable conclusions: every optimization suggestion must come with a verification method, such as a runnable script, a measurable metric, or reproducible experiment steps.
3. Utility App Test: Workflow Speed Before Rewriting the Core
For the goal of compressing the full drawing-generation flow for a large apartment into two or three minutes, the more product-oriented model proposed the path that best fit engineering reality. Instead of acting on the surface-level guess of “swap in a heavier recognition model,” it first read the on-device diagnostic logs and pointed out that the post-processing mesh step itself usually takes only one or two seconds. The real bottleneck is the rhythm of the overall flow: the pauses and waiting during scanning, the interaction round trips when attaching photos, and the serial waiting in the export step.
The value of this kind of answer lies in its awareness of trade-offs. It proactively flags that a given change may touch the boundary of trial entitlements, factors in different room conditions and different expectations for exported drawings, and proposes a phased rollout order. The workflow orchestration idea can be abstracted as the following pseudocode:
pipeline = [scan_stream, on_fence_tap, photo_attach, mesh_postprocess, export]# Key: turn serial waits into a parallel pipeline while keeping progress feedback the user can perceiveparallelize(photo_attach, mesh_postprocess)prefetch(export, trigger=progress > 0.8)guard(quota_policy) # do not touch entitlement or billing boundaries
Given the same input, the more evidence-oriented model tends to first challenge the implicit assumptions in the requirement, for example whether “two or three minutes” includes the time the user spends walking around the room. It then proposes a quantifiable experiment design: staged instrumentation, repeated sampling, and control groups. Its expression is genuinely dense and needs follow-up questions before it becomes actionable, but the hidden defects it surfaces are the most valuable, such as wall topology errors under abnormal room conditions, resource contention during concurrent exports, and repeated computation caused by boundary conditions.
Conclusion: for requirement analysis and engineering delivery in utility products, the product-oriented model is more comfortable to work with; for poking holes in a plan and catching hidden defects, the evidence-oriented model is stronger.
4. Mini-Game Test: Balance and Rendering Performance Need Evidence
The numerical and performance problems of a mini-game cannot be solved by reading code and guessing. Whether tower damage, enemy wave growth, and resource output curves are unbalanced can only be determined by running large numbers of matches and collecting win-rate and duration distributions; rendering stutter requires frame-time distributions in a real engine environment, not static code review.
In this part, the advantage of the evidence-oriented model is amplified: it runs batch adversarial simulations in the background using the real game engine, accumulates several hundred match samples, outputs distribution data such as win rate, average duration, and the share of extreme branches, and uses that to pinpoint specific parameter ranges. The product-oriented model is better at translating this data into tiered difficulty design and player-experience pacing, avoiding a situation where “the numbers are reasonable but the experience is dull.”
A reusable verification skeleton looks like this:
def run_balance(params, games=800):stats = {"win": 0, "duration": [], "extreme": 0}for _ in range(games):r = simulate(params) # batch matches in headless mode on the real enginestats["win"] += r.winstats["duration"].append(r.duration)stats["extreme"] += r.is_outlierreturn summarize(stats) # output mean, quantiles, and confidence intervals
On the performance side, the recommendation is to fix three groups of metrics: the mean and high quantiles of frame time, the utilization of the main thread and the render thread, and the peak memory and VRAM usage. Any optimization must provide a same-condition before-and-after comparison; otherwise the conclusion cannot be trusted.
5. The Collaboration Method: Put Both Models in One Pipeline
What actually widens the efficiency gap is role separation and cross-review, not picking one of the two:
- Direction layer: the product-oriented model produces requirement clarification, interaction trade-offs, and the implementation order, and states explicitly what will not be done.
- Evidence layer: the evidence-oriented model designs the experiments, runs the batch simulations, and delivers conclusions with confidence intervals.
- Review layer: the two swap roles and critique each other. The product-oriented model checks whether the empirical conclusions actually answer the real business question; the evidence-oriented model checks whether the plan contains unverified assumptions.
- Archive layer: prompts, experiment scripts, metric definitions, and comparison results are stored together, forming reusable assets.
For prompts, enforcing structured output is recommended to cut the communication cost of “I can’t follow this”:
Answer in the following structure, with no background preamble:1) Conclusion (one sentence)2) Evidence (log fields or experiment data cited)3) Verification method (executable script or metric definition)4) Risks and boundaries (entitlements, compatibility, performance regression)
6. Common Pitfalls and Engineering Advice
- Judging by a single response: model output has high variance, so fix the input and compare multiple samples.
- Missing control experiments: performance and balance conclusions must use the same conditions, the same version, and the same device.
- Inconsistent metric definitions: define the metrics before optimizing, so you avoid “we optimized something but cannot explain the gain.”
- Out-of-bounds changes: logic involving billing, entitlements, privacy, and permissions must be confirmed by a human.
- Ignoring maintainability: a scripted, replayable verification pipeline has more long-term value than a one-off conclusion.
7. Closing Thoughts
Tool-type tasks are about translation and trade-offs; simulation-type tasks are about experiments and evidence. Putting the model that is good at expression and gatekeeping at the requirements and interaction layer, putting the model that is good at empirical work at the balance and performance layer, and then using cross-review to close each one’s blind spots is the more reliable and more reproducible collaboration paradigm in current engineering practice. If you need elastic compute to carry batch simulations and continuous integration, you can build the verification pipeline with a container platform combined with general cloud product categories such as object storage, logging services, and monitoring and alerting — for example, the general capabilities offered by Baidu AI Cloud can support this kind of “multi-role mutual review” development process.
