Theoretical Foundations of Natural Language Programming and Publishing for Intelligent Agents and Robots

Theoretical Foundations of Natural Language Programming and Publishing for Intelligent Agents and Robots

Theoretical foundations of natural language programming and publishing for intelligent agents and robots Sandor M Veres Abstract— This paper is an application of ontology the- (2) Users of the autonomous vehicle/robot will clearly ory, conceptual graphs and programming language theories understand how it operates and will also know its limitations to develop the theoretical foundations of natural language to avoid misuse or misunderstanding. Users can modify programming (NLP) that has in recent years been used to produce natural language documents for intelligent agents and English sentences in the controlling document to influence human readers. The analysis given reveals three benefits of the vehicles behaviour or how its skills are performed. Also NLP. First, it is “conceptualized” programming that enables the legal responsibility for misuse can be shifted to the user. developers to write less bug prone programs due to clarity of (3) The use of sEnglish provides the rational agent, code presentation and enforced structuring of data. Secondly, controlling a vehicle or robot, with abstractions that it can NLP can aid programming of the all important abstractions for robots: event, action and world model abstractions can be use in reasoning. created by sentences. Thirdly, NLP can be used to publish nat- (4) The abstractions of sensing and actions through ural language documents by researchers, i.e. English language sEnglish can provide a hiearchical abstraction system that documents on control theory and procedures, on the Internet or can allow the formal verification of the hybrid system of in printed documents. This theoretical paper also defines a large robot/environment interactions. class of intelligent agents that can read such documents. This enables human users and agents to have shared understanding (5) There are also consequences for team based computer of how application systems work. programming. [2] studies hierarchical abstractions for soft- Index Terms— Computer programming, intelligent physical ware systems. The need of supporting knowledge collabora- agents, robots, conceptual graphs, machine knowledge. tion, in software development environments, is highlighted in [3], based on the conceptualization of software development I. INTRODUCTION as knowledge-intensive and distributed cognitive activity. This principle is extended in [1] for the context of shared The paper presents the theoretical background to an in- knowledge and collaboration between human users, i.e. sci- formation processing system for autonomously operating entists, engineers, and machines or intelligent agents. [1] robotic agents where engineers can use natural language defines natural language programming (NLP) and uses it programming (NLP,[1]) in sEnglish documents to define their to link software code with concepts from an ontology via behaviour. After their operational launch, the agents can sentences. read new published documents to acquire knowledge such Since publishing of the book [1], that introduced the as various physical skills, facts about the environment, be- meaning of NLP and its societal/technological context, it haviour policies and also goal priorities. The NLP documents has found applications in a number of areas. The paper [4] concerned are similar to engineering booklets with contents, contained the description of an, at the time new, sliding mode sections, subsections in English, that can appear in HTML, controller for a 6DOF holonomic control of a satellite that LaTex(pdf) formats (see numerous examples at www.system- allows precise position and attitude control, with thrusters english.com). Although sEnglish has been in use for some only, within a satellite cluster in formation for interferometry. time this is the first paper providing a theoretical background The control scheme has been fully defined using NLP and to it. an sEnglish paper, that publishes the control scheme in a Use of NLP documents have various impacts on robot webpage on the world wide web, is available at www.system- programming: english.com and [5]. (1) sEnglish documents can shorten the route to robotic [6] illustrated another application of NLP for system software update. There is no need for an application engineer verification of autonomous underwater vehicles (AUV) by to read a journal publication and implement it by pro- model checking. Here NLP, in the form of an sEnglish gramming. The research engineers methodological work is documents, defined abstractions for the events and control directly utilized by the autonomous vehicle or robot reading operations of subsystems of an AUV. These abstractions NLP documents. Other engineers can also read the published were first compiled into SateflowTM and ISPL [7], [8], the papers and learn the details of how the vehicle operates, how interpretation language for the Multi-Agent Model Checker decisions are reached and how skills are performed. (MCMAS) used for system verification of the AUV in [9]. The publication [10] reported about the use of sEn- This work has been partially supported by EPSRC Grants No. glish/NLP for describing all the control operations of an EP/E02677X/1 and No. EP/F037570/1. S M Veres is with the School of Engineering Sciences, Southampton, experimental autonomous ground vehicle (AGV) so that the Highfield, SO17 1BJ, UK, Email: [email protected] manual equalled the program of the vehicle. The sEnglish document that was the program of the AGV, contained Fort his a complete software system is available: sections on initialisation of the hardware, preparations for a (1) authoring tool (sEAT) of sEnglish human/machine mission, sensor systems operations, collision avoidance and readable documents [12]; realtime replanning of path while the vehicle was moving (2) sEnglish reader agent (sERA) [13] as an IPA; in a model urban environment. The sEnglish document (3) programming environment to create autonomous controlling the AGV and video are available at [5]. agents that can read the sEnglish documents [14]. [11] reviewed the area of decision making in autonomous In this paper we fit NLP into the theoretical abstraction vehicle systems and concluded that there is a technological layers of programming as described in [3]. NLP is accom- gap between sensing devices and intelligent agent program- panied by simultaneous human and machine interpretation ming through logic that handles a discrete world. The transi- of NLP sentences. Code inambiguity of NLP sentences tion from sensing to discretisation of events, skills, actions, preserves the cornerstone of digital computing: the usefulness plans and world models are underdeveloped. It is identified of digital computation largely orginates from its determin- that sEnglish/NLP can play a crucial role in filling this ism, i.e. its reliability in banking, accounting and computer technological gap between sensing and cognition. control of aircraft, machines and robots, etc. [12] is a software environment in which authors can create This paper is organized as follows. The next section sEnglish documents in NLP and publish them on the web or provides definitions of ontologies. This is followed by a a local network in a factory or offices. The sEnglish reader model of human thinking in terms of conceptual graphs. agent [13] provides the client end of the authoring tools Section IV introduces the NLP document and Section V that anyone can use to read the sEnglish documents and provides illustrations. Section VI briefly discusses levels of use its sentences to invoke control actions on her/his PC abstractions for sentences. Section VII is concerned with or application device. In this role the reader agent acts like procedural knowledge sharing among a set of agents. Shared an intelligent personal assistant (IPA). knowledge description is concluded with the involvement The Cognitive Agent Toolbox [14] (CAT), extends the of the human operator of the agents that is followed by usefulness of [13] from the role of a IPA to that of an conclusions. Note however that this is a paper about the autonomous agent that can control a vehicle, manufacturing theory, application examples can be found elsewhere as listed machine or an appliance. CAT is based on the use of sEn- in the references. glish/Jason(AgentSpeak) in a MATLAB/Java environment. This application of sEnglish clarifies the actual role of II. FUNDAMENTALS sEnglish and natural language programming: it is not a new agent programming language to compete with robot A natural language program document (NLPD) consists of programming languages, it is a conceptualisation tool of three components: an ontology, a set of sentence templates programming that can be used in association with high and an underlying instructional (imperative) programming level programming languages to associate programming steps language. The process of creating and making NLPDs is with human concepts and build up a hybrid automaton that described in a flow diagram in Figure 1. An expert author easily lends itself to formal verification and to support legal of an algorithmic field (for instance in subfields of signal certification for safety [6], [9]. processing, control, science and logic inference) produces [15] reports on the applicability of sEnglish in the space an ontology and provides hierarchical definitions of sentence technologies where rational agent programming is comple- meanings using a programming language for low abstraction mented with external calls to sEnglish sentences that define level semantics. The sentence meanings, ontology definitions

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us