Regulating Generative AI - LLMOps pipelines with Transparency

Debmalya Biswas
Debmalya BiswasLead Enterprise Architect - Artificial Intelligence em 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 de 16

Recomendados

Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74) por
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Naoki (Neo) SATO
1.2K visualizações47 slides
Using the power of Generative AI at scale por
Using the power of Generative AI at scaleUsing the power of Generative AI at scale
Using the power of Generative AI at scaleMaxim Salnikov
901 visualizações31 slides
Unlocking the Power of Generative AI An Executive's Guide.pdf por
Unlocking the Power of Generative AI An Executive's Guide.pdfUnlocking the Power of Generative AI An Executive's Guide.pdf
Unlocking the Power of Generative AI An Executive's Guide.pdfPremNaraindas1
2.2K visualizações29 slides
introduction Azure OpenAI by Usama wahab khan por
introduction  Azure OpenAI by Usama wahab khanintroduction  Azure OpenAI by Usama wahab khan
introduction Azure OpenAI by Usama wahab khanUsama Wahab Khan Cloud, Data and AI
944 visualizações26 slides
Build an LLM-powered application using LangChain.pdf por
Build an LLM-powered application using LangChain.pdfBuild an LLM-powered application using LangChain.pdf
Build an LLM-powered application using LangChain.pdfStephenAmell4
915 visualizações22 slides
LLMs Bootcamp por
LLMs BootcampLLMs Bootcamp
LLMs BootcampFiza987241
128 visualizações12 slides

Mais conteúdo relacionado

Mais procurados

How Does Generative AI Actually Work? (a quick semi-technical introduction to... por
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...ssuser4edc93
938 visualizações14 slides
Ml ops on AWS por
Ml ops on AWSMl ops on AWS
Ml ops on AWSPhilipBasford
631 visualizações33 slides
An Introduction to Generative AI por
An Introduction  to Generative AIAn Introduction  to Generative AI
An Introduction to Generative AICori Faklaris
11K visualizações28 slides
AI and ML Series - Introduction to Generative AI and LLMs - Session 1 por
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.2K visualizações38 slides
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin... por
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...Naoki (Neo) SATO
751 visualizações43 slides
How ChatGPT and AI-assisted coding changes software engineering profoundly por
How ChatGPT and AI-assisted coding changes software engineering profoundlyHow ChatGPT and AI-assisted coding changes software engineering profoundly
How ChatGPT and AI-assisted coding changes software engineering profoundlyPekka Abrahamsson / Tampere University
398 visualizações45 slides

Mais procurados(20)

How Does Generative AI Actually Work? (a quick semi-technical introduction to... por 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...
ssuser4edc93938 visualizações
Ml ops on AWS por PhilipBasford
Ml ops on AWSMl ops on AWS
Ml ops on AWS
PhilipBasford631 visualizações
An Introduction to Generative AI por Cori Faklaris
An Introduction  to Generative AIAn Introduction  to Generative AI
An Introduction to Generative AI
Cori Faklaris11K visualizações
AI and ML Series - Introduction to Generative AI and LLMs - Session 1 por 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.2K visualizações
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin... por Naoki (Neo) SATO
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...
Microsoft Build 2023 Updates – Copilot Stack and Azure OpenAI Service (Machin...
Naoki (Neo) SATO751 visualizações
[Machine Learning 15minutes! #61] Azure OpenAI Service por Naoki (Neo) SATO
[Machine Learning 15minutes! #61] Azure OpenAI Service[Machine Learning 15minutes! #61] Azure OpenAI Service
[Machine Learning 15minutes! #61] Azure OpenAI Service
Naoki (Neo) SATO1.1K visualizações
GENERATIVE AI, THE FUTURE OF PRODUCTIVITY por Andre Muscat
GENERATIVE AI, THE FUTURE OF PRODUCTIVITYGENERATIVE AI, THE FUTURE OF PRODUCTIVITY
GENERATIVE AI, THE FUTURE OF PRODUCTIVITY
Andre Muscat6.5K visualizações
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap por 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 Corporation651 visualizações
LanGCHAIN Framework por Keymate.AI
LanGCHAIN FrameworkLanGCHAIN Framework
LanGCHAIN Framework
Keymate.AI1.4K visualizações
MLOps in action por Pieter de Bruin
MLOps in actionMLOps in action
MLOps in action
Pieter de Bruin1.6K visualizações
Machine Learning & Amazon SageMaker por Amazon Web Services
Machine Learning & Amazon SageMakerMachine Learning & Amazon SageMaker
Machine Learning & Amazon SageMaker
Amazon Web Services5.7K visualizações
Leveraging Generative AI & Best practices por DianaGray10
Leveraging Generative AI & Best practicesLeveraging Generative AI & Best practices
Leveraging Generative AI & Best practices
DianaGray101.7K visualizações
What is MLOps por Henrik Skogström
What is MLOpsWhat is MLOps
What is MLOps
Henrik Skogström2.6K visualizações
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT por Anant Corporation
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPTAutomate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
Automate your Job and Business with ChatGPT #3 - Fundamentals of LLM/GPT
Anant Corporation294 visualizações
Generative AI por All Things Open
Generative AIGenerative AI
Generative AI
All Things Open4.5K visualizações
Generative AI For Everyone on AWS.pdf por Manjunatha Sai
Generative AI For Everyone on AWS.pdfGenerative AI For Everyone on AWS.pdf
Generative AI For Everyone on AWS.pdf
Manjunatha Sai126 visualizações
Build an LLM-powered application using LangChain.pdf por AnastasiaSteele10
Build an LLM-powered application using LangChain.pdfBuild an LLM-powered application using LangChain.pdf
Build an LLM-powered application using LangChain.pdf
AnastasiaSteele10145 visualizações
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT! por 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 visualizações

Similar a Regulating Generative AI - LLMOps pipelines with Transparency

Ethical AI - Open Compliance Summit 2020 por
Ethical AI - Open Compliance Summit 2020Ethical AI - Open Compliance Summit 2020
Ethical AI - Open Compliance Summit 2020Debmalya Biswas
170 visualizações25 slides
AI and ML Trends to Impact Business 2020 por
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 visualizações13 slides
[REPORT PREVIEW] The Customer Experience of AI por
[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 visualizações10 slides
Accelerating Business and Research Through Automation and Artificial Intellig... por
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 visualizações32 slides
State of AI Report 2023 - Air Street Capital por
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 visualizações163 slides
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdf por
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
25 visualizações19 slides

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

Ethical AI - Open Compliance Summit 2020 por Debmalya Biswas
Ethical AI - Open Compliance Summit 2020Ethical AI - Open Compliance Summit 2020
Ethical AI - Open Compliance Summit 2020
Debmalya Biswas170 visualizações
AI and ML Trends to Impact Business 2020 por Takayuki Yamazaki
AI and ML Trends to Impact Business 2020AI and ML Trends to Impact Business 2020
AI and ML Trends to Impact Business 2020
Takayuki Yamazaki133 visualizações
Accelerating Business and Research Through Automation and Artificial Intellig... por 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 visualizações
State of AI Report 2023 - Air Street Capital por 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 visualizações
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdf por 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
PhilipBasford25 visualizações
Responsible Machine Learning por Eng Teong Cheah
Responsible Machine LearningResponsible Machine Learning
Responsible Machine Learning
Eng Teong Cheah49 visualizações
AI Readiness: Five Areas Business Must Prepare for Success in Artificial Inte... por 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 visualizações
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS por 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 visualizações
UNCOVERING FAKE NEWS BY MEANS OF SOCIAL NETWORK ANALYSIS por 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 visualizações
In the Dark? Understanding Big Data & AI: Talent Acquisition Strategies for 2018 por 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
Yoh Staffing Solutions787 visualizações
Technovision por SayantanGhosh58
TechnovisionTechnovision
Technovision
SayantanGhosh5841 visualizações
artificial intelligence por haifa rzem
artificial intelligenceartificial intelligence
artificial intelligence
haifa rzem105 visualizações
Machine learning por Navdeep Asteya
Machine learningMachine learning
Machine learning
Navdeep Asteya664 visualizações
Evaluating the opportunity for embedded ai in data productivity tools por 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 visualizações
Artificial Intelligence and Machine Learning In Business por SubmissionResearchpa
Artificial Intelligence and Machine Learning In BusinessArtificial Intelligence and Machine Learning In Business
Artificial Intelligence and Machine Learning In Business
SubmissionResearchpa50 visualizações

Mais de Debmalya Biswas

Sustainable & Composable Generative AI por
Sustainable & Composable Generative AISustainable & Composable Generative AI
Sustainable & Composable Generative AIDebmalya Biswas
30 visualizações21 slides
Data-Driven (Reinforcement Learning-Based) Control por
Data-Driven (Reinforcement Learning-Based) ControlData-Driven (Reinforcement Learning-Based) Control
Data-Driven (Reinforcement Learning-Based) ControlDebmalya Biswas
121 visualizações17 slides
MLOps for Compositional AI por
MLOps for Compositional AIMLOps for Compositional AI
MLOps for Compositional AIDebmalya Biswas
61 visualizações13 slides
A Privacy Framework for Hierarchical Federated Learning por
A Privacy Framework for Hierarchical Federated LearningA Privacy Framework for Hierarchical Federated Learning
A Privacy Framework for Hierarchical Federated LearningDebmalya Biswas
600 visualizações17 slides
Edge AI Framework for Healthcare Applications por
Edge AI Framework for Healthcare ApplicationsEdge AI Framework for Healthcare Applications
Edge AI Framework for Healthcare ApplicationsDebmalya Biswas
304 visualizações14 slides
Compositional AI: Fusion of AI/ML Services por
Compositional AI: Fusion of AI/ML ServicesCompositional AI: Fusion of AI/ML Services
Compositional AI: Fusion of AI/ML ServicesDebmalya Biswas
330 visualizações24 slides

Mais de Debmalya Biswas(12)

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

Último

Understanding GenAI/LLM and What is Google Offering - Felix Goh por
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 GohNUS-ISS
41 visualizações33 slides
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors por
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensorssugiuralab
15 visualizações15 slides
The Research Portal of Catalonia: Growing more (information) & more (services) por
The Research Portal of Catalonia: Growing more (information) & more (services)The Research Portal of Catalonia: Growing more (information) & more (services)
The Research Portal of Catalonia: Growing more (information) & more (services)CSUC - Consorci de Serveis Universitaris de Catalunya
73 visualizações25 slides
Uni Systems for Power Platform.pptx por
Uni Systems for Power Platform.pptxUni Systems for Power Platform.pptx
Uni Systems for Power Platform.pptxUni Systems S.M.S.A.
50 visualizações21 slides
.conf Go 2023 - Data analysis as a routine por
.conf Go 2023 - Data analysis as a routine.conf Go 2023 - Data analysis as a routine
.conf Go 2023 - Data analysis as a routineSplunk
93 visualizações12 slides
Empathic Computing: Delivering the Potential of the Metaverse por
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the MetaverseMark Billinghurst
470 visualizações80 slides

Último(20)

Understanding GenAI/LLM and What is Google Offering - Felix Goh por 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-ISS41 visualizações
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors por sugiuralab
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab15 visualizações
Uni Systems for Power Platform.pptx por Uni Systems S.M.S.A.
Uni Systems for Power Platform.pptxUni Systems for Power Platform.pptx
Uni Systems for Power Platform.pptx
Uni Systems S.M.S.A.50 visualizações
.conf Go 2023 - Data analysis as a routine por 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
Splunk93 visualizações
Empathic Computing: Delivering the Potential of the Metaverse por Mark Billinghurst
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the Metaverse
Mark Billinghurst470 visualizações
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV por Splunk
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
Splunk88 visualizações
Roadmap to Become Experts.pptx por dscwidyatamanew
Roadmap to Become Experts.pptxRoadmap to Become Experts.pptx
Roadmap to Become Experts.pptx
dscwidyatamanew11 visualizações
Melek BEN MAHMOUD.pdf por MelekBenMahmoud
Melek BEN MAHMOUD.pdfMelek BEN MAHMOUD.pdf
Melek BEN MAHMOUD.pdf
MelekBenMahmoud14 visualizações
Five Things You SHOULD Know About Postman por Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman27 visualizações
Tunable Laser (1).pptx por Hajira Mahmood
Tunable Laser (1).pptxTunable Laser (1).pptx
Tunable Laser (1).pptx
Hajira Mahmood23 visualizações
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica... por NUS-ISS
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
NUS-ISS16 visualizações
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor... por Vadym Kazulkin
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
Vadym Kazulkin75 visualizações
Java Platform Approach 1.0 - Picnic Meetup por Rick Ossendrijver
Java Platform Approach 1.0 - Picnic MeetupJava Platform Approach 1.0 - Picnic Meetup
Java Platform Approach 1.0 - Picnic Meetup
Rick Ossendrijver25 visualizações
Attacking IoT Devices from a Web Perspective - Linux Day por Simone Onofri
Attacking IoT Devices from a Web Perspective - Linux Day Attacking IoT Devices from a Web Perspective - Linux Day
Attacking IoT Devices from a Web Perspective - Linux Day
Simone Onofri15 visualizações
Top 10 Strategic Technologies in 2024: AI and Automation por AutomationEdge Technologies
Top 10 Strategic Technologies in 2024: AI and AutomationTop 10 Strategic Technologies in 2024: AI and Automation
Top 10 Strategic Technologies in 2024: AI and Automation
AutomationEdge Technologies14 visualizações
RADIUS-Omnichannel Interaction System por RADIUS
RADIUS-Omnichannel Interaction SystemRADIUS-Omnichannel Interaction System
RADIUS-Omnichannel Interaction System
RADIUS15 visualizações
The details of description: Techniques, tips, and tangents on alternative tex... por BookNet Canada
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...
BookNet Canada121 visualizações

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