Identifying and Governing Open-Source LLM "Shell" Models Marketed as Self-Developed

    This article explores the tension between open-source large language models (LLMs) and the narrative of "100% self-developed" models, framing it as a supply chain transparency issue. It analyzes the motives behind packaging open-source base models as proprietary and outlines technical identification methods, including black-box behavior fingerprinting and white-box artifact auditing. Furthermore, it discusses engineering verification workflows, compliance and contract governance, and the long-term impact on the open-source ecosystem, advocating for a transparent, reproducible, and accountable model access mechanism.

    I. The Essence of the Problem: Tension Between Open-Source Base and “Self-Developed” Narratives

    The original intent of open-source large models is to lower technical barriers and promote reproduction and collaboration. Once artifacts such as weights, inference code, model cards, and evaluation scripts are public, subsequent users can fine-tune, distill, quantify, deploy, and redistribute them within the license’s scope. This is a normal part of the open-source ecosystem. The problem is not “using open-source models,” but packaging an open-source base as “completely self-developed,” and gaining brand premiums, procurement opportunities, or compliance trust by obscuring the source, hiding the lineage, and exaggerating capabilities.

    From a technical governance perspective, the “self-developed shell” is not merely a marketing issue but a model supply chain transparency problem. A model involves multiple layers of artifacts and responsible entities, from base weights and vocabularies to training frameworks, fine-tuning data, alignment strategies, and deployment services. If it claims to be “100% self-developed” but cannot provide training logs, data cards, model cards, version history, license statements, and reproducible evaluations, it makes it difficult for buyers, developers, and regulators to judge the true capability boundaries and compliance risks.

    Another warning sign in these scenarios is when a service claims to be “open globally” but actually has regional restrictions, while heavily emphasizing data residency, privacy protection, and not using data for training. These statements might be reasonable product strategies, but when combined with the “completely self-developed” narrative, they should trigger stricter source verification. Data sovereignty, privacy compliance, and technical self-development are different dimensions; one cannot substitute evidence in one dimension with marketing in another.

    II. Why Does “Open-Source Base + Local Packaging” Occur?

    The motivations usually stem from four types of needs:

    1. Brand and Market Narrative Needs: In procurement, financing, bidding, and partnerships, a “self-developed large model” often creates a more differentiated narrative than “fine-tuned based on an open-source model.” Thus, some entities tend to downplay the base source and emphasize local deployment, local data, and local service attributes.
    2. Fast Time-to-Market Needs: Training a large model from scratch is costly, time-consuming, and risky. Domain fine-tuning, quantized deployment, and engineering packaging based on a mature open-source base can significantly shorten the delivery cycle. This is not the problem; the problem is insufficient information disclosure.
    3. Compliance and Data Sovereignty Needs: Some scenarios require data to remain in-country, stay in local data centers, and not be used for training. Vendors will emphasize local servers, data isolation, and deletion mechanisms. However, “data stays local” does not equal “model is completely self-developed”; the two require separate verification.
    4. Evaluation and Marketing Needs: General evaluation scores are easily used to create an impression of “technological leadership.” If evaluation methods, prompt templates, version numbers, and reproduction scripts are opaque, scores cannot serve as evidence of self-development.

    Therefore, the governance approach should not be to simply ban the use of open-source models, but to establish a model access mechanism where “sources are disclosable, licenses are verifiable, capabilities are reproducible, and responsibilities are traceable.”

    III. Technical Identification: Black-Box and White-Box Approaches

    3.1 Black-Box Behavior Fingerprinting: Determining Lineage from Output Consistency

    When weights and server-side implementations are inaccessible, behavior fingerprinting can be performed using a fixed prompt set. The core idea is that models from the same base or the same fine-tuning lineage often exhibit high consistency in refusal templates, special token handling, context boundaries, multilingual preferences, knowledge cutoff expressions, and formatting habits when the temperature is set to 0 or low randomness.

    Actionable verification dimensions include:

    • Fixed Prompt Set Regression: Prepare a prompt set covering factual Q&A, code generation, structured output, multi-turn rewriting, safety refusals, and boundary lengths. Fix the temperature, maximum output length, and system prompt, and record the outputs.
    • Refusal and Safety Policy Patterns: Compare refusal phrasing, risk classification methods, and degradation paths for sensitive requests. Fine-tuning may change surface-level wording, but underlying policy patterns often remain similar.
    • Vocabulary and Tokenizer Boundary Behavior: Observe truncation, splitting, and anomalies by inputting special characters, rare characters, long number strings, and mixed-language inputs. Vocabulary differences usually leave traces.
    • Context Window and Truncation Strategy: Gradually increase input length to observe truncation positions, summarization behavior, error prompts, and performance changes.
    • Formatting and Tool Calling Habits: If the service supports structured output or tool calling, compare field naming, fault tolerance, and error fallback structures. Use only general testing methods without relying on specific interface details.
    • Multilingual and Knowledge Preferences: Compare answer consistency, terminology translation habits, and knowledge cutoff expressions for the same question across different languages.
    • Repeated Sampling Distribution: If allowed, perform multiple samplings to compare semantic similarity, output length distribution, and refusal rates. If the service exposes statistical information like log probabilities, it can be used as auxiliary evidence, but not as the sole basis.

    The conclusion of a black-box fingerprint should be stated as “highly similar” or “strong associative evidence exists,” rather than an absolute conclusion based on a single output. Prompt templates, system instructions, post-processing, and fine-tuning can all alter surface-level outputs. A more robust approach is to build a baseline library, conduct multiple rounds of reproducible comparisons across categories on candidate models, and retain original logs.

    3.2 White-Box Artifact Auditing: Weights, Configurations, and Metadata

    If model artifacts can be obtained, white-box auditing should be prioritized. The focus is not just on the model name, but on the artifact’s internal structure and metadata:

    • Weight File Hash and Tensor Shapes: Compare the number of layers, hidden dimensions, attention head configurations, vocabulary size, and embedding matrix shapes. If highly consistent with a public base model, further lineage verification is required.
    • Configuration Files and Version Records: Check architecture configurations, tokenizer configurations, special tokens, context length, quantization methods, conversion scripts, and version history.
    • Model Cards and Data Cards: Verify whether the base source, fine-tuning data, training methods, evaluation methods, known limitations, and license obligations are disclosed.
    • License and Notice Files: Check whether original notices are retained during redistribution, whether additional usage restrictions exist, and whether commercial terms are correctly inherited.
    • Training and Fine-tuning Logs: Verify the existence of reproducible training configurations, data ratios, hyperparameters, and evaluation scripts. A “completely self-developed” claim without logs should be considered low-credibility.

    The advantage of white-box auditing is strong evidence, but the prerequisite is legal access to the artifacts and the right to audit. In procurement scenarios, audit rights, artifact manifests, and version change notifications should be written into the contract.

    3.3 Supply Chain Evidence Chain: Turning “Claims” into “Verifiable Materials”

    Beyond technical verification, a supply chain evidence chain must be established. Providers can be required to supply:

    • Base model source and license statements;
    • Fine-tuning data sources, cleaning rules, and authorization proofs;
    • Training/fine-tuning environment and version manifests;
    • Evaluation scripts, prompt sets, raw results, and reproduction instructions;
    • Model artifact manifests and hashes;
    • Safety alignment strategies and red team reports;
    • Service regions, data flows, log retention, and deletion mechanism explanations;
    • Third-party or internal audit records.

    These materials do not need to be entirely public but should be verifiable during procurement and compliance reviews. If absolute terms like “completely self-developed” or “100% self-developed” are used in external marketing, they should correspond to verifiable evidence; otherwise, it is recommended to use accurate descriptions like “domain fine-tuned and locally deployed based on an open-source base.”

    IV. Engineering Verification Process: Turning One-Off Questioning into Routine Access

    Enterprises can integrate model source verification into their access processes. Below is a pseudocode example focusing on the process rather than the specific implementation:

    1. function verify_model(candidate, baseline_registry):
    2. evidence = []
    3. # 1. Artifact and License Audit
    4. evidence.append(check_model_card(candidate))
    5. evidence.append(check_license_and_notice(candidate))
    6. evidence.append(compare_tensor_shapes(candidate, baseline_registry))
    7. # 2. Black-Box Behavior Fingerprinting
    8. prompts = load_fixed_suite()
    9. for p in prompts:
    10. c = candidate.generate(p, temperature=0)
    11. for b in baseline_registry.candidates:
    12. r = b.generate(p, temperature=0)
    13. evidence.append(compare_output(c, r, refusal_pattern=True,
    14. token_boundary=True,
    15. format_style=True))
    16. # 3. Supply Chain Materials
    17. evidence.append(check_training_logs(candidate))
    18. evidence.append(check_eval_reproducibility(candidate))
    19. return aggregate_evidence(evidence)

    In engineering implementation, it is recommended to establish at least three types of baseline libraries: public base artifact baselines, historical vendor model baselines, and internal evaluation prompt set baselines. Perform regression comparisons and record differences for every model version update. For cloud deployment scenarios, infrastructure capabilities provided by Baidu AI Cloud, such as general object storage, logging services, and monitoring alerts, can be utilized to save model artifacts, audit logs, and verification results, though technical conclusions should still be based on independent verification.

    V. Compliance and Contract Governance: Translating Technical Risks into Manageable Terms

    The risks brought by “self-developed shells” are not merely reputational; they include license breaches, intellectual property disputes, procurement fraud, and false compliance statements. Enterprises should specify in contracts:

    1. Source Disclosure Obligations: Vendors must disclose base models, fine-tuning data, license types, and redistribution restrictions.
    2. Audit Rights: Allow buyers to verify model cards, evaluation scripts, version records, and license statements within reasonable limits.
    3. Change Notifications: Provide advance notice for base upgrades, fine-tuning data changes, and service region adjustments.
    4. Evaluation Reproduction: Provide reproducible instructions for key capability metrics to avoid relying on a single score.
    5. Liability Boundaries: Clarify responsibility if false source disclosures lead to licensing or compliance issues.
    6. Marketing Tone: Claims like “self-developed,” “domestic,” or “globally open” in external marketing must be supported by evidence and avoid absolute phrasing.

    Developers should also remain cautious: during model selection, look beyond parameter sizes and evaluation scores to examine model cards, licenses, data flows, service regions, logging policies, and version stability. A higher level of scrutiny should be applied to models claiming to be “completely self-developed” but refusing to provide any source materials.

    VI. Long-Term Impact on the Open-Source Ecosystem

    If the phenomenon of “open-source bases packaged as self-developed” repeatedly occurs, the most direct consequence is an increase in trust costs. Buyers will tend to demand more audit materials, open-source contributors’ attributions and license statements may be weakened, and evaluation leaderboards will become more susceptible to marketing pollution. In the long run, this harms teams genuinely working on base training, data governance, and safety alignment.

    A healthier approach is to clearly distinguish three narratives: self-developed base, domain fine-tuned based on an open-source base, and localized deployment and engineering packaging. All three have value, but their evidence requirements differ. Open-source is not a sin; hiding the source is. Enterprises can absolutely build excellent products based on open-source models, provided they accurately disclose lineage, comply with licenses, respect community contributions, and prove their incremental value with reproducible evaluations.

    VII. Conclusion

    The identification of “self-developed shells” should not rely on a single exposé or a single output comparison, but should become a routine capability in model supply chain governance. The technical side must establish behavior fingerprinting and artifact auditing; the process side must establish access lists and regression baselines; and the contract side must implement source disclosure, audit rights, and change notifications. For developers and enterprise users, what truly matters is not trusting the “100% self-developed” slogan, but confirming whether the model is explainable, reproducible, compliant, and accountable. Open-source lowers the barrier to innovation, but transparency determines whether the ecosystem can remain healthy in the long term.