Multimodal Vision Recognition Routes: Visual Primitives vs. Thinking with Images and Integration Pitfalls
This article analyzes a specific version of an experimental multimodal model based on public configuration and test records. It compares two visual recognition and reasoning routes—visual primitives and Thinking with images—and concludes that the examined version is closer to the latter at the macro reasoning-routing level. It also explains why spatial grounding markers in tokenizer.json do not prove actual use, and provides a practical checklist for avoiding agent-integration issues caused by mismatches between configuration documentation and real operation. Model names and release dates are not disclosed; readers should refer to official documentation and version notes.
This article is based on publicly available configuration and hands-on test records for an experimental multimodal model. It analyzes a specific version and does not represent official conclusions. The model name and release date are not disclosed; refer to official documentation and version notes for such information.
Key Takeaways
- At the macro level of reasoning routing, this model is closer to “Thinking with images.” Visual primitives did not become the primary reasoning method. This judgment applies only to the version examined here.
- The tokenizer contains spatial grounding markers, but the presence of these markers in the vocabulary does not mean they are actually used during training or inference.
- The main risk in agent integration is inconsistency between configuration documentation and actual operation. Verify each item in the checklist below.
1. From the Perception Gap to the Referential Gap
The main problem with early multimodal models was that they “could not see clearly”—the perception gap. Higher-resolution visual encoders and finer feature-alignment strategies have made basic feature extraction more stable.
As perception problems are gradually resolved, another issue emerges: during reasoning, models still tend to refer to image elements in natural language. This is sufficient for recognizing a cat or a car. However, in tasks such as dense counting and maze path planning, descriptions such as “the third person on the left” or “the car near the corner” are ambiguous, and the reasoning chain can easily break. This is the referential gap.
In an informal comparison, the same counting questions produced inconsistent results in an offline environment and on a web interface. The specific numbers in the original records cannot be verified, so they are not cited here. To verify such differences, record the full test process as shown below:
| Item | What to record |
|---|---|
| Test set | Image source, count, and annotation method for ground truth |
| Runtime environment | Model version, interface type (offline or web), test date |
| Prompt | Full text, including the system prompt |
| Inference parameters | Temperature, maximum output length, random seed (if supported) |
| Result statistics | Repetitions per question, accuracy, representative error samples |
Only complete records make differences across environments comparable.
2. Comparing the Two Routes
The “visual primitives” approach introduces markers in continuous visual space that point precisely to objects, allowing the model to use these markers instead of natural-language references. This reduces ambiguity, but the model must learn to generate and understand these markers reliably during training, which places high demands on data and training cost.
“Thinking with images” lets the model repeatedly revisit image regions during reasoning and organize its thoughts in natural language. It reuses existing visual features and language capabilities and requires fewer engineering changes. However, in tasks that require precise localization, the ambiguity of natural language remains.
| Dimension | Visual primitives | Thinking with images |
|---|---|---|
| Core mechanism | Dedicated spatial markers directly refer to objects | Natural language plus revisiting image regions |
| Advantages | Unambiguous references; suitable for localization and counting | Lower training and engineering cost; strong generality |
| Limitations | Requires dedicated training; high generalization and maintenance cost | Precise localization is susceptible to language ambiguity |
| Applicable tasks | Dense counting, precise box selection, path planning | General image QA, open-ended reasoning |
| Engineering cost | High; requires supporting data and decoding logic | Medium to low; reuses common multimodal interfaces |
| Evidence sources | Papers, model configuration, test results | Public descriptions, interface behavior, test results |
For the model examined here, the primary reasoning path is closer to the latter. The judgment is based on public open-source results and actual performance in agent scenarios.
3. Spatial Markers in the Tokenizer
Beyond reading papers, inspecting the tokenizer configuration can help determine a model’s visual route. The tokenizer connects natural language with the model’s internal representation, and its special tokens can reflect part of the design intent.
In the examined version, tokenizer.json contains the following spatial grounding markers:
<|polygon|>and<|/polygon|>: start and end of a polygon, respectively<|point|>and<|/point|>: start and end of a point, respectively<|box|>and<|/box|>: start and end of a box, respectively
These markers indicate that the designers at least considered using structured markers to describe spatial locations. However, they only prove that the vocabulary contains these markers; they cannot prove the following three points:
- Whether they appeared extensively in training data;
- Whether the model actively generates them during inference;
- Whether the chat template includes them in the normal output format.
Therefore, this article can only say that these markers “may be retained.” It cannot say that the model has already built an independent visual coordinate system. To confirm this, check as follows:
- Query the IDs of these markers in the vocabulary and confirm that they are neither missing nor duplicated.
- Inspect the chat template and inference code to confirm whether there is logic for parsing these markers.
- Test with prompts that contain explicit localization requirements, and record whether these markers appear in the output.
- Compare tokenizer files across multiple versions and observe whether the markers change with the version.
4. Checklist for Agent Integration
During integration, the most common problem developers encounter is that the configuration method differs from the documentation. A change that was expected to require only an environment variable may actually require editing a lower-level JSON configuration file. Some documentation does not explain this, or the explanation is outdated.
The following is a general verification process. Specific commands and paths should follow the official documentation.
| Step | Check item | Key actions | Verification |
|---|---|---|---|
| 1 | Record baseline versions | Note the version numbers of the agent tool and package manager | Output version information and save it |
| 2 | Back up configuration | Copy the current configuration file to a separate directory before changes | Confirm that the backup file can be read normally |
| 3 | Upgrade tools | Use the package manager to upgrade the global agent tool | Check the version number again and confirm that it has changed |
| 4 | Confirm configuration path | Locate the configuration file that is actually loaded and record discrepancies with the documentation | The path shown in startup logs matches expectations |
| 5 | Manage secrets | Store keys in environment variables or a secret management service | No plaintext keys exist in the code repository |
| 6 | Least privilege | Grant only the interfaces and storage permissions required for model calls | Test calls with a restricted account |
| 7 | Fixed-sample validation | Call the model with a fixed set of inputs | — |
