Within Reach: Unravelling the Complexty of the Reachability Problem for Vector Addition Systems

Category Computer Science

tldr #

The Reachability Problem is the question of whether it is possible to reach a certain target state through a combination of transitions in a Vector Addition System (VAS). It is difficult to calculate its complexity, as it's an NP-complete problem. It has implications on numerous disciplines and requires significant computational power to fully solve.


content #

It’s not often that 5-year-olds can grasp questions at the frontiers of computer science, but it can happen. Suppose, for instance, that a kindergartner named Alice has two apples, but she prefers oranges. Fortunately, her classmates have developed a healthy fruit-trading system with strictly enforced exchange rates: Give up an apple, say, and you can get a banana. Can Alice execute a series of trades, by picking up and offloading bananas or cantaloupes, that gets her to her favorite fruit? .

Discrete mathemtics is an important tool in understanding the problems of computer science

It sounds simple enough. "You can go to primary school and tell [it to] children," said Christoph Haase, a computer scientist at the University of Oxford. "People will think, ‘That must be easy.’" .

But the math problem underlying Alice’s dilemma — called the reachability problem for vector addition systems — is surprisingly subtle. While some cases can be solved easily, computer scientists struggled for nearly half a century to develop a comprehensive understanding of the problem. Now, in a series of breakthroughs over the past few years, they have firmly established exactly how complex that problem can get.

It is named after the 'E') Event model and is known as Petri Net

It turns out that this childlike problem is absurdly, almost cartoonishly complex — so complex that practically all other famously hard computational problems look like, well, child’s play. Try to quantify the effort required to solve this problem, and soon you’ll be facing numbers so large that even counting their digits will have you reaching for numbers you’ve never heard of. Such numbers often invite comparisons to the scale of the universe, but even those analogies fall short. "That would not do it justice," said Georg Zetzsche, a computer scientist at the Max Planck Institute for Software Systems in Kaiserslautern, Germany. "The universe is so small." .

The Reachability Problem is NP-complete, which means it is generally too complicated to solve in a reasonalbe amount of time

Within Reach? .

Stripped to its essence, the reachability problem is about mathematical objects called vectors, which are ordered lists of numbers. The entries in these lists are called components, and the number of components in a vector is called its dimensionality. Alice’s fruit inventory, for instance, can be described by a four-dimensional vector (a, b, c, d), whose components represent how many apples, bananas, cantaloupes and oranges she has at any given time.

From a kindergarten question in computer science, numerous problems are solved in a vareity of disiplines

A vector addition system, or VAS, is a collection of vectors representing the possible transitions between states in a system. For Alice, the transition vector (−1, −1, 1, 0) would represent the exchange of an apple and a banana for a cantaloupe. The VAS reachability problem asks whether there’s any combination of allowed transitions that can take you from a specific initial state to a specific target state — or, in mathematical terms, whether there’s any sum of transition vectors that transforms the starting vector into the target vector. There’s just one catch: No component of the vector describing the system’s state can ever drop below zero.

The Reachability Problem of VAS is related to a number of problems in robotics, surveillance systems, accounting and cryptography

"That’s a very natural restriction for a model of reality," said Wojciech Czerwiński, a computer scientist at the University of Warsaw. "You cannot have a negative number of apples." .

In some systems, it’s easy to determine whether the target vector is reachable. With a simple system of two-dimensional vectors, for example, “it’s almost like drawing pictures,” Haase said. In other cases — for instance, if Alice’s system has more than four dimensions — the reachability problem can become maddeningly difficult.

The Reachability Problem is among the problems in the field of Artifical Intelligence

That’s because by the time it reaches five dimensions, the reachability problem becomes NP-complete, meaning that it generally takes longer to solve than every other problem of similar complexity in the most famous repository of such problems — the so-called NP-hard problems. That means that reaching Alice’s target can become tedious on a computer, since the system needs to check billions upon billions of permutations.

The fact that Alice’s is only a mocking simulation of a real-world problem (fruit-trading for a kindergartner) makes the complexity a bit more galling. In real-world application though, the reachability problem can have serious, far-reaching consequences. “It is fundamental in numerous areas,” Haase said.

Discrete mathematics, an important tool used to understand the problems of computer science, is defined by its objects and the operations on them — vectors in a vector addition system, leading to Petri nets. Petri nets are derived from a mathematic model known as the "E) Event model", which is used to depict and analyze the behavior of systems who interact with the environment.

The RPVEAS of vector addition systems is directly related to several other problems. It has implications for sandboxing, a security approach found in modern computer systems, as well as the optimization of financial portfolios. It can also be adapted to help find solutions to problems in robotics, surveillance systems, accounting, safety and cryptography.

It is easy to see how the Reachability Problem for vector addition systems is one of the most complicated problems in the field of Artificial Intelligence. It has been studied since the late 1950s and only solved in the past few years when the breakthroughs that established its complexity were made. Solving it requires finding a solution by going through a multitude of permutations and checking for a specific pattern, which can take a long time due to its NP-complete difficulty. Despite this, it is an important problem that drives many of the solutions found in numerous disciplines. As such, the reachability problem remains a great unsolved problem in computer science.


hashtags #
worddensity #

Share