Training an Arabic LLM that reflects local values

Training an Arabic LLM that reflects local values

Training an Arabic LLM that reflects local values
The Arab world did not play a key role in the PC, internet and mobile eras. In the AI era, it will be different. (Shutterstock)
Short Url

Advances in the large language models that underpin generative AI are changing everything, from medicine and education to entertainment.

Our relationship with technology is becoming more intimate as machines change from passive tools into active assistants that amplify our innate human abilities.

This new era poses both a challenge and an opportunity for the Middle East.

The challenge is that leaders in this new field, like OpenAI’s ChatGPT and Google’s Gemini, come from Silicon Valley, or from China, where my team at 01.AI has built models that rival the Americans. In Europe, too, startups such as France’s Mistral have entered the race.

The opportunity is for the Middle East to join this league and make sure its voice is heard.

Inspired by my latest trip to Riyadh, I decided to test how the current crop of AI models would handle a simple request. I imagined myself as a young Saudi getting ready to host a dinner party and asked ChatGPT to prepare a menu.

The food it recommended sounded delicious — stuffed grape leaves, tabouleh salad, mandi and stuffed dates. But the beverages were a problem.

Aside from drinks such as mint lemonade and jallab, a mixture of dates, grape molasses and rose water, ChatGPT also offered this: “For alcoholic beverages, you could offer a selection of international wines, beers, or non-alcoholic mocktails.”

To its credit, when I repeated the question, it offered only non-alcoholic drinks.

If a model recommends breaking both the law and cultural norms, imagine how it might answer other more sensitive questions about politics or religion? Indeed, researchers have even shown that some models have exhibited an anti-Muslim bias.

My modest test underlines the urgent need to develop an Arabic large language model that reflects local values.

The first step to building this is creating enough high-quality Arabic digitized data to properly train a new generation of models.

Although there are 400 million Arabic speakers, only an estimated 2 percent of online content is in Arabic. Meta’s open source LLM model Llama is overwhelmingly trained on English data, with Arabic comprising less than 0.1 percent of the data.

The lack of data naturally skews the results. To fix this dearth of data, either a visionary entrepreneur or a government-backed organization should collect, digitize and convert the many Arabic books into training data for Arabic models.

Once the data is gathered, it can be fed into the breakthrough pre-training process, which reads trillions of words and creates its own virtual concept space or model of the world. This concept space has been shown to be mostly in English and Chinese.

Adding a sizable number of texts in Arabic, which has enormous cultural output and significance, will make the concept space more knowledgeable about Arabic and more balanced in its concepts and views.

After such pre-training, the model needs to be fine-tuned by data and labels from the Arab world, which will align with the values of the region. Those are different from American models, which are aligned to US values, and Chinese models, which reflect Chinese values.

The collection of alignment data, the coordination of human labeling and the alignment process will need to be done in-region by AI experts.

A new Arabic-enhanced large language model could encourage entrepreneurs and developers to build new applications tailored to the needs of their nations.

Kai-fu Lee

Finally, safety modules will need to be added to ensure legal compliance and to avoid harm. These will also need to be developed locally.

The above steps will create localized, sovereign models that will reflect the traditions of the Middle East. Privately developed or government-backed, it could be the foundation for a new wave of Arabic AI innovation.

A new Arabic-enhanced large language model could encourage entrepreneurs and developers to build new applications tailored to the needs of their nations.

Imagine an AI tool that could find, summarize, organize and write insightful content, an AI teacher that makes learning fun and customized, an AI doctor that is more knowledgeable than any human, an AI engineer that can write software and applications, and an AI assistant that knows its owner better than the owner themselves.

The Arab world did not play a leading role in the PC, internet and mobile eras. In the AI era, it will be different.

This transformation is by no means an easy feat. It will require an unprecedented investment of money, energy and human capital.

Middle Eastern leaders like Saudi Crown Prince Mohammed bin Salman and others have shown that they have the vision, determination and resources to lead their countries into the future.

Standing on my hotel balcony in Jeddah recently, overlooking the King Abdullah University of Science and Technology, I saw part of that vision coming to fruition.

Universities such as KAUST and the Mohamed bin Zayed University of Artificial Intelligence in the UAE are striking examples of the resources that have already been poured into this transformation.

These world-class academic institutions can attract and retain the best top tier global talent.  It is especially important to bring in the world’s best computer engineers to help fulfill this vision of the future AI.

Our team at 01.AI has shown what a group of talented and motivated computer scientists can achieve in just one year. With the right commitment of resources and drawing upon the best talent, countries like Saudi Arabia can easily catch up with their global peers.

The Middle East can also lead the world in the use of renewables to run power-hungry generative AI models.

As it seeks to diversify its economy, Saudi Arabia is actively promoting the use of alternative energy sources such as solar, which could power server farms and reduce their carbon footprint — a growing concern as AI becomes more widespread.

It may take time for countries to figure out their strategy for building a sovereign AI. But it is critical for the Arab world to quickly catalyze the creation of culturally appropriate LLMs and build a rich ecosystem to allow AI-powered Arabic apps to blossom.

A recent encounter with a female sales assistant at a computer store in Riyadh served as an apt reminder of what is at stake. Dressed in jeans and sporting a tattoo, she was a reminder of the transformative changes that the country is undergoing.

Where are you from, I asked. “I’m Saudi,” she said. “One day I want to be Saudi Arabia’s Elon Musk.” I hope on my next visit she will pitch me a homegrown AI app.

Kai-Fu Lee is a computer scientist, CEO of 01.AI, chairman of Sinovation Ventures, former president of Google China, and author of “AI 2041” and “AI Superpowers”
 

Disclaimer: Views expressed by writers in this section are their own and do not necessarily reflect Arab News' point of view

Pakistani finance minister says economic reforms meant to boost foreign investment

Pakistani finance minister says economic reforms meant to boost foreign investment
Updated 3 min 44 sec ago
Follow

Pakistani finance minister says economic reforms meant to boost foreign investment

Pakistani finance minister says economic reforms meant to boost foreign investment
  • Muhammad Aurangzeb meet a delegation of foreign investors, highlights macroeconomic gains
  • The delegation says Pakistan can be a gateway to regional markets investors seek to explore

ISLAMABAD: Federal Minister for Finance and Revenue Muhammad Aurangzeb said on Wednesday Pakistan was undertaking structural and financial reforms to create a conducive environment for foreign investment and stabilize the national economy while meeting with a delegation of international investors led by the top JP Morgan official in Pakistan.

Last year, Pakistan set up the Special Investment Facilitation Council, a hybrid civil-military body, to encourage international businesses to explore opportunities in the country by streamlining investment procedures amid prolonged economic challenges.

The finance minister briefed the visiting delegation about Pakistan’s improving macroeconomic indicators, including a 14 percent rise in exports, a decline in inflation to 9.6 percent and an overall decrease in the current account deficit.

He also pointed out the improvement in Pakistan’s sovereign credit ratings, saying they reflected a stable and promising economic outlook.

“The country’s economic growth is underpinned by robust fiscal discipline, inflation management, and a favorable balance of payments,” he told the delegation, according to an official statement.

He informed the government was also trying to broaden the tax base, cut down the public sector size and proceed with the privatization drive.

“These reforms are designed to create a more conducive environment for foreign investment and to ensure the long-term stability of the economy,” he added.

The visiting delegation discussed a range of potential investment areas, including renewable energy, information technology, infrastructure development and the financial sector.

They maintained that Pakistani market had immense potential, adding the strategic location of the country made it a gateway to regional markets where foreign investors were eager to explore opportunities.

The foreign minister welcomed the delegation’s interest in investing in Pakistan and assured its members of the government full support.


Saudi artist Raghad Al-Ahmad infuses Kingdom’s landscape and identity into new Adidas collection

Saudi artist Raghad Al-Ahmad infuses Kingdom’s landscape and identity into new Adidas collection
Updated 19 min 22 sec ago
Follow

Saudi artist Raghad Al-Ahmad infuses Kingdom’s landscape and identity into new Adidas collection

Saudi artist Raghad Al-Ahmad infuses Kingdom’s landscape and identity into new Adidas collection
  • Designer’s ‘Bloom Sky’ collection also includes abayas and hijabs
  • Inspired by poem written by Makkah Gov. Prince Khaled Al-Faisal

DUBAI: For Saudi Arabian artist Raghad Al-Ahmad, the chance to incorporate her roots and identity into the fabric of the famed apparel company Adidas was a dream come true.

The collection — called “Bloom Sky” — features the usual crop of functional unisex pieces including pants, shorts, sweaters, jackets, hoodies and t-shirts.

Jeddah-born multidisciplinary artist Raghad Al-Ahmad designed the newest collection from Adidas. (Supplied)

In addition, it has women’s modest-wear pieces including abayas and hijabs, all with a distinct Al-Ahmad touch.

“I believe we need to respect and integrate cultural elements into our collection. By including modest wear, we can connect with individuals who value this aspect of their culture, creating a complete experience,” said Al-Ahmad during a recent interview with Arab News.

“As a designer who wears abayas daily and strives to be modest through layering and matching, I understand the importance of these elements. Adding them to our collection will have a significant impact, allowing us to craft something that truly resonates with the culture we are embracing.”

The name of the collection is inspired by a poem by Makkah Gov. Prince Khaled Al-Faisal, who is renowned for his verse. The first sentence of the Arabic poem translates to: “The sky is pink and my desert is blooming.”

“As an Arab, I have grown up in a culture where poetry is a significant form of expression. I remember my grandmother always reading poems she had written, and my mother, who loved collecting poetry books.

She added that members of the royal family write poems, which are sometimes turned into songs. “I am particularly inspired by King Khaled’s poetry and his vivid descriptions of the natural world around him,” said Al-Ahmad.

The collection features women’s modest-wear pieces including abayas and hijabs. (Supplied)

The collection, which depicts iconography symbolizing flowers and stars, is an ode to all things Saudi and Al-Ahmad took inspiration from her everyday surroundings.

“My dad, an adventurer, retired from flight maintenance and began exploring Saudi Arabia in his motorhome. He opened a gateway to the country’s wonderful nature, camping amid the desert’s beauty.

“He introduced me to the captivating Saudi lavender flowers, showing his happiness surrounded by them in the desert. We found inspiration in the contrast between the sand’s color and the vibrant lavender,” said the Jeddah-born artist.

Al-Ahmad is a multi-disciplinary experimental artist who likes to work in mediums including collage, installation, sculpture and digital films.

Born and raised in Jeddah, she graduated with a degree in interior design at King Abdulaziz University in 2016.

Prior to this project with Adidas, Al-Ahmad has had partnerships with other international brands.

For example, in 2021, Al-Ahmad collaborated with luxury French label Jean Paul Gaultier to create playing cards that represent and celebrate the Kingdom’s culture on the occasion of Saudi National Day.

The “Bloom Sky” collection is part of Adidas’ efforts to collaborate and spotlight artists from the region. And also highlight their commitment to modesty and responsible consumption, whilst celebrating diversity and inclusivity.

“I was amazed by the Adidas team’s curiosity and their ability to adopt my culture in many ways, translating it into a product that everyone appreciates.

“The team paid attention to every detail, and for that, I am deeply grateful. Special thanks to each member … for bringing my culture into an innovative approach,” said Al-Ahmad.


Mancini: ‘Victory the goal’ when Falcons take on Indonesia in World Cup qualifier

Mancini: ‘Victory the goal’ when Falcons take on Indonesia in World Cup qualifier
Updated 20 min 15 sec ago
Follow

Mancini: ‘Victory the goal’ when Falcons take on Indonesia in World Cup qualifier

Mancini: ‘Victory the goal’ when Falcons take on Indonesia in World Cup qualifier
  • But Italian head coach expecting Southeast Asians to put up stern test in Jeddah
  • Forward Fahad Al-Mwalid ‘confident’ team can win on home soil

JEDDAH: Head coach Roberto Mancini is thinking only about victory as Saudi Arabia prepare for their third-round World Cup qualifying match against Indonesia tomorrow night.

But the Italian is expecting some stern opposition from his Southeast Asian opponents when the game kicks off at 9 p.m. at the King Abdullah Sports City in Jeddah.

“Indonesia is a very difficult team and of course the first game is also difficult,” he told a press conference on Wednesday.

“Indonesia has developed its football and they have so many players playing in Europe and the United States and I think they are ready too. Our goal is clear — to win the match.”

Mancini said he was hoping the crowd would play its part.

“It’s a high-level match. I hope Jeddah’s supporters stand behind us, we really need their support which will have a positive impact on the performance of our players.”

The coach was also asked about Falcons defender Saud Abdulhamid’s recent move to AS Roma, making him the first Saudi Arabian to play in Serie A.

“Abdulhamid spoke with me about six months ago and showed his interest to play in Europe. I was clear with him and told him to go ahead and work on it,” he said.

“Later on, I received a call from Daniele De Rossi, the head coach of AS Roma, and (he) asked me about Abdulhamid. I told him clearly that he is a good player and has the ability and skills to play for any European club.

“I hope to see more players go abroad to experience true professionalism. It’s great to have a group of Saudi players competing in the top European leagues. This certainly strengthens our squad.”

Mancini was also asked what he thought about the rule allowing Saudi teams to recruit up to eight foreign players.

“Attracting numerous top-level players from European leagues is a good idea but not in such a big number,” he said.

“On the other hand, attracting numerous top-level players from the European league definitely will have a positive result because Saudi local players will learn from those players.”

Falcons Forward Fahad Al-Mwalid said he too was looking forward to tomorrow night’s game and felt confident the team could come out on top.

“As the coach said, it is always difficult when you play your first game. We have all the respect for the Indonesian team but we are confident to win while playing at home and in front of our fans.”

Indonesia’s head coach Shin Tae-yong said his players were expecting a tough match but were ready for the challenge.

“We are playing with very strong Asian teams in Group C, including Japan, Australia and Saudi Arabia, but will do our best,” he said. “We have to fight with determination to stand strong.”

Indonesia has never reached a World Cup finals and Shin is being realistic about his team’s chances.

“We don’t know what will happen in football,” he said. “The realistic goal is to reach the playoffs by ranking third in the third qualifying round. That’s our goal.”

Defender Jay Idzes said he expected the Indonesian team to “give our best possible performance.”

“We understand that the Saudi league has reached a very advanced level of professionalism and now we see the players playing in Europe. But we are aiming to win.

“This is a match that we know is difficult, but it is football and we will do everything we can to put the Indonesian team on the map.”


Saudi Arabia’s technology sector could gain $4bn from GenAI by 2028: report

Saudi Arabia’s technology sector could gain $4bn from GenAI by 2028: report
Updated 29 min 19 sec ago
Follow

Saudi Arabia’s technology sector could gain $4bn from GenAI by 2028: report

Saudi Arabia’s technology sector could gain $4bn from GenAI by 2028: report
  • Kingdom will host the third Global AI Summit in Riyadh from Sept. 10 to 12
  • Media and entertainment sector in Saudi Arabia is projected to achieve a 14 percentage point margin growth by 2028

RIYADH: Saudi Arabia’s technology sector could see an increase in operating profit of SR15 billion ($4 billion) by 2028 with the adoption of generative artificial intelligence, a new report showed. 
Strategy& Middle East’s analysis suggests that a 15 percentage point margin growth is attainable if tech companies develop and commercialize new GenAI use cases and meet the demand for advanced hardware and infrastructure. 
Aligned with its Vision 2030 goals, Saudi Arabia aims to position itself as a regional technological hub. The Saudi Data & AI Authority, established in 2019, is driving this agenda to elevate the Kingdom as a global leader in data-driven economies. 
The Kingdom will host the third Global AI Summit in Riyadh from Sept. 10 to 12, focusing on ethical AI development and its applications in various sectors, including transportation, urban design, mental health, and resource management. 
Hani Zein, partner with Strategy& Middle East, said: “Advancements in GenAI are expected to impact all sectors in Saudi Arabia. Our analysis indicates that the telecom, media and entertainment, and technology sectors could achieve the highest potential margin upside by adopting GenAI.” 
He added: “This presents a prime opportunity for companies to reassess their strategies and explore new avenues for growth and innovation.”  
The report highlights that GenAI will enhance R&D capabilities, streamline solution design, and automate the lead-to-cash lifecycle for tech firms, potentially reducing costs by up to 30 percent. 
“These efforts can help to accelerate the development of local intellectual property and solidify Saudi Arabia’s position as a hub for national tech champions. GenAI can be the essential catalyst in accelerating this transformation, creating major growth opportunities, and enhancing internal capabilities,” said Fawaz BouAlwan, partner with Strategy& Middle East. 
The analysis added that the media and entertainment sector in Saudi Arabia is projected to achieve a 14 percentage point margin growth by 2028, increasing its operating profit by up to SR6 billion. 
The report underscores GenAI’s potential to boost original Arabic content creation, hyper-personalize customer experiences, and enhance operational capabilities. 
“With an advertising spending per capita of just up to SR240 in Saudi Arabia, the research also suggests there is considerable potential to better monetize their customer base. This would further accelerate the transformation of the Kingdom as a media and entertainment hub, aligned with its national agenda,” added the report. 
Additionally, the telecom sector is expected to achieve a 12 percentage point margin growth by 2028, raising operating profit by up to SR11 billion. 

The report added that GenAI is anticipated to help telecom operators differentiate themselves and navigate challenges related to monetization and price wars. 

“To successfully embrace GenAI, companies must adopt a value-driven approach that delivers tangible benefits beyond technological innovation. This begins with synchronizing GenAI initiatives to business goals, performing thorough cost-benefit analyzes, and driving operational readiness throughout the organization,” said Ali Ghaddar, principal with Strategy& Middle East. 

He emphasized the importance of a phased rollout, governed by strong operational guardrails and precise measurement, for successful implementation.


24 Fintech Day 2: Experts highlight Saudi Arabia’s unique role in shaping industry’s future 

24 Fintech Day 2: Experts highlight Saudi Arabia’s unique role in shaping industry’s future 
Updated 37 min 36 sec ago
Follow

24 Fintech Day 2: Experts highlight Saudi Arabia’s unique role in shaping industry’s future 

24 Fintech Day 2: Experts highlight Saudi Arabia’s unique role in shaping industry’s future 

RIYADH: On the second day of the 24 Fintech conference in Riyadh, experts and industry leaders took to the stage to discuss Saudi Arabia’s growing prominence in the global digital landscape.

With an audience of investors, regulators, and innovators, panel discussions throughout the day highlighted the Kingdom’s rapid transformation into a fintech powerhouse, driven by technological innovation and regulatory support under Vision 2030.

This progress is part of a broader movement that has seen Saudi Arabia attract $1.84 billion in venture capital investments since 2018, with 216 fintech startups having received funding during this period, according to the Small and Medium Enterprises General Authority, also known as Monsha’at.

During a panel titled “The Future of Saudi Digital Banking,” Eze Szafir, CEO of D360 Bank — an entity backed by the Public Investment Fund — provided a comprehensive overview of how the Kingdom is distinguishing itself within the global fintech ecosystem. 

Szafir, who has spent over a decade studying fintech ecosystems worldwide, reflected on Saudi Arabia’s unparalleled approach to fostering a vibrant financial technology sector.

He pointed out that, globally, regions such as the UK, Europe, Latin America, and Asia have developed robust fintech environments, but they have yet to achieve the level of integration between various sectors that the Kingdom has. 

The CEO explained that the collective push from private and public sectors toward realizing the goals set by Vision 2030 sets Saudi Arabia apart. This long-term initiative seeks to transform the nation’s economy by diversifying away from oil dependency and fostering growth in sectors such as fintech. 

Szafir said: “What we see here is something we haven’t seen anywhere else in the world,” emphasizing that macro-level policies and micro-level initiatives create fertile ground for fintech innovation.

The CEO continued outlining the unique circumstances driving fintech growth in Saudi Arabia. On a macro level, the government’s active involvement and Vision 2030’s Financial Sector Development Program have laid the groundwork for systemic changes that enable the ecosystem. 

He highlighted how financial regulators, banks, and tech companies are working in unison, adding that “it’s a unique place where competitors can also be partners.”

This collaborative effort is helping to create a supportive infrastructure for fintech startups, ensuring that regulatory frameworks are innovative and flexible enough to foster growth.

Szafir also shed light on the micro aspects, saying that the Kingdom has “close to 75 percent plus of fintech literacy, people having at least one fintech app in their cell phone.”

He added: “You have 5G covering more than 80 percent of the population. And you have instant payments, more than 90 percent of the total payments.”

Credit landscape being reshaped

Another notable session focused on the shifting landscape of consumer credit, as experts discussed how alternative methods for credit scoring are transforming access to financial services. 

On the panel titled “Is the Consumer Credit Landscape Experiencing a Shift?” Alaa Al-Mashhadi, chief business development officer of the Saudi Credit Bureau, known as SIMAH, addressed the challenge of reaching underserved populations.

Al-Mashhadi underscored that although SIMAH covers around 20 million individuals in Saudi Arabia, not all have complete credit profiles, a problem commonly referred to as the “thin file” issue. 

This occurs when individuals do not have enough credit history to be accurately assessed by traditional scoring models, limiting their access to financial services.

Al-Mashhadi pointed out that in Saudi Arabia, telco data is one of the key components in credit reporting, a rare advantage that sets the country apart from many others. 

“Globally, telco is not usually being reported to credit bureaus, and if it is, then the credit bureau is lucky. Saudi Arabia is considered one of the lucky ones,” he said. Yet, there remains a significant unscored population, and bridging this gap is crucial for enhancing financial inclusion.

Building on this, Tariq Sanad, the chief financial officer of Tarabut Gateway, highlighted the transformative role that open banking is playing in reshaping the credit landscape. 

According to Sanad, the future of consumer credit will be defined by seamless access to financial services, with fintech data enabling more accurate and real-time credit profiles. 

“You will no longer realize that you are accessing financial services. It’s going to be seamless,” Sanad said, illustrating how open banking can provide secure, verified data directly from an individual’s bank account.

This allows lenders to create more precise credit profiles, even those with thin files, and enables consumers to make more informed financial decisions. 

“With open banking, we have a very secure, verified source of that information,” he added, underlining that this can also help fintech companies develop new products tailored to individual spending habits and financial needs.

Central banks step up cooperation

The 24 Fintech conference also saw significant announcements that further underscored the Kingdom’s growing stature in the global fintech sector. 

On the sidelines of the event, the Saudi Central Bank, known as SAMA, and the Central Bank of the Republic of Turkiye signed a memorandum of understanding to enhance cooperation between the two institutions, particularly in areas related to financial stability and fintech. 

This agreement, signed by SAMA Governor Ayman Al-Sayari and CBRT Governor Fatih Karahan, strengthens bilateral ties between the two nations and establishes a framework for future collaboration in central banking operations.

Fintech funds

Saudi-based venture capital firm 1957 Ventures announced the size of its fund, totaling SR800 million ($216 million). 

CEO Emad Kashgari highlighted that this fund will be pivotal in supporting the Kingdom’s fintech ecosystem, offering startups the financial backing needed to scale their operations. 

This announcement reflects the broader trend of increased venture capital investment in Saudi fintech, which has attracted $1.84 billion since 2018, according to data from Monsha’at. 

In the first half of 2024 alone, the Saudi fintech sector raised $186 million across 50 deals, reinforcing its status as one of the fastest-growing markets in the region.

As the Kingdom accelerates its journey toward establishing 525 fintech firms by 2030, the discussions at the conference have underlined the country’s ambition to lead the international fintech sector. 

With the support of regulatory frameworks, investment capital, and cutting-edge technology, Saudi Arabia is well on its way to achieving its Vision 2030 goals, contributing $3.5 billion to the economy and creating over 18,000 jobs within the sector.