What Makes a System an AI System?
11 min read
Lesson objectives
- Separate the input, objective, and inference from the action the librarian controls.
Please sign in to use all the tools
Once you sign in, the reading tools are yours: larger or smaller text, typeface, line spacing, focus mode, highlighting and bold, and notes saved to your account and gathered in My study.
Introduction
You type half a sentence and your phone suggests the next word. You type a question into a service form and the system suggests a desk that can help. If the phone supplies the wrong word, you can change it. In a service, a wrong suggestion can send a request to a desk that cannot answer it. This book begins with that difference. You will learn how AI systems arrive at their outputs and how to tell whether those outputs are fit for the work they will be used for.
Module One starts with the system from the outside. You will see where the field came from and learn to separate what goes into a system, what comes out, and what a person or another program does with the result. You'll see when a published policy gives you enough information to write a rule and when a model might help you handle unfamiliar wording. Module Two turns to the data used to build models. You'll choose examples for training, measure the error of a small model, and save a set of cases to test whether it works on new examples.
Module Three moves from neural calculations to attention and generated replies. Module Four compares thresholds and shows how to verify claims a reader may act on.
Module Five covers uneven performance, data protection, appeals and risk. Module Six applies these decisions at fictional Cypress Library, from planning a trial through testing a stop and deciding whether to resume.
You can do the work in this book with a pencil and paper. In each lesson, read the worked example with its reasoning, follow a few cues in the guided exercise, then attempt the second exercise on your own. Compare your attempt with the answer afterward. If you made a different choice, check which facts helped you reach it and what would happen if you acted on it. That habit will help you justify a decision when you meet a case that looks different from the ones in the book.
What this module will help you do
When your phone suggests a word to finish a sentence, you can accept or change it. This familiar action gives us a way into the field of artificial intelligence. The field studies how to build systems that can recognize patterns, predict outcomes, or suggest actions by drawing inferences from available information. Their scope matters because a spelling suggestion and a decision about how someone receives a service have different consequences when they go wrong.
Questions about how computers might use language and solve problems helped give rise to the field. A proposal for the 1956 Dartmouth research workshop used the name artificial intelligence. Researchers have pursued methods that search or infer using explicit rules and methods that learn patterns from examples. Neural networks with many layers can learn complex representations for images and language. Some systems assign categories or predict quantities. Others compose new text. This module gives you a way to tell these jobs apart before you set out to test them.
By the end of the module, you'll be able to describe a system's objective, inputs, outputs, and effects. You'll be able to tell a written condition, a model's classification, and a generated draft apart. When a model-based service breaks, you'll also be able to name the stage and the person responsible for investigating it.
From an input to a consequence
An AI system infers how to produce an output from inputs for an objective. An output can be a prediction, recommendation, generated content or decision. Check whether it gives advice to staff or triggers an action in the service.
Inference means using a model or a representation of knowledge to produce an output for the present case. Suppose a routing system reads, “Can I use a computer at the branch in the morning?” It might rank a facilities inquiry as the most likely category. That ranking is an inference. Sending the message to the facilities desk is a separate step in the workflow. The distinction matters to the reader. Staff can correct a suggestion before it sends a message astray. With automatic routing, the reader might wait while the message sits with someone who cannot handle it.
The model is the part that produces the ranking. The system also includes the channel that receives the message, any preparation of the text, the service categories, the routing procedure, and the screen an employee uses to check the result. This matters when you have to investigate a failure. The model might assign the right category, while an outdated routing address still sends the message to the wrong desk. The service team can correct that address without touching the model.
An input is the information the system receives as it works. An output is what it produces before anyone or anything acts on it. An objective describes what makes the output worth producing. The library might set an objective of getting questions to an employee who can answer them faster, with a clear path for handling ambiguous requests. An attractively worded suggestion does little to meet that objective on its own. The service owner needs evidence of where the question ended up and who handled it.
Roles and boundaries
The service owner is responsible for defining the task and following its effects on readers and staff. The model team decides what inputs the model needs and how to test its ability to produce the right output. A librarian has a different professional role. They know which desks handle which requests and can change a classification when a message has several plausible meanings. The reader is an affected party as well. The value of the assistant depends in part on whether the reader has a clear way to reach a person when the system gets something wrong.
The scope has a boundary at either end of the workflow. At the input, ask which information the system needs and which information belongs outside that boundary. The subject of a question about opening hours is already in the message. The reader's borrowing history adds no useful evidence for routing it. At the output, ask what the system is allowed to suggest and what stays within the librarian's role. The assistant may classify a borrowing inquiry. Resolving a dispute about an overdue charge involves a review of the account and the application of a policy by someone responsible for that decision.
Use language that describes the system's role precisely. “The model ranked Facilities highest” tells you something you can check. Saying that the model understood what the reader needed makes a much broader claim. The ranking may come from an association supported by older examples and may change unexpectedly when someone phrases the same question differently. That limitation matters when designing the employee's screen. Showing the original question with the suggested category gives staff evidence they can use to investigate the suggestion. A confident statement by itself may encourage staff to accept the category before reading the request.
A second distinction is between the source of an output and its appearance. A complete sentence can show up because an employee wrote it in advance and attached it to a button. A similar sentence can appear because an AI system inferred a response from the content of a request. They could look identical to the reader. The testing needs are different. Check the first service for missing buttons and outdated answers. Test the second on varied messages, including ambiguous ones, and measure what happens as people's wording changes. One system can include both methods.
Worked example
Now consider a different failure. The facilities desk always receives the message, even when the model suggests a different desk. Start with the routing procedure. If the model repeatedly confuses tables and rooms in its suggestions, examine the category definitions and the examples used for training. Each diagnosis points to a different change. Updating an address will not teach a model a new distinction. Retraining a model will not fix a rule that sends every message to the wrong inbox.
Guided practice
Independent practice
Summary
Check your understanding
Lesson summary
An AI system infers how to produce outputs from inputs in pursuit of an objective. A model is the component that produces a result, while the system also includes the channels, procedures, and screens that put the result to use. An input is what arrives, an output is what the system produces, and an objective says why the result is valuable. Describe those three things for a familiar service, then name who checks the suggestion and who can act on it. To test a boundary, change one input and see which component's output changes. If a correctly classified request goes astray, investigate the routing procedure. A well-worded suggestion gives you little evidence about human-like understanding. With the system boundaries clear, you can compare a written rule with a model trained on examples.