Skip to content

Functor Models for Regulated Environments

0

The Functor Model learns by modifications to model functions rather than parameters. This is a mathematical proof of distribution equivalence - https://zenodo.org/records/23125183 This document (https://zenodo.org/records/21987317) shows a clear savings in energy although research is required to gain a precise cumulative figure. I have an initial Functor LLM design but tabled that to focus on smaller models and LLM delegation strategies that could save energy.

For regulatory environments this can be quite helpful. In the link above there is an attached GitHub repo with functor resnet model demo code. The slm-template I created features a refactoring of the model.py file into files representing the different functions. Weights are a function even if that function is just a simple wrapper. That enables the simplicity of horizontal scaling for many functor models.

You can see in the image an audit for a model change. The model will log to an event stream like Kinesis or MSK. It has a version-set plus other standard logging information. By integration of the event log with the VCS we gain all the change information. For the "why", Jira integration can fill that requirement or strategies through tooling can have the commit notes for any file in the VCS contain enough to satisfy an auditor.

Functor Model Audit Log Entry

1 Answer
0
Accepted Answer

The approach makes sense from an auditability perspective. Treating model functions as independently versioned components could make it easier to track exactly what changed between model versions, especially when the changes are connected to a VCS and an event stream.

I think the interesting part for regulated environments is the combination of technical and organizational controls. The event stream can provide a record of what changed and when, while the VCS and Jira can provide the context for why the change was made and who approved it.

The main question I would have is how this works when changes to multiple functions collectively change the model's behavior. It would be useful to have a clear mechanism that maps a deployed model version to the exact set of function versions, configuration, data, and approvals that produced it. That would make the audit trail much easier to reproduce and verify.

answered a month ago

  • That's a good point. The approach I'm considering is to record the complete set of function versions for each deployed model version, for example (1.0, 4.1, 3.2, ...), as part of the deployment event. The event log stays compact, while the version control system retains the detailed history, configuration, validation evidence, data references, and approvals associated with those versions. An audit integrator can then use the recorded version set to retrieve the corresponding information from version control and reconstruct the exact deployed state. This also handles changes involving multiple functions, since the version set identifies the complete model state rather than treating each function change as an independent deployment.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.