The Times Australia
The Times World News

.
The Times Real Estate

.

what machine learning can tell us about the Bhagavad Gita

  • Written by Rohitash Chandra, Senior Lecturer, UNSW Sydney
what machine learning can tell us about the Bhagavad Gita

Machine learning and other artificial intelligence (AI) methods have had immense success with scientific and technical tasks such as predicting how protein molecules fold and recognising faces in a crowd. However, the application of these methods to the humanities are yet to be fully explored.

What can AI tell us about philosophy and religion, for example? As a starting point for such an exploration, we used deep learning AI methods to analyse English translations of the Bhagavad Gita[1], an ancient Hindu text written originally in Sanskrit.

Using a deep learning-based language model called BERT, we studied sentiment (emotions) and semantics (meanings) in the translations. Despite huge variations in vocabulary and sentence structure, we found that the patterns of emotion and meaning were broadly similar in all three.

This research opens a path to the use of AI-based technologies for comparing translations and reviewing sentiments in a wide range of texts.

An ancient book of wisdom

The Bhagavad Gita[2] is one of the central Hindu sacred and philosophical texts. Written more than 2,000 years ago, it has been translated into more than 100 languages and has been of interest to western philosophers since the 18th century.

The 700-verse poem is a part of the larger Mahabharata[3] epic, which recounts the events of an ancient war[4] believed to have occurred at Kurukshetra near modern-day Delhi in India.

Read more: Indian philosophy helps us see clearly, act wisely in an interconnected world[5]

The text of the Bhagavad Gita relates a conversation between the Hindu deity Lord Krishna and a prince called Arjuna. They discuss whether a soldier should go to war for ethics and duty (or “dharma”) if they have close friends or family on the opposing side.

The text has been instrumental in laying the foundations of Hinduism. Among many other things, it is where the philosophy of karma (a spiritual principle of cause and effect) originates.

Scholars have also regarded the Bhagavad Gita as a book of psychology[6], management, leadership[7] and conflict resolution.

Countless translations

The first of many English translations of the Bhagavad Gita was published in 1785. Wikimedia Commons, CC BY[8][9]

There have been countless English translations of the Bhagavad Gita, but there is not much work that validates their quality. Translations of songs and poems not only break rhythm and rhyming patterns, but can also result in the loss of semantic information.

In our research, we used deep learning language models to analyse three selected translations of the Bhagavad Gita (from Sanskrit to English) with semantic and sentiment analyses which help in the evaluation of translation quality.

We used a pre-trained language model known as BERT[10], developed by Google. We further tuned the model using a human-labelled training dataset based on Twitter posts, which captures 10 different sentiments.

These sentiments (optimistic, thankful, empathetic, pessimistic, anxious, sad, annoyed, denial, surprise, and joking) were adopted from our previous research into social media sentiment[11] during the onset of the COVID-19 pandemic.

A schematic diagram showing how the AI analysis works. Chandra, Author provided[12]

Patterns of sentiment

The three translations we studied used very different vocabulary and syntax, but the language model recognised similar sentiments in the different chapters of the respective translations. According to our model, optimistic, annoyed and surprised sentiments are the most expressed.

Sentiments captured by our language model for different translations of the Bhagavad Gita. Chandra and Kulkarni, Author provided[13]

Moreover, the model showed how the overall sentiment polarity changes (from negative to positive) over the course of the conversation between Arjuna and Lord Krishna.

Arjuna is pessimistic towards the beginning and becomes optimistic as Lord Krisha imparts knowledge of Hindu philosophy to him. The sentiments expressed by Krishna show that with philosophical knowledge of dharma and mentorship, a troubled mind can get clarity for making the right decisions in times of conflict.

One limitation of our model is that it was trained on data from Twitter, so it recognises “joking” as a common sentiment. It applies this label inappropriately to some parts of the Bhagavad Gita. Humour is complicated and strongly culturally constrained, and understanding it is too much to ask of our model at this stage.

Due to the nature of the Sanskrit language, the fact that the Bhagavad Gita is a song with rhythm and rhyme, and the varied dates of the translations, different translators used different vocabulary to describe the same concepts.

The table below shows some of the most semantically similar verses from the three translations.

The uses of sentiment analysis

Our research points the way to the use of AI-based technologies for comparing translations and reviewing sentiments in a wide range of texts.

This technology can also be extended to review sentiments expressed in entertainment media. Another potential application is analysing movies and songs to provide insights to parents and authorities about the suitability of content for children.

The author would like to acknowledge the invaluable contribution of Venkatesh Kulkarni to this research.

References

  1. ^ analyse English translations of the Bhagavad Gita (ieeexplore.ieee.org)
  2. ^ Bhagavad Gita (en.wikipedia.org)
  3. ^ Mahabharata (en.wikipedia.org)
  4. ^ ancient war (en.wikipedia.org)
  5. ^ Indian philosophy helps us see clearly, act wisely in an interconnected world (theconversation.com)
  6. ^ psychology (journals.sagepub.com)
  7. ^ leadership (www.inderscienceonline.com)
  8. ^ Wikimedia Commons (en.wikipedia.org)
  9. ^ CC BY (creativecommons.org)
  10. ^ BERT (arxiv.org)
  11. ^ social media sentiment (journals.plos.org)
  12. ^ Chandra (ieeexplore.ieee.org)
  13. ^ Chandra and Kulkarni (ieeexplore.ieee.org)

Read more https://theconversation.com/ai-philosophy-and-religion-what-machine-learning-can-tell-us-about-the-bhagavad-gita-182517

The Times Features

What are physician assistants? Can they fix the doctor shortage?

If you’ve tried to get an appointment to see a GP or specialist recently, you will likely have felt the impact of Australia’s doctor shortages[1]. To alleviate workforce sho...

Do men and women agree on how easy it is for each other to find a job or a date?

Typically, you don’t have to write a cover letter before attending a candlelit dinner. But there are some eerie emotional parallels between finding a job and finding a date. ...

Australia’s clinical guidelines shape our health care. Why do so many still ignore sex and gender?

You’ve heard of the gender pay gap. What about the gap in medical care? Cardiovascular diseases – which can lead to heart attack and stroke – are one of the leading causes[1...

Don't Get Burned—Smart Insurance for Your Investment Property

Real estate investment offers lucrative opportunities even though it brings operational risks. Real estate investment protection fundamentally depends on obtaining the correct insu...

Why it’s important to actively choose the music for your mood

Many of us take pleasure in listening to music[1]. Music accompanies important life events and lubricates social encounters. It represents aspects of our existing identity, a...

The Link Between Heart Health and Ageing Well

Millions of Australians are at risk of heart disease, but fewer realise that keeping their heart healthy can also help protect their brain, memory, and cognitive function, redu...

Times Magazine

Improving Website Performance with a Cloud VPS

Websites represent the new mantra of success. One slow website may make escape for visitors along with income too. Therefore it's an extra offer to businesses seeking better performance with more scalability and, thus represents an added attracti...

Why You Should Choose Digital Printing for Your Next Project

In the rapidly evolving world of print media, digital printing has emerged as a cornerstone technology that revolutionises how businesses and creative professionals produce printed materials. Offering unparalleled flexibility, speed, and quality, d...

What to Look for When Booking an Event Space in Melbourne

Define your event needs early to streamline venue selection and ensure a good fit. Choose a well-located, accessible venue with good transport links and parking. Check for key amenities such as catering, AV equipment, and flexible seating. Pla...

How BIM Software is Transforming Architecture and Engineering

Building Information Modeling (BIM) software has become a cornerstone of modern architecture and engineering practices, revolutionizing how professionals design, collaborate, and execute projects. By enabling more efficient workflows and fostering ...

How 32-Inch Computer Monitors Can Increase Your Workflow

With the near-constant usage of technology around the world today, ergonomics have become crucial in business. Moving to 32 inch computer monitors is perhaps one of the best and most valuable improvements you can possibly implement. This-sized moni...

Top Tips for Finding a Great Florist for Your Sydney Wedding

While the choice of wedding venue does much of the heavy lifting when it comes to wowing guests, decorations are certainly not far behind. They can add a bit of personality and flair to the traditional proceedings, as well as enhancing the venue’s ...

LayBy Shopping