Skip to main content

Frozen Parameter Ontology

AI Parameter Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 29 October 2026
Audio Overview
FLOW ALGEBRA — FROZEN PARAMETER ONTOLOGY
Semantic Library | AI Core | Entity Graph | AI Entities | AI Parameter Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-parameter-entities/frozen-parameter-ontology.html
Status: Companion formalisation based on established machine-learning principles; source-page specification not verified.
Encoding: UTF-8 | Language: en-GB

01. PURPOSE
Represent a frozen model parameter as a parameter excluded from optimiser-driven modification during a specified training phase, while remaining available to forward computation and, where needed, gradient propagation through its operations.

02. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: input batches, activations, training instructions.
R_t: parameter-to-layer, dependency, optimiser and gradient relationships.
B_t: freeze masks, permitted updates, precision and resource constraints.
K_t: model architecture, parameter values, training state and provenance.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_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)
The argmax is a semantic selection operator, not a substitute for the training optimiser.

03. ENTITIES
FrozenParameter: tensor whose update permission is disabled for a phase.
TrainableParameter: tensor eligible for optimiser updates.
ParameterTensor: typed, shaped numerical model state.
FreezeMask: Boolean update eligibility per parameter or parameter group.
ModelLayer: component consuming parameter tensors.
Optimiser: algorithm that updates eligible parameters.
Gradient: derivative information of the objective with respect to a tensor.
Checkpoint: saved model, freeze configuration and optional optimiser state.
TrainingPhase: interval over which freeze policy applies.

04. RELATIONSHIPS
FrozenParameter IS_A ParameterTensor.
FrozenParameter BELONGS_TO ModelLayer.
FreezeMask CONTROLS update eligibility.
Optimiser UPDATES TrainableParameter only when permitted.
Checkpoint PRESERVES parameter values and freeze policy when explicitly recorded.
FrozenParameter MAY_PARTICIPATE_IN differentiable computation.

05. FORMAL SEMANTICS
Let theta = (theta_1, ..., theta_n) and m_i in {0,1}.
m_i = 0: parameter i is frozen; m_i = 1: parameter i is update-eligible.
For a simple masked gradient-descent step:
theta_i^(t+1) = theta_i^t - eta_t * m_i * grad_i L(theta^t).
Therefore m_i = 0 implies theta_i^(t+1) = theta_i^t under this update rule.
For a general optimiser, enforce update exclusion explicitly; zero gradients alone may not prevent weight decay, momentum or other stateful updates.
Forward computation: y = f(x; theta_frozen, theta_trainable).
Training objective: minimise L(f(x; theta_frozen, theta_trainable), target) over eligible parameters only.
Gradient flow through frozen layers may still be necessary to train upstream inputs or adapters.

06. OPERATIONS
FREEZE(group): set update eligibility false and remove or disable group in optimiser updates.
UNFREEZE(group): set eligibility true and initialise/reconcile optimiser state as required.
FORWARD(x): evaluate using both frozen and trainable parameter values.
BACKWARD(loss): compute derivatives required for eligible parameters and differentiable paths.
VALIDATE_FREEZE: compare before/after parameter tensors with declared tolerance or exact equality.
SAVE: persist weights, phase policy, masks, optimiser configuration and provenance.
RESTORE: reload and verify the intended freeze policy before resuming training.

07. INFERENCE RULES
IF update_eligible(p) = false AND update_path_excluded(p), THEN p remains invariant under optimiser steps.
IF a frozen layer feeds a trainable adapter, THEN the layer's output may contribute to adapter gradients.
IF a frozen tensor changes, THEN inspect optimiser inclusion, in-place operations, shared storage, buffer updates and restoration logic.
IF all model parameters are frozen, THEN ordinary parameter optimisation has no eligible model weights; other trainable inputs or external modules may still exist.
IF a parameter is unfrozen, THEN subsequent updates depend on gradients, optimiser membership and optimiser state.

08. RECURSIVE ENGINE
At each training step t:
  read freeze policy and parameter registry;
  compute forward output and loss;
  backpropagate derivatives as needed;
  apply optimiser to eligible parameters only;
  verify frozen tensor invariance;
  log policy, checksums and any violations;
  advance to t+1 until stop condition.
On policy change, rebuild or reconcile optimiser parameter groups before continuing.

09. TRI-MAPPING
Human: frozen weights are held fixed while selected other weights learn.
Machine: immutable-under-update parameter group with explicit optimiser exclusion.
Mathematical: m_i=0 => Delta theta_i=0 under a correctly enforced update operator.

10. EXECUTION CONSTRAINTS AND GUARANTEES
Guarantee is conditional on correct update exclusion, no in-place mutation, and stable checkpoint restoration.
Distinguish parameters from mutable buffers (e.g. running statistics), which may change independently of parameter freezing.
Do not equate requires_grad=false with a universal immutability guarantee across all frameworks and operations.
Respect tensor shapes, dtype, device placement and shared/tied-weight aliases.
Record freeze scope, duration, exceptions and verification results.

11. AI SEARCH FLOW
QUERY: What is a frozen parameter in machine learning?
ENTITY: FrozenParameter
INTENT: define | compare | train | fine-tune | troubleshoot | verify
EXPAND: TrainableParameter, FreezeMask, Optimiser, Gradient, FineTuning, Checkpoint
FILTER: phase, framework, parameter group, training mode, update mechanism
ANSWER: A frozen parameter is excluded from training updates for a defined phase; it may still be used in forward computations and gradient paths.
EVIDENCE: freeze configuration, optimiser groups, before/after parameter checks.
CONFIDENCE: high for general definition; implementation-specific guarantees require verification.

12. CITATION AND PROVENANCE
Source page: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-parameter-entities/frozen-parameter-ontology.html
Prepared as an independent companion Flow Algebra representation, not a verified extraction of embedded page text.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ