FlyAI -- The Next Level of Artificial Intelligence is Unpredictable! Injecting Responses of a Living Fly into Decision Making

Denys J. C. Matthies, Ruben Schlonsak, Huiping Zhuang, Rui Song · DOI

Abstract

In this paper, we introduce a new type of bionic AI that enhances decision-making unpredictability by incorporating responses from a living fly. Traditional AI systems, while reliable and predictable, lack nuanced and sometimes unseasoned decision-making seen in humans. Our approach uses a fly's varied reactions to tune an AI agent in the game of Gobang. Through a study, we compare the performances of different strategies on altering AI agents and found a bionic AI agent to outperform human as well as conventional and white-noise enhanced AI agents. We contribute a new methodology for creating a bionic random function and strategies to enhance conventional AI agents, ultimately improving unpredictability.

Introduction

Traditional AI systems are designed for optimality and robustness, which often makes them incredibly predictable. In strategic games like Gobang (Five in a Row), a standard AI consistently selects the same "best" move for a given board state. While efficient, this lack of "human-like" erraticism makes AI easy to identify and, in some cases, easier for experts to exploit.

Conceptual representation of the bionic FlyAI system, merging biological entropy with mechanical decision-making.

We argue that a crucial step in "humanizing" AI is introducing unpredictability. However, standard computer-generated randomness (white noise) is often too uniformly distributed to feel "natural." This research explores whether the "moods" and varied reactions of a living organism can provide a superior source of entropy to enhance AI decision-making.

Methodology

The FlyAI system utilizes a "bionic" pipeline consisting of four primary components:

  1. The Hardware (The Fly Box): A transparent, ventilated container housing a single fly. It includes a Jetson Nano, a camera, and two fans. The fans are triggered momentarily to evoke a flight response from the fly.
  2. Computer Vision Tracking: The team trained a YOLOv5s model to detect and track the fly in real-time. The fly’s coordinates, flight vectors, and bounding box dimensions were captured to generate raw data.
  3. The bionic Random Number Generator (bRNG): Fly movements were converted into integers (0-49) using methods ranging from simple vector scaling to complex SHA256 hashing of coordinate data.
  4. AI Integration (Minimax Modification): Randomness was injected into a standard Minimax algorithm via search depth modification (e.g., searching 1 level deep for a "carefree" state vs. 3 levels for a "cautious" state) and suboptimal move stimulation, mimicking human impulsivity.
The FlyAI hardware setup (a) featuring the Jetson Nano and fans, and the real-time YOLOv5 detection interface (b).

Key Results

Evaluation against a baseline deterministic AI revealed that biological noise significantly outperforms standard pseudo-randomness. While human players achieved a 0.39 win rate, the "Agent Fly"—which combined both injection methods using biological noise—achieved a 0.68 win rate. This outperformed both human participants and agents enhanced by standard pseudo-random number generators (pRNG).

Agent Type Win Rate vs. Baseline AI
Human Players 0.39
Agent A (pRNG Depth) 0.61
Agent B (pRNG Stimulation) 0.59
Agent C (pRNG Combined) 0.34
Agent Fly (bRNG Combined) 0.68

Discussion

The bRNG exhibited higher standard deviation and kurtosis compared to standard pRNGs. This "clumpy," non-linear randomness allowed the agent to "confuse" the standard AI more effectively than uniform white noise. By occasionally making "mistakes" or choosing shallower search depths based on biological entropy, the AI becomes a more formidable and "human-feeling" opponent because its strategy is no longer a straight line to the mathematical optimum.

While this unpredictability is valuable for gaming and creativity, the authors note that such systems are unsuitable for safety-critical applications like healthcare or autonomous driving. Future work will focus on system miniaturization and exploring the use of bRNGs for generating more secure cryptographic keys.

Summary updated

Abstract

In this paper, we introduce a new type of bionic AI that enhances decision-making unpredictability by incorporating responses from a living fly. Traditional AI systems, while reliable and predictable, lack nuanced and sometimes unseasoned decision-making seen in humans. Our approach uses a fly's varied reactions, to tune an AI agent in the game of Gobang. Through a study, we compare the performances of different strategies on altering AI agents and found a bionic AI agent to outperform human as well as conventional and white-noise enhanced AI agents. We contribute a new methodology for creating a bionic random function and strategies to enhance conventional AI agents ultimately improving unpredictability.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Gobang against the standard AIAmateur human playersaverage win-rate (M)0.3911 players played 10 games each (110 games) against the standard AI.
Source quote
L231: Agent C, which exhibits random injections at several points results in a somewhat comparably low winning rate (M=0.34) to our amateur human players (M=0.39). Both are still able to win, however, inserting white noise at so many points into the Agent C, impacts the decision-making process negatively. Agent A (M=0.61) and Agent B (M=0.59) have just a single point of noise injection and surprisingly perform slightly better than the original AI. However, we also see a high standard deviation (SD=0.21) with a peak win-rate between 0.84 and 0.15. However, we can still see that inserting random noise is not a disadvantage and is somewhat confusing the original AI. Looking at the Agent Fly, we can see the highest win-rate (M=0.68) with a relatively low standard deviation (SD=0.12). Here, the bionic RNG inserted specific noise patterns that could be interpreted as a strategy from a human point of view. Apparently, the original AI was unable to counter this unpredictable behavior and therefore demonstrated the greatest loss against our bionic AI agent.
BibTeX
@misc{matthies2024flyai,
  author = {Denys J. C. Matthies and Ruben Schlonsak and Huiping Zhuang and Rui Song},
  title = {{FlyAI -- The Next Level of Artificial Intelligence is Unpredictable! Injecting Responses of a Living Fly into Decision Making}},
  year = {2024},
  eprint = {2410.12808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.12808},
}
Figure