跳到正文
DEV Community· Georgia Kali·· 5 小時前AI 評分55

AI 主權:IntDEx 框架以可攜性測試檢驗模型與供應商獨立性

AI Sovereignty - Model and Vendor Independence

AI 導讀

Georgia Kali 提出以 IntDEx 框架檢驗公共機構的 AI 原生交付是否依賴單一模型供應商,並把獨立性落實為可核查控制。框架要求將提示詞、限制條件及上下文等交付工件存放在組織控制的版本庫,記錄模型依賴,並在不同模型系列或供應商上重跑至少一項交付任務。文章指出,單項任務通過測試不足以證明整個服務可遷移,替代模型亦可能較弱、較慢或成本較高,而自我託管需要相應技能和基礎設施。

正文

Georgia Kali

The problem: dependency arrives faster than procurement notices

AI-native delivery puts a model at the centre of how software is specified, written and tested. A public organisation can move from a first experiment to everyday reliance on one model provider within weeks: prompts are tuned to one model's habits, context files assume one provider's tooling, and nobody has tried running the work elsewhere. That dependency rarely surfaces in a contract review, because it lives in delivery artefacts, not procurement documents.

Lock-in is not new. Studying cloud migration, Opara-Martins, Sahandi and Tian (2016) traced it to weak standardisation, interoperability and portability, and proposed mitigations through contracts, standard formats and APIs, and dependency awareness. Floridi (2020) describes digital sovereignty as control over the digital, meaning the ability to influence something and to check and correct deviations. For an AI-native team the test is simple: if the current model or provider became unavailable, unaffordable or legally unsuitable tomorrow, could delivery continue?

What European law offers, and where it stops

Where model hosting is bought as a data processing service, the EU Data Act (Regulation (EU) 2023/2854) requires providers to remove obstacles to switching to another provider or to on-premises infrastructure (Article 23), sets contractual switching terms with a maximum transitional period of 30 calendar days (Article 25), and bans switching charges from 12 January 2027 (Article 29). The AI Act (Regulation (EU) 2024/1689) obliges providers of general-purpose AI models to give downstream providers documentation on capabilities and limitations (Article 53(1)(b)), with an exemption for qualifying open-source models without systemic risk (Article 53(2)). If personal data reaches a model processed outside the EU, GDPR Chapter V transfer rules apply.

These rules lower the cost of leaving, but they cannot make a team's own prompts, tests and habits portable. That is a delivery discipline.

How IntDEx turns independence into a control

The IntDEx framework (https://intdex.org) separates two objects of sovereignty: the delivery engine's own artefacts (prompts, constraints, context, documentation and licensing), which the organisation governs directly, and the model or provider instance the engine uses, which depends on procurement and infrastructure. IntDEx deliberately names no providers or models. It requires that sovereignty facts are recorded and that an alternative is shown to work:

  1. Owned artefacts. Engine artefacts are versioned in a repository under the organisation's control, in open, portable formats, under a recorded licence.
  2. Sovereignty constraint artefact. The Architect records the processing location and data transfer basis of every model or provider in use, re-checked at every model or provider change.
  3. Dependency record. A provider and jurisdiction dependency record states what migrating away would require, with a migration cost estimate updated whenever the dependency changes.
  4. Tested portability. The team routes at least one delivery task to more than one model family or provider, including a locally hosted or self-managed model where policy and infrastructure allow, and records the exercised result. The test is repeated after material model or provider changes.

The Architect owns the sovereignty decision; the Risk Manager, or the Delivery Manager where no Risk Manager exists, owns whether it still holds. A change that affects a sovereignty constraint is treated as critical: all mandatory checkpoints apply and a second named reviewer is required. The reasoning is blunt: a team that has only ever used one model and one provider cannot demonstrate that it could leave, whatever its architecture documents say. A recorded, successful test separates a sovereignty claim from a sovereignty control.

Research-style validation

Problem. How can a public organisation show, with evidence rather than assertion, that its AI-native delivery does not depend on a single model provider?

How IntDEx addresses it. By keeping engine artefacts portable and organisation-owned, recording dependency facts as versioned constraints, and requiring an exercised portability test with a named owner. This applies the lock-in mitigations of Opara-Martins et al. (2016) to prompts and context, and complements the Data Act's switching rights.

Worked example (illustrative only). A hypothetical regional tax office uses a hosted model to build a citizen self-service portal.

SOV-01 v3  Model provider dependency            Owner: Architect
Processing location: EU region (contract reference recorded)
Transfer basis: no personal data sent to the model; synthetic data only
Primary: hosted model, family A
Alternative: self-managed open-weight model, family B (agency cluster)
Portability test: "generate unit tests for payment-status module"
  re-run on B with the same intent, prompts and constraints
  Outcome: behaviour tests pass after two prompt fixes (recorded)
Migration estimate: recorded; reviewed after each provider change
Monitored by: Risk Manager (re-check on any model change)

The exercise exposed two prompts that relied on one provider's formatting habits; fixing them made the artefacts more portable. Nothing here is a measured result.

Proposed evaluation criteria (not results). Share of engine artefacts in open formats in organisation-controlled repositories; number of model families on which the portability test has passed; time since the last successful exercise; share of behaviour tests passing unchanged on the alternative model; and whether every provider change triggered a sovereignty re-check.

Limitations. One passing task does not prove a whole service can move. Alternative models may be weaker, slower or more expensive, and self-hosting needs skills and infrastructure that many public bodies lack. Contracts and jurisdiction remain outside what a delivery framework can fix. Independent case studies are still needed.

Conclusion. Independence that has never been exercised is an assumption. A practical first step: pick one routine delivery task, run it on a second model family with the same intent and constraints, and record what broke.

References

IntDEx Framework

Other references

  • European Parliament and Council (2016). Regulation (EU) 2016/679 (General Data Protection Regulation), Chapter V: Transfers of personal data to third countries or international organisations. Official Journal of the European Union. https://eur-lex.europa.eu/eli/reg/2016/679/oj
  • European Parliament and Council (2023). Regulation (EU) 2023/2854 on harmonised rules on fair access to and use of data (Data Act), Articles 23, 25 and 29. Official Journal of the European Union. https://eur-lex.europa.eu/eli/reg/2023/2854/oj
  • European Parliament and Council (2024). Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act), Article 53. Official Journal of the European Union. https://eur-lex.europa.eu/eli/reg/2024/1689/oj
  • Floridi, L. (2020). The fight for digital sovereignty: What it is, and why it matters, especially for the EU. Philosophy & Technology, 33(3), 369-378. https://doi.org/10.1007/s13347-020-00423-6
  • Opara-Martins, J., Sahandi, R., & Tian, F. (2016). Critical analysis of vendor lock-in and its impact on cloud computing migration: A business perspective. Journal of Cloud Computing, 5, 4. https://doi.org/10.1186/s13677-016-0054-z

AI was used for readability improvements.

來源:DEV Community · dev.to