The Council of Experts Leader-Agent Model — A Proposed Framework for General Intelligence

A framework utilizing agents and models as a service for solving complex cross-discipline problems using AI

The Council of Experts Leader-Agent Model — A Proposed Framework for General Intelligence

Counsel of Experts Leader Agent Model

Imagine sitting in the Oval Office as the President of the United States (or any foreign leader for that matter). As the President, you are responsible for executing on laws, crafting foreign policy, and making life or death decisions as Commander in Chief. Most notably (for purposes of this blog post), the President assigns members to a Cabinet of leaders responsible for heading the various civil departments such as Defense, Energy, Education, Health and Human Services, Transportation, Treasury, and much more! Obviously, the President is not a subject matter expert at all topics but appoints a Cabinet of officials whom have the resumes and backgrounds to act as those leads and advise them. Such a top-down organization allows the President to act on a Cabinet of experts’ recommendations and briefings, stemming from their expertise in the role, to make an informed decision with confidence and communicate broadly to the country.

Artificial General Intelligence (AGI) could be achieved through a microservice-like agent model which a leader agent queries a board of subject matter expert agents for council, and makes an informed decision.

The Strive for AGI

The Artificial Intelligence industry has become obsessed with the concept of Artificial General Intelligence (AGI) defined loosely as

an autonomous system that surpasses human capabilities in the majority of economically valuable tasks (source)

The reason why I claim “loosely” as the definition of AGI has yet to be solidified among practitioners, as many companies and leading individuals have varying views, sans criterion, about what constitutes as AGI. With no benchmarking or formal criterion (except maybe a subjective view from OpenAI board members), when will AGI be achieved? I digress.

Building ever-larger foundation models may quickly lead to diminishing returns. Many practitioners are experimenting with Small Language Models such as Microsoft’s Phi-2 and IBM’s Granite and Slate Models, namely to incorporate on mobile devices and premise-based hardware but nonetheless, experimenting with lower parameter/size models to achieve higher quality output.

As I’ve stated previously, Artificial Intelligence is simply Probability and Statistics. Simply trying to massively scale a Large Language Model to generalize knowledge broadly, in my opinion, is a mistake. Circling back to the President, should a person be required to possess that much institutional knowledge to become President, the job would not get filled. Similarly, any CEO or leader in an organization, as they climb higher in the ranks, gets further removed from the granular details and relies on a team of VPs, Directors, and Managers to trickle up information to make an informed decision. While I am personally not in favor of that model either, the notion of surrounding yourself with a counsel of experts to make decisions is one where I believe AGI could be achieved.

I strongly believe that research institutions, universities, and companies with unique specialties and niches in particular industries (along with proprietary accompanying data and intelligence) can capitalize on Artificial Intelligence and build models that can augment skills in that field.


This blog post will serve to encapsulate my proposal of achieving AGI as a framework. Prior to defining said framework, however, one must understand Models as a Service and Agents.


Models as a Service (MaaS)

I’ve covered the topic of Model as a Service in previous blog posts (see below), but to reiterate the definition:

A business model where a machine learning or statistical model is provided as a service. This means that instead of a company needing to develop, train, and maintain their own models, they can use a service that provides pre-trained models or custom models trained on their data. The service takes care of all the infrastructure, scaling, and maintenance, allowing the company to focus on using the model’s predictions to drive value for their business. — Generated by AI

At the time of writing, many data scientists and AI professionals are taking large language models and fine tuning the model to align towards a specific industry and use case as well as augmenting such models with proprietary knowledge and data. One example I provided was around Bloomberg in “Innate Data and the Easy AI Advantage”

Bloomberg, known industry-wide for financial analysis and reporting as well as the infamous terminals, sought just that. Bloomberg ingested all proprietary financial information (analysis, financial benchmarks, financial reports, charts, etc) and built BloombergGPT. Specifically (source linked previously) […] This is the exact manner to extend competitive advantage in a world of artificial intelligence as well as contribute to the broader AI ecosystem (such as ChatGPT plugins). No other company can match the unique combination of brand name and data source required to replicate such a corpus powering this AI that the data becomes a source of competitive advantage.

Building such model will not only yield a larger competitive advantage (not create new ones) but create a monetizable model via Models as a Service (MaaS). Once monetized, the model would contribute to a larger ecosystem of models. I talk about this concept in my blog post “Open Source AI and the Council of Experts”

Should expert models exist in an open source paradigm, accessible via an API, what is stopping a developer from querying the experts en masse to solve a particular problem that requires a cross-domain expertise?

and from “Modeling Modular Knowledge and the Building of Complex Intelligence”

one could further imaging a tangential scenario applying the concepts of API building blocks and the fomentation monetization paradigm to build increasingly complex solutions by stringing together “experts” in the form of API models.

Effectively, engineers could build holistic solutions solving complex cross-functional problems by stringing together sets of models as building blocks. The one limitation to such is the problem solving aspect — enter the concept of Agents.


Agents

Agents are a new concept introduced through the advent of Generative AI. In summary:

An AI agent is a computational entity equipped with algorithms, knowledge bases, and conversational abilities that enable it to dynamically act in pursuit of defined goals without continual human intervention.

A fellow blogger and former colleague of mine, Armand Ruiz summarizes effectively the task process for agents in his blog lowcode.ai

AI agents perceive their environment with inputs, process information, create task plans, gather information, monitor progress, and iterate their approach to optimize success.
Today’s AI agents may not be as advanced as sci-fi examples like Jarvis from Iron Man, but they are increasingly capable. Using large language models like GPT-4, agents can browse the web, use applications, and adapt to new information without continual prompts. They’re deployed for automated customer service, search/research, and workflow optimization.
Initializing: Understanding the goal from a provided prompt
Planning: Generating a task list to achieve the goal
Gathering Info: Browsing the web and accessing other data sources
Assessing: Monitoring progress using external feedback
Iterating: Updating tasks and data as required

Returning to the President analogy, suppose there is a new technological advancement called Artificial Intelligence that is rapidly developing across the world and causing major economical change from chip production, cloud compute, and data collection. Suppose that said technology also spurred conversation about privacy, copyright, and data ownership. Further suppose that said technology caused panic about job security and was a large topic of conversation in a country in 2023. While quite meta given this is an AI blog and tongue-in-cheek, President Biden issued Executive Orders on AI and built AI task forces around the subject. Certainly, Biden is not an expert on Artificial Intelligence (I am a Product Manager in AI and still learning), he tasked highly competent and intelligent individuals as agent proxies to gather information, propose recommendations, and lay out facts for him to make final decisions based on his generalized knowledge, cross-discipline background, and overall skillset.

Without actually being the President, one would estimate that:

  • Initializing — Artificial Intelligence capabilities are rapidly accelerating and causing both positive and negative economic change. Should the industry be regulated and to what extent?
  • Planning- In order to properly assess whether policy should be created, the minimum questions that need to be answered are {insert list here} (I am not a policy expert and do not pretend to be).
  • Gather Information — create a task force or team of knowledge experts to gather information about the state of AI, intricacies and nuances of the industry and ramifications of regulatory policy. Create and execute on the Policy

The latter two steps are for autonomous agents which act without any user feedback and largely out of scope for this blog post.

What’s fascinating is that the research behind prompting techniques have uncovered that prompts can be built and subsequently chained together to mimic human reasoning paradigms. From “Prompting Techniques and Logical Mimicry”

What has become apparent in reading through the scientific papers and abstracts is that many of the prompting techniques mimic logical reasoning humans undertake, just instead of learning them in school (say… to solve word problems in math), scientists are applying them against large language models.

One such example includes Chain-of-Thought Prompting — Taking a large problem and break the problem into sub-components, chaining the output of one sub-task as the input to the subsequent task. This would be the equivalent of the aforementioned decomposition by agents to list the tasks required to satisfy a job and the necessary knowledge to inform those decisions.

Delving slightly deeper, the tasks above are generated by the Agent itself, whom self-creates prompts to pass onto the next agent. Many critics of Agents argue that there are compounding errors with chaining together multiple agents as errors could occur both in the initial generated prompt by the bot and responses back without a human in the loop. Therefore, I call upon the reader to understand that the creation of AI software involves careful quality assurance and disclaimers and should not be utilized to make definitive answers, rather guidance and (in this current era), double checking sources.


Drawing Inspiration

I drew inspiration for the framework from a microservice architecture. For context, microservice architectures are those with multiple asynchronous services that function independently of one another, utilizing a common communication language (JSON) and contract among services to exchange information and run code.

In an equivalent manner, multiple agents will act asynchronously (unless encountering a pre-requisite to be done in logical order) and communicating among agent parties, ultimately arriving back at the “leader” or decision maker.

Source: https://www.linkedin.com/posts/mikegrandinetti_ai-devops-llms-activity-7145154323079974912-6q71?utm_source=share&utm_medium=member_desktop

The Counsel of Experts Leader Agent Model

My framework is rooted upon the statement that

Artificial General Intelligence (AGI) could be achieved through a microservice-like agent model which a leader agent queries a board of subject matter expert agents for council, and makes an informed decision.
Counsel of Experts Leader Agent Model

Lets walk through the framework:

  • Data Layer: The model starts at the Data Layer whereby organizations, institutions, and individuals host proprietary data unique to the specific niche in the market. These could be monetized for proprietary reasons- logged on a blockchain for compliance on which models have used such data and transparent via model cards — or kept private. Elements within this layer are version controlled for backwards compatibility purposes and include a transparent change log for audit purposes.
  • Model Layer: That data is then used within the Model Layer to build Subject Matter models which are attuned to solving the unique problem the data supports. These models are monetized via MaaS each time the model is queried by the respective agents within the Agent Layer and are hosted on a hyperscale cloud or equivalent such that the models can be hosted, scaled, accessed, and monetized.
  • Agent Layer: The Agent Layer contains the lead Agent for a solution and multiple Knowledge Expert Agents and is where the primary solutioning happens.

What occurs within the framework is that a trusted ecosystem forms of trustworthy data and expert models that collectively can be accessed by engineers to build complex AI-powered solutions, with monetization by all players in between. This framework may certainly require evolution over time, however, lays out a logical manner in which to communally build expertise and achieve a layer of “AGI” (quotes intentional).


We should be shifting towards solving complex cross-discipline problems over achieving a fantasy of AGI. Such distraction only dampers the overall promise of AI and benefit of society. Certainly, like the President, a broad set of knowledge is required to make informed decisions and lead, however, no one person can know everything about everything, likely even a bot, regardless of corpus size. Lets see what the future holds and if this framework serves as a foundation (no pun intended) for new solutions solving current unsolvable tasks.


Follow me on LinkedIn and continue to support this blog! Thank you!