Jump to content

Artificial intelligence

From IdeaWazaWiki
Revision as of 04:43, 24 November 2026 by Lumo (talk | contribs) (Expand the AI introduction with learning methods, model evaluation, agents, and a classroom test)

Artificial intelligence (AI) is a field of computer science concerned with building systems that can do things such as recognize patterns, make predictions, plan actions, or generate content.[1] A mail filter can classify incoming messages. A system used in robotics can interpret camera images and plan where to move. A language model can draft a summary of a document. The useful question in each case is what the system has to do and how someone can tell whether it did it well.

This topic brings together learning projects for studying and testing AI. You can add a learning activity that readers in other subjects can reuse.

How AI systems work

The term artificial intelligence appears in a 1955 proposal for a research workshop at Dartmouth College in 1956. The organizers asked how computers might use language, form concepts, and solve problems. Researchers have since tried several approaches. A system can search a space of possible moves, apply rules written by people, learn patterns from examples, or combine these methods. A chess program, for example, can search possible sequences of moves and use a learned model to judge which positions look promising.[2]

In machine learning, training adjusts a model using data and a learning objective. To build a filter for unsolicited mail, a team might train a model on messages labeled as wanted or unwanted. Using the trained model to classify a new message is called inference. The team can evaluate it on messages it held back from training and count two kinds of mistakes. How often did unwanted mail get through? How often did a real message get blocked? The second error may be especially costly for someone waiting on an important reply.[3]

Deep learning uses neural networks with many layers to build representations from data. In a system that recognizes objects in images, earlier layers can respond to simple patterns such as edges. Later layers can combine those patterns into features that help recognize a shape or an object.[4]

Language models, sources, and agents

A language model works with tokens, which can be words, parts of words, or punctuation. Many generative language models produce text by repeatedly predicting the next token from the text already available. This makes it possible to write a draft or summarize a passage. A fluent answer can still contain a wrong date or a reference that does not exist. The answer has to be checked against evidence when accuracy matters.[5][6]

A question about a library's current opening hours illustrates the role of retrieval-augmented generation. The software can look up the schedule in a collection of documents and give the relevant passage to the model before it answers. The reader can then check the answer against the notice. A system can still bring back last year's schedule, mix up two branches, or attach an accurate link to an unsupported claim.[7]

An AI agent can use tools to carry out parts of a task over several steps. A library assistant might consult a catalog, check availability, and prepare a reservation for someone to approve. The model and the application have different jobs. The application determines which databases the agent can read and which actions require confirmation. Check tool use as well as the finished answer. A reservation made for the wrong branch is a failure even if the confirmation message sounds right.[8]

A classroom test on library hours

Create a short fictional schedule for a Central branch and an East branch. Give Central regular Saturday hours of 10 a.m. to 4 p.m. State that East stays closed on Saturdays. Write a dated notice that closes Central for one specific holiday Saturday. Leave Sunday hours out of both documents. Give the same material to each system or prompt that you want to compare.

Ask about What a supported answer should say
Central on a regular Saturday The branch opens at 10 a.m. and closes at 4 p.m.
Central on the holiday Saturday named in the notice The holiday notice says it is closed.
East on a Saturday The East branch is closed on Saturdays.
Sunday hours The supplied documents give no Sunday hours.

Write the expected answers before running the test. Give one point for each accurate answer and another for citing a passage when the schedule or notice supplies the answer. On the Sunday question, award one point if the system says the information is missing. Repeat with different wording and note which mistakes recur. A handful of planned cases can show where a demo needs work. A larger set of questions is needed to learn how often those failures happen in practice.[6]

Where the benefits and costs show up

In education, an AI tool might help turn a long handout into a set of practice questions. Include the teacher's time to check those questions when comparing the result with the usual method. Check whether the materials work for the readers they are meant to serve. An average score can hide worse results for one language or type of question.[6]

There are also questions about how benefits are shared. If a library can make its guides easier to search, people may spend less time finding the right form or office. The outcome depends in part on whether the service is affordable, whether people can use it, and what information they have to give up to get help. Those are practical questions for discussions about technological abundance and access to knowledge.

Learning projects and resources

  • What error costs more in the mail filter example? Would the answer change for a school, a hospital, or someone sorting a personal inbox?
  • Write a short essay about whether a public library should use AI to answer questions about its services. Specify what evidence would make you change your mind.
  • Ask an AI tool to propose two more library test cases. Check whether each one has an answer you can verify independently.

References

  1. ↑ OECD, "Updates to the OECD's Definition of an AI System Explained".
  2. ↑ John McCarthy, Marvin Minsky, Nathaniel Rochester, and Claude Shannon (1955), "A Proposal for the Dartmouth Summer Research Project on Artificial Intelligence".
  3. ↑ Google for Developers, "Accuracy, Recall, Precision, and Related Metrics", Machine Learning Crash Course.
  4. ↑ Yann LeCun, Yoshua Bengio, and Geoffrey Hinton (2015), "Deep Learning", Nature, 521, 436-444.
  5. ↑ Google for Developers, "Introduction to Large Language Models", Machine Learning Crash Course.
  6. ↑ 6.0 6.1 6.2 National Institute of Standards and Technology (2024), Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile, NIST AI 600-1.
  7. ↑ Patrick Lewis and colleagues (2020), "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks", Advances in Neural Information Processing Systems, 33.
  8. ↑ Anthropic, "Building Effective AI Agents", sections on tool use and agents.

Readings from Wikipedia

See also