Global AI and Data Science

Global AI & Data Science

Train, tune and distribute models with generative AI and machine learning capabilities

 View Only
Expand all | Collapse all

Function Models - a new approach

John Harby

John HarbyTue December 30, 2025 06:06 PM

John Harby

John HarbyWed December 31, 2025 01:43 AM

John Harby

John Harby28 days ago

John Harby

John HarbySun January 04, 2026 12:14 AM

  • 1.  Function Models - a new approach

    Posted Fri December 26, 2025 09:15 AM

    The function model family includes models of most any type: neural nets, DNNs, transforms, etc. These models learn by modification of the function(s) in the model rather than parametric.

    The result is considerable savings in energy usage, one-shot streaming learning is a natural capability, cost is very low for these models and transparency/audit capabilities increase. Rollbacks are created and logged for any learning so learning can be reversed if needed. Many of these models using Kafka is a great option. 

    See:

    https://zenodo.org/uploads/18056053

    Two documents - one an overview the other is detailed with mathematical justification



    ------------------------------
    John Harby
    CEO
    Autonomic AI, LLC
    Temecula CA
    9513835000
    ------------------------------


  • 2.  RE: Function Models - a new approach

    Posted Tue December 30, 2025 12:15 PM
      |   view attached
     
    Two direct mappings (healthcare, agent systems) using the Function Model's two-layer structure-base function f₀ + patch layer g-so we can see exactly how to apply it in each domain.   Healthcare: "Guideline engine + patient-specific overrides"
    What f₀ is
    A stable clinical logic layer:
    • evidence-based guidelines (e.g., HTN/DM algorithms)
    • drug–drug interaction rules
    • risk calculators (ASCVD, CHA₂DS₂-VASc)
    • your organization's standing orders / pathways
    What g (patches) are
    Deterministic overrides learned from real cases, expert review, or patient-specific facts:
    • "For this patient, ACE inhibitor caused angioedema → never suggest again."
    • "This patient's baseline creatinine trend is stable despite high value → don't auto-flag as AKI unless delta criteria met."
    • "This clinic uses pathway v3.2; prior rule v3.1 no longer applies."
    Input signature (key idea)
    Instead of raw "x," use a context signature:
    • (patient_id, problem_id, setting, guideline_version, meds_hash, labs_hash, timeframe)
      This keeps patches precise and auditable.
    How learning happens (streaming)
    Each reviewed decision becomes an event:
    • (time, signature, output, clinician_id, reason_code, evidence_link)
      Stored as patch. No retraining. Immediate effect.
    Why it's valuable
    • Eliminates "drift" from silent model updates
    • Supports "never forget this contraindication" memory
    • Creates an auditable trail for QA, medico-legal review, and safety governance FunctionModel_Simple

    Agent systems: "Policy/skills + exact state-action corrections"
    What f₀ is
    The agent's general policy stack:
    • planner (task decomposition)
    • tool-use policy (when to call a tool)
    • general heuristics (prioritization, safety checks)
    • base model prompting / templates
    What g (patches) are
    Hard corrections to stop repeated failure modes:
    • "When user asks X, do NOT do Y; do Z."
    • "If tool call fails with error E, use fallback F."
    • "If this customer environment has limitation L, skip action A."
    Input signature
    Use a compact, hashed state representation:
    • (agent_goal, tool_context, user_intent, environment_flags, failure_code)
      Optionally add a "customer_id / deployment_id" to prevent cross-tenant leakage.
    Learning events



    Attachment(s)

    pdf
    FunctionModel_Simple.pdf   172 KB 1 version


  • 3.  RE: Function Models - a new approach

    Posted Tue December 30, 2025 06:06 PM
    Edited by John Harby 9 days ago

    Post removed



  • 4.  RE: Function Models - a new approach

    Posted Wed December 31, 2025 01:43 AM
    Edited by John Harby 9 days ago

    Post removed



  • 5.  RE: Function Models - a new approach

    Posted 28 days ago
    Edited by John Harby 9 days ago

    Post removed



  • 6.  RE: Function Models - a new approach

    Posted Sun January 04, 2026 12:14 AM
    Edited by John Harby 9 days ago

    Post removed