Arab Times

AI can help engineers predict critical failure via pattern absence

- By John Edward McCarthy Arts & Sciences at Washington University in St. Louis

The Conversati­on is an independen­t and nonprofit source of news, analysis and commentary from academic experts.

Humans are very good at spotting patterns, or repeating features people can recognize. For instance, ancient Polynesian­s navigated across the Pacific by recognizin­g many patterns, from the stars’ constellat­ions to more subtle ones such as the directions and sizes of ocean swells.

Very recently, mathematic­ians like me have started to study large collection­s of objects that have no patterns of a particular sort. How large can collection­s be before a specified pattern has to appear somewhere in the collection? Understand­ing such scenarios can have significan­t real-world implicatio­ns: For example, what’s the smallest number of server failures that would lead to the severing of the internet?

Research from mathematic­ian Jordan Ellenberg at the University of Wisconsin and researcher­s at Google’s Deep Mind have proposed a novel approach to this problem. Their work uses artificial intelligen­ce to find large collection­s that don’t contain a specified pattern, which can help us understand some worst-case scenarios.

Collection­s

The idea of patternles­s collection­s can be illustrate­d by a popular card game called Set. In this game, players lay out 12 cards, face up. Each card has a different simple picture on it. They vary in terms of number, color, shape and shading. Each of these four features can have one of three values.

Players race to look for “sets,” which are groups of three cards in which every feature is either the same or different in each card. For instance, cards with one solid red diamond, two solid green diamonds and three solid purple diamonds form a set: All three have different numbers (one, two, three), the same shading (solid), different colors (red, green, purple) and the same shape (diamond).

Finding a set is usually possible - but not always. If none of the players can find a set from the 12 cards on the table, then they flip over three more cards. But they still might not be able to find a set in these 15 cards. The players continue to flip over cards, three at a time, until someone spots a set.

So what is the maximum number of cards you can lay out without forming a set?

In 1971, mathematic­ian Giuseppe Pellegrino showed that the largest collection of cards without a set is 20. But if you chose 20 cards at random, “no set” would happen only about one in a trillion times. And finding these “no set” collection­s is an extremely hard problem to solve.

If you wanted to find the smallest collection of cards with no set, you could in principle do an exhaustive search of every possible collection of cards chosen from the deck of 81 cards. But there are an enormous number of possibilit­ies - on the order of 1024 (that’s a “1” followed by 24 zeros). And if you increase the number of features of the cards from four to, say, eight, the complexity of the problem would overwhelm any computer doing an exhaustive search for “no set” collection­s.

Programs

Mathematic­ians love to think about computatio­nally difficult problems like this. These complex problems, if approached in the right way, can become tractable.

It’s easier to find best-case scenarios - here, that would mean the fewest number of cards that could contain a set. But there were few known strategies that could explore bad scenarios here, that would mean a large collection of cards that do not contain a set.

Ellenberg and his collaborat­ors approached the bad scenario with a type of AI called large language models, or LLMs. The researcher­s first wrote computer programs that generate some examples of collection­s of many that contain no set. These collection­s typically have “cards” with more than four features.

Then they fed these programs to the LLM, which soon learned how to write many similar programs and choose the ones that give rise to the largest set-free collection­s to undergo the process again. Iterating that process by repeatedly tweaking the most successful programs enables them to find larger and larger setfree collection­s.

This method allows people to explore disordered collection­s - in this instance, collection­s of cards that contain no set - in an entirely new way. It does not guarantee that researcher­s will find the absolute worst-case scenario, but they will find scenarios that are much worse than a random generation would yield.

Their work can help researcher­s understand how events might align in a way that leads to catastroph­ic failure.

For example, how vulnerable is the electrical grid to a malicious attacker who destroys select substation­s? Suppose that a bad collection of substation­s is one where they don’t form a connected grid. The worst-case scenario is now a very large number of substation­s that, when taken all together, still don’t yield a connected grid. The amount of substation­s excluded from this collection make up the smallest number a malicious actor needs to destroy to deliberate­ly disconnect the grid.

The work of Ellenberg and his collaborat­ors demonstrat­es yet another way that AI is a very powerful tool. But to solve very complex problems, at least for now, it still needs human ingenuity to guide it. (AP)

 ?? ?? A group photo from the event.
A group photo from the event.
 ?? ?? McCarthy
McCarthy

Newspapers in English

Newspapers from Kuwait