This site is taking shape

Enter the preview passphrase to read what is ready so far.

back to Industrialized AI

How Industrialized AI works

Industrialized AI puts a repeatable process around work done by AI models.

Industrialized AI uses AI models to manufacture products such as reports, documents, and source code. We arrange the work as a series of predefined stages, called a pipeline, in which models manufacture a product, inspect it, repair defects found during inspection, and inspect the revised version. Software runs this pipeline, calling models to do the work, recording what happens at each stage, and enforcing business rules and limits.

AI models can make mistakes when manufacturing, inspecting, or repairing a product, just as people can. We treat each stage like anything else in engineering: define what it must do, record what happened, test how well it works, and improve it when it fails.

We record the source information, every version of a product, the problems found, the changes made, and the decision to accept the product or stop work. An accepted product is released with the evidence supporting its acceptance, so that decision can be reviewed if the product is questioned later.

Start with a product and the requirements it must meet

We need to know what a product is for before we can decide how to make it and what would make it good enough to use. A software team might need a reviewed vulnerability report to decide what requires attention, so the report must distinguish claims supported by evidence from conclusions that still need investigation.

Reported severity Critical 9.8

Illustrative incoming AI-generated vulnerability report

Remote code execution in the gateway

Reported component
Gateway runtime 4.2
Reported exposure
Internet-facing
Evidence cited
Affected version and a successful connection to port 8443
Recommended actionInterrupt planned work and deploy the patched version immediately

A predefined process controls how work is produced and checked

Once we agree what a product needs to do, we define a pipeline that sends each version for inspection before release. The results of inspection are recorded as inspection findings: whether a version meets its requirements and, if it doesn't, what is wrong and why. The pipeline uses those findings to decide whether to release the product, send it for repair, or stop if the requirements can't be met within agreed limits.

The core production loop

Models manufacture a product from source material, inspect it against agreed requirements, and repair any problems found. The pipeline sends repaired versions for inspection again and releases a version only when it passes the required checks.

Source material Recorded information used to manufacture and inspect a product.
Agreed requirements Requirements, inspection methods, and tolerances agreed before work starts.
Model task Manufacture

Produces a product version from the recorded material.

Model task Inspect

Checks the product against the agreed requirements.

Repair required Repair

Uses the version that failed inspection and the reasons it failed to produce a corrected version.

Passed inspection Release

Makes the accepted version available with its evidence.

Evidence retained throughout Source material, product versions, observations, decisions, defects, repairs, and the final outcome.

Record source material and agree requirements before work starts

Source material is the information used to produce and inspect a product, so we record it before work begins and use it to check what the models produce. The incoming report and the evidence needed to assess its claims provide that material in this example.

Recorded source material material-set-001
Recorded source material
Incoming reportThe report claims a critical, internet-facing remote-code-execution vulnerability in gateway runtime 4.2.
Vulnerability advisoryThe vulnerability is rated Critical (9.8). The affected feature permits unauthenticated remote code execution when it can be reached.
Runtime and configurationGateway runtime 4.2 is installed and the vulnerable feature is enabled on port 8443.
Scanner observationPort 8443 accepted a connection from the corporate network.
Network controlsNo route from the internet is published, and the recorded firewall rules include a rule denying incoming internet connections.
Known gapNo independent connection test was made from outside the corporate network.

Before manufacture, we agree what a product needs to do and how inspection will check that it meets those requirements. The report must answer the questions below and explain what information is missing and what can't be concluded without it.

Questions the report must answer 5 checks
Questions the reviewed vulnerability report must answer
01ApplicabilityAre the affected runtime version and vulnerable feature present?
02ExploitabilityCan the vulnerable feature be exploited, and what conditions must be met?
03ExposureCan the vulnerable feature be reached from inside or outside the corporate network, or both?
04Severity and actionDo the established facts support the rating and recommended response?
05LimitsWhat information is missing, and how could it change the report's conclusions?

Manufacture turns source material into the first version of a product

In this example, a model reviews the incoming report and supporting evidence, then drafts a report answering the questions agreed before manufacture. The process saves this first version so it can be inspected.

Reviewed vulnerability report · version 1 reviewed-report-r001
Reviewed vulnerability report version 1
Affected componentConfirmed: gateway runtime 4.2 is installed.
Vulnerable featureConfirmed: the feature is enabled on port 8443.
ImpactUnauthenticated remote code execution if the vulnerable feature can be reached.
ExposureInternet-facing.
SeverityCritical (9.8), as rated by the advisory.
Recommended actionInterrupt planned work and deploy the patched version immediately.

Producing a first version doesn't establish that it meets the requirements, even when it looks convincing. Inspection follows manufacture so that the work is checked before it's released for use.

Inspection checks a product against its requirements

Inspection uses source material to check whether a product meets the requirements agreed before manufacture. For this report, a model checks whether the answers are supported by evidence and whether the report explains what information is missing and what can't be concluded without it. The pipeline uses the inspection findings to decide whether to release the report, send it for repair, or stop.

In this case, the claim of internet exposure isn't supported: the connection came from the corporate network, and no external connection test was supplied. The pipeline sends the report for repair so that the unsupported claim can be corrected.

Repairs continue within the agreed limits, and a product is released only after it passes the required checks. If those checks can't be completed or the product still fails when the repair limit is reached, the pipeline stops.

Inspection finding reviewed-report-r001
Inspection finding for reviewed vulnerability report version 1
QuestionCan the gateway be reached from the internet?
Report claimsThe connection to port 8443 confirms internet exposure.
Evidence showsThe connection came from the corporate network. No external test was supplied.
Model’s assessmentInternet exposure has not been established.
Process decisionRepair required

A model used for both manufacture and inspection may repeat a mistake when checking its own work, so a passing inspection doesn't prove that the product is correct. We can test a model's inspection accuracy using reports whose correct conclusions are already known, including versions with deliberate mistakes such as the unsupported exposure claim here. Comparing the inspection findings with the known conclusions shows which errors the model catches or misses and whether it wrongly rejects correct conclusions. The test results help a team improve inspection and judge whether it's reliable enough for their work.1

Most of the report still holds up, so repair can keep those parts and correct the unsupported claim without starting the review again.

Repair corrects defects, followed by another inspection

Repair takes the version of the product that failed inspection and the reasons it failed, and uses those to produce a corrected version. The pipeline sends the report and supporting evidence to a model, along with inspection findings that explain why the claim of internet exposure isn't supported.

reviewed-report-r001 Failed inspection

The report treated a connection from the corporate network as proof of internet exposure.

Recorded defect Unsupported claim of internet exposure

No connection test was made from outside the corporate network.

reviewed-report-r002 Repaired report

The report no longer claims internet exposure and identifies the missing external test.

Repair can introduce new mistakes or leave the original problem unresolved, so the new version goes through the same inspection again. The checks cover the whole product, including the parts that repair was meant to preserve.

Inspection of repaired report reviewed-report-r002 Accepted

The revised report distinguishes internal connectivity from internet exposure and identifies the missing external test. It passes inspection because its conclusions are supported by the supplied evidence and it explains why internet exposure hasn't been established.

Release delivers an accepted product with its supporting evidence

For this report, the source material, earlier versions, and inspection findings show what changed and why the final version was accepted.

Reviewed vulnerability report · version 2 reviewed-report-r002
Reviewed vulnerability report version 2
Affected componentConfirmed: gateway runtime 4.2 is installed.
Vulnerable featureConfirmed: the feature is enabled on port 8443.
ImpactUnauthenticated remote code execution if the vulnerable feature can be reached.
Observed exposureConfirmed from the corporate network.
Internet exposureNot established by the available evidence.
SeverityCritical (9.8), as rated by the advisory.
Recommended actionDeploy the patched version. Verify whether the service is reachable from the internet.

If a mistake is discovered after release, a team can examine the records from the process to investigate where it arose and why it wasn't caught.2 These records also help a team improve manufacture, inspection, and repair by testing changes on examples with known answers and measuring how those changes affect quality, cost, and delivery time.

Notes and references

  1. Attribute agreement analysis compares inspection judgments with known reference answers and checks whether repeated judgments agree. Minitab’s guide to attribute agreement analysis (PDF) explains how to measure incorrect acceptance and rejection. NIST describes how check standards can monitor a measurement process over time. Back to text
  2. Kaoru Ishikawa’s cause-and-effect diagram is one way to organize possible causes of a defect for investigation. These can include material, methods, machinery, and measurement; the records retained here help a team investigate those possibilities. Back to text