How Gulf-developed large language models like Jais are bringing Arabic into the AI mainstream

As Gulf states aim to become AI leaders by investing in R&D and startups (Supplied/MBZUAI)
Short Url
Updated 09 October 2023
Follow

How Gulf-developed large language models like Jais are bringing Arabic into the AI mainstream

  • ChatGPT understands inquiries in Arabic, but answers can sound unnatural or fail to convey the right message
  • Now homegrown LLMs can capture linguistic nuances and even comprehend dialects and cultural references

DUBAI: When ChatGPT made its debut last year, the artificial intelligence program caused a global sensation, as users found themselves communicating with a machine that could pass as another human being.

However, the enthusiasm among techies in the Arab world was somewhat diminished by ChatGPT’s limited grasp of Arabic, in part the result of the language’s complexity, diacritical markings, inflection system and regional dialects.

Although ChatGPT, which is based on a large language model, or LLM, can understand inquiries in Arabic and is able to translate, especially when using Modern Standard Arabic, answers can come across as unnatural, while literal translations do not always convey the right message.

That is why Jais, an LLM designed to support Arabic, was unveiled in July, bringing one of the world’s most widely spoken, though occasionally overlooked, languages into the AI mainstream.

Jais, a name that recalls the UAE’s highest peak in Ras Al-Khaimah, is the brainchild of a team of academics and engineers who embarked on the project because they felt too few LLMs were credibly multilingual.




The Ameca humanoid robot greets visitors at Dubai's Museum of the Future. (AFP)

Downloadable on the machine learning platform Hugging Face, Jais is the result of a collaboration between Cerebras Systems, Mohamed bin Zayed University of Artificial Intelligence, or MBZUAI, and a subsidiary of the Abu Dhabi-based G42 called Inception.

“It is vital that large language models are developed for languages other than English to ensure that innovation is accessible to everyone,” Andy Jackson, CEO of Inception, told Arab News.

“A quality Arabic LLM is critical for all sectors, businesses and organizations, as well as individuals. Innovation thrives when we collaborate, and Jais sets a new standard for AI advancement in the Middle East, ensuring that the Arabic language, with its depth and heritage, finds its voice within the AI landscape.

“Jais demonstrates our commitment to excellence, and our dedication to democratizing AI and promoting innovation.”

LLMs are functional machine learning models that use deep learning algorithms to process and understand natural human language. These models are then trained on large amounts of text data to learn patterns in the language.

These programs, which are rapidly proliferating in the wake of ChatGPT’s success, are capable of generating text on a seemingly endless array of subjects, producing everything from academic papers to poetry.

What is especially impressive about them is their ability to create responses to questions that are so convincingly human-like in almost any language, including coding.

But in order to make those languages sound convincing, native-speaking human programmers are often required to provide a critical layer of context and understanding that can enhance accuracy and reliability.

“Jais is purpose-built for the Arabic language and excels in capturing its intricacies and nuances, ensuring highly accurate and contextually relevant responses — a distinct advantage over general-purpose models,” said Jackson.




AI programs that are responsive to the Arabic language could widen access to a transformational new technology. (MBZUAI)

“This specialization is a pivotal development, opening up opportunities for governments, industries, and individuals across the Arab world to tap into the potential of generative AI.”

Currently considered among the foremost Arabic LLMs, Jais, a 13-billion parameter model, was trained on a newly developed 395-billion-token Arabic and English dataset on Condor Galaxy, one of the largest cloud AI supercomputers in the world, launched by G42 and Cerebras in July using 116 billion Arabic tokens and 279 billion English tokens.

“Jais was born in Abu Dhabi and offers more than 400 million Arabic speakers the opportunity to harness the potential of generative AI,” Preslav Nakov, professor and deputy department chair of Natural Language Processing at MBZUAI, told Arab News.

“It will facilitate and expedite innovation, highlighting Abu Dhabi’s leading position as a hub for AI, innovation, culture preservation and international collaboration.”

As an open-source model, Jais is expected to engage scientists, academics and developers to accelerate the growth of a an Arabic language AI ecosystem. It could also serve as a model for other languages now underrepresented in mainstream AI.

FASTFACTS

• Large language models, or LLMs, are a type of AI that can mimic human intelligence.

• Arabic is spoken by 400m people, but accounts for 1 percent of total global online content.

• Jais was created by Cerebras, MBZUAI, and a subsidiary of G42 called Inception.

“Jais outperforms existing Arabic models by a sizable margin,” said Nakov. “It is also competitive with English models of similar size despite being trained on significantly less English data.

“This exciting result shows that the model’s English component learned from the Arabic data and vice versa, opening a new era in LLM development and training.”

In Jais’s development, significant attention was devoted to pre-processing Arabic text, enhancing support for the language’s unique features, including its writing style and word order.

Jais also maintains a balanced Arabic-English dataset focus for optimal performance, offering a marked improvement over models with a limited Arabic text presence.

Its developers say Jais, unlike other models, captures linguistic nuances and even comprehends various Arabic dialects and cultural references.

“Jais facilitates faster customization for specific Arabic-focused use cases and addresses data ownership concerns by being based in the UAE, offering a reassuring solution for local enterprises,” said Inception CEO Jackson.




LLMs are functional machine learning models that use deep learning algorithms to process and understand natural human language. (Supplied)

The UAE’s Ministry of Foreign Affairs and Ministry of Industry and Advanced Technology, Abu Dhabi’s National Oil Company and Department of Health, Etihad Airways, First Abu Dhabi Bank, and global technology group e& are planning to utilize Jais, offering valuable insights to enhance the model and its applications across their industries.

Given the strong digital transformation efforts by several of the Arab Gulf governments, accompanied by huge investments in high-tech industries and homegrown tech startups, AI programs that are responsive to the Arabic language could widen access to a transformational new technology and challenge the monopoly of a clutch of Silicon Valley companies.

Last month, Technology Innovation Institute, an Emirati research center in Abu Dhabi, released Falcon 180b, an open-source AI model. Established in 2020, TII released Falcon 40b, the first version of its flagship open-source AI model, in May this year, after unveiling Noor, an Arabic-based AI model, last year.

According to a report in The Economist magazine, TII is the applied-research arm of the Advanced Technology Research Council, a government agency that employs an 800-strong multinational staff working on subjects from biotechnology and robotics to quantum computing.

“We are entering the game to disrupt the core players,” Faisal Al-Bannai, secretary-general of the ATRC, told The Economist, adding that TII will build new proprietary models and applications catering for specific fields such as medicine and law.

For its part, Saudi Arabia launched its National Strategy for Data and Artificial Intelligence in October 2020, aiming to become a global leader in the field as it seeks to attract $20 billion in foreign and local investments by 2030.

The Kingdom is also determined to future-proof its workforce, initially by training and developing a pool of 20,000 AI and data specialists. In May this year, Deloitte’s AI Institute was officially launched at the Experience Analytics conference in Riyadh.

Just last week Saudi Arabia launched a National Olympiad for Programming and Artificial Intelligence open to all middle- and high-school pupils. An estimated 300,000 students will be selected from 3 million participants for training in programming and AI, according to media reports.




The hope is that the advent of AI and the automation of rapid translation will be a game changer for Arabic content. (LEAP)

The initiative is a collaboration between the Saudi Data and Artificial Intelligence Authority, in collaboration with the Ministry of Education and King Abdulaziz and His Companions Foundation for Giftedness and Creativity (Mawhiba).

Saudi Arabia’s adoption of digitalization and emerging technologies is forecast to contribute about 2.4 percent to its gross domestic product by 2030, according to a recent report by global consultancy firm PwC.

In terms of average annual growth in the contribution of AI by region, Saudi Arabia is expected to grab a 31.3 percent share in the technology’s expansion between 2018 and 2030, the PwC report added.

“AI is developing rapidly, and its impact will be felt more and more across all sectors and areas of life,” said MBZUAI’s Nakov. “In this context, it is vital that the Arab world has access to an advanced LLM that can be adapted and utilized across all sectors.

“The rapid advancement of AI means that organizations that fail to adapt and start using AI sooner rather than later will be left behind, which makes it even more essential for the Arab world to have access to quality LLMs.”

Beyond its business applications, however, a crucial aspect of a program such as Jais is its ability to champion neglected languages, preserve them in a fast-changing economy, and promote digital inclusivity.

Although Arabic is an official language in 22 countries and is partly spoken in 11 others, it accounts for just 1 percent of total global online content, according to Jais’s creators. The hope is that the advent of AI and the automation of rapid translation will be a game changer.

By placing the language at the forefront of the AI revolution, Jais and its successors could help to maintain Arabic’s global prominence and its distinctive cultural significance in the digital age.


Libya war crimes probe to advance next year: ICC prosecutor

An exterior view of the International Criminal Court in The Hague, Netherlands, March 31, 2021. (REUTERS)
Updated 15 May 2024
Follow

Libya war crimes probe to advance next year: ICC prosecutor

  • The Security Council referred the situation in Libya to the ICC in February 2011 following a violent crackdown on unprecedented protests against the regime of Muammar Qaddafi

UNITED NATIONS, United States: The International Criminal Court prosecutor probing war crimes committed in Libya since 2011 announced Monday his plans to complete the investigation phase by the end of 2025.
Presenting his regular report before the United Nations Security Council, Karim Khan said that “strong progress” had been made in the last 18 months, thanks in particular to better cooperation from Libyan authorities.
“Our work is moving forward with increased speed and with a focus on trying to deliver on the legitimate expectations of the council and of the people of Libya,” Khan said.
He added that in the last six months, his team had completed 18 missions in three areas of Libya, collecting more than 800 pieces of evidence including video and audio material.
Khan said he saw announcing a timeline to complete the investigation phase as a “landmark moment” in the case.
“Of course, it’s not going to be easy. It’s going to require cooperation, candor, a ‘can do’ attitude from my office but also from the authorities in Libya,” he added.
“The aim would be to give effect to arrest warrants and to have initial proceedings start before the court in relation to at least one warrant by the end of next year,” Khan said.
The Security Council referred the situation in Libya to the ICC in February 2011 following a violent crackdown on unprecedented protests against the regime of Muammar Qaddafi.
So far, the investigation opened by the court in March 2011 has produced three cases related to crimes against humanity and war crimes, though some proceedings were abandoned after the death of suspects.
An arrest warrant remains in place for Seif Al-Islam Qaddafi, the son of the assassinated Libyan dictator who was killed by rebel forces in October 2011.
Libya has since been plagued by fighting, with power divided between a UN-recognized Tripoli government and a rival administration in the country’s east.
 

 

 


Palestinians rally at historic villages in northern Israel

Updated 15 May 2024
Follow

Palestinians rally at historic villages in northern Israel

  • The descendants of the 160,000 Palestinians who managed to remain in what became Israel presently number about 1.4 million, around 20 percent of Israel’s population
  • Israel has killed more than 35,000 Palestinians in Gaza, mostly women and children, according to the health ministry in the Hamas-run territory

SHEFA-AMR: Thousands of people took part Tuesday in an annual march through the ruins of villages that Palestinians were expelled from during the 1948 war that led to Israel’s creation.
Wrapped in keffiyeh scarves and waving Palestinian flags, men and women rallied through the abandoned villages of Al-Kassayer and Al-Husha — many holding signs with the names of dozens of other demolished villages their families were displaced from.
“Your Independence Day is our catastrophe,” reads the rallying slogan for the protest that took place as Israelis celebrated the 76th anniversary of the proclamation of the State of Israel.
The protest this year was taking place against the backdrop of the ongoing war in Gaza, where fighting between Israel and Palestinian militant group Hamas has displaced the majority of the population, according to the United Nations.
Among those marching Tuesday was 88-year-old Abdul Rahman Al-Sabah.
He described how members of the Haganah, a Zionist paramilitary group, forced his family out of Al-Kassayer, near the northern city of Haifa, when he was a child.
They “blew up our village, Al-Kassayer, and the village of Al-Husha so that we would not return to them, and they planted mines,” he said, his eyes glistening with tears.
The family was displaced to the nearby town of Shefa-Amr.
“But we continued (going back), my mother and I, and groups from the village, because it was harvest season, and we wanted to live and eat,” he said.
“We had nothing, and whoever was caught by the Israelis was imprisoned.”
Palestinians remember this as the “Nakba,” or catastrophe, when around 760,000 Palestinians fled or were driven from their homes during the war that led to the creation of Israel.
The descendants of the 160,000 Palestinians who managed to remain in what became Israel presently number about 1.4 million, around 20 percent of Israel’s population.

Many of today’s Arab Israelis remain deeply connected to their historic land.
At Tuesday’s march, one man carried a small sign with “Lubya,” the name of what was once a Palestinian village near Tiberias.
Like many other Palestinian villages, Al-Husha and Al-Kassayer witnessed fierce battles in mid-April 1948, according to historians of the Haganah, among the Jewish armed groups that formed the core of what became the Israeli military.
Today, the kibbutz communities of Osha, Ramat Yohanan and Kfar Hamakabi can be found on parts of land that once housed the two villages.
“During the attack on our village Al-Husha, my father took my mother, and they rode a horse to the city of Shefa-Amr,” said Musa Al-Saghir, 75, whose village had been largely made up of people who immigrated from Algeria in the 1880s.
“When they returned to see the house, the Haganah forces had blown up the village and its houses,” said the activist from a group advocating for the right of return for displaced Arabs.
Naila Awad, 50, from the village of Reineh near Nazareth, explained that the activists were demanding both the return of displaced people to their demolished villages within Israel, as well as the return of the millions of Palestinian refugees living in the West Bank, Gaza and other countries.
“No matter how much you try to break us and arrest us, we will remain on our lands,” she insisted.
 

 


Egypt rejects Israel’s denial of role in Gaza aid crisis

Updated 15 May 2024
Follow

Egypt rejects Israel’s denial of role in Gaza aid crisis

  • Sameh Shoukry: “Egypt affirms its categorical rejection of the policy of distorting the facts and disavowing responsibility followed by the Israeli side”

CAIRO: Egypt’s foreign minister on Tuesday accused Israel of denying responsibility for the humanitarian crisis in Gaza after his Israeli counterpart said Egypt was not allowing aid into the war-torn territory.
Israeli troops on May 7 said they took control of the Palestinian side of the Rafah crossing to Egypt as part of efforts to root out Hamas militants in the east of Rafah city.
The move defied international opposition and shut one of the main humanitarian entry points into famine-threatened Gaza. Since then, Egypt has refused to coordinate with Israel aid access through the Rafah crossing.
Sameh Shoukry, Egypt’s foreign minister, said in a statement that “Egypt affirms its categorical rejection of the policy of distorting the facts and disavowing responsibility followed by the Israeli side.”
In a tweet on social media platform X, Israeli Foreign Minister Israel Katz had said, “Yesterday, I spoke with UK Foreign Secretary David Cameron and German Foreign Minister Annalena Baerbock about the need to persuade Egypt to reopen the Rafah crossing to allow the continued delivery of international humanitarian aid to Gaza.”
Katz added that “the key to preventing a humanitarian crisis in Gaza is now in the hands of our Egyptian friends.”
Shoukry, whose country has tried to mediate a truce in the Israel-Hamas war, responded that “Israel is solely responsible for the humanitarian catastrophe that the Palestinians are currently facing in the Gaza Strip.”
He added that Israeli control of the Palestinian side of the Rafah border crossing and its military operations exposes “aid workers and truck drivers to imminent dangers,” referencing trucks awaiting entry to Gaza.
This, he said, “is the main reason for the inability to bring aid through the crossing.”
UN chief Antonio Guterres said he is “appalled” by Israel’s military escalation in Rafah, a spokesman said.
Guterres’ spokesman Farhan Haq said “these developments are further impeding humanitarian access and worsening an already dire situation,” while also criticizing Hamas for “firing rockets indiscriminately.”
Since Israeli troops moved into eastern Rafah, the aid crossing point from Egypt remains closed and nearby Kerem Shalom crossing lacks “safe and logistically viable access,” a UN report said late on Monday.


Daesh claims attack on army post in northern Iraq

Updated 15 May 2024
Follow

Daesh claims attack on army post in northern Iraq

  • Daesh said in a statement on Telegram it had targeted the barracks with machine guns and grenades

BAGHDAD: Daesh claimed responsibility on Tuesday for an attack on Monday targeting an army post in northern Iraq which security sources said had killed a commanding officer and four soldiers.
The attack took place between Diyala and Salahuddin provinces, a rural area that remains a hotbed of activity for militant cells years after Iraq declared final victory over the extremist group in 2017.
Security forces repelled the attack, the defense ministry said on Monday in a statement mourning the loss of a colonel and a number of others from the regiment. The security sources said five others had also been wounded.
Daesh said in a statement on Telegram it had targeted the barracks with machine guns and grenades.
Iraq has seen relative security stability in recent years after the chaos of the 2003-US-led invasion and years of bloody sectarian conflict that followed.

 


Israeli forces repeatedly target Gaza aid workers, says Human Rights Watch

Updated 14 May 2024
Follow

Israeli forces repeatedly target Gaza aid workers, says Human Rights Watch

  • They are among more than 250 aid workers who have been killed in Gaza since the war erupted more than seven months ago, according to UN figures
  • Israel has killed more than 35,000 Palestinians in Gaza, mostly women and children, according to the health ministry in the Hamas-run territory

JERUSALEM: Human Rights Watch said on Tuesday that Israel had repeatedly targeted known aid worker locations in Gaza, even after their coordinates were provided to Israeli authorities to ensure their protection.
The rights watchdog said that it had identified eight cases where aid convoys and premises were targeted, killing at least 15 people, including two children.
They are among more than 250 aid workers who have been killed in Gaza since the war erupted more than seven months ago, according to UN figures.
In all eight cases, the organizations had provided the coordinates to Israeli authorities, HRW said.
This reveals “fundamental flaws with the so-called deconfliction system, meant to protect aid workers and allow them to safely deliver life-saving humanitarian assistance in Gaza,” it said.
“On one hand, Israel is blocking access to critical lifesaving humanitarian provisions and on the other, attacking convoys that are delivering some of the small amount that they are allowing in,” Belkis Wille, HRW’s associate crisis, conflict and arms director, said in Tuesday’s statement.
HRW highlighted the case of the World Central Kitchen, a US-based charity who saw seven of its aid workers killed by an Israeli strike on their convoy on April 1.
This was not an isolated “mistake,” HRW said, pointing to the other seven cases it had identified where GPS coordinates of aid convoys and premises had been sent to Israeli authorities, only to see them attacked by Israeli forces “without any warning.”