Game Play: Autonomous and Semi-Autonomous Agents in AI

July 22, 2024

Art Morales, Ph.D

In the realm of artificial intelligence (AI), agents—programs designed to perform tasks—are distinguished by their levels of autonomy. The intriguing parallel between sports strategies and AI can provide a clearer understanding of these concepts. Particularly, American football and rugby offer an interesting contrast to explore the distinct dynamics of semi-autonomous and autonomous agents in AI. 

The Semi-Autonomous Agents (American Football) 

American football is characterized by its highly structured gameplay. Each play is meticulously planned, and players are assigned specific roles, akin to semi-autonomous agents that execute pre-defined tasks within a given system. This disciplined approach mirrors how semi-autonomous agents operate in AI, where tasks are programmed, and the sequence of actions is predefined. 

The quarterback plays a pivotal role, similar to a central controller in semi-autonomous systems. Before each play, the quarterback reads the defense and chooses an appropriate play, effectively making a decision based on real-time data. This decision-making process is controlled and limited to a set of pre-defined options, reflecting the operational constraints of semi-autonomous agents. These agents are capable of handling expected situations well but are limited in their ability to adapt to unforeseen changes. 

When a play fails—say, a pass is blocked—the players do not improvise. Instead, they regroup and prepare for the next planned play. This failure mode is indicative of semi-autonomous agents in technology, which do not possess the capability to deviate significantly from their programmed path. They operate under the "fail silently" principle, where tasks that cannot be completed as programmed do not lead to alternative strategies but rather an acceptance and movement to the next sequential action. 

The Autonomous Agents (Rugby) 

Rugby presents a stark contrast. It is a game where players exhibit a high degree of autonomy, akin to autonomous agents in AI. Unlike American football, rugby players make decisions dynamically, adapting their roles and strategies based on the immediate situation. This fluidity and flexibility are reflective of autonomous agents, which continuously assess their environment and make decisions independently of a central controller. 

In rugby, the decentralized decision-making allows players to switch roles fluidly—a forward might find themselves passing like a back, or a back might take part in a scrum. This capability to adapt roles and make spontaneous decisions is paralleled in autonomous agents, which can alter their course of action based on new information, achieving objectives in ways that were not pre-programmed or specifically directed. 

This autonomy enhances adaptability and flexibility, allowing for a broader range of actions and responsiveness to complex, unpredictable environments. However, it also introduces the need for sophisticated decision-making algorithms and coordination, which can be computationally intensive and challenging to manage. 

Comparison and Contrast 

The structured nature of American football leads to high efficiency in known, predictable scenarios. Plays are executed with precision, leveraging the strengths and specific skills of each player. Similarly, semi-autonomous agents can perform exceptionally well in controlled environments where parameters are known and deviations are minimal. 

Conversely, the adaptability of rugby players showcases how autonomy can provide significant advantages in dynamic, uncertain environments. Autonomous agents, by their flexibility, can handle a wider variety of tasks and adapt to changes more effectively than their semi-autonomous counterparts. However, this increased flexibility comes at the cost of higher computational demands and potential challenges in coordination. 

There’s no better example of the extent of programming of football players than when a team tries a lateral pass… As a rugby player, referee, and football fan, it’s the apex of excitement, but most of the time this is a failed play since football players don’t know how to improvise.  Put rugby players in the same situation and they’ll adapt on the fly and makeprogress in phases overcoming most obstacles as they come (ideally of course!). 

It's important to note that rugby players specialize too.  There are forwards and backs and they usually have differing body types and capabilities (Centers are now as big as props, but they are fast!).  But, they all have similar fundamentals for ball handling and generally can perform most roles as needed. 

In any case, writing dedicated agents isn’t hard.  It’s a function that you call and have it perform a predetermined task.  It’s not that much different from object-oriented programming.   The challenge is how to give these agents enough freedom to adapt when things aren’t that clear.  GenAI is great for this as long as the guardrails are established to guide their function and handle mistakes.  Orchestration becomes a challenge and agents can sometimes get confused, but approaches such as mixtures of experts can also help account for rogue agents that may take on abnormal paths.  This is exactly the challenge that the scrumhalf and to a certain extent the referee has in rugby.  Corrective actions need to be clear and the systems should learn from mistakes otherwise you risk wearing the leader out resulting in failure or angering the referee, resulting in an undesirable experience. 

The Football vs. Rugby comparisons offer some insights into the operational dynamics of semi-autonomous and autonomous agents in AI. While the former excels in structured environments with predictable outcomes, the latter thrives in conditions that demand adaptability and spontaneous decision-making. Both approaches have their merits and limitations, suggesting that the choice between semi-autonomous and autonomous agents should be guided by the specific requirements and uncertainties of the application environment.  For example, autonomous agents may be more useful in creative applications while regulated environments demand a lot more rigidity and less freedom from the AI agents.   Thisis even more critical for drug development and pharma, where being flexible and creative is not the best approach when preparing regulatory documents for submission to the FDA. 

Further research and development in AI will balance these two, potentially leading to hybrid models that combine the efficiency and reliability of semi-autonomous agents with the adaptability and robustness of autonomous agents. 

Let’s talk about AI agents! How do you see the balance between structure and autonomy playing out in real-world AI applications? Let's continue the conversation and explore how these concepts can be applied to solve your current challenges.