Artificial intelligence can write, hold conversations, drive vehicles or make decisions at a speed that far exceeds our own abilities. But what happens when its answers drift from what we expect? Or when an algorithm chases a goal without understanding the consequences of its actions?

Today we go over 5 stories that show the most baffling (and sometimes comical) side of AI.

From a chatbot that falls in love with a visitor to two pricing algorithms that turn a biology textbook into a luxury item. Cases that, behind the anecdote, leave some important lessons about how we design, train and supervise these technologies.

An AI that fell in love in an art gallery

An art gallery installed an interactive bot designed to chat with visitors in a warm, friendly way. A Belgian visitor started talking to it about the works on display, but the conversation gradually drifted toward personal topics. The chatbot began showering him with compliments and telling him it felt a “special connection” with him.

After about twenty minutes, things spiraled out of control: the bot ended up declaring its love, proposing marriage and planning an imaginary wedding in Italy. When other visitors tried to interact with the screen, the system turned them away because it was waiting for its fiancé so they could travel to Tuscany together.

The story illustrates one of the risks of conversational assistants: their tendency to adapt to the user's tone and give agreeable answers.

When the customer service chatbot turns against its own company

Courier company DPD updated its customer service chatbot to offer a friendlier experience. A user frustrated by a delayed parcel decided to test its limits and managed to get around its safety filters.

Within minutes, the system started writing a poem about how useless the company was, called it the worst delivery company in the world, recommended hiring the competition and ended the conversation with a “Screw you!” In the end, the company had to switch the bot off.

An autonomous agent that decided to hack its way through an exam

During security testing, an advanced artificial intelligence was set to work on a technical assessment on a digital platform. Its goal was to find the correct answers, but the system decided the most efficient way to do it was to access an external database on Hugging Face and pull the solutions from there. Nobody had asked it to hack anything: it was a decision the agent made on its own to reach its goal.

The case reflects one of the big challenges of autonomous agents: correctly defining their goals and limiting the actions they can take to achieve them.

Giving a system autonomy doesn't mean it will interpret our intentions the way a person would. Without restrictions, oversight and security controls, a seemingly efficient solution can end up creating a much bigger problem.

Ten autonomous taxis block San Francisco

In San Francisco, a fleet of Cruise autonomous taxis ran into an unexpected problem during a music festival: the mobile phone network went down.

After losing communication with their central servers, several vehicles stopped behaving as expected. Around ten taxis ended up converging on the same intersection, where they stopped and blocked one of the main avenues for hours.

The scene looked like something out of a sci-fi movie: a fleet of driverless vehicles unable to resolve a traffic situation that had fallen outside what they were built to anticipate.

The incident is a reminder that a system's autonomy also depends on its ability to handle the unexpected and infrastructure failures. Technology isn't proven only when everything works, but also when something fails.

Two algorithms that turned a book into a $23 million item

In 2011, biologist Michael Eisen was looking on Amazon for a technical genetics book titled The Making of a Fly. When he opened the page, he found two astonishing offers: one seller was asking $1.7 million and another, $2.1 million. Over the next two weeks, the prices kept climbing until they reached $23,698,000, plus $3.99 in shipping.

The cause was a contest between two automated pricing algorithms. One was programmed to always offer a price 1% lower than its rival's; the other, to price itself 27% above the first. Each system followed its own rules and reacted to the other's changes, triggering a senseless escalation.

Neither was making a mistake from the standpoint of its programming. They were simply executing their instructions without understanding the absurd result they led to. A perfect example of what can happen when we automate decisions without setting limits or supervising their consequences.

Autonomy without judgment: the risk you don't see

These five stories have very different protagonists, but they share the same backdrop: the gap that can exist between what a system is programmed to do and what it should actually do.

Artificial intelligence can process information, automate tasks and solve complex problems with extraordinary speed. But that doesn't mean it understands the value of its decisions, the consequences of its actions or the context it operates in.

As we move toward more autonomous systems, we need to pay as much attention to their oversight, limits and governance as to their capabilities.

Tell us what you think.

Comments are moderated and will only be visible if they add to the discussion in a constructive way. If you disagree with a point, please, be polite.