Regulating Generative AI - LLMOps pipelines with Transparency

Debmalya Biswas
Debmalya BiswasLead Enterprise Architect - Artificial Intelligence um Philip Morris International
REGULATING GENERATIVE AI — LLMOPS
PIPELINES WITH TRANSPARENCY
DEBMALYA BISWAS, WIPRO AI
AGENDA
 Enterprise AI
 Ethical / Responsible AI
 Explainability
 Fairness & Bias
 LLMOps Architecture Patterns
 Generative AI - Responsible
Design Principles
ENTERPRISE AI
• Enterprise AI use-
cases are pervasive
RESPONSIBLE AI
“Ethical AI, also known as responsible AI, is the practice of using AI with good
intention to empower employees and businesses, and fairly impact customers
and society. Ethical AI enables companies to engender trust and scale AI with
confidence.” [1]
Failing to operationalize Ethical AI can not only expose enterprises to
reputational, regulatory, and legal risks; but also lead to wasted resources,
inefficiencies in product development, and even an inability to use data to train
AI models. [2]
[1] R. Porter. Beyond the promise: implementing Ethical AI, 2020
(link)
[2] R. Blackman. A Practical Guide to Building Ethical AI, 2020 (link)
REGULATIONS
 Good news: is that there has been a recent
trend towards ensuring that AI applications are
responsibly trained and deployed, in line with
the enterprise strategy and policies.
 Bad news: Efforts have been complicated by
different governmental organizations and
regulatory bodies releasing their own
guidelines and policies; with little to no
standardization on the definition of terms.
 For example, the EU AI Act mandates a different
set of dos & don’ts depending on the ‘risk level’
of an AI application. However, quantifying the
risk level of an AI application is easier said than
done as it basically requires you to classify how
the capabilities of a non-deterministic system
will impact users and systems who might
interact with it in the future.
ETHICAL AI PRINCIPLES
 Explainability
 Bias & Fairness
 Accountability
 Reproducibility
 Data Privacy
*D. Biswas. Ethical AI: its implications for Enterprise AI Use-
cases and Governance. Towards Data Science (link)
*D. Biswas. Privacy Preserving Chatbot Conversations.
3rd IEEE AIKE 2020: 179-182
EXPLAINABLE AI
 Explainable AI is an umbrella term for
a range of tools, algorithms and
methods; which accompany AI model
predictions with explanations.
 Explainability of AI models ranks high
among the list of ‘non-functional’ AI
features to be considered by
enterprises.
 For example, this implies having to
explain why an ML model profiled
a user to be in a specific segment
— which led him/her to receiving
an advertisement.
(Labeled)
Data
Train ML
Model
Predictions
Explanation
Model
Explainable
Predictions
EXPLAINABLE AI FRAMEWORKS - LIME
 Local Interpretable
Model-Agnostic
Explanations (LIME*)
provides easy to
understand explanations
of a prediction by training
an explainability model
based on samples around
a prediction.
 The approximate nature
of the explainability
model might limit its
usage for compliance
needs. *M. T. Ribeiro, S. Singh, C. Guestrin. “Why Should I Trust You?”
Explaining the Predictions of Any Classifier, 2016 (link)
LIME output showing the important features,
positively and negatively impacting the model’s
prediction.
EXPLAINABLE AI - FEASIBILITY
 Machine (Deep) Learning algorithms
vary in the level of accuracy and
explainability that they can provide-
the two are often inversely
proportional.
 Explainability starts becoming more
difficult as as we move to Random
Forests, which are basically an
ensemble of Decision Trees. At the
end of the spectrum are Neural
Networks (Deep Learning), which
have shown human-level accuracy.
Explainability
Accuracy
Logistic Regression
DecisionTrees
Random Forest
(Ensemble of
DecisionTrees)
Deep Learning
(Neural Networks)
EXPLAINABLE AI - ABSTRACTION
“important thing is to explain the right thing to the right person in the right way at the right
time”*
Singapore AI Governance framework: “technical explainability may not always be enlightening,
esp. to the man in the street… providing an individual with counterfactuals (such as “you would
have been approved if your average debt was 15% lower” or “these are users with similar profiles
to yours that received a different decision”) can be a powerful type of explanation”
*N. Xie, et. al. Explainable Deep Learning: A
Field Guide for the Uninitiated, 2020 (link)
AI Developer
Goal:ensure/improve
performance
Regulatory Bodies
Goal:Ensure compliance with legislation,
protect interests of constituents
End Users
Goal:Understanding of
decision,trust model output
FAIRNESS & BIAS
 Bias is a phenomenon that occurs when an algorithm
produces results that are systemically prejudiced due
to erroneous assumptions in the machine learning
process*.
 AI models should behave in all fairness towards
everyone, without any bias. However, defining
‘fairness’ is easier said than done.
 Does fairness mean, e.g., that the same proportion
of male and female applicants get high risk
assessment scores?
 Or that the same level of risk result in the same
score regardless of gender?
 (Impossible to fulfill both)
* SearchEnterprise
AI. Machine Learning bias (AI
bias) (link)
Google Photo labeling pictures of a black
Haitian-American programmer as “gorilla”
“White Barack Obama”
images (link)
A computer program used for bail and
sentencing decisions was labeled biased
against blacks. (link)
TYPES OF BIAS
 Bias creeps into AI models, primarily due
to the inherent bias already present in the
training data. So the ‘data’ part of AI
model development is key to addressing
bias.
 Historical Bias: arises due to historical
inequality of human decisions
captured in the training data
 Representation Bias: arises due to
training data that is not representative
of the actual population
 Ensure that training data is representative
and uniformly distributed over the target
population - with respect to the selected
features. Source: H. Suresh, J. V. Guttag. A Framework for
Understanding Unintended Consequences of Machine
LLMOPS: MLOPS FOR LLMS
*D. Biswas. MLOps for Compositional AI. NeurIPS Workshop on Challenges in
Deploying and Monitoring Machine Learning Systems (DMML), 2022.
*D. Biswas. Generative AI – LLMOps Architecture Patterns. Data Driven Investor,
2023 (link)
 Black-box LLM APIs: This is the
classic ChatGPT example, where
we have black-box access to a
LLM API/UI. Prompts are the
primary interaction mechanism for
such scenarios.
 While Enterprise LLM Apps have
the potential to be a multi-billion
dollar marketplace and accelerate
LLM adoption by providing an
enterprise ready solution; the
same caution needs to be
exercised as you would do before
using a 3rd party ML model —
validate LLM/training data
ownership, IP, liability clauses.
LLMOPS: MLOPS FOR LLMS (2)
*D. Biswas. Contextualizing Large Language Models (LLMs)
with Enterprise Data. Data Driven Investor, 2023 (link)
 LLMs are generic in nature.
To realize the full potential
of LLMs for Enterprises, they
need to be contextualized
with enterprise knowledge
captured in terms of
documents, wikis, business
processes, etc.
 This is achieved by fine-
tuning a LLM with enterprise
knowledge / embeddings to
develop a context-specific
LLM.
GENERATIVE AI - RESPONSIBLE DESIGN PRINCIPLES
We take inspiration from
the “enterprise friendly”
Microsoft, “developer
friendly” Google and “user
friendly” Apple — to
enable this ‘transparent’
approach to Gen AI
system design.
• Guidelines for Human-
AI Interaction by
Microsoft
• People + AI
Guidebook by Google
• Machine Learning:
Human Interface
Guidelines by Apple
Thank
You
&
Question
s
Contact: Debmalya Biswas
LinkedIn:
https://www.linkedin.com/in/debmalya-
biswas-3975261/
Medium:
https://medium.com/@debmalyabiswas
1 von 16

Recomendados

ChatGPT vs. GPT-3.pdf von
ChatGPT vs. GPT-3.pdfChatGPT vs. GPT-3.pdf
ChatGPT vs. GPT-3.pdfAddepto
493 views4 Folien
ChatGPT: Revolutionizing Language Processing von
ChatGPT: Revolutionizing Language ProcessingChatGPT: Revolutionizing Language Processing
ChatGPT: Revolutionizing Language ProcessingNihil Yuqii
255 views6 Folien
Large Language Models - Chat AI.pdf von
Large Language Models - Chat AI.pdfLarge Language Models - Chat AI.pdf
Large Language Models - Chat AI.pdfDavid Rostcheck
672 views19 Folien
A Comprehensive Review of Large Language Models for.pptx von
A Comprehensive Review of Large Language Models for.pptxA Comprehensive Review of Large Language Models for.pptx
A Comprehensive Review of Large Language Models for.pptxSaiPragnaKancheti
2.2K views24 Folien
Large Language Models Bootcamp von
Large Language Models BootcampLarge Language Models Bootcamp
Large Language Models BootcampData Science Dojo
3.3K views15 Folien
And then there were ... Large Language Models von
And then there were ... Large Language ModelsAnd then there were ... Large Language Models
And then there were ... Large Language ModelsLeon Dohmen
2.3K views40 Folien

Más contenido relacionado

Was ist angesagt?

LanGCHAIN Framework von
LanGCHAIN FrameworkLanGCHAIN Framework
LanGCHAIN FrameworkKeymate.AI
1.4K views19 Folien
LangChain Intro by KeyMate.AI von
LangChain Intro by KeyMate.AILangChain Intro by KeyMate.AI
LangChain Intro by KeyMate.AIOzgurOscarOzkan
383 views19 Folien
Let's talk about GPT: A crash course in Generative AI for researchers von
Let's talk about GPT: A crash course in Generative AI for researchersLet's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchersSteven Van Vaerenbergh
836 views71 Folien
Generative AI von
Generative AIGenerative AI
Generative AIlutzsuarnaba1
625 views17 Folien
AI and ML Series - Introduction to Generative AI and LLMs - Session 1 von
AI and ML Series - Introduction to Generative AI and LLMs - Session 1AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1DianaGray10
1.1K views38 Folien
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT! von
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!taozen
1K views13 Folien

Was ist angesagt?(20)

LanGCHAIN Framework von Keymate.AI
LanGCHAIN FrameworkLanGCHAIN Framework
LanGCHAIN Framework
Keymate.AI1.4K views
Let's talk about GPT: A crash course in Generative AI for researchers von Steven Van Vaerenbergh
Let's talk about GPT: A crash course in Generative AI for researchersLet's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchers
AI and ML Series - Introduction to Generative AI and LLMs - Session 1 von DianaGray10
AI and ML Series - Introduction to Generative AI and LLMs - Session 1AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
DianaGray101.1K views
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT! von taozen
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
taozen1K views
How Does Generative AI Actually Work? (a quick semi-technical introduction to... von ssuser4edc93
How Does Generative AI Actually Work? (a quick semi-technical introduction to...How Does Generative AI Actually Work? (a quick semi-technical introduction to...
How Does Generative AI Actually Work? (a quick semi-technical introduction to...
ssuser4edc93930 views
Future of AI - 2023 07 25.pptx von Greg Makowski
Future of AI - 2023 07 25.pptxFuture of AI - 2023 07 25.pptx
Future of AI - 2023 07 25.pptx
Greg Makowski3.4K views
Azure OpenAI 및 ChatGPT 실습가이드 (Hands-on-lab) von Minnie Seungmin Cho
Azure OpenAI 및 ChatGPT 실습가이드 (Hands-on-lab) Azure OpenAI 및 ChatGPT 실습가이드 (Hands-on-lab)
Azure OpenAI 및 ChatGPT 실습가이드 (Hands-on-lab)
Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in... von David Talby
Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...
Large Language Models, No-Code, and Responsible AI - Trends in Applied NLP in...
David Talby654 views
Conversational AI with Rasa - PyData Workshop von Tom Bocklisch
Conversational AI with Rasa - PyData WorkshopConversational AI with Rasa - PyData Workshop
Conversational AI with Rasa - PyData Workshop
Tom Bocklisch7.3K views
Responsible Generative AI von CMassociates
Responsible Generative AIResponsible Generative AI
Responsible Generative AI
CMassociates230 views
Landscape of AI/ML in 2023 von HyunJoon Jung
Landscape of AI/ML in 2023Landscape of AI/ML in 2023
Landscape of AI/ML in 2023
HyunJoon Jung2.4K views
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap von Anant Corporation
Episode 2: The LLM / GPT / AI Prompt / Data Engineer RoadmapEpisode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
Anant Corporation647 views
The Future of AI is Generative not Discriminative 5/26/2021 von Steve Omohundro
The Future of AI is Generative not Discriminative 5/26/2021The Future of AI is Generative not Discriminative 5/26/2021
The Future of AI is Generative not Discriminative 5/26/2021
Steve Omohundro959 views

Similar a Regulating Generative AI - LLMOps pipelines with Transparency

Ethical AI - Open Compliance Summit 2020 von
Ethical AI - Open Compliance Summit 2020Ethical AI - Open Compliance Summit 2020
Ethical AI - Open Compliance Summit 2020Debmalya Biswas
170 views25 Folien
AI and ML Trends to Impact Business 2020 von
AI and ML Trends to Impact Business 2020AI and ML Trends to Impact Business 2020
AI and ML Trends to Impact Business 2020Takayuki Yamazaki
133 views13 Folien
[REPORT PREVIEW] The Customer Experience of AI von
[REPORT PREVIEW] The Customer Experience of AI[REPORT PREVIEW] The Customer Experience of AI
[REPORT PREVIEW] The Customer Experience of AIAltimeter, a Prophet Company
11K views10 Folien
Accelerating Business and Research Through Automation and Artificial Intellig... von
Accelerating Business and Research Through Automation and Artificial Intellig...Accelerating Business and Research Through Automation and Artificial Intellig...
Accelerating Business and Research Through Automation and Artificial Intellig...CloudHesive
17 views32 Folien
State of AI Report 2023 - Air Street Capital von
State of AI Report 2023 - Air Street CapitalState of AI Report 2023 - Air Street Capital
State of AI Report 2023 - Air Street CapitalAI Geek (wishesh)
1.8K views163 Folien
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdf von
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdfRealizing_the_real_business_impact_of_gen_AI_white_paper.pdf
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdfPhilipBasford
24 views19 Folien

Similar a Regulating Generative AI - LLMOps pipelines with Transparency(20)

Ethical AI - Open Compliance Summit 2020 von Debmalya Biswas
Ethical AI - Open Compliance Summit 2020Ethical AI - Open Compliance Summit 2020
Ethical AI - Open Compliance Summit 2020
Debmalya Biswas170 views
Accelerating Business and Research Through Automation and Artificial Intellig... von CloudHesive
Accelerating Business and Research Through Automation and Artificial Intellig...Accelerating Business and Research Through Automation and Artificial Intellig...
Accelerating Business and Research Through Automation and Artificial Intellig...
CloudHesive17 views
State of AI Report 2023 - Air Street Capital von AI Geek (wishesh)
State of AI Report 2023 - Air Street CapitalState of AI Report 2023 - Air Street Capital
State of AI Report 2023 - Air Street Capital
AI Geek (wishesh)1.8K views
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdf von PhilipBasford
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdfRealizing_the_real_business_impact_of_gen_AI_white_paper.pdf
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdf
PhilipBasford24 views
AI Readiness: Five Areas Business Must Prepare for Success in Artificial Inte... von Kaleido Insights
AI Readiness: Five Areas Business Must Prepare for Success in Artificial Inte...AI Readiness: Five Areas Business Must Prepare for Success in Artificial Inte...
AI Readiness: Five Areas Business Must Prepare for Success in Artificial Inte...
Kaleido Insights 1.7K views
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS von pijans
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSISUNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
pijans7 views
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS von pijans
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSISUNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS
pijans4 views
In the Dark? Understanding Big Data & AI: Talent Acquisition Strategies for 2018 von Yoh Staffing Solutions
In the Dark? Understanding Big Data & AI: Talent Acquisition Strategies for 2018In the Dark? Understanding Big Data & AI: Talent Acquisition Strategies for 2018
In the Dark? Understanding Big Data & AI: Talent Acquisition Strategies for 2018
artificial intelligence von haifa rzem
artificial intelligenceartificial intelligence
artificial intelligence
haifa rzem105 views
Evaluating the opportunity for embedded ai in data productivity tools von Neil Raden
Evaluating the opportunity for embedded ai in data productivity toolsEvaluating the opportunity for embedded ai in data productivity tools
Evaluating the opportunity for embedded ai in data productivity tools
Neil Raden165 views

Más de Debmalya Biswas

Sustainable & Composable Generative AI von
Sustainable & Composable Generative AISustainable & Composable Generative AI
Sustainable & Composable Generative AIDebmalya Biswas
30 views21 Folien
Data-Driven (Reinforcement Learning-Based) Control von
Data-Driven (Reinforcement Learning-Based) ControlData-Driven (Reinforcement Learning-Based) Control
Data-Driven (Reinforcement Learning-Based) ControlDebmalya Biswas
121 views17 Folien
MLOps for Compositional AI von
MLOps for Compositional AIMLOps for Compositional AI
MLOps for Compositional AIDebmalya Biswas
61 views13 Folien
A Privacy Framework for Hierarchical Federated Learning von
A Privacy Framework for Hierarchical Federated LearningA Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated LearningDebmalya Biswas
600 views17 Folien
Edge AI Framework for Healthcare Applications von
Edge AI Framework for Healthcare ApplicationsEdge AI Framework for Healthcare Applications
Edge AI Framework for Healthcare ApplicationsDebmalya Biswas
304 views14 Folien
Compositional AI: Fusion of AI/ML Services von
Compositional AI: Fusion of AI/ML ServicesCompositional AI: Fusion of AI/ML Services
Compositional AI: Fusion of AI/ML ServicesDebmalya Biswas
330 views24 Folien

Más de Debmalya Biswas(12)

Sustainable & Composable Generative AI von Debmalya Biswas
Sustainable & Composable Generative AISustainable & Composable Generative AI
Sustainable & Composable Generative AI
Debmalya Biswas30 views
Data-Driven (Reinforcement Learning-Based) Control von Debmalya Biswas
Data-Driven (Reinforcement Learning-Based) ControlData-Driven (Reinforcement Learning-Based) Control
Data-Driven (Reinforcement Learning-Based) Control
Debmalya Biswas121 views
A Privacy Framework for Hierarchical Federated Learning von Debmalya Biswas
A Privacy Framework for Hierarchical Federated LearningA Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated Learning
Debmalya Biswas600 views
Edge AI Framework for Healthcare Applications von Debmalya Biswas
Edge AI Framework for Healthcare ApplicationsEdge AI Framework for Healthcare Applications
Edge AI Framework for Healthcare Applications
Debmalya Biswas304 views
Compositional AI: Fusion of AI/ML Services von Debmalya Biswas
Compositional AI: Fusion of AI/ML ServicesCompositional AI: Fusion of AI/ML Services
Compositional AI: Fusion of AI/ML Services
Debmalya Biswas330 views
Privacy Preserving Chatbot Conversations von Debmalya Biswas
Privacy Preserving Chatbot ConversationsPrivacy Preserving Chatbot Conversations
Privacy Preserving Chatbot Conversations
Debmalya Biswas137 views
Reinforcement Learning based HVAC Optimization in Factories von Debmalya Biswas
Reinforcement Learning based HVAC Optimization in FactoriesReinforcement Learning based HVAC Optimization in Factories
Reinforcement Learning based HVAC Optimization in Factories
Debmalya Biswas661 views
Delayed Rewards in the context of Reinforcement Learning based Recommender ... von Debmalya Biswas
Delayed Rewards in the context of Reinforcement Learning based Recommender ...Delayed Rewards in the context of Reinforcement Learning based Recommender ...
Delayed Rewards in the context of Reinforcement Learning based Recommender ...
Debmalya Biswas240 views
Building an enterprise Natural Language Search Engine with ElasticSearch and ... von Debmalya Biswas
Building an enterprise Natural Language Search Engine with ElasticSearch and ...Building an enterprise Natural Language Search Engine with ElasticSearch and ...
Building an enterprise Natural Language Search Engine with ElasticSearch and ...
Debmalya Biswas305 views
Privacy-Preserving Outsourced Profiling von Debmalya Biswas
Privacy-Preserving Outsourced ProfilingPrivacy-Preserving Outsourced Profiling
Privacy-Preserving Outsourced Profiling
Debmalya Biswas530 views
Privacy Policies Change Management for Smartphones von Debmalya Biswas
Privacy Policies Change Management for SmartphonesPrivacy Policies Change Management for Smartphones
Privacy Policies Change Management for Smartphones
Debmalya Biswas518 views

Último

AMD: 4th Generation EPYC CXL Demo von
AMD: 4th Generation EPYC CXL DemoAMD: 4th Generation EPYC CXL Demo
AMD: 4th Generation EPYC CXL DemoCXL Forum
126 views6 Folien
Throughput von
ThroughputThroughput
ThroughputMoisés Armani Ramírez
32 views11 Folien
Microchip: CXL Use Cases and Enabling Ecosystem von
Microchip: CXL Use Cases and Enabling EcosystemMicrochip: CXL Use Cases and Enabling Ecosystem
Microchip: CXL Use Cases and Enabling EcosystemCXL Forum
129 views12 Folien
Five Things You SHOULD Know About Postman von
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About PostmanPostman
25 views43 Folien
Photowave Presentation Slides - 11.8.23.pptx von
Photowave Presentation Slides - 11.8.23.pptxPhotowave Presentation Slides - 11.8.23.pptx
Photowave Presentation Slides - 11.8.23.pptxCXL Forum
126 views16 Folien
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen... von
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...NUS-ISS
23 views70 Folien

Último(20)

AMD: 4th Generation EPYC CXL Demo von CXL Forum
AMD: 4th Generation EPYC CXL DemoAMD: 4th Generation EPYC CXL Demo
AMD: 4th Generation EPYC CXL Demo
CXL Forum126 views
Microchip: CXL Use Cases and Enabling Ecosystem von CXL Forum
Microchip: CXL Use Cases and Enabling EcosystemMicrochip: CXL Use Cases and Enabling Ecosystem
Microchip: CXL Use Cases and Enabling Ecosystem
CXL Forum129 views
Five Things You SHOULD Know About Postman von Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman25 views
Photowave Presentation Slides - 11.8.23.pptx von CXL Forum
Photowave Presentation Slides - 11.8.23.pptxPhotowave Presentation Slides - 11.8.23.pptx
Photowave Presentation Slides - 11.8.23.pptx
CXL Forum126 views
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen... von NUS-ISS
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
NUS-ISS23 views
Future of Learning - Yap Aye Wee.pdf von NUS-ISS
Future of Learning - Yap Aye Wee.pdfFuture of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdf
NUS-ISS38 views
MemVerge: Memory Viewer Software von CXL Forum
MemVerge: Memory Viewer SoftwareMemVerge: Memory Viewer Software
MemVerge: Memory Viewer Software
CXL Forum118 views
JCon Live 2023 - Lice coding some integration problems von Bernd Ruecker
JCon Live 2023 - Lice coding some integration problemsJCon Live 2023 - Lice coding some integration problems
JCon Live 2023 - Lice coding some integration problems
Bernd Ruecker67 views
Understanding GenAI/LLM and What is Google Offering - Felix Goh von NUS-ISS
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix Goh
NUS-ISS39 views
Transcript: The Details of Description Techniques tips and tangents on altern... von BookNet Canada
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...
BookNet Canada119 views
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ... von Fwdays
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ..."Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...
Fwdays33 views
Data-centric AI and the convergence of data and model engineering: opportunit... von Paolo Missier
Data-centric AI and the convergence of data and model engineering:opportunit...Data-centric AI and the convergence of data and model engineering:opportunit...
Data-centric AI and the convergence of data and model engineering: opportunit...
Paolo Missier29 views
"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi von Fwdays
"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi
"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi
Fwdays26 views
Combining Orchestration and Choreography for a Clean Architecture von ThomasHeinrichs1
Combining Orchestration and Choreography for a Clean ArchitectureCombining Orchestration and Choreography for a Clean Architecture
Combining Orchestration and Choreography for a Clean Architecture
ThomasHeinrichs168 views
Web Dev - 1 PPT.pdf von gdsczhcet
Web Dev - 1 PPT.pdfWeb Dev - 1 PPT.pdf
Web Dev - 1 PPT.pdf
gdsczhcet52 views
.conf Go 2023 - Data analysis as a routine von Splunk
.conf Go 2023 - Data analysis as a routine.conf Go 2023 - Data analysis as a routine
.conf Go 2023 - Data analysis as a routine
Splunk90 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 von Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi113 views

Regulating Generative AI - LLMOps pipelines with Transparency

  • 1. REGULATING GENERATIVE AI — LLMOPS PIPELINES WITH TRANSPARENCY DEBMALYA BISWAS, WIPRO AI
  • 2. AGENDA  Enterprise AI  Ethical / Responsible AI  Explainability  Fairness & Bias  LLMOps Architecture Patterns  Generative AI - Responsible Design Principles
  • 3. ENTERPRISE AI • Enterprise AI use- cases are pervasive
  • 4. RESPONSIBLE AI “Ethical AI, also known as responsible AI, is the practice of using AI with good intention to empower employees and businesses, and fairly impact customers and society. Ethical AI enables companies to engender trust and scale AI with confidence.” [1] Failing to operationalize Ethical AI can not only expose enterprises to reputational, regulatory, and legal risks; but also lead to wasted resources, inefficiencies in product development, and even an inability to use data to train AI models. [2] [1] R. Porter. Beyond the promise: implementing Ethical AI, 2020 (link) [2] R. Blackman. A Practical Guide to Building Ethical AI, 2020 (link)
  • 5. REGULATIONS  Good news: is that there has been a recent trend towards ensuring that AI applications are responsibly trained and deployed, in line with the enterprise strategy and policies.  Bad news: Efforts have been complicated by different governmental organizations and regulatory bodies releasing their own guidelines and policies; with little to no standardization on the definition of terms.  For example, the EU AI Act mandates a different set of dos & don’ts depending on the ‘risk level’ of an AI application. However, quantifying the risk level of an AI application is easier said than done as it basically requires you to classify how the capabilities of a non-deterministic system will impact users and systems who might interact with it in the future.
  • 6. ETHICAL AI PRINCIPLES  Explainability  Bias & Fairness  Accountability  Reproducibility  Data Privacy *D. Biswas. Ethical AI: its implications for Enterprise AI Use- cases and Governance. Towards Data Science (link) *D. Biswas. Privacy Preserving Chatbot Conversations. 3rd IEEE AIKE 2020: 179-182
  • 7. EXPLAINABLE AI  Explainable AI is an umbrella term for a range of tools, algorithms and methods; which accompany AI model predictions with explanations.  Explainability of AI models ranks high among the list of ‘non-functional’ AI features to be considered by enterprises.  For example, this implies having to explain why an ML model profiled a user to be in a specific segment — which led him/her to receiving an advertisement. (Labeled) Data Train ML Model Predictions Explanation Model Explainable Predictions
  • 8. EXPLAINABLE AI FRAMEWORKS - LIME  Local Interpretable Model-Agnostic Explanations (LIME*) provides easy to understand explanations of a prediction by training an explainability model based on samples around a prediction.  The approximate nature of the explainability model might limit its usage for compliance needs. *M. T. Ribeiro, S. Singh, C. Guestrin. “Why Should I Trust You?” Explaining the Predictions of Any Classifier, 2016 (link) LIME output showing the important features, positively and negatively impacting the model’s prediction.
  • 9. EXPLAINABLE AI - FEASIBILITY  Machine (Deep) Learning algorithms vary in the level of accuracy and explainability that they can provide- the two are often inversely proportional.  Explainability starts becoming more difficult as as we move to Random Forests, which are basically an ensemble of Decision Trees. At the end of the spectrum are Neural Networks (Deep Learning), which have shown human-level accuracy. Explainability Accuracy Logistic Regression DecisionTrees Random Forest (Ensemble of DecisionTrees) Deep Learning (Neural Networks)
  • 10. EXPLAINABLE AI - ABSTRACTION “important thing is to explain the right thing to the right person in the right way at the right time”* Singapore AI Governance framework: “technical explainability may not always be enlightening, esp. to the man in the street… providing an individual with counterfactuals (such as “you would have been approved if your average debt was 15% lower” or “these are users with similar profiles to yours that received a different decision”) can be a powerful type of explanation” *N. Xie, et. al. Explainable Deep Learning: A Field Guide for the Uninitiated, 2020 (link) AI Developer Goal:ensure/improve performance Regulatory Bodies Goal:Ensure compliance with legislation, protect interests of constituents End Users Goal:Understanding of decision,trust model output
  • 11. FAIRNESS & BIAS  Bias is a phenomenon that occurs when an algorithm produces results that are systemically prejudiced due to erroneous assumptions in the machine learning process*.  AI models should behave in all fairness towards everyone, without any bias. However, defining ‘fairness’ is easier said than done.  Does fairness mean, e.g., that the same proportion of male and female applicants get high risk assessment scores?  Or that the same level of risk result in the same score regardless of gender?  (Impossible to fulfill both) * SearchEnterprise AI. Machine Learning bias (AI bias) (link) Google Photo labeling pictures of a black Haitian-American programmer as “gorilla” “White Barack Obama” images (link) A computer program used for bail and sentencing decisions was labeled biased against blacks. (link)
  • 12. TYPES OF BIAS  Bias creeps into AI models, primarily due to the inherent bias already present in the training data. So the ‘data’ part of AI model development is key to addressing bias.  Historical Bias: arises due to historical inequality of human decisions captured in the training data  Representation Bias: arises due to training data that is not representative of the actual population  Ensure that training data is representative and uniformly distributed over the target population - with respect to the selected features. Source: H. Suresh, J. V. Guttag. A Framework for Understanding Unintended Consequences of Machine
  • 13. LLMOPS: MLOPS FOR LLMS *D. Biswas. MLOps for Compositional AI. NeurIPS Workshop on Challenges in Deploying and Monitoring Machine Learning Systems (DMML), 2022. *D. Biswas. Generative AI – LLMOps Architecture Patterns. Data Driven Investor, 2023 (link)  Black-box LLM APIs: This is the classic ChatGPT example, where we have black-box access to a LLM API/UI. Prompts are the primary interaction mechanism for such scenarios.  While Enterprise LLM Apps have the potential to be a multi-billion dollar marketplace and accelerate LLM adoption by providing an enterprise ready solution; the same caution needs to be exercised as you would do before using a 3rd party ML model — validate LLM/training data ownership, IP, liability clauses.
  • 14. LLMOPS: MLOPS FOR LLMS (2) *D. Biswas. Contextualizing Large Language Models (LLMs) with Enterprise Data. Data Driven Investor, 2023 (link)  LLMs are generic in nature. To realize the full potential of LLMs for Enterprises, they need to be contextualized with enterprise knowledge captured in terms of documents, wikis, business processes, etc.  This is achieved by fine- tuning a LLM with enterprise knowledge / embeddings to develop a context-specific LLM.
  • 15. GENERATIVE AI - RESPONSIBLE DESIGN PRINCIPLES We take inspiration from the “enterprise friendly” Microsoft, “developer friendly” Google and “user friendly” Apple — to enable this ‘transparent’ approach to Gen AI system design. • Guidelines for Human- AI Interaction by Microsoft • People + AI Guidebook by Google • Machine Learning: Human Interface Guidelines by Apple