Towards Trusted LLM based Curator Agents
Charles F. Vardeman II
Center for Research Computing, University of Notre Dame
2023-10-27
Ontology Design Patterns as a Semantic Bridge
AI Agents for Interoperability
Problem – Data Centric AI is Hard but necessary for Trusted AI – Can we use LLM Based Cognitive Agents to lower the barrier to Data Centric AI?
Problem – How can we Trust, Validate, and integrate Human in the loop for LLM Based Agents used for Data Curation?
AI Curator “Agents”: Team “LEMON”
Framework for architecture design of LLM Based Agents
Cognitive Architectures for Language Agents
Activity Specific Agents: Visual Agents
- “Autonomous Visual Information Seeking with Large Language Models,” Google AI Blog,August 18, 2023. https://ai.googleblog.com/2023/08/autonomous-visual-information-seeking.html.
- Hu, Ziniu, Ahmet Iscen, Chen Sun, Kai-Wei Chang, Yizhou Sun, David A. Ross, Cordelia Schmid, and Alireza Fathi. 2023. “AVIS: Autonomous Visual Information Seeking with Large Language Model Agent.” arXiv.
Visual Agents Architecture: Different LLMs based on Role
- “Autonomous Visual Information Seeking with Large Language Models,” Google AI Blog,August 18, 2023. https://ai.googleblog.com/2023/08/autonomous-visual-information-seeking.html.
- Hu, Ziniu, Ahmet Iscen, Chen Sun, Kai-Wei Chang, Yizhou Sun, David A. Ross, Cordelia Schmid, and Alireza Fathi. 2023. “AVIS: Autonomous Visual Information Seeking with Large Language Model Agent.” arXiv.
Activity Specific Agents: Visual Agents Transition Graph
- “Autonomous Visual Information Seeking with Large Language Models,” Google AI Blog,August 18, 2023. https://ai.googleblog.com/2023/08/autonomous-visual-information-seeking.html.
- Hu, Ziniu, Ahmet Iscen, Chen Sun, Kai-Wei Chang, Yizhou Sun, David A. Ross, Cordelia Schmid, and Alireza Fathi. 2023. “AVIS: Autonomous Visual Information Seeking with Large Language Model Agent.” arXiv.
Different LLM’s for Different Tasks
Structured Responses and LLMs
We need to think through what Trusted Means!
Frameworks to Capture Provenance of Models!
- SBoMs and AI BoMs for Agents
- Data Cards and Model Cards for Models
- Agents will be exposed as Microservices themselves
- We should be able to ask the Microservice Layer for “Trust Information”
- Agent should store “Metadata” in the Graph Fragment they are constructing.
Aside: Curator AI’s should be multimodal
- Dr. Vardeman’s Law: Data “Lives” in different locations and formats – not every digital object can or should be in the KG layer. The Curator AI should “Catalog” this information.
- Multimodal LLM’s like AVIS can bridge that Gap!
Semantic AI-based Micro Services
Aside: Sowa’s law of standards
“Whenever a major organization develops a new system as an official standard for X, the primary result is the widespread adoption of some simpler system as a de facto standard for X.”
Distributed Knowledge Graph Layer Cake
Bridging Rest to AI using JSON-LD
JSON as JSON-LD
GET /ordinary-json-document.json HTTP/1.1
Host: example.com
Accept: application/ld+json,application/json,*/*;q=0.1
====================================
HTTP/1.1 200 OK
...
Content-Type: application/json
Link: <https://json-ld.org/contexts/person.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"
{
"name": "Markus Lanthaler",
"homepage": "http://www.markus-lanthaler.com/",
"image": "http://twitter.com/account/profile_image/markuslanthaler"
}
Gorilla: Retrieval Aware Training for APIs
Gorilla: Retrieval Aware Training for APIs
Problem with REST – Interoperability, Scale and Queriability
SPARQL 1.1 Federated Queries
How do we provide “Context” to LLMs to QUERY a KG?
SPARQL 1.1 Service Description to provide Context!
ChatGPT “Plugin” Architecture as Example
Example Service – Retrieval Augmented Generation (We’re not doing this yet!)
KG Interpretation in Contexts
FAIR Vocabularies and Ontologies