Commonsense reasoning
In artificial intelligence (AI), commonsense reasoning is a human-like ability to make presumptions about the type and essence of ordinary situations humans encounter every day. These assumptions include judgments about the nature of physical objects, taxonomic properties, and peoples' intentions. A device that exhibits commonsense reasoning might be capable of drawing conclusions that are similar to humans' folk psychology (humans' innate ability to reason about people's behavior and intentions) and naive physics (humans' natural understanding of the physical world).[1]
Definitions and characterizations
[edit]Some definitions and characterizations of common sense from different authors include:
- "Commonsense knowledge includes the basic facts about events (including actions) and their effects, facts about knowledge and how it is obtained, facts about beliefs and desires. It also includes the basic facts about material objects and their properties."[2]
- "Commonsense knowledge differs from encyclopedic knowledge in that it deals with general knowledge rather than the details of specific entities."[3]
- Commonsense knowledge is "real world knowledge that can provide a basis for additional knowledge to be gathered and interpreted automatically".[4]
- The commonsense world consists of "time, space, physical interactions, people, and so on".[1]
- Common sense is "all the knowledge about the world that we take for granted but rarely state out loud".[5]
- Common sense is "broadly reusable background knowledge that's not specific to a particular subject area... knowledge that you ought to have."[6]
NYU professor Ernest Davis characterizes commonsense knowledge as "what a typical seven year old knows about the world", including physical objects, substances, plants, animals, and human society. It usually excludes book-learning, specialized knowledge, and knowledge of conventions; but it sometimes includes knowledge about those topics. For example, knowing how to play cards is specialized knowledge, not "commonsense knowledge"; but knowing that people play cards for fun does count as "commonsense knowledge".[7]
Commonsense reasoning problem
[edit]Compared with humans, existing AI lacks several features of human commonsense reasoning; most notably, humans have powerful mechanisms for reasoning about "naïve physics" such as space, time, and physical interactions. This enables even young children to easily make inferences like "If I roll this pen off a table, it will fall on the floor". Humans also have a powerful mechanism of "folk psychology" that helps them to interpret natural-language sentences such as "The city councilmen refused the demonstrators a permit because they advocated violence". (A generic AI has difficulty discerning whether the ones alleged to be advocating violence are the councilmen or the demonstrators.)[1][8][9] This lack of "common knowledge" means that AI often makes different mistakes than humans make, in ways that can seem incomprehensible. For example, existing self-driving cars cannot reason about the location nor the intentions of pedestrians in the exact way that humans do, and instead must use non-human modes of reasoning to avoid accidents.[10][11][12]
Overlapping subtopics of commonsense reasoning include quantities and measurements, time and space, physics, minds, society, plans and goals, and actions and change.[13]
Commonsense knowledge problem
[edit]The commonsense knowledge problem is a current project in the sphere of artificial intelligence to create a database that contains the general knowledge most individuals are expected to have, represented in an accessible way to artificial intelligence programs[14] that use natural language. Due to the broad scope of the commonsense knowledge, this issue is considered to be among the most difficult problems in AI research.[15] In order for any task to be done as a human mind would manage it, the machine is required to appear as intelligent as a human being. Such tasks include object recognition, machine translation and text mining. To perform them, the machine has to be aware of the same concepts that an individual, who possess commonsense knowledge, recognizes.
Commonsense in intelligent tasks
[edit]In 1961, Bar Hillel first discussed the need and significance of practical knowledge for natural language processing in the context of machine translation.[16] Some ambiguities are resolved by using simple and easy to acquire rules. Others require a broad acknowledgement of the surrounding world, thus they require more commonsense knowledge. For instance, when a machine is used to translate a text, problems of ambiguity arise, which could be easily resolved by attaining a concrete and true understanding of the context. Online translators often resolve ambiguities using analogous or similar words. For example, in translating the sentences "The electrician is working" and "The telephone is working" into German, the machine translates correctly "working" in the means of "laboring" in the first one and as "functioning properly" in the second one. The machine has seen and read in the body of texts that the German words for "laboring" and "electrician" are frequently used in a combination and are found close together. The same applies for "telephone" and "function properly". However, the statistical proxy which works in simple cases often fails in complex ones. Existing computer programs carry out simple language tasks by manipulating short phrases or separate words, but they don't attempt any deeper understanding and focus on short-term results.
Computer vision
[edit]Issues of this kind arise in computer vision.[1][17] For instance when looking at a photograph of a bathroom some items that are small and only partly seen, such as facecloths and bottles, are recognizable due to the surrounding objects (toilet, wash basin, bathtub), which suggest the purpose of the room. In an isolated image they would be difficult to identify.
Movies prove to be even more difficult tasks. Some movies contain scenes and moments that cannot be understood by simply matching memorized templates to images. For instance, to understand the context of the movie, the viewer is required to make inferences about characters’ intentions and make presumptions depending on their behavior. In the contemporary state of the art, it is impossible to build and manage a program that will perform such tasks as reasoning, i.e. predicting characters’ actions. The most that can be done is to identify basic actions and track characters.
Robotic manipulation
[edit]The need and importance of commonsense reasoning in autonomous robots that work in a real-life uncontrolled environment is evident. For instance, if a robot is programmed to perform the tasks of a waiter at a cocktail party, and it sees that the glass he had picked up is broken, the waiter-robot should not pour the liquid into the glass, but instead pick up another one. Such tasks seem obvious when an individual possesses simple commonsense reasoning, but to ensure that a robot will avoid such mistakes is challenging.[1]
Successes in automated commonsense reasoning
[edit]Significant progress in the field of the automated commonsense reasoning is made in the areas of the taxonomic reasoning, actions and change reasoning, reasoning about time. Each of these spheres has a well-acknowledged theory for wide range of commonsense inferences.[18]
Taxonomic reasoning
[edit]Taxonomy is the collection of individuals and categories and their relations. Three basic relations are:
- An individual is an instance of a category. For example, the individual Tweety is an instance of the category robin.
- One category is a subset of another. For instance robin is a subset of bird.
- Two categories are disjoint. For instance robin is disjoint from penguin.
Transitivity is one type of inference in taxonomy. Since Tweety is an instance of robin and robin is a subset of bird, it follows that Tweety is an instance of bird. Inheritance is another type of inference. Since Tweety is an instance of robin, which is a subset of bird and bird is marked with property canfly, it follows that Tweety and robin have property canfly.
When an individual taxonomizes more abstract categories, outlining and delimiting specific categories becomes more problematic. Simple taxonomic structures are frequently used in AI programs. For instance, WordNet is a resource including a taxonomy, whose elements are meanings of English words. Web mining systems used to collect commonsense knowledge from Web documents focus on taxonomic relations and specifically in gathering taxonomic relations.[1]
Action and change
[edit]The theory of action, events and change is another range of the commonsense reasoning.[19] There are established reasoning methods for domains that satisfy the constraints listed below:
- Events are atomic, meaning one event occurs at a time and the reasoner needs to consider the state and condition of the world at the start and at the finale of the specific event, but not during the states, while there is still an evidence of on-going changes (progress).
- Every single change is a result of some event
- Events are deterministic, meaning the world's state at the end of the event is defined by the world's state at the beginning and the specification of the event.
- There is a single actor and all events are their actions.
- The relevant state of the world at the beginning is either known or can be calculated.
Temporal reasoning
[edit]Temporal reasoning is the ability to make presumptions about humans' knowledge of times, durations and time intervals. For example, if an individual knows that Mozart was born after Haydn and died earlier than him, they can use their temporal reasoning knowledge to deduce that Mozart had died younger than Haydn. The inferences involved reduce themselves to solving systems of linear inequalities.[20]
To integrate that kind of reasoning with concrete purposes, such as natural language interpretation, is more challenging, because natural language expressions have context dependent interpretation.[21] Simple tasks such as assigning timestamps to procedures cannot be done with total accuracy.
Qualitative reasoning
[edit]Qualitative reasoning[22] is the form of commonsense reasoning analyzed with certain success. It is concerned with the direction of change in interrelated quantities. For instance, if the price of a stock goes up, the amount of stocks that are going to be sold will go down. If some ecosystem contains wolves and lambs and the number of wolves decreases, the death rate of the lambs will go down as well. This theory was firstly formulated by Johan de Kleer, who analyzed an object moving on a roller coaster.
The theory of qualitative reasoning is applied in many spheres such as physics, biology, engineering, ecology, etc. It serves as the basis for many practical programs, analogical mapping, text understanding.
Challenges in automating commonsense reasoning
[edit]As of 2014, there are some commercial systems trying to make the use of commonsense reasoning significant. However, they use statistical information as a proxy for commonsense knowledge, where reasoning is absent. Current programs manipulate individual words, but they don't attempt or offer further understanding. According to Ernest Davis and Gary Marcus, five major obstacles interfere with the producing of a satisfactory "commonsense reasoner".[1]
- First, some of the domains that are involved in commonsense reasoning are only partly understood. Individuals are far from a comprehensive understanding of domains such as communication and knowledge, interpersonal interactions or physical processes.
- Second, situations that seem easily predicted or assumed about could have logical complexity, which humans’ commonsense knowledge does not cover. Some aspects of similar situations are studied and are well understood, but there are many relations that are unknown, even in principle and how they could be represented in a form that is usable by computers.
- Third, commonsense reasoning involves plausible reasoning. It requires coming to a reasonable conclusion given what is already known. Plausible reasoning has been studied for many years and there are a lot of theories developed that include probabilistic reasoning and non-monotonic logic. It takes different forms that include using unreliable data and rules, whose conclusions are not certain sometimes.
- Fourth, there are many domains, in which a small number of examples are extremely frequent, whereas there is a vast number of highly infrequent examples.
- Fifth, when formulating presumptions it is challenging to discern and determine the level of abstraction.
Compared with humans, as of 2018 existing computer programs perform extremely poorly on modern "commonsense reasoning" benchmark tests such as the Winograd Schema Challenge.[23] The problem of attaining human-level competency at "commonsense knowledge" tasks is considered to probably be "AI complete" (that is, solving it would require the ability to synthesize a human-level intelligence).[24][25] Some researchers believe that supervised learning data is insufficient to produce an artificial general intelligence capable of commonsense reasoning, and have therefore turned to less-supervised learning techniques.[26]
Approaches and techniques
[edit]Commonsense's reasoning study is divided into knowledge-based approaches and approaches that are based on machine learning over and using a large data corpora with limited interactions between these two types of approaches [citation needed]. There are also crowdsourcing approaches, attempting to construct a knowledge basis by linking the collective knowledge and the input of non-expert people. Knowledge-based approaches can be separated into approaches based on mathematical logic [citation needed].
In knowledge-based approaches, the experts are analyzing the characteristics of the inferences that are required to do reasoning in a specific area or for a certain task. The knowledge-based approaches consist of mathematically grounded approaches, informal knowledge-based approaches and large-scale approaches. The mathematically grounded approaches are purely theoretical and the result is a printed paper instead of a program. The work is limited to the range of the domains and the reasoning techniques that are being reflected on. In informal knowledge-based approaches, theories of reasoning are based on anecdotal data and intuition that are results from empirical behavioral psychology. Informal approaches are common in computer programming. Two other popular techniques for extracting commonsense knowledge from Web documents involve Web mining and Crowd sourcing.
COMET (2019), which uses both the OpenAI GPT language model architecture and existing commonsense knowledge bases such as ConceptNet, claims to generate commonsense inferences at a level approaching human benchmarks. Like many other current efforts, COMET over-relies on surface language patterns and is judged to lack deep human-level understanding of many commonsense concepts. Other language-model approaches include training on visual scenes rather than just text, and training on textual descriptions of scenarios involving commonsense physics.[6][27]
References
[edit]- ^ a b c d e f g Ernest Davis; Gary Marcus (2015). "Commonsense Reasoning and Commonsense Knowledge in Artificial Intelligence". Communications of the ACM. Vol. 58, no. 9. pp. 92–103. doi:10.1145/2701413.
- ^ McCarthy, John. "Artificial intelligence, logic and formalizing common sense." Philosophical logic and artificial intelligence. Springer, Dordrecht, 1989. 161-190.
- ^ Tandon, Niket; Varde, Aparna S.; de Melo, Gerard (22 February 2018). "Commonsense Knowledge in Machine Intelligence". ACM SIGMOD Record. 46 (4): 49–52. doi:10.1145/3186549.3186562.
- ^ Matuszek, Cynthia, et al. "Searching for common sense: Populating cyc from the web." UMBC Computer Science and Electrical Engineering Department Collection (2005).
- ^ "How to Teach Artificial Intelligence Some Common Sense". Wired. 13 November 2018. Retrieved 11 February 2021.
- ^ a b Pavlus, John (30 April 2020). "Common Sense Comes to Computers". Quanta Magazine. Retrieved 3 May 2020.
- ^ Davis, Ernest (25 August 2017). "Logical Formalizations of Commonsense Reasoning: A Survey". Journal of Artificial Intelligence Research. 59: 651–723. doi:10.1613/jair.5339.
- ^ "Cultivating Common Sense | DiscoverMagazine.com". Discover Magazine. 2017. Archived from the original on 25 March 2018. Retrieved 24 March 2018.
- ^ Winograd, Terry (January 1972). "Understanding natural language". Cognitive Psychology. 3 (1): 1–191. doi:10.1016/0010-0285(72)90002-3.
- ^ "Don't worry: Autonomous cars aren't coming tomorrow (or next year)". Autoweek. 2016. Archived from the original on 25 March 2018. Retrieved 24 March 2018.
- ^ Knight, Will (2017). "Boston may be famous for bad drivers, but it's the testing ground for a smarter self-driving car". MIT Technology Review. Archived from the original on 22 August 2020. Retrieved 27 March 2018.
- ^ Prakken, Henry (31 August 2017). "On the problem of making autonomous vehicles conform to traffic law". Artificial Intelligence and Law. 25 (3): 341–363. doi:10.1007/s10506-017-9210-0.
- ^ Thomason, Richmond (2003-08-27). "Logic and Artificial Intelligence". Metaphysics Research Lab, Stanford University.
{{cite journal}}
: Cite journal requires|journal=
(help) - ^ "Artificial intelligence Programs".
- ^ "Artificial intelligence applications".
- ^ "Bar Hillel Artificial Intelligence Research Machine Translation". TheGuardian.com.
- ^ Antol, Stanislaw, et al. "Vqa: Visual question answering." Proceedings of the IEEE international conference on computer vision. 2015.
- ^ "Taxonomy".
- ^ "Action and change in Commonsense reasoning".
- ^ "Temporal reasoning".
- ^ Liu, Hugo, and Push Singh. "Commonsense reasoning in and over natural language Archived 2017-08-09 at the Wayback Machine." International Conference on Knowledge-Based and Intelligent Information and Engineering Systems. Springer, Berlin, Heidelberg, 2004.
- ^ "Qualitative reasoning". 9 August 2014.
- ^ "The Winograd Schema Challenge". cs.nyu.edu. Retrieved 9 January 2018.
- ^ Yampolskiy, Roman V. "AI-Complete, AI-Hard, or AI-Easy-Classification of Problems in AI." MAICS. 2012.
- ^ Andrich, C, Novosel, L, and Hrnkas, B. (2009). Common Sense Knowledge. Information Search and Retrieval, 2009.
- ^ Smith, Craig S. (8 April 2020). "Computers Already Learn From Us. But Can They Teach Themselves?". The New York Times. Retrieved 3 May 2020.
- ^ Bosselut, Antoine, et al. "Comet: Commonsense transformers for automatic knowledge graph construction." arXiv preprint arXiv:1906.05317 (2019).
Further reading
[edit]- Davis, Ernest (1990). Representations of Commonsense Reasoning. San Mateo, Calif.: Morgan Kaufmann. ISBN 1-55860-033-7.[permanent dead link ]
- McCarthy, John (1990). Formalizing Common Sense. Norwood, N.J.: Ablex. ISBN 1-871516-49-8.
- Minsky, Marvin (1986). The Society of Mind. New York: Simon and Schuster. ISBN 0-671-60740-5.
- Minsky, Marvin (2006). The Emotion Machine: Commonsense Thinking, Artificial Intelligence, and the Future of the Human Mind. New York: Simon and Schuster. ISBN 0-7432-7663-9.
- Mueller, Erik T. (2015). Commonsense Reasoning: An Event Calculus Based Approach (2nd ed.). Waltham, Mass.: Morgan Kaufmann/Elsevier. ISBN 978-0128014165.
- "Artificial Intelligence". edX. 2014. Retrieved 5 Nov 2015.
- "commonsense knowledge. A Dictionary of Sociology". Encyclopedia.com. 2015. Retrieved 13 Aug 2017.
- Hageback, Niklas (2017). The Virtual Mind: Designing the Logic to Approximate Human Thinking (1st ed.). Chapman & Hall/CRC Artificial Intelligence and Robotics Series. ISBN 978-1138054035.
- Artificial Intelligence. Elsevier. 2015. Archived from the original on 20 Nov 2015. Retrieved 5 Nov 2015.
- Lenat, D. (2015). "Artificial intelligence as common sense knowledge". Leaderu.com. Retrieved 5 Nov 2015.
- Lenat, D.; Prakash, M.; Shepherd, M. (1985). "CYC: Using Common Sense Knowledge to Overcome Brittleness and Knowledge Acquisition Bottlenecks". AI Magazine. 6 (4): 65.
- Levesque, H. (2017). Common Sense, the Turing Test, and the Quest for Real AI. MIT Press. ISBN 978-0-262-33837-0.
- "Artificial Intelligence | The Common Sense Knowledge Problem". psych.utoronto.ca. 2015. Archived from the original on 20 Aug 2015. Retrieved 5 Nov 2015.
- "CommonSense - Knowledge Management Overview". Sensesoftware.com. 2015. Archived from the original on 17 July 2015. Retrieved 5 Nov 2015..
- "Artificial intelligence (AI) | Technology | The Guardian". the Guardian. 2015. Retrieved 5 Nov 2015.
- "Intro to Artificial Intelligence Course and Training Online". Udacity.com. 2015.
- "Computers with Common Sense". W3.org. 2015. Retrieved 5 Nov 2015.