Lesson 14 / 14
AI Beyond Language Models
Artificial intelligence also powers image analysis, speech processing, forecasting, scientific research, and robotic systems. Learn to choose an approach and measure whether it works.
By the end of this lesson, you will be able to:
- Recognize computer vision, speech, prediction, robotics and scientific AI applications.
- Choose useful metrics for different AI tasks.
- Build a small validation plan for a non-chat AI use case.
1. AI includes specialized systems
Generative language models are one part of artificial intelligence. Many practical systems identify patterns in images, recognize speech, predict future values or control physical equipment. Sometimes they use a neural network trained for a narrowly defined task; sometimes they combine statistical models, optimization algorithms and conventional software. The important starting question is what decision the system must support and what evidence is available.
Do not choose a chat interface automatically. A detector that flags potential cracks in an image might be more useful as a structured alert with a bounding box, confidence estimate and human review queue. A forecasting model may simply return expected demand and an uncertainty range. The output should match the operational decision.
2. Computer vision and speech
Computer vision includes image classification, object detection, segmentation and tracking. Classification decides which category an image belongs to; detection locates objects; segmentation marks regions or pixels. A manufacturing team might flag photographs with suspected defects, but every false alarm wastes review time and every missed defect can have consequences. Evaluate precision, recall and performance under new lighting, cameras and product types.
Speech systems can turn audio into text, distinguish speakers or generate speech from text. A transcription that looks readable may still confuse names, numbers, accents or overlapping voices. Evaluate word error rate when reference transcripts exist, but also measure business-critical errors such as a mistaken delivery date. For recorded conversations, consent, retention and access controls matter as much as transcription accuracy.
3. Predictive AI and scientific models
Predictive systems estimate a future value or event, such as electricity demand, equipment maintenance needs or customer churn. The evaluation must respect time: train on earlier data and test on later periods. Otherwise information from the future may leak into the training set, producing unrealistic performance. Compare the AI method with a simple baseline such as the previous week's average or a basic statistical forecast.
Scientific AI can help estimate properties of materials, identify patterns in experimental data or prioritize hypotheses for laboratory investigation. A predicted molecule property is not a confirmed experimental finding. Validation may require a controlled experiment, independent dataset or expert review. The cost of a false positive or missed discovery should influence how candidates are ranked.
4. Robotics operates in a physical environment
Robotic systems combine sensors, perception, planning, control and hardware. A robot that identifies a box correctly may still fail to grasp it, navigate around people or stop safely. Evaluate complete tasks under physical conditions, not just recognition accuracy in a dataset. Monitor interventions, near misses, safety stops and the percentage of tasks completed without assistance.
Start robotics pilots inside controlled environments with explicit fail-safe behavior, trained operators and appropriate safety engineering. A simulation can expose many errors cheaply, but it cannot establish that real-world hardware is safe. Changes in lighting, friction, objects and human movement often reveal gaps that were invisible in a virtual test.
5. Select metrics that reflect consequences
For rare defects, overall accuracy can be misleading: a system that says 'no defect' on every image might look accurate while missing every dangerous case. Precision measures the fraction of alerts that were real; recall measures the fraction of real cases caught. For forecasts, use errors expressed in meaningful units, such as average kilowatt-hours missed. For robotics, measure safe successful task completion. Choose thresholds from the consequences of false positives and false negatives.
Always document the collection process and who reviewed the answers. Test changes in conditions, including populations or environments underrepresented in the original data. A small pilot can justify further research, but it cannot by itself demonstrate reliability across every new setting.
Worked example
Worked example: identifying equipment defects
A hypothetical factory pilot evaluates 100 photographs. Human inspectors confirm 20 real defects. The AI flags 20 images: 15 are real defects and five are false alarms.
- True positives = 15; false positives = 5; false negatives = 5, because 20 real defects existed and the AI found 15.
- Precision = 15 ÷ (15 + 5) = 75%. Recall = 15 ÷ (15 + 5) = 75%. These describe different error types even when the percentages match.
- Inspect the five missed defects and decide whether misses are acceptable. If they threaten safety, use mandatory human inspection while improving the model.
A single percentage is not the product decision. The cost of missed defects, false alarms, changing conditions and required human review determine whether this pilot is useful.
Check your understanding
A defect detector misses nearly all rare but dangerous defects. Why is high overall accuracy insufficient?
Apply what you learned
Design an AI application for your industry
- Describe a specific problem and who experiences it.
- Identify the input data and the AI approach you would test.
- Define a measurable success criterion and a human verification step.
Discuss this lesson
Read discussions freely. A free account is needed only to post or reply.
Open forum →