Skip to main content

The Transformative Power of Artificial Intelligence: Shaping the Future

  The Transformative Power of Artificial Intelligence: Shaping the Future In the realm of technological advancements, few innovations have captured the world's imagination as much as Artificial Intelligence (AI). From science fiction to reality, AI has become a powerful force driving transformative changes across various industries and sectors. Its significance cannot be overstated, as it has the potential to reshape the way we live, work, and interact with our surroundings. In this blog, we delve into the importance of AI and explore the profound impact it has on our society. 1. Enhancing Efficiency and Productivity: One of the most apparent benefits of AI is its ability to boost efficiency and productivity across industries. By automating repetitive tasks, AI liberates human resources to focus on more complex and creative endeavors. Businesses can streamline processes, optimize resource allocation, and make data-driven decisions faster, resulting in cost savings and increased com...

What is Semantic AI? Is it a step towards Strong AI? | April 2021

 Modern artificial intelligence can decide on its own whether it should use the width of a person’s lips to detect smile, or is it some other factor, or a combination of multiple factors (referred to as representation learning). This and a few other achievements of modern AI (such as reinforcement learning), have forced people to re-think whether Artificial General Intelligence (AGI or Strong AI) can actually be achieved anytime soon? No wonder, many articles have been published on this topic recently: Nature Journal [1], Forbes Magazine [2], McKinsey Consulting [3] etc. These articles profess that AGI is far from reality, anytime soon. After reading this blog one can realize “why do they say so” and also understand more about a new and emerging form of artificial intelligence, “Semantic AI”, which I believe is a step ahead of current form of AI (weak AI).

In this article, I first share a perspective on the need of Semantic AI in enterprise context and draw allegiance to “Reading Comprehension” (M1). Next, we will see how humans perform such tasks (M2 optional read), and then understand how Semantic AI will attempt to solve such problems (M4). In between, a brief background on Knowledge graphs will also be covered (M3).

M1: Comprehension in Enterprises IT:

a) Document Comprehension: A rather, well known business demand is that “Can a system read a document or a set of documents, and answer question?” For example, design documents of a large ERP system; process documents of procurement division — such as quotations, purchase orders, delivery notes, invoices etc.; or in pharmaceutical domain, documents containing information such as usage, side-effects, dosage etc. of a drug. Not only on these semi-structured documents, but also on unstructured documents such as Security/ HR policy documents.

Sample Questions for Enterprise Comprehension
Table 1: Sample Questions for Enterprise Comprehension

b) Drawing Comprehension: Instead of a paragraph, or a document, can a system read a complex industrial drawing and answer questions. For example, see questions given in Table-1 against a very simple drawing shown in Figure-1? Similarly, can we answer such questions against a set of complex drawings? Even when certain information is not explicitly available in the drawing.

Figure 1: House Floor Plan used for demonstration of Drawing Comprehension
Figure 1: House Floor Plan (image Taken from https://commons.wikimedia.org/wiki/File:3-bedrooms_house_floor_plan.png, word “DINING” was removed from the drawing to make a point in the blog)

c) Department Comprehension: Can there be a system that knows all the people and their roles, as well as the process followed in a department? Can this system answer question against that department? See questions in Table 1 against IPR Cell (Department that is custodian of patents) of an enterprise.

d) Infrastructure Comprehension: Can a system comprehend all the IT systems involved in a large infrastructure that provides a special service, for example, telecom service, port operations, airline operations etc. Can the system then answer ad-hoc questions that are often required in contact center operations of the related service. Can a system answer question on functional matters of port operations?

e) Business Operation Comprehension: Can a system read all the IT systems involved in a business function, as well as all the related documents, and read people’s mind also, if required; to answer questions against that business function, such as procure-to-pay function of F&A? or Payroll processing? Or other similar functions.

M2: Comprehension via Natural Intelligence (optional read)

Key elements of human intelligence are Knowledge, sensory perception, linguistic comprehension, and logic. Our ability to use all of these together to draw an inference and the ability to learn newer things very fast helps us perform comprehension related tasks with ease. Let’s look at some of the key components of natural intelligence in detail:

A) Knowledge: (Probably related to memory, as studied in epistemology.) We structure our knowledge in our own way, when storing that knowledge in our memory. We can a) retrieve facts from that knowledge and can b) correlate newer knowledge with prior knowledge. Most of us will agree that we associate a “type” to every new artifact or an entity we learn about. For example, if we hear about a new person, say “Geoffrey Hinton”, we associate him (entity) with many entity-types, such as “Person”, “Male”, “Scientist” etc. When we use such knowledge with logic, we are able to draw inference.

B) Pattern Recognition: For drawing comprehension human can easily identify the patterns of shapes that indicate sofa, dining table, etc. Human can then draw inferences using background knowledge to answer questions as listed in the Table above.

C) Logic: A lot has been written about logic in philosophy, however three common forms are also applicable in artificial intelligence are: Deductive, Abductive, and Inductive. We (human) use these three forms interchangeably to draw inference of conclusion or to learn newer tricks to perform any task.

M3: Background on Knowledge Graphs (KG):

Key Features of Knowledge Graphs in contrast with relational databases (RDBMS)
Figure 2: Key Features of Knowledge Graphs with respect to relational databases (RDBMS)

1. An entity can have more than one entity-type. As we saw in the context of Natural Intelligence that “Geoffrey Hinton” is a “person”, “scientist”, “male” etc.

2. Relationships, between a pair of entities, have associated textual labels.

3. There can be more than one relationship between a pair of entities, e.g., “Nicolas Cage acted-in Lord of War” and “Nicolas Cage produced Lord of War” indicates two relationships between the pair of entities.

4. An entity can have many different values of the same attribute, e.g., there can be many different authors of a document.

5. Knowledge graphs have a provision for Ontology, which hierarchically defines the entity-types, e.g., “actor” is a “artist” is a “person”.

M4: Comprehension via Semantic AI

Shapes used for showing a dining table in 2D drawings
Figure 3: Different Shapes, often used, to indicate dining table in a 2D house layout

Pattern Recognition via Artificial Intelligence: We can use machine learning to detect basic shapes such as lines, circles, rectangles, arcs etc. or directly identify frequently occurring complex shapes such as the one for dining table. Further, there can be many variations of a complex shape, as shown in Figure-3 for a dining table. Modern AI can identify the dining table in-spite of such variations with high accuracy, however via significant supervision. Probably, this is one of the reasons why this form of AI is considered as weak or narrow AI.

How does Semantic AI work?: I observed that the key steps involved in Semantic AI are (also shown in Figure-4):

How does Semantic AI Work? Steps involved in Semantic AI; Detection Interpretation, Reconciliation, and Action
Figure 4: Steps involved in Semantic AI: Detection, Interpretation, Reconciliation, and Action

1. Detection: First we parse an input (document, image, or drawing) with respect to the background knowledge and create a structured representation of the input in another knowledge graph. Here, most often the objective is to detect basic elements directly available in the input file, e.g., lines, circles etc. in a drawing, or words used to mention an entity in a sentence. Sometimes, we use supervised models (artificial intelligence for pattern recognition) to directly recognize complex shapes such as dining table. In the context of a document, in the detection step, we identify phrases that indicate an entity. As a result of parsing, we get a structured representation of the input, which can be referred to as Parsed-KG, if stored in KG.

2. Interpretation: We also interpret the parsed-KG to establish newer insights, i.e., new entities. We associate the parsed entities to an entity-type already present in the knowledge graph. We also correlate detected entities present in the parsed-KG with each other and with the entities of the background-KG. For example, some of the rectangles are associated with entity-type “room”. We also link various rooms with each other using relationships such as “left of”, “right of” etc. Sometimes deductive logic, is the best approach and sometimes pattern recognition is also required for interpretation, such as in natural language processing. The evolved parsed-KS is referred to as inferred-KG.

3. Correlation & Reconciliation: The input drawings don’t explicitly contain all the information, which are required to be inferred and reconciled based on prior knowledge and thumb rules. For example, can we infer the size of the living room based on the information present? We also need to reconcile and ensure that all inferred facts have an agreement with each other. Another example of correlation is that via use of background knowledge and deductive logic we associate a “room” that contains the dining table to another entity type “dining room”. We often use background knowledge and logical reasoning in this step. Thus inferred-KG becomes comprehended-KG after this step.

4. Action: The comprehended-KG can be used by human or another IT system for amplification of SMEs or automation of a task. Information retrieval is a critical component of the action step. Knowledge Retrieval: Often times, there is a need for compositional reasoning [4] for retrieval of specific information from a knowledge graph. We convert a natural language question into a sketch for structured query (SQL or SPARQL etc.) and execute it on the knowledge graph to retrieve the desired information.

Above steps can help us perform drawing and/ or document comprehension. However, for comprehension against a Department, Infrastructure, or Business function we need to gather, integrate, and clean the data from multiple systems, documents and people. It becomes more complex because often only partial information is allowed to be stored in the knowledge graph. I will probably touch on such aspects in my future articles/ blogs.

Conclusion: In summary, Semantic AI is a key enabler for comprehension on large artifacts (rather than a paragraph) such as business operations of an enterprise. The software architecture that combines statistical approaches with background knowledge to draw higher level inference can be called Semantic AI, which probably is a step towards a stronger form of artificial intelligence, however far away from Strong AI.

Hope you enjoyed reading this, as much as I did, while writing. Thanks for reading. Please share comments. Puneet Agarwal

References

1. Ragnar Fjelland, “Why general artificial intelligence will not be realized”, Nature, June 2020; (URL: https://doi.org/10.1057/s41599-020-0494-4)

2. Navin Joshi, “How Far Are We From Achieving Artificial General Intelligence?” Forbes, June 2019; (URL: https://www.forbes.com/sites/cognitiveworld/2019/06/10/how-far-are-we-from-achieving-artificial-general-intelligence/)

3. Federico Berruti, Rob Whiteman, “An executive primer on artificial general intelligence” April, 2020; (URL: https://www.mckinsey.com/business-functions/operations/our-insights/an-executive-primer-on-artificial-general-intelligence)

4. Puneet Agarwal, Maya Ramanath, Gautam Shroff, “Retrieving Relationships from a Knowledge Graph for Question Answering”, ECIR 2019.

Comments

Post a Comment

Ads

Popular posts from this blog

Top 15 Python Libraries For Data Science & Best Tutorials To Learn Them | April 2021

Python is the most widely used programming language today. When it comes to solving data science tasks and challenges, Python never ceases to surprise its users. Most data scientists are already leveraging the power of Python programming every day. Python is an easy-to-learn, easy-to-debug, widely used, object-oriented, open-source, high-performance language, and there are many more benefits to Python programming. Python has been built with extraordinary Python libraries for data science that are used by programmers every day in solving problems. Here today, We have curated a list of best 15 Python libraries that helps in Data Science and its periphery, when to use them, their advantages and best tutorials to learn them. For some Python Code you may follow this  GitHub Repository 1. Pandas Pandas is an open-source Python package that provides high-performance, easy-to-use data structures and data analysis tools for the labeled data in Python programming language. Pandas stand for ...

Advance Git Commands with example on terminal | Git commands

  Explore repository There is a Git repository named  food-scripts  consisting of a couple of food-related Python scripts. Navigate to the repository using the following command: cd ~/food-scripts content_copy Now, list the files using the  ls  command. There are three files named  favorite_foods.log ,  food_count.py , and  food_question.py . Let's explore each file. Use the  cat  command to view each file. favorite_foods.log : This file consists of a list of food items. You can view it using the following command: cat favorite_foods.log content_copy Output: food_count.py : This script returns a list of each food and the number of times the food appeared in the  favorite_foods.log  file. Let's execute the script  food_count.py : ./food_count.py content_copy Output: food_question.py : This prints a list of foods and prompts the user to enter one of those foods as their favorite. It then returns an answer of how many others ...

Is India be the Next Big Market for E-Gaming Industry? | E-Gaming in India

With video games being a significant contributor to the world entertainment system, and with its revenue from all over the world increasing at a faster rate every year, the Global Gaming Industry has become an irreplaceable part of our culture, influencing everything starting from films and music to social media. In the last decade, the gaming culture has emerged stronger than ever, transcending age, culture and background, with new technologies emerging every minute. The video game industry right now is earning more revenue than the music and film industries. It is projected to earn US $152 billion from almost 2.5 billion games all over the world, while providing employment to millions. In the coming years, India could be one of the biggest markets for this industry. The growing market in India is because of various factors, including a rising younger population, higher disposable incomes which means higher expenditure on digital gaming, and an increasing number of tablet and smartpho...

HyperX Cloud Core + 7.1 Gaming Headset for PC, PS4, Xbox One, Nintendo Switch, and Mobile Devices (HX-HSCC-2-BK/WW)

The HyperX Cloud Core with virtual 7.1 surround sound1 provides clear positional audio for a more immersive gaming experience. It also features signature HyperX memory foam and soft leatherette making it comfortable for long gaming sessions. The detachable noise-cancelling microphone keeps ambient sounds from interrupting your voice chat and can be removed when not in use. Cloud headsets are known for their legendary sound, comfort, and durability — optimized for the way you play Virtual 7.1 surround sound Advanced audio control box Signature HyperX comfort Durable aluminum frame Detachable noise-cancelling mic Multi-platform compatibility Brand HyperX Manufacturer Kingston Technology Corporation, 17600 Newhope Street, Fountain Valley, CA 92708 USA, Kingston Technology Corporation, 17600 Newhope Street, Fountain Valley, CA 92708 USA Model HX-HSCC-2-BK/WW Model Name HyperX Cloud Core + 7.1 Gaming Headset for PC, PS4, Xbox One, Nintendo Switch, and Mobile Devices (HX-HSCC-2-BK/WW) Model ...

The Transformative Power of Artificial Intelligence: Shaping the Future

  The Transformative Power of Artificial Intelligence: Shaping the Future In the realm of technological advancements, few innovations have captured the world's imagination as much as Artificial Intelligence (AI). From science fiction to reality, AI has become a powerful force driving transformative changes across various industries and sectors. Its significance cannot be overstated, as it has the potential to reshape the way we live, work, and interact with our surroundings. In this blog, we delve into the importance of AI and explore the profound impact it has on our society. 1. Enhancing Efficiency and Productivity: One of the most apparent benefits of AI is its ability to boost efficiency and productivity across industries. By automating repetitive tasks, AI liberates human resources to focus on more complex and creative endeavors. Businesses can streamline processes, optimize resource allocation, and make data-driven decisions faster, resulting in cost savings and increased com...

Top 10 Reasons Why Python is So Popular With Developers in 2021

  Python   is one of the languages that is witnessing incredible growth and popularity year by year. In 2017, Stackoverflow calculated that python would beat all other programming languages by 2020 as it has become the fastest-growing programming language in the world. It is also considered one of the best programming languages for machine learning. So why is Python so popular? Let’s find out below: 1) Easy to Learn and Use Python language is incredibly easy to use and learn for new beginners and newcomers. The python language is one of the most accessible programming languages available because it has simplified syntax and not complicated, which gives more emphasis on natural language. Due to its ease of learning and usage, python codes can be easily written and executed much faster than other programming languages. When  Guido van Rossum  was creating python in the 1980s, he made sure to design it to be a general-purpose language. One of the main reasons ...

Lenovo Legion 5 pro with RTX 3070 in 1.3L only

  Legion 5 Pro 16ACH6H Processor   AMD Ryzen™ 7 5800H Processor (8 Cores / 16 Threads, 3.20 GHz, up to 4.40 GHz with Max Boost, 4 MB Cache L2 / 16 MB Cache L3) INCLUDED Operating System   Lenovo recommends Windows 10 Pro for business Windows 10 Home Single Language 64 SELECTED Windows 10 Pro 64 + ₹9,000 CLOSE Microsoft Productivity Software Microsoft Office Trial SELECTED Microsoft Office Home and Student 2019 India + ₹2,000 Microsoft 365 Personal + ₹3,099 Microsoft 365 Family + ₹4,500 Microsoft Office Professional 2019 + ₹37,990 CLOSE Memory   16 GB (2 x 8 GB) SO-DIMM DDR4 3200MHz SELECTED 32 GB (2 x 16 GB) SO-DIMM DDR4 3200MHz + ₹9,400 CLOSE First Solid State Drive None SELECTED 1 TB M.2 2280 SSD + ₹14,400 CLOSE Second Solid State Drive 512 GB M.2 2242 SSD SELECTED 512 GB M.2 2280 SSD + ₹500 1 TB M.2 2280 SSD + ₹6,700 CLOSE Display   40.64cms (16.0) WQXGA (2560x1600) IPS Anti-Glare, 500nits, Non-Touch, 165Hz, Narrow Bezel, 100% sRGB, HDR400 INCLUDED Graphic Ca...

Nine Things to Check While Choosing A Cloud Service Provider

  As more and more IT systems are outsourced, zeroing in the best cloud providers is critical to long-term success. The market is already vast, with different brands offering large numbers of services. Apart from the big providers like Microsoft, Amazon, and Google, there are also smaller niche players who provide bespoke services. With too many choices to opt from, you must put down the selection and procurement process appropriate as per the needs. The Right Time to Select a Cloud Service Provider It is significant to understand the requirements of a business before choosing a cloud service provider. Clarifying the specific needs and minimum expectations in advance while assessing providers ensures that they are compared against the requirement checklist and not against their competitors. It is a faster way to narrow down the list of providers.  With more clarity on the requirements such as technical, service, security, data governance and service management, you will be b...

Advance Git Commands | Git Commands Part 2

We have already seen some basic Git and linux Commands if you hadn't read it please read it first   Now Lets move on with some advance Commands  Command Explanation & Link git commit -a Stages files automatically git log -p Produces patch text git show Shows various objects git diff Is similar to the Linux `diff` command, and can show the differences in various commits git diff --staged An alias to --cached, this will show all staged files compared to the named commit git add -p Allows a user to interactively review patches to add to the current commit git mv Similar to the Linux `mv` command, this moves a file git rm Similar to the Linux `rm` command, this deletes, or removes a file There are many useful git cheatsheets online as well. Please take some time to research and study a few, such as this one . .gitignore files .gitignore files are used to tell the git tool to intentionally ignore some files in a given Git repository. For example, this can be useful for con...

INDIA is no more Independent Nation ?