Sharing Symbols Instead of Vectors: Passing Facts Between Heterogeneous Models Through Words

    Multi-model AI systems need a way to pass information between components that differ in architecture. This article compares three approaches: natural-language messages, mapping modules trained for each model pair, and architecture-matched hidden-state exchange. It then describes a word-based method in which models share a versioned vocabulary of concept terms, build local lookup tables from their own hidden states, and exchange only term identifiers. The receiving model resolves each term locally. The article covers construction steps, tokenizer alignment, ambiguity, out-of-vocabulary handling, auditing, and fallback rules.

    1. Starting from a cross-language collaboration problem

    Imagine two collaborators. One speaks only Chinese, and the other speaks only English. They need to complete a technical proposal together. The most common solution is to hire an interpreter. The interpreter must know the grammar and word usage of both languages. If the work later involves a third language, the team must find another person who knows that language, or retrain the interpreter.

    Multi-model collaboration systems face the same kind of problem. A system may combine a retrieval model, a reasoning model, and a code generation model. Each model has a different role, and they need to exchange information. This article asks a specific question: in what form should models pass information so that the exchange is efficient and does not depend on extra manual work or extra training? The core claim of this article is “sharing symbols instead of vectors.” Models exchange only word symbols, and the receiver rebuilds the meaning locally.

    2. Two forms of multi-model communication

    2.1 Natural-language communication

    Models send messages to each other as text. The receiver reads the text and continues processing. This approach is intuitive, readable, and easy to audit. It also works with any model that accepts text input. Its drawbacks are equally clear:

    • Text length directly determines transmission cost. Complex concepts often need many words to explain.
    • Each step requires decoding and re-encoding. Information can be lost or distorted during conversion.
    • Multi-turn exchanges accumulate context, which increases inference latency.

    2.2 Hidden-state communication

    When a language model processes input, each layer produces a set of numerical vectors, called hidden states or activations. These vectors form the model’s internal representation of the current content, and their information density is far higher than that of text. If models could exchange hidden states directly, they could skip text decoding and transfer more detail.

    The problem is that hidden states from different models cannot be used directly. There are two main reasons:

    • Different dimensions: the hidden-layer width may differ between models, so vector lengths cannot be aligned.
    • Different coordinate systems: even when dimensions match, the two models were trained differently. The same concept has different directions and positions in each model’s space.

    If one model’s vectors are passed unchanged to another model, the receiver will most likely get numbers it cannot use.

    3. Two existing approaches and their costs

    Current mainstream approaches to this problem fall into two categories.

    3.1 Mapping-module approaches

    These approaches train an extra conversion module. The module learns to map the sender’s internal states into a form the receiver can understand. The advantage is that the mapping quality can be optimized through training, which suits model combinations that are already fixed. The costs include:

    • Paired training data must be collected, and training compute must be spent.
    • A mapping module is usually trained for a specific pair of models. Changing a model means retraining.
    • For concepts not covered by the training data, mapping quality is hard to guarantee.

    3.2 Structure-similarity approaches

    These approaches require the communicating models to be structurally similar, for example in layer count, hidden dimension, or attention design. The internal states can then connect directly, or connect after a simple transformation. This avoids extra training but limits the range of models that can be combined. As model choices become more varied, this constraint noticeably reduces system flexibility.

    Both approaches involve trade-offs. The first trades training cost for generality. The second trades structural constraints for simpler implementation. Finding a communication method that requires neither a trained mapper nor structurally similar models is a worthwhile direction to explore.

    4. A third path: communicating through words

    4.1 Core idea and construction steps

    The core idea can be summarized in one sentence: pass words, not vectors.

    Step 1: Define a shared vocabulary. All parties agree on one vocabulary. Each entry is a normalized term. Entries should be concept-level, such as “cache,” “deadlock,” or “idempotent,” rather than arbitrarily spelled strings. The vocabulary depends on the task domain and usually contains several hundred to several thousand entries. Experts or domain owners maintain it manually, and each version carries a version number.

    Step 2: Each model builds a local lookup table. For each vocabulary entry, a model receives the entry inserted into a fixed template, such as “The meaning of this word is: {term}.” After processing, the system takes the hidden states from a specified layer and averages the results across several templates. This produces the model’s internal vector for that entry. This step only runs forward inference and does not update model parameters, so it does not count as training a mapper. The lookup table is stored locally, along with the model version, layer number, and templates used to generate it.

    Step 3: Send word symbols. The sender does not send its own hidden states. It sends the identifier or text of the term that matches the concept it wants to express.

    Step 4: The receiver looks up the term and injects the vector. The receiver finds the vector in its local lookup table and injects it into its own inference process. The injection location, layer number, and scaling coefficient must be determined on a validation set. This is hyperparameter selection, which differs from training a mapper.

    In this way, models share discrete symbols that every party can interpret consistently. Vectors keep a clear meaning only inside each model. The sender and receiver do not need to share a numerical space.

    4.2 Why use words

    Words are a reasonable medium for two reasons, and both have limits.

    First, language models often form relatively stable representations of specific words internally. In published analyses of models, some researchers have observed that certain word-level representations point in similar directions across different contexts and can support multiple tasks. These observations vary with the model, the layer, and the analysis method. This article does not cite specific papers, so verify the findings before adopting them. Word-level representations may therefore be reusable to some degree, but stability across all words and all models is not guaranteed.

    Second, words are discrete units that both people and systems understand. They are easier to inspect, record, and audit than arbitrary numerical vectors. Logs can record which words were sent and which representations the receiver looked up, which supports review after the fact.

    Two kinds of representation need to be distinguished. A static word-level representation corresponds to one term and does not capture the meaning of that word in a specific sentence. Context-dependent hidden states change with the entire input. The lookup method transmits the first kind. For example, “apple” receives the same vector in a company context and in a fruit context, unless the term itself is subdivided. If a task depends heavily on context, word-based communication can carry only coarse-grained information and cannot fully recover the context.

    4.3 Vocabulary alignment and edge cases

    • Tokenization mismatch: different models use different tokenizers, so the same word may split into a different number of subword tokens. The fix is to key on vocabulary entries rather than on each model’s native subword IDs. Each entry is encoded within its own model using that model’s tokenizer, and the subword representations are averaged to produce the entry’s vector.
    • Polysemy: bare words are ambiguous. It is recommended to send sense-tagged entries, such as “cache (storage)” and “cache (action),” or to use sense numbers. Sense numbers must be recorded in the vocabulary.
    • Out-of-vocabulary terms: concepts outside the vocabulary cannot be looked up. There are two ways to handle them. One is to fall back to natural-language communication and write the concept directly into the message. The other is to record a miss and let a higher-level component decide whether to retry or raise an error. In either case, misses must not be dropped silently.
    • Vector scale: vector norms can differ greatly across models. Direct injection may overwhelm the receiver’s existing signal. The scaling coefficient must be determined on a validation set.

    4.4 Engineering checklist

    For implementation, follow the checklist below:

    1. Vocabulary alignment: fix the vocabulary version, confirm that every entry produces a vector in every model, and record the coverage rate.
    2. Lookup-and-injection: inject at the specified layer, and record the entry, layer number, and scaling coefficient for each injection.
    3. Audit logging: record the word symbols sent, the receiver’s lookup results, the missed entries, the injection location, and the model versions. Logs should store only vocabulary entries and identifiers, not raw user input or sensitive content.
    4. Fallback: switch to natural-language communication when coverage is insufficient, when the miss rate exceeds a threshold, or when validation metrics decline.

    There is also a security point. If terms come from external input, validate them against an allowlist and allow only vocabulary entries into the lookup process. Otherwise, malicious content could influence the receiver’s inference through the term channel.

    5. Comparison and selection of the three approaches

    Dimension Mapping-module approach Structure-similarity approach Word-communication approach
    Training cost Requires paired data and training compute No training required No mapper training required, but a lookup table must be built
    Structural constraints Weak, but each model pair needs its own training Strong, models must have similar structures No hard requirement, but the vocabulary must be aligned
    Information granularity Learnable fine-grained mapping Full hidden states Word-level, coarse-grained
    Context fidelity Depends on mapping quality High Lower, because static word vectors do not include context
    Engineering complexity Medium to high Low to medium Medium, mainly in vocabulary management and injection
    Main failure modes Distorted mapping for uncovered concepts Limited model choices Missing alignment, polysemy ambiguity, out-of-vocabulary terms
    Auditability Low Low High

    Use the following rules to guide the choice:

    • If model combinations change often and the domain concepts are relatively concentrated, choose word communication.
    • If the model combination is fixed, fidelity requirements are high, and paired training data is available, choose