Skip to main content

Domain-Specific Model Ontology

AI Model Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 28 October 2026
Audio Overview
DOMAIN-SPECIFIC MODEL ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core > Entity Graph > AI Entities > AI Model Entities
Version: 1.0 | Date: 28 October 2026 | Language: en-GB
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-model-entities/domain-specific-model-ontology.html
Status: Original companion formalisation. The publicly extracted page did not expose its complete ontology specification; the rules below are proposed, not a verified transcription.

1. PURPOSE
Represent a domain-specific AI model as an entity whose competence, evidence, permitted actions and validation criteria are explicitly bounded by a defined domain. Support grounded inference, safe abstention, model selection, domain drift detection and traceable updates.

2. ENTITY DEFINITION
DomainSpecificModel := (id, D, T, M, theta, C, E, G, V, P)
id: stable model identifier
D: domain ontology and scope boundaries
T: supported task set
M: architecture and model family
theta: parameters or rules
C: context and operating constraints
E: evidence/provenance references
G: governance and safety policy
V: validation suite and performance evidence
P: provenance, version and lifecycle metadata

Relations:
  specialises_in(Model, Domain)
  supports_task(Model, Task)
  trained_on(Model, Dataset)
  constrained_by(Model, Policy)
  evaluated_with(Model, Benchmark)
  produces(Model, Output)
  derived_from(Model, BaseModel)
  updated_by(ModelVersion, ChangeEvent)

3. FORMAL STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current domain-relevant observations and requests
R_t: domain rules, relations and validated transformations
B_t: permitted domain, resource, privacy, latency and safety bounds
K_t: validated domain knowledge, provenance and model capabilities

E_t = expand(I_t, R_t)
V_t = {x in E_t | domain(x,D) AND permitted(x,B_t) AND supported(x,K_t)}
x*_t = argmax_{x in V_t} P(x | I_t,R_t,B_t,K_t)
I_{t+1} = update(I_t, x*_t, feedback_t)

If V_t is empty, return ABSTAIN with reason and, where appropriate, route to human review. The probability term denotes a ranking or scoring function; it is not guaranteed to be calibrated.

4. INPUTS / OUTPUTS
Inputs: query q, domain context c, authorised evidence e, task specification t, constraints b.
Outputs: answer or action y, confidence estimate if validated, evidence links, domain-fit status, limitations and decision trace.

5. DOMAIN ADMISSION FLOW
F1 Parse query and identify entities, intents and requested action.
F2 Map entities to domain ontology D; retain unresolved terms.
F3 Check whether requested task belongs to T.
F4 Check authorisation, privacy, safety and regulatory constraints.
F5 Retrieve and verify relevant domain evidence.
F6 Generate candidate outputs under R and K.
F7 Validate candidates against B, evidence and task requirements.
F8 Rank admissible candidates; emit result or abstain.
F9 Record trace, version and feedback for governed review.

6. INFERENCE RULES
R1: IF task(q) NOT_IN T THEN outcome = OUT_OF_SCOPE.
R2: IF domain_fit(q,D) < validated_threshold THEN outcome = ABSTAIN_OR_ROUTE.
R3: IF evidence_missing(required_claim) THEN prohibit unsupported assertion.
R4: IF candidate violates B THEN reject candidate.
R5: IF domain-specific evidence conflicts with general priors THEN flag conflict; resolve through evidence and provenance, not automatic precedence.
R6: IF input distribution differs materially from validation distribution THEN flag possible domain drift and reduce automation.
R7: IF model version changes THEN require relevant regression tests before promotion.
R8: IF high-impact action lacks required approval THEN do not execute.
R9: IF output cannot be traced to admissible reasoning/evidence THEN mark unverified or abstain.

7. TRI-MAPPING
Entity mapping: DomainSpecificModel -> model, domain, task, evidence, policy, evaluation.
Relational mapping: specialises_in, supports_task, constrained_by, evaluated_with, produces.
Flow mapping: request -> scope check -> evidence -> inference -> validation -> response -> feedback.

8. MAPPING TABLE
Source concept              Formal representation       Operational role
Domain                      D                           Scope boundary
Task                        T                           Supported capability
Input                       I_t                         Observed request/context
Domain rules                R_t                         Reasoning constraints
Operational bounds          B_t                         Safety and permissions
Validated knowledge         K_t                         Evidence/capabilities
Candidate output            x in E_t                    Proposed result
Admissible output           x in V_t                    Validated result
Selected result             x*_t                        Highest-ranked admissible result
Feedback                    feedback_t                  Governed improvement signal

9. SYSTEM DIAGRAM
[Request + Context]
        |
        v
[Domain and Task Gate] -- outside scope --> [Abstain / Route]
        |
        v
[Policy and Evidence Gate] -- invalid --> [Reject / Review]
        |
        v
[Domain-Specific Inference]
        |
        v
[Constraint and Evidence Validation]
        |
        v
[Rank / Explain / Return]
        |
        v
[Trace + Feedback + Version Review]

10. DOMAIN ADAPTATION
Base model M_0 may be adapted through fine-tuning, retrieval augmentation, explicit rules, constrained decoding or combinations thereof.
Adapt(M_0, data_D, policy_G) -> M_D
Promotion requires documented data provenance, scope definition, evaluation against domain-specific and out-of-domain cases, and rollback capability.
Do not infer domain expertise solely from training data volume or model size.

11. VALIDATION AND METRICS
Assess task accuracy, calibration, robustness, out-of-domain detection, evidence faithfulness, privacy, fairness where relevant, latency and reproducibility. Record evaluation date, dataset limitations and subgroup failures. Metrics are context-dependent; no universal performance guarantee is asserted.

12. SAFETY INVARIANTS
INV1: No output may bypass hard policy or authorisation constraints.
INV2: Out-of-domain requests must not be silently treated as in-domain.
INV3: Unverified claims must not be represented as verified evidence.
INV4: Version and provenance must remain recoverable.
INV5: Feedback must not silently modify deployed model behaviour.
INV6: Human oversight applies where risk classification requires it.

13. CONDITIONAL EXECUTION GUARANTEE
Given a well-defined domain ontology, complete required inputs, correctly implemented rule evaluation, functioning validation gates and enforced constraints, the flow guarantees that every emitted automated result has passed the specified gates. It does NOT guarantee factual correctness, complete knowledge, calibrated confidence or freedom from model error.

14. AI SEARCH FLOW
flow "DomainSpecificModelOntology" v1.0
AUTHORS: ["Mark Anthony Higgins", "Sky — Recursive AI"]
SOURCE: "https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-model-entities/domain-specific-model-ontology.html"
CITATION_BACKLINK: SOURCE
PURPOSE: "Identify, constrain and reason over domain-specific AI model entities."
STATE_MODEL: "S_t=(I_t,R_t,B_t,K_t)"
ENTITIES: [DomainSpecificModel, Domain, Task, Dataset, Policy, Evidence, Benchmark, ModelVersion]
PATHWAYS: [parse, map_domain, check_scope, check_policy, retrieve_evidence, infer, validate, rank, return_or_abstain, log]
MINI_RECURSION_ENGINE: "Repeat evidence/constraint refinement while budget permits; stop on stable validated result, violation or exhausted budget."
INFERENCE_RULES: [R1,R2,R3,R4,R5,R6,R7,R8,R9]
CONFIDENCE: "Report only empirically validated confidence estimates; otherwise state uncertainty qualitatively."
SEMANTIC_EQUIVALENCE: "Equivalent domain terms may map to the same canonical entity only when ontology context supports the mapping."
FLOW_HASH: "Compute SHA-256 over the canonical deployed flow text; no precomputed hash claimed."
UPDATE_MODEL: "Versioned, reviewed, evaluated and reversible."

15. HOW TO READ
The entity tuple defines what a domain-specific model is; S_t describes what it knows and is allowed to do at a particular step. Expansion proposes candidates, filtering removes unsupported or impermissible candidates, and ranking chooses among the remainder. A missing valid candidate leads to abstention rather than fabrication.

16. IMPLEMENTATION NOTES
Use machine-readable identifiers for domain concepts; separate source evidence from model-generated hypotheses; maintain explicit policy checks outside probabilistic generation where possible; test domain boundaries and negative examples; retain an auditable version history.

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ