How the algorithm tipped the balance in Ukraine

A Ukrainian soldier flies a drone during an operation against Russian positions in the Kherson region of southern Ukraine on Nov. 19. (Bernat Armangue/AP)
A Ukrainian soldier flies a drone during an operation against Russian positions in the Kherson region of southern Ukraine on Nov. 19. (Bernat Armangue/AP)

First part

Two Ukrainian military officers peer at a laptop computer operated by a Ukrainian technician using software provided by the American technology company Palantir. On the screen are detailed digital maps of the battlefield at Bakhmut in eastern Ukraine, overlaid with other targeting intelligence — most of it obtained from commercial satellites.

As we lean closer, we see can jagged trenches on the Bakhmut front, where Russian and Ukrainian forces are separated by a few hundred yards in one of the bloodiest battles of the war. A click of the computer mouse displays thermal images of Russian and Ukrainian artillery fire; another click shows a Russian tank marked with a “Z”, seen through a picket fence, an image uploaded by a Ukrainian spy on the ground.

If this were a working combat operations center, rather than a demonstration for a visiting journalist, the Ukrainian officers could use a targeting program to select a missile, artillery piece or armed drone to attack the Russian positions displayed on the screen. Then drones could confirm the strike, and a damage assessment would be fed back into the system.

This is the “wizard war” in the Ukraine conflict — a secret digital campaign that has never been reported before in detail — and it’s a big reason David is beating Goliath here. The Ukrainians are fusing their courageous fighting spirit with the most advanced intelligence and battle-management software ever seen in combat.

“Tenacity, will and harnessing the latest technology give the Ukrainians a decisive advantage”, Gen. Mark A. Milley, chairman of the Joint Chiefs of Staff, told me last week. “We are witnessing the ways wars will be fought, and won, for years to come”.

I think Milley is right about the transformational effect of technology on the Ukraine battlefield. And for me, here’s the bottom line: With these systems aiding brave Ukrainian troops, the Russians probably cannot win this war.

“The power of advanced algorithmic warfare systems is now so great that it equates to having tactical nuclear weapons against an adversary with only conventional ones”, explains Alex Karp, chief executive of Palantir, in an email message. “The general public tends to underestimate this. Our adversaries no longer do”.

Alex Karp, chief executive of Palantir, speaks in Cologne, Germany, on Sept. 7, 2021. ( Andreas Rentz/Getty Images)
Alex Karp, chief executive of Palantir, speaks in Cologne, Germany, on Sept. 7, 2021. ( Andreas Rentz/Getty Images)

“For us, it’s a matter of survival”, argues “Stepan”, the senior Ukrainian officer in the Kyiv demonstration, who before the war designed software for a retail company. Now, he tells me bluntly, “Our goal is to maximize target acquisitions”. To protect his identity, he stripped his unit insignia and other markings from his camouflage uniform before he demonstrated the technology. (The names he and his colleague used were not their real ones; I agreed to their request of anonymity to protect their security.)

“Lesya”, the other officer, was also a computer specialist in peacetime. As she looks at the imagery of the Russian invaders, on a day when their drones are savaging civilian targets in Odessa on Ukraine’s southern coast, she mutters a wish for revenge — and a hope that Ukraine will emerge from the war as a tech power. Although the Ukrainians now depend on technology help from the United States, she says, “by the end of the war, we will be selling software to Palantir”.

A new deterrent

Kyiv was cold and snowy when I arrived just over a week ago. The power was out in some places. But the capital was relatively calm. There was a traffic jam entering the city on Friday. On Saturday night, restaurants were so packed it was impossible to get a reservation at one upscale spot.

As Ukraine moves toward the new year, the spirit of resistance and resilience is visible everywhere. Roadblocks have mostly disappeared. Children play near captured Russian tanks in St. Michael’s Square. Couples take walks in the park above the Dnieper River.

I visited here at year’s end to explore what I believe is the overriding lesson of this fight — and indeed, of the past several decades of war: A motivated partner like Ukraine can win if provided with the West’s unique technology. The Afghanistan army cracked in a day because it lacked the motivation to fight. But Ukraine — and, before it, the Syrian Kurdish fighters who crushed the Islamic State with U.S. help — has succeeded because it has both the weapons and the will.

I met with a senior team from Palantir that was visiting its Kyiv office. With the approval of Karp, the CEO, they agreed to show me some of the company’s technology close to the firing line. The result is a detailed look at what may prove to be a revolution in warfare — in which a software platform allows U.S. allies to use the ubiquitous, unstoppable sensors that surround every potential battlefield to create a truly lethal “kill chain”.

Palantir, which began its corporate life working with the CIA on counterterrorism tools, has many critics. That’s partly because its biggest funder, from the start, has been co-founder Peter Thiel, a successful tech investor who has also been a strong supporter of Donald Trump and other MAGA Republicans. Karp, by contrast, has supported many Democratic candidates and causes.

The critics have argued that Palantir’s powerful software has been misused by government agencies to violate privacy or serve questionable ends. For example, The Post wrote in 2019 that Palantir’s software was used by Immigration and Customs Enforcement to help track undocumented immigrants, which led to protests from some of the company’s employees. Tech community activists have asked whether Palantir is too close to the U.S. government and can “see too much” with its tools.

Karp responded to criticism of the company in an email to me last week: “Silicon Valley screaming at us for over a decade did not make the world any less dangerous. We built software products that made America and its allies stronger — and we are proud of that”.

And Ukraine has shifted the political landscape in Silicon Valley. For Karp and many other technology CEOs, this is “the good war” that has led many companies to use their tools aggressively. This public-private partnership is one of the keys to Ukraine’s success. But it obscures many important questions: How dependent should countries be on entrepreneurs whose policy views could change? We can applaud the use of these tools in “good” wars, but what about bad ones? And what about private tools being turned against the governments that helped create them?

We’ll be struggling with these questions about technology and warfare for the rest of this century. But after spending weeks investigating the new tools developed by Palantir and other companies, the immediate takeaway for me is about deterrence — and not just in Ukraine. Given this revolution in technology, adversaries face a much tougher challenge in attacking, say, Taiwan than they might imagine. The message for China in this emerging digital battle space is: Think twice.

Vast data battlefield

The “kill chain” that I saw demonstrated in Kyiv is replicated on a vast scale by Ukraine’s NATO partners from a command post outside the country. The system is built around the same software platform developed by Palantir that I saw in Kyiv, which can allow the United States and its allies to share information from diverse sources — ranging from commercial satellite imagery to the West’s most secret intelligence tools.

This is algorithmic warfare, as Karp says. Using a digital model of the battlefield, commanders can penetrate the notorious “fog of war”. By applying artificial intelligence to analyze sensor data, NATO advisers outside Ukraine can quickly answer the essential questions of combat: Where are allied forces? Where is the enemy? Which weapons will be most effective against enemy positions? They can then deliver precise enemy location information to Ukrainian commanders in the field. And after action, they can assess whether their intelligence was accurate and update the system.

Data powers this new engine of war — and the system is constantly updating. With each kinetic strike, the battle damage assessments are fed back into the digital network to strengthen the predictive models. It’s not an automated battlefield, and it still has layers and stovepipes. The system I saw in Kyiv uses a limited array of sensors and AI tools, some developed by Ukraine, partly because of classification limits. The bigger, outside system can process highly classified data securely, with cyber protections and restricted access, then feed enemy location data to Ukraine for action.

To envision how this works in practice, think about Ukraine’s recent success recapturing Kherson, on the Black Sea coast. The Ukrainians had precise intelligence about where the Russian were moving and the ability to strike with accurate long-range fire. This was possible because they had intelligence about the enemy’s location, processed by NATO from outside the country and then sent to commanders on the ground. Armed with that information, the Ukrainians could take the offensive — moving, communicating and adjusting quickly to Russian defensive maneuvers and counterattacks.

And when Ukrainian forces hit Russian command nodes or supply depots, it’s a near certainty that they have received enemy location data this way. Mykhailo Fedorov, Ukraine’s minister of digital transformation, told me that this electronic kill chain was “especially useful during the liberation of Kherson, Izium, Kharkiv and Kyiv regions”.

Mykhailo Fedorov, Ukraine’s minister of digital transformation, during a visit to Washington on Dec. 1. (Carolyn Van Houten/The Washington Post)
Mykhailo Fedorov, Ukraine’s minister of digital transformation, during a visit to Washington on Dec. 1. (Carolyn Van Houten/The Washington Post)

What makes this system truly revolutionary is that it aggregates data from commercial vendors. Using a Palantir tool called MetaConstellation, Ukraine and its allies can see what commercial data is currently available about a given battle space. The available data includes a surprisingly wide array, from traditional optical pictures to synthetic aperture radar that can see through clouds, to thermal images that can detect artillery or missile fire.

To check out the range of available data, just visit the internet. Companies selling optical and synthetic aperture radar imagery include Maxar, Airbus, ICEYE and Capella. The National Oceanic and Atmospheric Administration sells simple thermal imaging meant to detect fires but that can also register artillery explosions.

In our Kherson example, Palantir assesses that roughly 40 commercial satellites will pass over the area in a 24-hour period. Palantir normally uses fewer than a dozen commercial satellite vendors, but it can expand that range to draw imagery from a total of 306 commercial satellites that can focus to 3.3 meters. Soldiers in battle can use handheld tablets to request more coverage if they need it. According to a British official, Western military and intelligence services work closely with Ukrainians on the ground to facilitate this sharing of information.

A final essential link in this system is the mesh of broadband connectivity provided from overhead by Starlink’s array of roughly 2,500 satellites in low-earth orbit. The system, owned by Elon Musk’s SpaceX company, allows Ukrainian soldiers who want to upload intelligence or download targeting information to do so quickly.

In this wizard war, Ukraine has the upper hand. The Russians have tried to create their own electronic battlefield tools, too, but with little success. They have sought to use commercial satellite data, for example, and streaming videos from inexpensive Chinese drones. But they have had difficulty coordinating and sharing this data among units. And they lack the ability to connect with the Starlink array.

“The Russian army is not flexible”, Lesya, the Ukrainian officer, told me. She noted proudly that every Ukrainian battalion travels with its own software developer. Ukraine’s core advantage isn’t just the army’s will to fight but also its technical prowess.

Fedorov, Ukraine’s digital minister, listed some of the military tech systems that Ukraine has created on its own in a response to my written questions. These include a secure chat system, called “eVorog”, that has allowed civilians to provide 453,000 reports since the war started, a 200-strong “Army of Drones” purchased from commercial vendors for use in air reconnaissance, and a battlefield mapping system called Delta that “contains the actual data in real time, so the military can plan their actions accordingly”.

The “X factor” in this war, if you will, is this Ukrainian high-tech edge and the ability of its forces to adapt rapidly. “This is the most technologically advanced war in human history”, argues Fedorov. “It’s quite different from everything that has been seen before”.

And that’s the central fact of the extraordinary drama the world has been watching since Russia invaded so recklessly in February. This is a triumph of man and machine, together.

Earlier this month, a British corporal demonstrates a grenade machine gun provided to Ukrainian forces that can fire a barrage of 32 grenades a minute and cover a distance up to 2.2 kilometers. (Ed Low/MOD Crown)
Earlier this month, a British corporal demonstrates a grenade machine gun provided to Ukrainian forces that can fire a barrage of 32 grenades a minute and cover a distance up to 2.2 kilometers. (Ed Low/MOD Crown)

Second part

To see the human face of the “algorithm war” being fought in Ukraine, visit a company of raw recruits during their five rushed weeks at a training camp here in Britain before they’re sent to the front in Ukraine.

They will soon have a battery of high-tech systems to aid them, but they must face the squalor of the trenches and the roar of unrelenting artillery fire alone. The digital battlefield has not supplanted the real one.

At the British camp, instructors have dug 300 yards of trenches across a frigid hillside. The trenches are four feet deep, girded with sandbags and planks, and slick with mud and water at the bottom. The Ukrainian recruits, who’ve never been in battle before, have to spend 48 hours in these hellholes. Sometimes, there’s simulated artillery fire overhead and rotting animal flesh nearby to prepare the trainees for the smell of death.

The recruits practice attacking the trenches and defending them. But mostly they learn to stay alive and as warm as they can, protecting their wet, freezing feet from rot and disease. “Nobody likes the trenches”, says Oleh, the Ukrainian officer who oversees the training with his British colleagues. (I’m not using his full name to respect concerns about his security.) “We tell them it will be easier in battle. If it’s hard now, that’s the goal”.

The paradox of the Ukraine conflict is that it combines the World War I nightmare of trench warfare with the most modern weapons of the 21st century.

“It’s hard to understand the brutality of contact in that front line. It’s Passchendaele in Donetsk”, explains Brigadier Justin Stenhouse, recalling one of the bloodiest battles of World War I. He oversees training for the British Ministry of Defense in Whitehall and arranged my visit to the training camp.

Lt. Col. Jon Harris, the British commander at the camp, states his training mission bluntly: “Learn to survive and win against Russia”.

Silicon Valley Pentagon

The Ukraine war has fused the flesh-and-blood bravery of these Ukrainian troops on the ground with the stunning high-tech arsenal that I described in part one of this report. The result is a revolution in warfare. This transformation, rarely discussed in the media, has been evolving for more than a decade. It shows the lethal ability of the United States and its allies to project power — and it also raises some vexing questions about how this power will be used.

One of the leading actors in this underreported revolution has been Palantir, which originally developed its software platform after the Sept. 11, 2001, attacks to help the CIA integrate data that was often in different compartments and difficult to share. News reports have frequently said that Palantir software helped track al-Qaeda leader Osama bin Laden, but the company won’t confirm that.

The Pentagon’s use of these ultramodern tools was encouraged by a very old-fashioned commander, Gen. Mark A. Milley, the gruff and often profane chairman of the Joint Chiefs of Staff. When he was Army chief of staff in 2018, the service began working with Palantir and other tech companies to integrate data through a program called Army Vantage. Milley was frustrated by an antiquated data system that made it hard to gather details about what units were ready for battle. The Army, like so many government institutions, had too many separate repositories for information.

Palantir technicians showed me an unclassified version of the Army database they helped create to address that problem. You can see in an instant what units are ready, what skills and experience the soldiers in these units have, and what weapons and ammunition are available. Logistics problems like this once took weeks to solve; now there are answers in seconds.

“The U.S. military is focused on readiness today and readiness in the future”, Milley told me in an email last week. “In defense of our country, we’re pulling together a wide variety of technologies to remain number one, the most effective fighting force in the world”.

The Army began testing ideas about algorithmic warfare with individual units around that time as well. The first choice was the elite 82nd Airborne, commanded in 2020 by Maj. Gen. Christopher Donahue; it was part of the XVIII Airborne Corps, then headed by Lt. Gen. Michael “Erik” Kurilla. These two worked with Palantir and other companies to understand how the Army could use data more effectively.

Simultaneously, the Pentagon was exploring the use of artificial intelligence to analyze sensor data and identify targets. This effort was known as Project Maven, and it initially spawned a huge controversy when it was launched in 2017. The idea was to write algorithms that could recognize, say, a Russian T-72 tank in drone surveillance images in the same way that facial recognition scans can discern a human face.

The military’s AI partnership with Silicon Valley got off to a bad start. In 2018, engineers at Google, initially the leading contractor for Maven, protested so angrily about writing targeting algorithms that the company had to withdraw from the program.

Maven has evolved. It’s now supervised by the National Geospatial-Intelligence Agency, and it generates AI models on a fast, one-month cycle. A tech executive explained to me that companies now compete to develop the most accurate models for detecting weapons — tuning their algorithms to see that hypothetical T-72 under a snowy grove of fir trees, let’s say, rather than a swampy field of brush — and each month the government selects a new digital array.

For a Pentagon that usually buys weapons that have a 30-year life span, this monthly rollover of targeting software is a revolution in itself.

Maj. Gen. Christopher Donahue, left, with Polish Gen. Wojciech Marchwica at the Rzeszow-Jasionka Airport in Rzeszow, Poland, in February. (Omar Marques/Getty Images)
Maj. Gen. Christopher Donahue, left, with Polish Gen. Wojciech Marchwica at the Rzeszow-Jasionka Airport in Rzeszow, Poland, in February. (Omar Marques/Getty Images)

When Russia invaded Ukraine on Feb. 24, the U.S. Army had these tools in hand — and commanders with experience using them. Donahue had moved up to become head of the XVIII Airborne Corps, which transferred its forward headquarters to Wiesbaden, Germany, just after the Russian invasion. The 82nd Airborne moved to forward quarters near Rzeszow, Poland, near the Ukraine border.

Kurilla, meanwhile, became head of Central Command and began using that key theater as a test bed for new technologies. In October, Kurilla appointed Schuyler Moore, a former director of science and technology for the Defense Innovation Board, as Centcom’s first “chief technology officer”.

For the Army and other services, the impetus for this technology push isn’t just the Russian invasion of Ukraine, but the looming challenge from China — America’s only real peer competitor in technology.

Army Lt. Gen. Michael "Erik" Kurilla at a Senate Armed Services Committee hearing on Feb. 8 in Washington. Kurilla serves as the commander of U.S. Central Command. (Win McNamee/Getty Images)
Army Lt. Gen. Michael "Erik" Kurilla at a Senate Armed Services Committee hearing on Feb. 8 in Washington. Kurilla serves as the commander of U.S. Central Command. (Win McNamee/Getty Images)

A tool for good and ill

In the age of algorithm warfare, when thinking machines will be so powerful, human judgment will become all the more important. Free societies have created potent technologies that, in the hands of good governments, can enable just outcomes, and not only in war. Ukrainian officials tell me they want to use Palantir software not just to repel the Russian invasion, but to repair Ukraine’s battered electrical grid, identify hidden corruption and manage the vast tasks of reconstruction.

Mykhailo Fedorov, Ukraine’s minister for digital transformation and vice prime minister, explained in written answers to my questions how he plans to use technology not just to beat Russia, but to become a high-tech superpower in the future.

Fedorov says Ukraine is “massively” using software platforms “to deal with power shortages and in order to ensure telecom connection”. To repair electricity cutoffs and damaged energy infrastructure, the country uses Starlink terminals, Tesla Powerwall systems, and advanced generators and lithium batteries. It backs up all its important data on cloud servers.

“For sure, I’m convinced that technologies will also allow us to build a bright and safe future”, Fedorov says. “Only the newest technologies could give us such an advantage to run and create the country we deserve as fast as possible”.

But these technologies can also create 21st-century dystopias, in the wrong hands. The targeting algorithms that allow Ukraine to spot and destroy invading Russians aren’t all that different from the facial-recognition algorithms that help China repress its citizens. We’re lucky, in a sense, that these technologies are mostly developed in the West by private companies rather than state-owned ones.

But what if an entrepreneur decides to wage a private war? What if authoritarian movements gain control of democratic societies and use technology to advance control rather than freedom? What if AI advances eventually allow the algorithms themselves to take control, making decisions for reasons they can’t explain, at speeds that humans can’t match? Democratic societies need to be constantly vigilant about this technology.

The importance of the human factor is clear with Silicon Valley entrepreneurs such as Elon Musk, who illustrates the strength — and potential weakness — of America’s new way of war. If Musk decides he isn’t being paid enough for his services, or if he thinks it’s time for Ukraine to compromise, he can simply cut the line to his satellites, as he briefly threatened this fall.

Tesla chief executive Elon Musk attends a factory opening in Germany on March 22. (Patrick Pleul/AP)
Tesla chief executive Elon Musk attends a factory opening in Germany on March 22. (Patrick Pleul/AP)

Looking at the Ukraine war, we can see that our freewheeling entrepreneurial culture gives the West a big advantage over state-run autocracies such as China and Russia — so long as companies and CEOs share the same democratic values as Western governments. That’s why we need a broader public debate about the power of the technologies that are being put to noble use in Ukraine but could easily be turned to ignoble purposes in the wrong hands.

Ukraine, which has suffered so much in this war, wants to be a techno-superpower when the conflict finally ends. Fedorov, who’s overseeing Kyiv’s digital transformation, explains it this way: “Let’s plan to turn Ukraine into the world’s ‘mil-tech valley,’ to develop the most innovative security solutions, so the world will become a safer and more digital place”.

But first, the Ukrainians freezing in the filthy trenches will need to prevail.

Lt. Col. Harris, the commander of the camp in northeastern England, says he’s humbled amid the recruits there. Through five combat tours in Afghanistan and one in Iraq, though, he knows he has never faced anything as horrifying as many of them will see in a month or two.

On the firing range, 10 Ukrainian recruits squeeze off shots from their AK-47s. They’re on the second day of live-fire exercises, with eight more to come. They’re accountants, cooks and college students; some unsteady with their weapons, others newly bold. As they take aim at targets 50 feet away, a British sergeant commanding the range barks at them through an interpreter: “You need to kill the enemy before he kills you”.

And it’s as simple as that. This is a war of survival for Ukraine. But it should comfort the recruits that whatever their misery in coming months, they will have a level of technological support beyond anything the world has seen.

David Ignatius writes a twice-a-week foreign affairs column for The Washington Post. His latest novel is “The Paladin”.

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *