Share to: share facebook share twitter share wa share telegram print page

Forward chaining

Forward chaining (or forward reasoning) is one of the two main methods of reasoning when using an inference engine and can be described logically as repeated application of modus ponens. Forward chaining is a popular implementation strategy for expert systems, business and production rule systems. The opposite of forward chaining is backward chaining.

Forward chaining starts with the available data and uses inference rules to extract more data (from an end user, for example) until a goal is reached. An inference engine using forward chaining searches the inference rules until it finds one where the antecedent (If clause) is known to be true. When such a rule is found, the engine can conclude, or infer, the consequent (Then clause), resulting in the addition of new information to its data.[1]

Inference engines will iterate through this process until a goal is reached.

Example

Suppose that the goal is to conclude the color of a pet named Fritz, given that he croaks and eats flies, and that the rule base contains the following four rules:

  1. If X croaks and X eats flies - Then X is a frog
  2. If X chirps and X sings - Then X is a canary
  3. If X is a frog - Then X is green
  4. If X is a canary - Then X is blue

Let us illustrate forward chaining by following the pattern of a computer as it evaluates the rules. Assume the following facts:

  • Fritz croaks
  • Fritz eats flies

With forward reasoning, the inference engine can derive that Fritz is green in a series of steps:

1. Since the base facts indicate that "Fritz croaks" and "Fritz eats flies", the antecedent of rule #1 is satisfied by substituting Fritz for X, and the inference engine concludes:

 Fritz is a frog

2. The antecedent of rule #3 is then satisfied by substituting Fritz for X, and the inference engine concludes:

 Fritz is green

The name "forward chaining" comes from the fact that the inference engine starts with the data and reasons its way to the answer, as opposed to backward chaining, which works the other way around. In the derivation, the rules are used in the opposite order as compared to backward chaining. In this example, rules #2 and #4 were not used in determining that Fritz is green.

Because the data determines which rules are selected and used, this method is called data-driven, in contrast to goal-driven backward chaining inference. The forward chaining approach is often employed by expert systems, such as CLIPS.

One of the advantages of forward-chaining over backward-chaining is that the reception of new data can trigger new inferences, which makes the engine better suited to dynamic situations in which conditions are likely to change.[2][3]

Applications

Forward chaining is a powerful reasoning strategy with numerous applications in AI and related fields. Some of the prominent applications include:

  • Expert Systems: Expert systems are AI systems that mimic the decision-making abilities of human experts in a specific domain. They rely on forward chaining to apply expert knowledge to solve problems and make recommendations.
  • Diagnosis and Troubleshooting: Forward chaining is extensively used in medical diagnosis and troubleshooting systems, where the input symptoms and test results are used to determine potential causes and treatments.
  • Intelligent Tutoring Systems: Educational software often employs forward chaining to adapt to students’ progress and provide customized learning paths and feedback.
  • Decision Support Systems: Forward chaining is utilized in business and management decision support systems to analyze data and recommend actions or strategies.
  • Natural Language Processing: In natural language processing, forward chaining can be applied to resolve ambiguities in language and extract useful information from text.[4]

See also

References

  1. ^ Feigenbaum, Edward (1988). The Rise of the Expert Company. Times Books. p. 318. ISBN 0-8129-1731-6.
  2. ^ Hayes-Roth, Frederick; Donald Waterman; Douglas Lenat (1983). Building Expert Systems. Addison-Wesley. ISBN 0-201-10686-8.
  3. ^ Kaczor, Krzystof; Szymon Bobek; Grzegorz J. Nalepa (2010-12-05). "Overview of Expert System Shells" (PDF). geist.agh.edu.pl/. Krakow, Poland: Institute of Automatics: AGH University of Science and Technology, Poland. Retrieved 5 December 2013.
  4. ^ "Applications of Forward Chaining". www.doubtly.in. Retrieved 2023-11-02.


Read other articles:

العلاقات الإيرانية السورية   إيران   سوريا السفارات السفارة الإيرانية بدمشق   السفير : جواد تركبادي   العنوان : دمشق (مزة أتستراد، جانب مشفى الرازي)   السفارة الإيرانية بدمشق السفارة السورية في طهران   السفير : عدنان محمود   العنوان&#…

LemahabangKecamatanPeta lokasi Kecamatan LemahabangNegara IndonesiaProvinsiJawa BaratKabupatenKarawangPemerintahan • CamatH.Hamdabi.Sip.Populasi • Total61,028 jiwa jiwaKode Kemendagri32.15.19 Kode BPS3215090 Luas46,91 km2Desa/kelurahan11 Lemah Abang adalah sebuah kecamatan di Kabupaten Karawang, Provinsi Jawa Barat, Indonesia. Kecamatan Lemahabang merupakan kecamatan pemekaran dari kecamatan Talagasari. Nama lain kecamatan Lemahabang adalah Wadas. Berbatasan dengan k…

التكنولوجيا التعليمية في المملكة العربية السعودية هي استخدام تقنيات التعليم في المملكة العربية السعودية منذ منتصف السبيعينيات، بدايتها والتطورات والوضع الحالي. كما يصف النمو المتزايد في استخدام التكنولوجيا في المدارس والمعاهد والجامعات، ويعرض موقف الشعب السعودي تجاه هذ…

American organization for broad-based interfaith fellowship This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: Christian Churches Together – news · newspapers · books · scholar · JSTOR (April 2010) (Learn how and when to remove this template message) Christian Churches Together in the USA (CCT) is an organization formed in 2006 to broaden and expand fellowshi…

Jenny Zhang Jenny ZhangInformación personalNacimiento 1983 Shanghái (China) Residencia Shanghái, Stanford, San Francisco, Brooklyn, Iowa City, Long Island, Hungría y Mediodía francés Nacionalidad Chino-americanaEducaciónEducada en Universidad de Stanford Iowa Writers' WorkshopInformación profesionalOcupación Escritora PoetaEnsayistaAños activa 2010-presenteEmpleador The New SchoolRookie (2011-2014) Seudónimo Jenny Bagel Sitio web jennybagel.com [editar datos en Wikidata]…

Le jeu incrémental (de l'anglais incremental), ou idle game (littéralement « jeu inactif »), ou encore clicker game est un genre de jeux vidéo dont la mécanique de jeu principale consiste en de simples actions à l’interactivité volontairement limitée : il peut s'agir de cliquer à répétition ou de simplement laisser le jeu s'exécuter, le « joueur » n'ayant alors rien à faire. Le plus souvent, cette mécanique de jeu entraîne une progression monétaire v…

This article is an orphan, as no other articles link to it. Please introduce links to this page from related articles; try the Find link tool for suggestions. (October 2017) K. Srinivas (born 28 October 1993) was the Indian national carrom champion and the winner of the 4th Carrom World Cup held at the Maldives. He won numerous title in men's single and double tournaments held around the globe. He was felicitated by women's national carrom champion P. Nirmala, and congratulated for winning the m…

Countries from which at least one representative attended the funeral of Queen Elizabeth II on 19 September 2022. The state funeral of Elizabeth II, Queen of the United Kingdom and the 14 other Commonwealth realms, was attended by a significant number of dignitaries from across the world, with priority given to those from the Commonwealth of Nations, becoming one of the largest gathering of world leaders in history. They attended a service at Westminster Abbey on 19 September 2022. In addition t…

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (مارس 2020) لواء بانزر 113 تشكيل مدرع للجيش الألماني في الحرب العالمية الثانية. باعتباره تشكيل دبابة، كان جزءًا من سلاح المدرعات. التاريخ تم تشكيل اللواء 113 بانزر في 4 سبتمبر …

Indian political party Political party in India Himachal Pradesh Congress Committee PresidentPratibha SinghChairpersonSukhvinder Singh Sukhu(CM of HP)HeadquartersRajiv Bhawan, Near HPTDC, Shimla-171001, Himachal PradeshYouth wingHimachal Pradesh Youth CongressWomen's wingHimachal Pradesh Mahila Congress CommitteeIdeologyPopulismSocial liberalismDemocratic socialismSocial democracySecularismAllianceUnited Progressive AllianceSeats in Lok Sabha1 / 4 Seats in Rajya …

Halaman ini berisi artikel tentang pemain biliar dan snooker India. Untuk sutradara, lihat Pankaj Advani (sutradara). Pankaj Advani di Paul Hunter Classic 2012 Pankaj Arjan Advani (lahir 24 Juli 1985) adalah seorang pemain biliar Inggris profesional dan mantan pemain snooker profesional asal India. Dalam mengakui prestasinya, Pemerintah India telah menganugerahkan beberapa penghargaan kepada Advani—Penghargaan Arjuna pada 2004, Rajiv Gandhi Khel Ratna pada 2006, dan Padma Shri pada 2009.[1…

ZoebaidaIklan koran, Medan; iklan Tarzan Finds a Son! ada di bawahnyaSutradara Njoo Cheong Seng Produser Tjan Hock Siong Ditulis olehBerdasarkanTimoerianaoleh Njoo Cheong SengPemeranFifi YoungPenata musikOriental Novelty FiveSinematograferJJW SteffensPerusahaanproduksiOriental FilmTanggal rilis 1940 (1940) (Hindia Belanda) Negara Indonesia Bahasa Indonesia Zoebaida adalah sebuah film Hindia Belanda tahun 1940 yang disutradarai Njoo Cheong Seng dan menceritakan kisah cinta di Timor…

Air Terjun Jami Informasi Lokasi Dusun Baru, Desa Bonto Manurung,[1] Kecamatan Tompobulu, Kabupaten Maros, Provinsi Sulawesi Selatan. Negara  Indonesia Pengelola Pemerintah Desa Bonto Manurung & Dinas Kebudayaan dan Pariwisata Kabupaten Maros Jenis objek wisata Air terjun Air Terjun Jami adalah salah satu air terjun yang berada tepat pada kawasan hutan produksi[1] di Dusun Baru, Desa Bonto Manurung,[1] Kecamatan Tompobulu, Kabupaten Maros, Provinsi Sulawesi Selat…

بالوردي: إقليم مرتفعات قرة باغ ذاتي الحكم بالأحمر: أراضي أذربيجانية سيطر عنها الأرمن 1. كلبجر 2. لاتشين 3. قبادلي 4. زنغلان 5. جبرائيل 6. فضولي 7. آقدام كانت الأراضي الأذربيجانية المحيطة بقره باغ التي سيطر عليها الأرمن مناطق أذربيجانية، تقع خارج إقليم مرتفعات قره باغ ذاتي الحكم، ق…

Coordenadas: 40° 38' N 28° 13' E Mar de Mármara com o mar Negro em cima e o mar Egeu à esquerda O Mar de Mármara, também conhecido como mar de Mármora (em turco: Marmara Denizi; em grego: Μαρμαρα̃ Θάλασσα; romaniz.:Marmara Thalassa ou Προποντίδα; Propontida), é um mar interior que separa o mar Negro do mar Egeu - separando, assim, a parte asiática da Turquia da sua parte europeia pelos estreitos de Bósforo e Dardanelos. Sua área de superfície é de 11…

1953 film The Girl from Moon BridgeDirected byMatti KassilaWritten byMatti Kassila Hella WuolijokiProduced byT.J. SärkkäStarringTyyne Haarla Ansa Ikonen Paavo JännesCinematographyKalle PeronkoskiMusic byHeikki AaltoilaProductioncompanySuomen FilmiteollisuusDistributed bySuomen FilmiteollisuusRelease date30 October 1953CountryFinlandLanguageFinnish The Girl from Moon Bridge (Finnish: Tyttö kuunsillalta) is a 1953 Finnish drama film directed by Matti Kassila and starring Tyyne Haarla, Ansa Iko…

New York, New York Gatunek dramat, film muzyczny Rok produkcji 1977 Data premiery 21 czerwca 1977 Kraj produkcji Stany Zjednoczone Czas trwania 155 min (wersja oficjalna)163 min (wersja reżyserska) Reżyseria Martin Scorsese Scenariusz Earl Mac RauchMardik Martin Główne role Liza MinnelliRobert De Niro Zdjęcia László Kovács Montaż Bert LovittDavid RamirezTom Rolf Produkcja Robert ChartoffIrwin Winkler Dystrybucja United Artists Budżet 14 000 000 $ New York, New York – amerykański fil…

Women's rights activist from Somaliland This article is an orphan, as no other articles link to it. Please introduce links to this page from related articles; try the Find link tool for suggestions. (January 2018) Suad AbdiBornSuad Ibrahim AbdiSomalilandOccupationactivistYears active1996–presentKnown forwomen's rights Suad Ibrahim Abdi is a women's rights activist from Somaliland. She was the country representative for Progressio and also an active campaigner to open up democracy for…

German resistance members Elise and Otto Hampel's 1942 Gestapo pictures Otto and Elise Hampel were a working class German couple who created a simple method of protest against Nazism in Berlin during the middle years of World War II. They wrote postcards denouncing Hitler's government and left them in public places around the city. They were eventually caught, tried, and beheaded in Berlin's Plötzensee Prison in April 1943. Shortly after the end of the war, their Gestapo file was given to …

This article may need to be rewritten to comply with Wikipedia's quality standards. You can help. The talk page may contain suggestions. (September 2013) 1999 video gameDragon ValorPAL cover artDeveloper(s)Now ProductionPublisher(s)WW: NamcoEU: Sony Computer EntertainmentDirector(s)Atsushi NakanishiProducer(s)Yukito OhayashiMasami ShimotsumaYasuhiro NoguchiProgrammer(s)Etsurō KishiNaoki HashitaniSeita MiyauchiWriter(s)Atsushi SuzukiMasami ShimotsumaHirofumi IshimuraComposer(s)Nobuhiro ŌuchiAya…

Kembali kehalaman sebelumnya

Lokasi Pengunjung: 3.129.210.137