Artificial Intelligence and Its Consequences

Kamil Przepiórowski Kamil Przepiórowski 1 min read

Some technologies can be harmful to humanity. Artificial Intelligence may very well be one of them; but it does not have to be.

We must remember that it is us, humans, who are responsible for how this technology is developed. We must then also accept, and deal with the consequences of our own actions. Whether they were accounted for or not.

The problem statement is simple. How can we ensure we make the right decisions such that AI does not turn out harmful? Unfortunately, the answer is much more complex.

To meaningfully participate in this discourse, one must first understand the technology. Where did it come from? How does it work? What is it capable of? The goal of this series is to provide this understanding, and facilitate a baseline from which you can form your own conclusions.

Shodan from System Shock 2

What Led Us Here?

Kamil Przepiórowski Kamil Przepiórowski 9 min read

AI is currently experiencing the biggest wave of investment and excitement that it has ever seen. It has become accessible and mainstream, but where did it come from? As it turns out, the development of Artificial Intelligence is a pretty natural consequence of the upward trends in the quantity of digital information, and availability of computational power. What follows is a brief exploration of these trends, and how they relate to AI.

The Rise of Information

Throughout history there have been multiple paradigm shifts in how information can spread. From cave paintings, to the invention of alphabets and languages, to the eventual creation of the printing press. Followed later by the digital age of radio, television, computers and the internet. The trend is clear. Over time we have developed newer and better ways to spread information to an ever-increasing number of people. Now, a large majority of the world’s population have access to near-infinite amounts of information.

Of course, it is the computers and the internet which are particularly relevant to this discussion, and there are a number of important points to highlight. The first of which is Moore’s law, which states that the number of transistors on a microchip doubles approximately every two years. This pattern has largely held up over the last fifty years (hence why it became known as a law). This exponential rise in compute power led to the democratisation of computers; they became smaller, cheaper and more accessible. As computers became more mainstream so did the internet, and more and more people were establishing an online presence. New digital-native services began popping up, providing convenience which was not possible otherwise. The writing was on the wall. This was the future.

Enterprises began adapting to this new online environment and quickly identified the golden goose. Personalisation. Dynamically customising the content which users see and interact with based on what generates the most revenue. There is only one issue - to accurately recommend things to users you need to know things about them. You need data. The more data you have the better decisions your systems can make. Enter Big Data - large and diverse datasets which rapidly grow over time.

Big Data comes with its own unique problems. As these datasets grow massively in size, storing them becomes a major challenge. There is also the issue of dynamic scaling. Online user traffic is not consistent. There are certain time periods where it grows exponentially over night due to external events such as holidays, product announcements, or concert tickets going on sale. Maintaining the infrastructure required to deal with these traffic spikes is extremely wasteful, as throughout most of the year it is not required. The solution to these problems is now known as cloud computing. In reality there is no “cloud”, it is just somebody else’s computer. Large corporations with spare hardware began renting it out to those who need it. As the business model proved successful, new datacenters were built specifically with this intent. This removed the responsibility of managing your own infrastructure. You no longer had to worry about storage or compute restrictions, you simply pay for what you need, when you need it. If you could afford it, compute power was effectively limitless.

This brings us to where we are today. Access to massive amounts of data coupled with the ability to process it, presented an exciting new possibility. To build systems which analyse this data, find patterns, and make decisions by themselves. Artificial Intelligence. Research in the area is receiving huge investment at the moment, and there is a lot of competition to find the next breakthrough. We are amidst a rat race. The question is - what is the cheese? Is it solving humanity’s biggest problems? Or creating an infinite stream of revenue?

A brief history of AI

While AI is the current hot topic, we need to acknowledge that in reality it is not a new concept. We must understand the history and recognise the giants whose shoulders we stand on today.

All the way back in 1950, Alan Turing published his paper “Computing Machinery and Intelligence” where he posed the question of whether machines can exhibit intelligent behaviors which are indistinguishable from humans. This paper can largely be attributed to the birth of interest in the field of AI. It sparked a plethora of research and resulted in lots of advancements in the following decades; many of which are still relevant today.

  • 1951 - The first artificial neural network was built - SNARC.
  • 1955 - The phrase ‘Artificial Intelligence’ was coined by John McCarthy, Marvin Minsky, Nathaniel Rochester and Claude Shannon.
  • 1957 - Frank Rosenblatt developed the Perceptron, an early artificial neural network.
  • 1962 - Arthur Samuel pioneered the concept of machine learning by developing a computer program that improved its performance at checkers over time. The program beat Robert Nealy in a publicised match.
  • 1966 - Joseph Weizenbaum developed ELIZA. Known as the first “intelligent” chatbot despite being rule based. The capabilities of the bot raised a lot of ethical questions around human-computer interactions.
  • 1969 - The concept of backpropagation was first introduced by Arthur Bryson and Yu-Chi Ho.

The 1970s, however, were not quite as promising. They brought on the first major “AI Winter” - a period of decreased funding and interest in AI research. This is largely accredited to the Lighthill report which claimed that the field had not produced the significant breakthroughs which were promised. This led to a considerable loss of support from companies and governments.

Although the excitement and funding returned in the 1980s, it did not stay for long. In 1984 at an annual meeting of the Association for the Advancement of Artificial Intelligence (AAAI) the world was cautioned of another impending AI Winter (in fact this is where the phrase was originally coined). It was predicted that history was going to repeat itself and as in the 1970s, investment and research would collapse due to inflated expectations and underwhelming results. Within just three years this became reality and the second AI Winter had arrived.

A pattern was emerging: an initial wave of hype and excitement, which in turn led to disillusionment and overblown expectations which could not be met. As we reflect on where we are today we must keep the past in mind and ride the wave of excitement with cynicism at heart, as to not repeat the same mistakes.

Nonetheless, over time the research returned and throughout the next decades many more significant advancements occurred, particularly after we entered the 21st century. Some of these are:

It is 2026 and AI has once again taken center stage. Many believe that we are in the middle of an AI Spring - but what exactly happened between 2017 and now?

The transformer goes boom

Despite the title of this section, it will not discuss the Transformers movie franchise. Instead the focus will be on the transformer model architecture which reshaped the landscape of AI in the last ten years.

The idea of a model which can understand natural language and interact with a human has been around for decades - as noted above with ELIZA, Jabberwacky and many others which came along the way. However, there has been a recent revolution in the space with the arrival of the transformer architecture in 2017; introduced in the paper - Attention Is All You Need by Ashish Vaswani et al.

The transformer model is a type of neural network architecture based on attention (hence the title of the paper). This concept allows transformers to determine the relationships between each part of the input, and focus on what is most important about a specific sequence of data. It tells the AI model what to pay attention to. For example, it could interpret words within a specific context (where a word may have multiple meanings), or assess the significance of a word within a sentence. While this is very simple for humans, it was a huge problem for computers. Attention changed the game.

Consider the text below and think about how the context changes the meaning of individual words. This example has been taken from IBM’s page about transformers.

“on Friday, the judge issued a sentence.”

  • The preceding word “the” suggests that “judge” is acting as a noun. As in, a person presiding over a legal trial rather than a verb meaning to appraise or form an opinion.
  • That context for the word “judge” suggests that “sentence” probably refers to a legal penalty, rather than a grammatical “sentence.”
  • The word “issued” further implies that “sentence” refers to the legal concept, not the grammatical concept.
  • Therefore, when interpreting the word “sentence”, the model should pay close attention to “judge” and “issued”. It should also pay some attention to the word “the”. It can more or less ignore the other words.

Historically, neural networks ingested input data sequentially, one at a time, and in a particular order. This approach faced issues with performance and keeping track of relationships between distant data points, particularly with large inputs. Attention mechanisms do not face these limitations. Not only do they process the entire sequence simultaneously (improving the ability to understand long-range dependencies), but this quality also enables the computations to be done in parallel rather than one at a time. This allows transformers to take full advantage of the capabilities of the GPU (which greatly outperforms the CPU in parallel tasks), and solve many of the performance issues faced in older neural network solutions.

One of the first majorly successful applications of transformers was BERT - Bidirectional Encoder Representations from Transformers - introduced by Google in 2019. It could predict and classify input text. The model quickly became ubiquitous, and is still used today as the basis of Google search. Despite its fame though, BERT was soon overtaken in popularity by OpenAI’s GPT models.

GPT stands for Generative Pre-trained Transformer. GPTs generate new data by applying the patterns they identified in pretraining as a response to user input. In short, they are fed unlabeled data and forced to make sense of it on their own. After the pretraining stage, the model can be fine-tuned towards a specific task with the use of labeled data. Fine-tuning can also be combined with a ‘reinforcement learning from human feedback’-based objective. By finding patterns in these datasets, GPTs can then draw similar conclusions when exposed to new inputs such as a user’s prompt, and generate a response.

With the release of ChatGPT in 2022, the general public was introduced into the world of Generative AI, which has taken the world by storm. AI has never been so mainstream and accessible before. This begs the question - are we ready for it?

What is Different Now?

Kamil Przepiórowski Kamil Przepiórowski 5 min read

Information networks

Artificial Intelligence is certainly the next paradigm shift in the world of information, yet it largely stands out from existing technologies such as television, radio, computers or the internet. Unlike all the others before it, AI is not a medium for humans to communicate.

Historically, information has always travelled from one human to another. Books and documents were always written for other humans to read. Radio shows were broadcast to human audiences. There was simply no alternative. This is no longer the case.

Consider a group of people who want to communicate with each other. For this to happen, information must be transferred from (at least) one person to another. The medium is not important - radio broadcast, television show, physical document, email, etc. - are all equally valid. The key point is that regardless of whether or not technology is involved, the actors of this network have always been human. The technology is merely the connecting edge.

Simple information network

With the emergence of AI we are witnessing an unprecedented change. The technology is establishing itself as a fully fledged member of the information network. Not just a connecting edge.

Up to this point, technology has not been capable of making decisions by itself. It could not create any new information, nor could it decide on who should receive it. For it to be useful, a human presence has always been required. AI changes this dynamic. For the first time in history we have systems which can generate data, and make decisions by themselves, without the need for human input.

To illustrate why this is significant, picture the following scenario. Online outlets are reporting on the latest news. An AI agent is scraping the web and observing; it is analysing whether what is being said is relevant to its own goals. It identifies that there are reports from many sources suggesting that a war is about to break out. Based on this information, it decides to publish fearmongering articles of its own, and engage in discussions on social media. It wants to use this as bait for engagement. Another agent reaches a conclusion through sentiment analysis that a shift in the market is imminent. It decides to sell its stocks and push its own narrative online. This creates a cascading effect as other AI systems recognise what is happening, and also take action accordingly. There is a vicious loop in place - systems take action based on a particular state of the world, which by definition affects this very state, causing other systems to react. This could all take place within a matter of seconds, without any human intervention, and quite likely even without their awareness.

Information network with non-human nodes

What comes next?

At the moment, we humans still play a crucial role in these information networks, but this may change. As AI becomes more “intelligent” we will likely be pushed out, and networks without any human members could very well emerge. We really need to think about the consequences that this may have. Who takes accountability for decisions made without any human involvement? How are those decisions even reached?

As the AI models get larger in size, consume more data, and their algorithms grow in complexity, the decision making frameworks will become incomprehensible to humans - that is, if they are not already. We will thus lose the ability to understand how the algorithms reached certain conclusions, allowing them control our lives without comprehension. It should go without saying that this has the potential to become very concerning if not regulated accordingly. Take a minute to think about these questions. Are you aware that your life (and much of the world) is being controlled by algorithms? Do you know how these algorithms work? Do you care? What if the algorithm was replaced by a human? One whose identity you could never know, who watches you all the time, and who controls what information reaches you. How would that make you feel?

Nonetheless, it is still the humans who are developing this next wave of technology. It is our responsibility to understand what we can do to leverage our agency, and how to shape AI into a tool which best serves humanity.

At the end of the day, a technology is not inherently evil - that is decided by how it is used. For example, a radio could be used to entertain and uplift citizens, or to spread the propaganda of a totalitarian regime. AI is no different in that regard. It could be used to detect cancer cells in x-rays with an accuracy higher than any medical professional, or to create a mass surveillance program with facial recognition to control the population. The choice is ours.

Unfortunately, humans are not infallible, and there is a danger that we make the wrong choices. The whole world is rarely ever in total agreement on anything, and AI will be no exception.

In fact, it may not even be the AI systems themselves which disrupt the world’s information networks. We may do it ourselves first. As technology advances, governments and organisations around the world will likely push for their own products and algorithms, and be opinionated about how they are used and regulated. They may also begin to take more responsibility and ownership over their data, tightly controlling who can access it and use it for training. For example, it may be in China’s best interest to not allow the United States to access any of the data or algorithms which were used for training their newest models (and vice-versa). This conflict of interest becomes all the more apparent when one considers the potential of AI within military or government applications. Once the first domino falls, the outcome might not be reversible. What we currently know as the World Wide Web, may very well become a set of disjointed cocoons.