How AI systems learn, decide, and change

A factory uses fixed inspection rules and an AI model to find defective products. Both systems can warn that something is wrong, but their behavior depends on different kinds of evidence. This episode explains how training data shape a model, what supervised and unsupervised lea…

A manufacturer has two ways to catch defective products. In the older process, a machine checks a small set of measurements against fixed limits. If the measurement crosses a limit, the product is sent for inspection. In the newer process, an AI system looks for patterns across many measurements and predicts whether the product is likely to fail after it leaves the factory. Both systems can issue an inspection warning. The reasons behind those warnings, and the evidence needed to trust them, are quite different.

The older rule follows an instruction someone defined directly. That does not make it automatically reliable, but its intended behavior is relatively straightforward to describe. The AI model has learned a relationship from examples or other training experience. Its output depends on patterns in data, the way those data were prepared, the model's design, and the circumstances in which it is used. An auditor needs to understand that distinction without becoming the person who develops the model.

A model is the component that transforms some kind of input into an output based on what it learned or how it was designed. A system is the larger arrangement around it. The system includes information sources, processing steps, software, users, permissions, decisions, monitoring, and sometimes a supplier operating parts of the service. Confusing the model with the entire system creates audit blind spots. A model can deliver a technically reasonable prediction while the surrounding application sends it to the wrong person or uses it for an unauthorized decision.

Return to the manufacturer. Suppose its first model is trained to predict defects using historical inspection measurements and the eventual results of quality checks. Engineers provide examples where the final outcome is known, and the model learns relationships between the measured characteristics and those outcomes. That is a common form of supervised learning. The word supervised refers to the presence of target outcomes in the training examples. It does not mean a human supervisor is examining every live prediction.

The model may learn that a subtle combination of vibration, heat, and pressure often precedes a defective part. The relationship could be valuable, but the auditor has to ask what those historical labels really mean. Was a product marked defective because it failed an objective test, because a worker made a judgment, or because a customer later returned it? If different factories use different definitions, the training examples can teach the model an inconsistent target. More data cannot repair a definition that is wrong for the business purpose.

Bare Metal Cyber's AAIA flashcards are useful for optional recall after listening, especially when terms such as training, inference, validation, and testing begin to run together. They are a supplement to understanding the process, not a way to replace it. Keep the factory case in mind as the terms acquire practical meaning.

During training, the system adjusts the model so that its outputs fit patterns in the available training material. The details differ across algorithms, but the audit concern is stable: the model is shaped by the information and objectives used during development. An algorithm can become extremely good at matching its training examples while failing on genuinely new material. This is one form of overfitting. It resembles an employee memorizing a stack of worked examples without learning how to handle a changed situation.

That is why sound development separates the work of fitting the model from evaluating how it behaves outside those examples. Teams may use validation data to compare candidate models or tune their choices, then reserve testing data for a more independent assessment. The exact arrangement varies by project. The important protection is that the evaluation should not quietly become another form of training. If engineers repeatedly select the best design based on a supposedly untouched test set, that set can lose much of its independence as evidence.

One particularly deceptive failure is data leakage. Suppose the factory wants to predict whether a part will fail before it leaves the line. A field in the historical dataset records which parts were later returned by customers. If that field is accidentally made available to the model as an input during development, test results may look exceptional. But the field will not exist when the actual early decision must be made. The model has effectively been allowed to use information from the future. The issue is not dishonest arithmetic. It is a broken relationship between the test conditions and the real decision.

Different evaluation measures reveal different weaknesses. Accuracy describes how often predictions match a selected reference across the evaluated population. That may sound like enough until defects are rare. Suppose almost every product is good. A model that predicts good for nearly everything could look successful by an overall accuracy measure while missing the very defects it was purchased to detect. The organization may care more about harmful misses than about the average number of correct predictions.

A false negative is a case where the system fails to flag a condition that is actually present. A false positive is a warning for a condition that is not present. Both have consequences. Missed defects can reach customers. Excessive warnings can consume inspection capacity, delay shipments, and encourage workers to ignore alerts. Good evaluation connects those forms of error to the manufacturer's real costs, safety requirements, and response capacity instead of declaring one metric universally best.

There is another kind of learning worth distinguishing. Sometimes a system looks for structure in information without starting from a known target outcome for every example. This is generally described as unsupervised learning. A factory might use it to identify unusual patterns in equipment readings that deserve investigation. An unusual pattern is not automatically a defect. It could signal an unfamiliar operating condition, a faulty sensor, or a harmless change in production. An auditor should ask how unusual results are investigated before treating them as established failures.

You may also hear about reinforcement learning, where a system learns through feedback connected to actions and outcomes. The useful question is what behavior the feedback encourages. A strategy that maximizes a narrow reward can discover shortcuts that conflict with the organization's broader goal. The name of the learning method tells you something about the development process. It does not prove that the chosen objective is safe, fair, or appropriate. Later lessons will explore these approaches in greater depth; the common thread here is that the learning setup changes what evidence is needed.

When engineers finish developing a model, they still have to decide whether it is suitable for live work. They need to understand the evaluation population, the expected operating conditions, the consequences of different errors, and any limitations that require human intervention. An approval should relate to a known model and an approved use, not to a vague belief that the project performed well in testing. The model's identity and relevant configuration should remain traceable after deployment.

Bare Metal Cyber's Cyber Wiki topic on the AI model artifact audit trail offers a useful written follow-up to this part of the lesson. It describes the records that connect a deployed model to relevant data references, configurations, evaluations, approvals, and release materials. Those records do not prove every output was correct. They make it possible to investigate which system state produced an output and whether that state was the one authorized to run.

Deployment introduces a new term: inference. For a predictive model, inference is the use of an already trained model to produce a result from an input. The factory sends current measurements, and the model returns a prediction or score. Training happened earlier. Inference happens when the system is being used. The distinction is useful because a prediction can change even when the model has not been retrained. If today's sensor readings differ from yesterday's, today's output may differ too. A changed output does not, by itself, prove that the model changed.

Now imagine that the factory replaces a sensor and its measurements shift slightly. The model code and stored parameters stay the same, but the distribution of inputs changes. This is a kind of data drift: the information reaching the model no longer has the same characteristics as the information against which it was developed or evaluated. Depending on the circumstances, the model may still perform acceptably, or it may become unreliable. Monitoring should detect relevant changes and provide a reason to investigate, not assume that every statistical shift is a harmful failure.

A deeper change can occur in the relationship between inputs and outcomes. Perhaps the manufacturer adopts a new material, and the same pressure pattern now has a different connection to eventual defects. This is often called concept drift. A model may continue to receive familiar-looking numbers yet make worse predictions because the real-world relationship it learned no longer holds. The response might involve new evaluation data, revised operating limits, additional oversight, or retraining. Choosing among those options requires evidence about the changed conditions.

Retraining is not simply a reset button. A new model may improve performance on recent examples while becoming worse for an important product line that appears less often in the new data. A change may also affect how scores are interpreted downstream. Before replacing a model, the organization should decide what must be retested, who must approve the change, how the new version will be identified, and what happens if the result is unacceptable. A capable production process treats model updates as changes with consequences, not as invisible routine maintenance.

The factory's story has been about prediction, but many organizations use generative AI systems that produce language, images, software, or other content. A language model can generate a plausible maintenance report from technician notes. The fact that the report sounds convincing does not demonstrate that every statement is supported by those notes. A generative model produces text using patterns learned during development and information made available at the time of the request. It is not automatically checking each assertion against an authoritative record.

Suppose a manager asks such an assistant to summarize all recent repair concerns. The assistant reports that one safety inspection was completed even though the underlying record says the inspection was only scheduled. A reader might treat the fluent summary as verified fact. The control problem involves how the application supplies evidence, what the model is permitted to say, how source information is identified, and whether a person checks consequential claims. A more elaborate model does not eliminate the need to validate a report used in a safety decision.

Some generative systems retrieve information from approved documents before producing an answer. This can help them refer to more relevant or current material, but retrieval introduces its own dependencies. The source documents may be outdated. The retrieval process may select the wrong passage. Access permissions may be applied incorrectly. The model may still produce an unsupported conclusion from the retrieved information. For an auditor, the important boundary includes the source collection, the retrieval process, the model, and the way the resulting answer is used. Calling the model secure does not establish that the whole arrangement handles information appropriately.

Another distinction concerns instructions given to the model. In a generative application, a prompt may shape what the model is asked to do. Changing an application-level instruction could change behavior without any retraining. Allowing a model to call tools or interact with other services can expand what the system is capable of changing in the real world. An assistant that drafts a maintenance recommendation has a different risk profile from one authorized to create repair orders or mark inspections complete. Audit scope should follow capabilities and consequences, not the marketing name of the technology.

A vendor may operate the underlying model while the organization controls the documents, prompts, tools, and approval process surrounding it. When behavior changes, investigators need to know which part changed. The supplier may have deployed a new model version. The organization may have changed its retrieval collection. A user may have asked for a different task, or an unauthorized document may have entered the context. Without records connecting the components, every unexpected answer becomes a guessing exercise.

This is why explainability must be understood carefully. A model may offer statistical information about which inputs influenced an outcome, or a system may offer a record of which documents were retrieved. Those are different kinds of explanation. Neither automatically establishes that a decision was lawful, fair, causally correct, or appropriate for the affected person. An auditor should ask what the explanation is supposed to enable: development troubleshooting, regulatory accountability, an effective human review, or an affected person's ability to challenge an outcome. The evidence has to meet that purpose.

Let's return once more to the factory. The predictive system correctly identifies a likely defect, but supervisors dismiss the warning because they have learned that many alerts are false. The AI component has performed its immediate task, yet the business control has failed. Another day, a generative assistant writes a confident maintenance note that omits a required inspection. The prose is polished, but the record is unreliable. Both cases demonstrate why testing a model in isolation is not the same as evaluating the complete system and the decisions it influences.

An auditor does not need to become a specialist in every model architecture to begin this work. It is more useful to understand what information shaped the model, what the live system supplies to it, how outputs become actions, what changes over time, and how evidence can reconnect a disputed result to the system state that produced it. Those questions give technical experts room to provide detail while keeping the audit anchored in purpose and consequence.

The next time a team says its AI system is ninety-eight percent accurate or that its latest model is more advanced, treat the statement as the beginning of an inquiry. Accurate for which decision, measured against which reference, under what conditions, and with what practical cost for the errors that remain? The answers tell you far more about appropriate use than the headline number alone.

How AI systems learn, decide, and change
Broadcast by