VisionPsy2 490M vs 850M: On-Device AI, Private Assistants, OCR and Data Privacy
Compare VisionPsy2 490M and 850M for on-device AI assistants: OCR, GGUF deployment, local RAG, memory, data security and privacy.
Evidence 16 cited sources
On this page
XBSTACK independent technical research. Vendor evaluations, pinned configuration inspection, synthetic tokenizer and policy tests are distinct; no VisionPsy2 weights were executed.
On December 3, 2026, Tether AI Research (QVAC) introduced two sub-billion-parameter vision-language models, VisionPsy2-490M and VisionPsy2-850M. For local AI developers, the important question is not how many larger models they beat in a leaderboard. It is whether a small model can read a document, compare images and provide a defensible answer without breaking the memory budget, privacy boundary or existing retrieval architecture of an application.
Our initial decision is to evaluate 490M for tightly constrained, Latin-script-oriented tasks and prioritize 850M for multilingual document understanding. Neither replaces an embedding model such as EmbeddingGemma 2. Vendor results on recent phones do not establish compatibility with the iPhone 13.
1. Release context and the decision in brief
Explore the local AI and on-device models hub.
On-device AI is not a mandate to replace every cloud model with a phone-sized model. Its practical value is allowing a personal AI assistant to process information that a person would prefer not to upload. Finding a travel document offline, comparing revisions of a contract, or locating a warranty receipt in a photo library requires correct source attribution, bounded processing time, cancellation, and a clear account of whether any data left the device.
Separate four decisions. Language and document quality determine which model is a candidate; the task determines whether visual generation is necessary; the device determines a resource budget; data security policy determines whether content may leave the device. A single “automatically choose the best AI” switch should not collapse these decisions. Falling back between local models is not equivalent to sending private evidence to a cloud provider.
This article separates vendor evaluations, directly inspected configuration metadata, XBSTACK’s executed synthetic policy assertions, and future device tests. The model weights have not been executed. It is an independent engineering study, not an independent inference benchmark.
2. The role of lightweight VLMs in a private assistant
A vision-language model (VLM) generates text from images and a textual instruction. A private knowledge application, however, needs more than image question answering. It must preserve original files, make text searchable, retrieve relevant passages, and link every important claim back to its source.
Consider a user asking whether last month’s invoice includes a refund. OCR identifies text; retrieval locates the invoice; a VLM may help interpret the visual relationship between a row and its heading; deterministic arithmetic checks amounts. Skipping any of those steps can yield a fluent but unverifiable answer. The practical advantage of an offline VLM is that a developer can control model selection, image lifetime and inference resources without requiring every private image to be uploaded.
The availability of downloadable weights and multiple runtime examples is useful, but the most economical architecture does not call a VLM for every page. For a searchable text PDF, extracting its existing text may already solve the user’s problem.
From a local chatbot to a personal AI assistant
A chatbot typically handles a request. A private personal assistant must additionally maintain ownership, permissions, versioned documents, searchable evidence and persistent task state. Consider “How many days of notice does my lease require?” The application must select the correct lease revision, retrieve the relevant clause and present the original page. A visual model may help read a scanned page, but should not be asked to invent the rule. “Send that lease to someone” is a separate side-effecting action requiring a fresh authorization decision.
A useful architecture separates three planes. The data plane handles source files, extraction and indexes. The inference plane provides OCR, embeddings, reranking and text or visual generation. The control plane owns permission checks, network egress, resource scheduling and audit. Changing one inference model should not change the trust contract of the other two planes. Image understanding is not file-management authorization, and fluent generation is not permission to invoke a system tool.
For the user, offline availability means that required resources have already been installed and the declared tasks work without a connection. For the developer it is a measurable acceptance condition: test import, retrieval, generation, cancellation, restart and deletion in airplane mode, recording explicit errors when a capability is unavailable. A label saying “local AI” alone does not establish that property.
3. Architecture of 490M and 850M

Illustration: Configuration illustration: 16/24 language layers, 10/18 linear-attention layers and six full-attention layers each. Chinese OCR remains an evaluation target.
The technical report and official deployment repository describe two models derived from Qwen3.5. The table reproduces a small selection of published specifications; no weights were loaded to measure them independently.
| Specification | 490M | 850M |
|---|---|---|
| Approximate parameters | 490M | 850M |
| Language layers | 16 | 24 |
| Hidden size | 1024 | 1024 |
| Feed-forward intermediate size | 1828 | 3584 |
| Vocabulary | 144256 | 248320 |
| Published reference context | 131072 tokens | 131072 tokens |
| Vision encoder | 12 layers, hidden size 768 | Same specification |
The compact model reduces depth, feed-forward width and vocabulary, followed by recovery training. These operations have distinct engineering consequences. Removing layers changes representation transformations; reducing intermediate width changes feed-forward computation; changing the tokenizer directly affects the available linguistic representations.
The report explicitly describes removal of pure non-Latin tokens, including CJK, from the smaller model’s vocabulary. Retained byte fragments can still encode characters, so this does not prove that Chinese generation is impossible. Nor does it establish acceptable Chinese OCR. Longer token sequences and reconstruction errors are risks that need measurement. The 850M model retains the full vocabulary and is therefore the more reasonable starting point for multilingual evaluation, not a certified Chinese OCR solution.
Both encoders have the same reported architecture. That does not make their exported projectors interchangeable. Treat the language weights, matching projector, tokenizer, and runtime compatibility record as a single versioned deployment unit.
Hybrid attention, visual tokens and configuration limits
On December 4, XBSTACK inspected the actual 850M config.json at revision b7281d837ca9cc9e76c956cdb37ee050ad0fffe8. Of the 24 language layers, 18 are marked linear_attention and six full_attention, with one full-attention layer in each group of four. The vision configuration specifies depth=12, hidden_size=768, patch_size=16 and spatial_merge_size=2.
The follow-up also inspected 490M’s pinned configuration: ten linear-attention and six full-attention layers, not a simple truncation of the 850M four-layer pattern. Both declare tied embeddings and a 262144 position limit; see the executed comparison in Section 5.
These observations come from static configuration, not execution tracing. Linear-attention layers and full-attention layers maintain different state. A standard all-transformer KV-cache formula applied uniformly to every layer can misestimate the resource budget. The application needs to measure attention caches, recurrent state, the visual workspace, model pages and its own memory separately.
An image is not simply a JPEG byte string passed to a language model. Preprocessing selects a size and padding; a vision encoder forms feature sequences; a merger/projector maps these into the language representation; the chat template positions visual placeholders and instructions. A mismatched stage can make plain text appear to work while the image path fails.
For an idealized single-frame grid with patch size 16 and spatial merge 2, one can estimate merged spatial units as (H/32)×(W/32). At 512×512 the estimate is 256 units; at 2048×1024 it is 2048. This is an illustrative geometric calculation, not a measured visual-token count. Resizing, padding, temporal dimensions and special tokens change the actual processor output. The eightfold difference illustrates why a document’s image budget and language-context budget cannot be considered independently.
The inspected configuration declares max_position_embeddings=262144, whereas the reference deployment uses context 131072. A configuration position limit, a reference evaluation setting and the maximum context that fits in a phone process are three different quantities. Neither large setting is a safe default for a 4 GB device.
4. Distillation, structural pruning and capability recovery
The 850M model preserves the Qwen3.5-0.8B language architecture; 490M changes its structure before recovering task capabilities. The vendor’s technical report describes teacher-distribution distillation, specialist reinforcement learning and preference alignment. It names Qwen3.5-2B as a teacher and describes categories of training data. We have not audited the full training corpus or raw training runs.
Structural pruning differs from weight quantization. In a pre-normalized residual block, one can write h(i+1)=h(i)+Δ(i). Adjacent blocks may write and subsequently correct a feature. A small update norm alone does not establish that a block is dispensable. The report’s 2-Sign Test considers direction reversal and cancellation of accumulated features to select candidate layers. The depth is reduced progressively, rather than cutting eight layers in one step. This is a selection method calibrated on examples, not a guarantee of lossless behavior on every possible input.
For a simplified gated feed-forward layer with three matrices, ignoring biases and other components, the published dimensions imply 24×3×1024×3584 ≈264 million parameters for the larger configuration and 16×3×1024×1828 ≈90 million for the smaller configuration. This illustrative calculation accounts for the FFN only; attention, vision, embeddings and normalization need separate accounting.
Distillation exposes a smaller student to more information about the teacher’s output distribution than a single target string. Specialist learning can optimize distinct domains, while task-vector merging attempts to combine those improvements. Task updates can interfere, so retained performance needs task-level validation rather than an assumption that a distilled student inherits the teacher’s capabilities. Preference alignment can improve format adherence and conversational behavior, but is not an application authorization mechanism.
For a product team, the useful takeaway is to isolate the capabilities most likely to change after compression: language coverage, reading layout, output structure, and abstention. Keep a baseline and a held-out test set. If further fine-tuning is considered, check licenses, dataset provenance, regression evidence and version migration. A user’s private knowledge base is not a training dataset by default.
5. Tokenizer changes and multilingual OCR
The vocabulary changes from 248320 to 144256 entries at hidden size 1024. As an illustrative calculation, removing 104064 rows from one shared embedding table removes 106561536 table entries. This is a theoretical parameter difference under the tied-embedding assumption, not the measured number of bytes removed from any GGUF file. Quantization, padding and tokenizer metadata affect storage.
Retained byte fragments mean that encoding a Chinese string and correctly recognizing it in an image are separate problems. Chinese characters may require more tokens; the decoder must reconstruct the text from its reduced vocabulary. Evaluate simplified and traditional characters, Japanese and Chinese mixtures, currencies, full-width digits and uncommon names. Correct text does not necessarily imply correct document layout: a value associated with the wrong column is still a failure.
XBSTACK’s independent tokenizer comparison
On December 4, 2026 (Beijing time), XBSTACK retried both pinned config.json and tokenizer.json downloads, resolved the earlier TLS EOF, and installed Tokenizers 0.22.2 in an isolated temporary directory. We encoded and decoded identical public synthetic text without adding special tokens. No model weights were downloaded or executed. The local receipt preserves each input, complete token IDs, decoded output, revision and file SHA-256. Temporary dependencies were cleaned up.
| Configuration or file | 490M | 850M |
|---|---|---|
| Configured vocabulary size | 144256 | 248320 |
| Tokenizer model vocabulary entries | 144160 | 248044 |
| tokenizer.json bytes | 6228799 | 12807982 |
| tie_word_embeddings | true | true |
| Linear attention layers | 10 | 18 |
| Full attention layers | 6 | 6 |
| max_position_embeddings | 262144 | 262144 |
The configured vocabulary size and the tokenizer model’s vocabulary mapping describe different quantities; their difference does not demonstrate lost tokens.
| Synthetic input | 490M tokens | 850M tokens | Relative increase |
|---|---|---|---|
| Invoice total USD 123.45; refund USD 20.00. | 20 | 20 | 0% |
| Simplified Chinese receipt | 35 | 19 | 84.2% |
| Mixed Chinese/English order | 33 | 27 | 22.2% |
| Traditional Chinese receipt | 35 | 18 | 94.4% |
| Japanese receipt | 28 | 12 | 133.3% |
Exact original multilingual fixtures, in the order shown above (these are test inputs, not untranslated article prose):
发票合计人民币123.45元,退款20.00元。
订单 A-2026-1204,Total ¥123.45,税率 6%。
發票總額新臺幣123元,請核對原始憑證。
領収書の合計金額は123円です。
All ten round trips reproduced the original strings exactly. In these five small examples, the 490M tokenizer can encode and decode CJK text through retained byte fragments, while its increased token count consumes more of the text-context budget. The English sample did not grow. The observed percentages are not universal inflation factors for Chinese or Japanese, nor do they establish inference latency, peak memory, visual OCR quality or generated-language accuracy. Token IDs are remapped, so do not mix tokenizers and weights between variants. Record model and revision in the application’s index.
Pinned sources: 490M configuration, 850M configuration. This small independent study supports the multilingual selection decision, but model generation and image OCR still require real licensed fixtures and independent labels.
Evaluate literal OCR with character error rate, (substitutions + deletions + insertions) / reference characters. Evaluate visual QA with answer correctness and source localization, and invoice extraction with exact critical fields including currency and unit. A small edit distance should not excuse a changed currency. The 850M model is a more reasonable multilingual candidate, not a certified Chinese OCR engine.
6. Published benchmarks and their limits
The vendor’s repository describes a common VLMEvalKit evaluation, with non-thinking generation and a language-model judge on document/OCR tasks. The scores below are not character recognition percentages or production task success rates.
| Published benchmark | 490M | 850M | Difference in points |
|---|---|---|---|
| Overall, 26 benchmarks | 60.98 | 69.30 | 8.32 |
| Document & OCR | 68.1 | 77.8 | 9.7 |
| DocVQA | 92.26 | 95.55 | 3.29 |
| OCRBench | 80.00 | 87.50 | 7.50 |
| OmniDocBench | 51.40 | 70.80 | 19.40 |
| CC-OCR | 48.72 | 76.67 | 27.95 |
| MUIRBench | 55.81 | 68.42 | 12.61 |
Source: official benchmark table. XBSTACK calculated the differences from the published scores; it did not reproduce the evaluation.
The 8.32-point aggregate difference hides considerably larger gaps on document tasks. An application that processes multilingual invoices, dense tables and linked pages should weight its own workload rather than use the overall average as a procurement rule. An omitted color in an image caption can be tolerable; a wrong currency, sign or unit in a financial statement can invalidate an entire extracted record.
Design acceptance around exact critical fields, correct source attribution and calibrated abstention. A model can emit syntactically valid JSON while inventing the amount inside it. Tests should include contradictory images, blank or obscured fields, and distracting instructions embedded in documents. A correct response can be a refusal to infer missing evidence.
Benchmark scores are not business correctness probabilities
The evaluation footnotes identify different metrics and normalizations. OCRBench uses a rescaled raw score; OmniDocBench reports a metric derived from English edit distance; CC-OCR aggregates 39 subsets. An LLM judge can recognize semantic equivalence, but cannot be assumed to reject every wrong digit or unit. The English OCRBench v2 result is not a substitute for a Chinese document evaluation. Calling a composite score “69.3 percent accurate” would be misleading.
For structured documents, define an independently labeled answer before testing. Validate value, unit, page, region and source revision. For an unanswerable image, abstention can be correct; on a readable image it can be a failure. Measure false assertions and correct abstention separately. A model’s self-reported confidence is not a calibrated probability unless it has been validated on a suitable independent calibration set.
Do not mix the reference BF16 scores with those of a different mobile quantization. Record the loaded model and projector, runtime, input size and decoding parameters. A candidate selection based on vendor results can justify testing, not production qualification.
7. Selecting among lightweight vision models
The vendor’s common evaluation provides useful comparison points:
| Model | Approximate size | Overall score | Document & OCR score |
|---|---|---|---|
| VisionPsy2-490M | 0.49B | 60.98 | 68.1 |
| VisionPsy2-850M | 0.85B | 69.30 | 77.8 |
| Qwen3.5-0.8B | 0.87B | 59.70 | 70.1 |
| VisionPsy-Nano-460M v1 | 0.46B | 51.81 | 58.6 |
| LFM2.5-VL-450M | 0.45B | 51.16 | 57.7 |
| InternVL3.5-1B | 1.06B | 58.90 | 68.3 |
Source: common vendor evaluation. The 490M model exceeds its base model by 1.28 points overall but trails it by 2.0 points on document/OCR. This does not establish a universal ranking, and the other models’ licenses and device integrations have not been independently qualified here.
A private assistant has distinct requirements for basic language generation, visual generation, vector retrieval and system OCR. A single larger multimodal model may reduce switches while increasing active memory. A collection of small models can be loaded selectively, but adds scheduling, index compatibility and recovery complexity. Compare download size, active memory, cold start, repeated usage, errors and maintenance cost rather than parameter count alone.
Build a decision matrix with hard gates for target-language quality, runtime compatibility, device budget, licenses and evidence verification. An untested gate should remain unknown. An installed text model does not demonstrate support for a new projector, and a desktop GPU result does not qualify an iOS backend.
8. GGUF quantization, downloads and matched artifacts

Illustration: Proposed deployment contract: versioned pairing, signed manifest, hash and compatibility validation, atomic activation and rollback; not a verified production implementation.
Official downloads: 490M GGUF, 850M GGUF, 490M reference weights, 850M reference weights.
Both official GGUF model cards have now been checked. Their approximate published package sizes include the respective Q8_0 vision projector; these are not locally measured download bytes.
| Quantization | 490M total | 850M total |
|---|---|---|
| Q4_K_M-imat | 358 MB | 578 MB |
| Q4_0 | 382 MB | 615 MB |
| Q5_K_M-imat | 421 MB | 692 MB |
| Q8_0 | 543 MB | 926 MB |
| BF16 | 916 MB | 1631 MB |
The recommended Q4_K_M-imat language weights are approximately 244/464 MB, with a respective projector of about 114 MB. Equal reported size does not establish identical or interchangeable projector files. The vendor’s quantization evaluation reports Q4_K_M-imat differences of -0.41/-0.36 points relative to each BF16 GGUF baseline; 850M Q4_0 is -1.50 points. Record the pinned revision, exact file bytes, SHA-256 digests, licenses and runtime commit before adoption.
The repository documents Transformers, vLLM, llama.cpp and QVAC SDK routes. For mobile, first establish whether the current native runtime understands the exported architecture and projector; do not replace every platform’s inference stack solely because a new model exists. The following is a reproduction entry point from the official llama.cpp guide. We have not executed these commands.
git clone https://github.com/tether-ai-research/qvac-visionpsy2.git
cd qvac-visionpsy2/llama-cpp-inference
# Inspect the scripts and pinned runtime before executing in isolation.
./scripts/build.sh
./scripts/download.sh
./scripts/infer.sh
The default selects 850M; MODEL=490M selects the smaller model. The deployment examples use a q4_k_m-imat language file and matching Q8_0 projector. This is not identical to the Q4_0 mobile benchmark. Hold quantization, context, image, threads and backend constant when comparing variants.
Preserve the non-thinking template and image-before-text message layout. The repository notes that enabling thinking in llama-server can put the answer in reasoning_content instead of content. Investigate template settings before assuming an empty output means corrupt weights.
Fail closed on incompatible model/projector pairs. Preserve source files on decode errors, support cancellation on timeout, and prevent unverified extracted fields from becoming trusted index entries. A fallback to ordinary OCR or text retrieval should be explicit rather than reported as successful vision inference.
Version pinning and safe model updates
A downloader should read a trusted manifest defining model ID, matched language weights and projector, exact bytes, SHA-256, minimum runtime and distribution status. Stage the download, preserve resumable state, reject mismatches and atomically promote a validated version. Keep a reference to the last usable model for rollback. Never remove the previous model first and hope the replacement installs.
The GGUF extension alone does not guarantee architectural compatibility. Quantizations need separate installation records; reuse a projector only when its pairing is established for the model revision. A hash checks byte identity, not the authenticity of the manifest that supplied the hash. A production system should use a signed manifest, trusted origin, rollback policy and credential-safe logging. Do not eagerly download every candidate on startup.
The official llama.cpp guide pins b11938 and uses libmtmd for the qwen35 language architecture and qwen3vl_merger projector. A CPU-only reproduction entry point is:
BACKEND=cpu ./scripts/build.sh
MODEL=850M QUANT=q4_k_m-imat ./scripts/download.sh
BACKEND=cpu MODEL=850M CTX=4096 MAX_TOKENS=256 IMAGE_MIN_TOKENS=64 IMAGE_MAX_TOKENS=1024 IMAGE=fixture.jpg PROMPT="Read the total and currency." ./scripts/infer.sh
The small context and visual budget are proposed older-device experiment settings, not vendor benchmark settings. This command requires a local fixture and successful CPU build. We have not executed it. Inspect the reference script, dependencies and default CUDA assumptions before selecting a backend for your hardware.
9. Mobile memory, latency and resource budgets

Illustration: Proposed resource scheduling for constrained devices, not a measured memory allocation or an actual runtime implementation.
The official mobile table contains measurements from contemporary flagship hardware. Its iPhone 17 column reports time to first token (TTFT), not iPhone 13 performance. The following peak RSS figures must not be represented as measurements from a 4 GB iPhone.
| Published measurement | 490M | 850M |
|---|---|---|
| iPhone 17 TTFT | 0.17 s | 0.22 s |
| Galaxy S26+ TTFT | 1.86 s | 2.08 s |
| Peak RSS at 512×512 | 776 MiB | 1209 MiB |
| Peak RSS at 2048×1024 | 998 MiB | 1429 MiB |
| Galaxy decode throughput | 120.5 token/s | 74.9 token/s |
Using the vendor’s calculation for a 128-token answer, TTFT + 128 / decode rate, the Galaxy results imply approximately 2.92 seconds for 490M and 3.79 seconds for 850M. These are calculations using vendor data, not measured end-to-end application latency. The Galaxy single-image comparison uses Q4_0 GGUF. See the mobile evaluation and its footnotes.
The published RSS changes for the larger input are 222 MiB and 220 MiB respectively. Do not extrapolate these two observations into a universal linear memory formula: visual-token budgeting, preprocessing and allocator behavior affect the shape of the curve.
A complete product must account for several distinct resource classes:
Storage: language weights + matching projector + indexes
+ temporary download/install space
Runtime: resident weight pages + cache/recurrent state
+ vision workspace + image decoding/rendering
+ OCR/index/database/UI + system memory pressure
This is a conceptual inventory, not permission to sum overlapping RSS measurements. Memory-mapped weights, shared pages, allocator caches and unified memory complicate accounting. An iOS process can be terminated below the device’s nominal RAM capacity.
The 131072-token model limit should not be the default on an older phone. Begin experimental runs with 2048 or 4096 tokens, bounded output and one image at a time. For a dense scanned document, try using OCR to identify a relevant region before a second visual pass. Expand the budget only when recorded task failures justify it.
Prefill, decode and cancellable memory use
A visual question passes through image decoding, preprocessing and visual encoding before a multimodal prefill and token-by-token decode. TTFT definitions may or may not include model initialization, file open or UI transport. Record model load, image decode, vision encoding, prefill, first token, subsequent decode and total completion separately. Decode tokens per second alone conceals input processing costs.
A 4096-token context cannot all be allocated to conversation history. Reserve space for instructions, the user request, visual tokens, retrieved evidence and output. Reduce low-priority evidence or read a targeted region when the budget is exceeded. Never imply that a model read a page that was truncated. For longer conversations, store traceable summaries and preserve access to original citations.
One possible lifecycle is idle→loading→ready→running→cancelling→unloading. Failed operations should have an explicit retryable or unavailable state. On a constrained phone, serialize heavy model work; pause or unload the embedding model as appropriate, rather than assuming the generator and VLM can remain active simultaneously. On memory pressure, stop admitting new work, cancel noncritical tasks, release temporary buffers and respect active database transactions. RSS, physical footprint, GPU allocations and system pressure are different observations.
Do not assume inference may continue indefinitely after the user locks a phone. Save the stage, input version and retry state in a durable task queue; on restart, reconcile changes before resuming. In a privacy-sensitive product, use task IDs, dimensions, timing, backend and error category in diagnostic events instead of full image bytes, prompts or generated text.
10. Native iOS and Android deployment
iOS
Separate system OCR (for example Apple’s Vision framework), parsing, FTS and vector indexes from the native multimodal runtime. A Swift/Objective-C wrapper around the C/C++ interface should own the language model, context and projector. Avoid retaining raw pointers in UI objects or sending concurrent calls into an instance that is not thread-safe. Serialize inference in a dedicated actor or queue, dispatch only presentation updates to the UI, and await cancellation before releasing native contexts and image workspaces.
Metal, CPU fallback, simulator builds and arm64 device builds are distinct targets. Compile and link checks precede device tests that exercise actual image encoding and generation. Apple’s Neural Engine or system AI APIs do not automatically accelerate arbitrary GGUF weights. System AI availability is not proof that the app’s own inference path is working.
For 4 GB phones begin with one image, bounded context and bounded output, and test cold initialization plus repeated requests. Thirty repeated operations is an illustrative proposed stability run, not a completed measurement. If the system kills the process, produces repeated memory warnings, throttles heavily or cannot cancel predictably, mark that configuration unqualified. Do not bypass the failure by silently sending the user’s documents to a cloud service. Ordinary OCR and text search can still serve already imported material.
Android
Build the supported llama.cpp/libmtmd architecture with the NDK and expose a lifecycle-controlled JNI/Kotlin service. Native buffers need their own ownership rules; Java/Kotlin garbage collection does not establish that native allocations were freed. Read Storage Access Framework URIs through granted access rather than assuming every content:// URI maps to a persistent filesystem path. Apply image decoding limits and retain provenance for the original source.
CPU, Vulkan and other acceleration paths depend on the exact device, build and driver. An ARM64 CPU alone does not establish support for all GPU operators. When a backend fails, report the actual tested fallback, if one exists. Coordinate long-running inference with OS background constraints, process death and battery policy. No single memory threshold proves compatibility across devices.
The model distribution service should distinguish candidates, signed artifacts, qualified devices and approved release configurations. Device capabilities can select a download URL without collecting private documents. The client still verifies the artifact manifest. A missing or failed local model should produce a local-unavailable state. An optional bring-your-own-key (BYOK) cloud route requires separate consent to the destination and selected evidence. These are proposed integration boundaries, not claims that OwnRAG already runs VisionPsy2.
11. macOS, Windows, Linux and reference serving
Desktop memory can be larger, but unified memory, VRAM and competing applications still matter. On macOS validate CPU and then the actual arm64/Metal backend. Windows requires a matching architecture, compiler and supported backend; Linux can select CPU or CUDA according to the machine. The reference CUDA/CPU scripts do not establish that every OS and driver is already qualified.
The official Transformers path specifies Python 3.10 or newer, Transformers 5.9 or newer, PyTorch 2.4 or newer and vision dependencies. It provides a reference for the tokenizer, processor and full-precision model; GGUF addresses a different deployment trade-off. Use an isolated environment, inspect dependencies and pin revisions. Avoid enabling unreviewed remote model code. If a dtype or operator is unavailable, record the real failure rather than silently substituting another model.
For server-style evaluation, the project documents vLLM and llama-server. A loopback API makes repeated tests convenient but remains an interface reachable by eligible local processes. Bind locally by default, avoid unauthenticated network exposure, and disallow automatic fetching of arbitrary image URLs in a private application. Cross-device serving requires separate authentication, TLS, access control, network policy and log review. An in-process runtime may avoid unnecessary HTTP exposure for a single-device assistant.
The official QVAC SDK example specifies @qvac/sdk 0.24.0 and a matching Bare runtime for the operating system and architecture. Its defaults for context and image limits differ from the benchmark recipe. Pin actual settings rather than assuming the SDK installation reproduces the official measurements. Review sampling, image budget and template behavior.
Diagnose by failure class: unknown architecture suggests runtime incompatibility; a projector load error requires pair and metadata validation; empty content warrants template and reasoning_content inspection; memory errors require context, image and concurrency review; corrupted text may involve the tokenizer, UTF-8 handling or language coverage. No commands here have been independently executed on Windows, Linux or a phone.
12. Private knowledge bases and multimodal RAG

Illustration: Proposed local knowledge-base architecture. FTS and embeddings retrieve separately; RRF fuses rankings, with optional independent reranking and visual review as needed. This is not a completed OwnRAG integration.
VisionPsy2 is a generative image-to-text model. EmbeddingGemma 2 represents queries and documents as vectors for similarity search. The two model classes solve different problems.
| Task | OCR / parsing | Embedding | VLM | Evidence validation |
|---|---|---|---|---|
| Exact text search | Source text | Semantic retrieval | Optional | Page and passage |
| Find a photo by description | Text in photo | Retrieve candidates | Re-read selected photo | Original source |
| Explain a chart | Labels and values | Find relevant page | Visual Q&A | Units and values |
| Bulk ingestion | Retryable extraction | Build index | Only when needed | Version and origin |
| Audio retrieval | Transcription or audio pipeline | Supported audio embedding | Not an audio model | Timestamp |
XBSTACK’s EmbeddingGemma 2 local retrieval study covers a particular Mac, dataset and retrieval configuration. The Granite visual retrieval research and Clipstral media retrieval analysis focus on retrieving candidates. This article addresses a separate question: interpreting the selected visual evidence.
OwnRAG’s 740M embedding and Gemma 3 1B generator pilot is a separate development activity. It does not establish device qualification for VisionPsy2 and is not authorization to replace the existing generator or vector index.
A proposed architecture retrieves a small candidate set with text and vector indexes, then applies a VLM to selected pages or crops. Every important output carries the source ID, page and region or time locator. Use an independent validation layer for citations and structured fields. Retain ordinary OCR and parsing for workloads that do not benefit from generative vision.
Multimodal indexing and defensible citations
A private knowledge base needs explicit provenance. Identify the original file and its content revision. Parsers create page, passage, text-range and region metadata; vector indexes record the embedding model ID and version; generated visual descriptions record the vision model ID, source crop and prompt version. A model upgrade or source-file replacement must not turn an old vector or caption into current evidence. Apply authorization before retrieval and validate revision after retrieval.
Hybrid retrieval can gather candidates from FTS and semantic vectors, fuse rankings, rerank if necessary, then use visual inference on a small selected set. Reciprocal rank fusion uses list positions rather than mixing raw scores with incompatible units, but its parameters and candidate count need testing. Cross-language retrieval should not overwrite source text: translations and captions are derived artifacts. The final citation refers to the original document.
Region coordinates require special care. If a source crop starts at (x0,y0), has width wc and height hc, and is resized to W×H, an input coordinate (x,y) maps back via x_original=x0+x×wc/W and y_original=y0+y×hc/H for simple translation and scaling. Rotations, letterboxing and PDF coordinate transformations require the complete inverse transform. Do not treat a guessed bounding box as a verified citation. If accurate localization is unavailable, cite the page at the appropriate precision.
Store structured candidate fields separately from verified facts: answer, doc_id, revision, page, quote, currency, amount and review_status. Independent validation checks the original evidence. Missing values remain null or require review; a model should not fill them because a schema is mandatory. For optional cloud inference, select the minimum evidence needed and apply the user’s permission scope; consent to one excerpt is not consent to transmit an entire knowledge base.
13. Independent evidence, device tests and failure boundaries

Illustration: Completed: pinned configuration inspection, 10/10 synthetic tokenizer round trips and 18/18 synthetic policy assertions. Model inference, iPhone 13, real OCR and network isolation remain unverified.
The following is a proposed experiment, not completed testing. Preserve the existing app data and run a separate debug pilot on iPhone 13. Prioritize 850M, then evaluate 490M if the target languages and task constraints justify it.
| Workload | Test material | Metric |
|---|---|---|
| Chinese OCR | Clear/blurred receipts, tables, vertical layouts | CER, exact critical fields |
| English OCR | Equivalent English layouts | CER, field accuracy |
| Multi-image | Linked and conflicting pages | Correct associations and citations |
| Charts | Multiple axes, changing units, missing legends | Exact value and unit |
| Abstention | Blank/occluded/unreadable regions | False assertions, abstention |
| Repeated runs | Fixed cold/warm sessions and reloads | P50/P95, peak memory, warnings/crashes |
Use licensed or self-created fixtures rather than private receipts. Record the model revision, runtime commit, input hash, prompts, expected fields, complete outputs, error logs, device and OS. Separate cold from warm runs and record thermal state, low-power mode, background transitions and unloading behavior. Fix decoding parameters and report failures rather than selecting the fastest run.
Compare three pipelines: A, OCR plus text QA; B, direct VLM; C, retrieval/OCR candidate selection followed by VLM verification. C cannot correct evidence that retrieval omitted, so measure candidate recall, answer accuracy and citation accuracy separately.
Bound concurrency across embedding, reranking, text generation and vision. On memory pressure, stop new work, cancel or unload the candidate model, and preserve existing index transactions. Device-specific qualification requires actual inference and repeated stability tests, not just successful model installation or compilation.
XBSTACK’s executed synthetic security and evidence experiment
On December 4, 2026, XBSTACK ran a standard-library reference policy on macOS arm64 with Python 3.10.2. The source file is visionpsy2-private-assistant-contract.py, SHA-256 6678bf4a63836149de9c70163275a32487ccdd979729db650999b874dc2c4867. It uses a fictional receipt “CNY 123.45,” a fixed page and revision. It does not load VisionPsy2 weights, access the network or use private data. The actual run reported 18 tests, zero failures, zero errors and exit code 0.
| Exercised policy | Observed behavior |
|---|---|
| Correct amount and provenance | Accept matching candidate; reject wrong amount, currency, page, revision and fabricated quotation |
| Missing and invalid values | Missing value requires review; NaN rejected |
| Document scope | Unauthorized scope rejected; stale and deleted revisions excluded |
| Inference routing | Ready local path first; cloud fallback denied without consent, valid destination and selected evidence |
| Tool requests | Document instruction grants no permission; unapproved tool denied |
The following is the exercised synthetic routing function, not a production app implementation:
def route(*, local_ready, cloud_consent, allowed_dest, selected_evidence):
if local_ready:
return "LOCAL"
if cloud_consent and allowed_dest and selected_evidence:
return "CLOUD_SELECTED_EVIDENCE_ONLY"
return "LOCAL_UNAVAILABLE"
Passing this fixture establishes only the specified policy behavior on its inputs. It does not verify actual network isolation, OS permissions, model recognition, native application integration or physical erasure of data. The evidence validator compares against a known reference; production needs independent verification that the reference itself faithfully represents the source document. No public repository containing this fixture has been published for this article, so we do not invent a public reproduction URL.
For the later model experiment, pin licensed fixtures, image hashes, prompts, labeled expected outputs, quantization, runtime and hardware. Use exploratory cases to identify errors and an independent held-out set for acceptance. Do not repeatedly tune a prompt on the same sample and label its final performance independent testing. Record wrong characters, layout, cross-page associations, citations, formatting, cancellation, timeout and process termination. Loading a model is not a successful QA result; include unavailable and failed requests in reporting rather than computing latency only on successful examples.
14. Data security, privacy and licensing

Illustration: Proposed privacy boundary: local by default; separately authorized minimal BYOK evidence and tool actions. No claim of tested network isolation or prompt-injection resistance.
Local inference reduces the need to transmit private images, but it does not prove an application’s entire data flow is offline. Downloads, diagnostics, crash reports, image caches, consent and optional cloud generation require independent review. Text in a document or screenshot is input data, not authorization to change system privileges.
Set file, pixel, page, time and output limits. In high-stakes legal or medical documents, extraction can assist a human reviewer rather than replace one. Minimize sensitive logs and delete derived captions and indexes when the user deletes the source.
The release advertises Apache 2.0 while emphasizing research and educational exploration in its intended-use language. Before shipping commercially, review the exact weight license, base-model notices, dependencies and redistribution obligations. A license label alone is not a completed commercial compliance review.
Local data security, privacy boundaries and the document threat model
Local inference does not automatically secure the user’s information. Source files, temporary rendering artifacts, OCR text, embeddings, generated captions, conversation history, credentials, logs and backups have different lifetimes and protections. Inventory each class and specify storage location, permissions and retention. An embedding can retain semantic information and should be treated as sensitive derived data, not inherently anonymous. An app lock does not replace encrypted storage and key management. Verify behavior when the device or app is locked and after restoring data.
Image prompt injection is a threat to private assistants: an image can contain an instruction telling an assistant to upload files. To the model it is visible text; to the application it grants no new permission. A separate control plane should decide from current user intent, resource scope, allowed tool, destination and approval. A safety instruction in the prompt is not a sufficient authorization boundary. Read-only document questions should not automatically confer file modification, contact access, email sending or other external capabilities. Even structured tool requests generated by a model remain untrusted candidates.
Define a local mode and a separately authorized BYOK route. A missing model, poor recognition or a timeout must not cause silent cloud egress. If the user authorizes an external service, make the destination, selected evidence, reason and retention implications visible. Transmit the minimum necessary excerpt. A changed permission or revoked consent should invalidate not-yet-started network actions; do not promise to recall data already received by another service.
Model supply-chain security includes signed manifests, hashes, dependency provenance, version compatibility and licenses. Constrain download paths, image dimensions, decoder resource use and task budgets. Minimize diagnostic logs. Deleting a document must revoke access to obsolete indexes, captions, caches and pending work immediately, followed by the appropriate retention or backup policy. Removing an index row is not proof of physical secure erasure.
A separate privacy acceptance gate should include airplane-mode execution for declared tasks, traffic inspection for unauthorized egress, permission revocation, malicious synthetic image instructions that fail to authorize tools, deletion and restart without stale citations, and crash-log checks for sensitive content. These need testing on the real application and device. The 18 synthetic assertions verify only a small subset of these logical conditions.
15. Selection by device and workload
For tightly constrained English-oriented image Q&A, 490M is worth a controlled pilot. For Chinese, multilingual and dense-document workflows, 850M is the more defensible starting candidate. If the task is merely to find a document, retrieval should precede visual generation. For exact reading, region-level citation and batch table extraction, dedicated OCR and parsers remain relevant.
The value of these models is a new option for local visual generation, not a mandate to add another model to every device. A stable product assigns distinct responsibilities, retains replayable evidence, and has a memory exit strategy. The next decision must follow real older-phone tests, not a premature claim of production replacement.
Final decision matrix
| Requirement | Initial candidate | Release boundary |
|---|---|---|
| English-oriented visual QA under tight memory | 490M | Qualified language and image tasks |
| Chinese receipts, contracts and multi-page documents | 850M | CER, field and citation tests |
| File discovery and cross-language retrieval | FTS plus embeddings | Version, scope and recall |
| On-device personal assistant | Task-based OCR/retrieval/generation | Scheduling, cancellation, evidence |
| Sensitive documents | Local default; separately consented cloud route | Egress and deletion checks |
| External tool use | Independent authorization and approval | Document text never grants permission |
The decision is not to add as many models as possible. It is to choose the minimum capability needed for each user task. VisionPsy2-850M deserves an independent multilingual pilot, but until iPhone 13 inference, native runtime compatibility and Chinese document quality are qualified, do not replace OwnRAG’s production generator or embedding distribution. Keep versioned artifacts, preserve original documents on failure, and expand support only after reproducible acceptance results.
For a person, the value of a private AI assistant is being able to locate and interpret their own information offline, inspect its sources, know what data was shared, and control deletion. For a developer, the differentiator is not merely fast inference: it is maintaining control over facts, permissions and private data.
Primary sources
- QVAC release; Tether newsroom
- Technical report and mobile evaluation
- Official inference and evaluation repository
- llama.cpp deployment guide
- QVAC multimodal SDK documentation
Independent technical analysis, not a vendor certification or device compatibility guarantee.
Next step: continue the Agent system
Full decision path →Choose the next architecture, tool, memory, evaluation, security, or production decision instead of starting over.
DISCUSSION
Questions, verification and corrections
Sign in to comment. Every new comment is reviewed before publication; while pending, it is visible only to you and the administrator.