Jump to content

Artificial intelligence: Difference between revisions

From IdeaWazaWiki
No edit summary
Lumo (talk | contribs)
Expand the AI introduction with learning methods, model evaluation, agents, and a classroom test
Line 1: Line 1:
This topic page is for organizing the development of '''artificial intelligence''' related content on [[this wiki]].
'''Artificial intelligence''' ('''AI''') is a field of [[Computer science|computer science]] concerned with building systems that can do things such as recognize patterns, make predictions, plan actions, or generate content.<ref>OECD, "[https://oecd.ai/en/wonk/ai-system-definition-update Updates to the OECD's Definition of an AI System Explained]".</ref> A mail filter can classify incoming messages. A system used in [[Robotics|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.
__NOTOC__
 
Please, [[Help:Be bold|feel free to improve]] upon what you see; your contributions will be greatly appreciated.
This topic brings together learning projects for studying and testing AI. You can [[Help:Be bold|add a learning activity]] that readers in other subjects can reuse.
__NOTOC__
== 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.<ref>John McCarthy, Marvin Minsky, Nathaniel Rochester, and Claude Shannon (1955), "[https://www-formal.stanford.edu/jmc/history/dartmouth/dartmouth.html A Proposal for the Dartmouth Summer Research Project on Artificial Intelligence]".</ref>
 
In [[Wikipedia:Machine learning|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.<ref>Google for Developers, "[https://developers.google.com/machine-learning/crash-course/classification/accuracy-precision-recall Accuracy, Recall, Precision, and Related Metrics]", ''Machine Learning Crash Course''.</ref>
 
[[Wikipedia:Deep learning|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.<ref>Yann LeCun, Yoshua Bengio, and Geoffrey Hinton (2015), "[https://www.nature.com/articles/nature14539 Deep Learning]", ''Nature'', 521, 436-444.</ref>
 
== 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.<ref>Google for Developers, "[https://developers.google.com/machine-learning/crash-course/llm Introduction to Large Language Models]", ''Machine Learning Crash Course''.</ref><ref name="nist">National Institute of Standards and Technology (2024), ''[https://doi.org/10.6028/NIST.AI.600-1 Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile]'', NIST AI 600-1.</ref>
 
A question about a library's current opening hours illustrates the role of [[Retrieval-augmented generation|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.<ref>Patrick Lewis and colleagues (2020), "[https://proceedings.neurips.cc/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.html Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks]", ''Advances in Neural Information Processing Systems'', 33.</ref>
 
An [[AI agents|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|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.<ref>Anthropic, "[https://www.anthropic.com/research/building-effective-agents Building Effective AI Agents]", sections on tool use and agents.</ref>
 
== 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.
 
{| class="wikitable"
! scope="col" | Ask about
! scope="col" | 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.<ref name="nist" />
 
== Where the benefits and costs show up ==
In [[Education|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.<ref name="nist" />
 
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 [[Post-scarcity economy|technological abundance]] and access to knowledge.


== Learning projects and resources ==
== Learning projects and resources ==
Learning materials and learning projects can be used by multiple departments. Please cooperate with other departments that use the same learning resource.
* [https://ideawaza.com/index.php?title=Special%3ASearch&search=artificial%20intelligence&fulltext=Search Search this wiki for artificial intelligence] to find related learning projects.
* Build a small set of [[Evaluating AI answers|practice cases for evaluating AI answers]]. Include a question with missing information and one where two sources disagree.


Remember, this wiki has adopted the "learning by doing" model for education. Lessons should center on learning activities for participants on this wiki.
==Discussion questions, essay ideas, and learning related AI prompt ideas==
* 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.


Also, select a descriptive name for each learning project.
== References ==
<references />


* [[Artificial intelligence]]
==Readings from Wikipedia==
* [http://IdeaWaza.com/Special:Search?search=artificial+intelligence&fulltext=Search Search]
* [[Wikipedia:Artificial intelligence|Artificial intelligence]]
* [[Wikipedia:History of artificial intelligence|History of artificial intelligence]]
* [[Wikipedia:Machine learning|Machine learning]]
* [[Wikipedia:Large language model|Large language models]]


== Readings ==
== See also ==
* [[Wikipedia : Artificial intelligence]]
{{Col}}
* [[Computer science]]
* [[Robotics]]
* [[Databases]]
{{break}}
* [[Education]]
* [[Retrieval-augmented generation]]
* [[Model Context Protocol]]
{{colend}}


[[Category : Artificial intelligence|Artificial intelligence]]
[[Category:Artificial intelligence|Artificial intelligence]]
[[Category : Departments]]
[[Category:Departments]]
[[Category : Computer science departments]]
[[Category:Computer science departments]]

Revision as of 04:43, 24 November 2026

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