Multi-Model Information Processing Architecture: A Practical Guide to Building a Reliable Pipeline

    This article presents a vendor-neutral, layered architecture for turning raw news feeds into decision-ready signals. It explains why the real bottleneck is processing rather than crawling, then walks through four decoupled layers: ingestion and normalization, multi-model processing, deduplication with knowledge enrichment, and a pluggable output pipeline. You will find a minimal internal data schema, a unified model adapter interface, a calibrated 0–10 relevance scoring scale, a two-gate deduplication approach combining rules with vector similarity, and guidance on verifiable background augmentation. It closes with rollout advice and three common pitfalls to avoid.

    1. The Bottleneck Is Processing, Not Crawling

    Most teams do not lack information sources. What they lack is the ability to turn raw items into signals they can act on. Raw feeds typically carry three kinds of noise:

    • Topic drift: the headline looks relevant, but the body has nothing to do with what you are tracking.
    • Substantive duplication: the same event is pushed repeatedly by different sources in different wording.
    • Missing context: an item states a conclusion without the background, so the reader has to search elsewhere to understand it.

    Handled manually, the cost grows linearly with volume. Handled by a single model scoring everything in bulk, the results become unstable and hard to audit, because they shift with prompt wording, context length, and model preferences.

    The sensible approach is to split the processing layer into stages with single responsibilities and to involve models only where semantic understanding is genuinely required. This article uses “Horizon” as a generic name for that processing layer and describes a layered architecture that is independent of any specific vendor.

    2. Overall Architecture: Four Decoupled Layers

    • Layer 1, ingestion and normalization, maps items from different sources into a single internal structure.
    • Layer 2, multi-model processing, handles relevance scoring, summarization, and background enrichment.
    • Layer 3, deduplication and knowledge augmentation, merges duplicates and attaches reference material.
    • Layer 4, the output pipeline, distributes items according to subscriptions.

    The main payoff of this split is failure isolation and replaceability. Model calls are the least stable part of the chain; confining them to Layer 2 means rate limits, timeouts, and fallbacks never affect crawling or distribution. A change in output format touches only Layer 4, with no need to revisit the scoring logic.

    Keep the internal structure minimally sufficient:

    1. {
    2. "id": "sha256(url + title)",
    3. "title": "Title",
    4. "content": "Plain text body",
    5. "source": "Source identifier",
    6. "published_at": "2026-08-26T08:00:00Z",
    7. "embedding": null,
    8. "scores": {},
    9. "cluster_id": null
    10. }

    3. The Multi-Model Layer: Turning Scoring into a Calibratable Engineering Problem

    The value of using several large models is not “pick the strongest one.” It is cross-validation, which reduces single-point bias. In practice, define a unified model adapter interface and keep the differences inside the adapter:

    1. class ModelAdapter:
    2. def complete(self, prompt: str, *, temperature: float = 0.0,
    3. max_tokens: int = 1024) -> str: ...

    Scoring should force low temperature and structured output, with strict validation of the returned value. Use an integer 0–10 scale for relevance and define what each band means: 0–3 is irrelevant or a keyword collision only, 4–6 is broadly related, 7–8 is a direct hit on the tracked topic, and 9–10 is core information with decision value. A three-tier filter maps onto this: 7 and above is high signal, 4–6 is worth referencing, 3 and below is low signal.

    Two engineering constraints matter here. First, scoring and summarization must be separate calls. Otherwise the model tends to “helpfully” produce lengthy explanations while scoring, which makes the output unstable and hard to parse. Second, retain the raw score together with the model identifier so you can run consistency statistics later: when the same batch of items shows high score variance across models, route it automatically to a third model for arbitration, or flag it for human review.

    Summarization and background enrichment can use a higher temperature, but require fixed fields, for example “one-line conclusion / key facts / scope of impact / background to be added.” Structured fields are easier for downstream consumers than free text, and they make length budgets manageable.

    4. Semantic Deduplication: Vector Recall Behind a Rule Gate

    Vector similarity alone will wrongly merge different stages of the same event; title rules alone will miss rewritten duplicates. A reliable design chains two gates: a low-cost rule pass first, then a semantic vector decision.

    The rule layer handles normalized differences, such as unifying case and full-width/half-width characters, stripping source suffixes, removing emoji and redundant punctuation, and approximate matching of titles using character n-grams. The vector layer computes cosine similarity for candidates that pass the coarse filter; anything above the threshold joins the same cluster. The in-cluster retention policy should be explicit. A common choice is to keep the item with the most complete body first, then the one with the most distinctive perspective, and attach the list of sources from the merged items to the retained one so provenance is not lost.

    1. def dedup(items, sim_threshold=0.86):
    2. kept = []
    3. for it in sorted(items, key=lambda x: -len(x["content"])):
    4. dup = next((k for k in kept
    5. if cosine(it["embedding"], k["embedding"]) >= sim_threshold), None)
    6. if dup:
    7. dup.setdefault("merged_sources", []).append(it["source"])
    8. else:
    9. kept.append(it)
    10. return kept

    Determine the threshold by regression on labeled samples, and recalibrate periodically as the corpus distribution shifts. Also keep an intermediate state for “suspected duplicate but not merged,” which supports sampled evaluation of precision and recall.

    5. Knowledge Augmentation: Moving Context Cost from the Reader to the System

    High-signal items enter the augmentation stage, whose goal is the minimum context needed for understanding, not a long survey. Retrieval can draw on three kinds of material: general technical documentation in the domain, historical items on the same topic, and verifiable authoritative references. Filter retrieval results on both relevance and recency, keeping only fragments that directly explain the terms or premises of the current item.

    Express the augmentation result as a lightweight graph: nodes are entities and concepts, edges are relations such as “belongs to / depends on / affects / follows,” and each item references the graph. This supports related-item navigation in the UI and serves as structured input for downstream systems. Verifiability is mandatory: every piece of supplementary material carries a source identifier and a timestamp, and anything that cannot be verified stays out of the graph, so speculation is never hardened into “fact.”

    6. A Pluggable Output Pipeline Bounded by a Standard Contract

    What matters in the distribution layer is not the number of channels but contract stability. Define a unified output event structure containing the item identifier, score, tier, summary fields, knowledge references, and merged sources, then let each adapter map it to a concrete channel format: a static site page, an email body, a callback request payload, or a standardized protocol message for downstream agents.

    Four capabilities need to be in place. Retry with idempotency, deduplicating on the item identifier to avoid repeated pushes. Tiered delivery, pushing high signal immediately and summarizing referenceable items on a schedule. Subscription filtering, trimming by topic and minimum score. And end-to-end observability, recording per-stage latency, model call volume, and filter distributions. If volume fluctuates sharply, use a message queue to smooth peaks, object storage to archive raw and structured results, and a logging and monitoring service with alerting to track quality metrics.

    7. Rollout Advice and Common Pitfalls

    Start with a minimal loop of one model and one channel, then introduce cross-model scoring and knowledge augmentation gradually; pulling in too many variables at once makes problems hard to localize. Version prompts and review them alongside code. Keep the scoring scale, deduplication threshold, and delivery policy in configuration rather than scattered through the implementation.

    Three pitfalls are common. Setting filter thresholds too high, which leaves the high-signal tier permanently empty. Relying on a single similarity measure for deduplication, which flattens the thread of an event. And adding background without source constraints, which produces output that looks professional but cannot be traced. All three are avoided by the same principle: every judgment in the processing layer must be explainable, replayable, and regression-testable. Only then does the multi-model layer move from “it runs” to “it can be trusted.”