Accelerating Data Science through Feature Platform, Transformers and GenAI

FeatureByte
Accelerating Data Science
through Feature Platform,
Transformers and GenAI
Sept 2023
Xavier Conort
with the help of Google Bard, ChatGPT and FeatureByte!
FeatureByte
Agenda
2
● Define feature engineering
● The features I like to extract from transactional data
● Why feature engineering can be hard
● Pain points solved by Feature Platforms
● The magic of Transformers
● How Generative AI helped FeatureByte build a context-aware
automated feature ideation
FeatureByte
A little about me
3
Actuary
Learnt to formulate
mathematically
insurance problems and
solved them with data.
Kaggle addict
Learnt to have fun with
data.
Chief Data Scientist,
DataRobot
Learnt to codify best practices.
Co-founder,
FeatureByte
Solving remaining pain points
and planning to have fun with
data again!
FeatureByte
Define feature
engineering
FeatureByte 5
FeatureByte
2 types of features
6
1. Transformed features:
a. combine columns, binning…
b. model specific: scaling, one-hot encoding, embedding, reducing, …
2. Features from raw data:
a. From regular time series
b. From transactional data
c. From slowly changing dimension tables
Well covered by books and blogs, well supported by
tools like sklearn and automated by Auto-ML
Pretty well covered by books and blogs and
automated by Auto-ML, TS package or deep learning
The most exciting but challenging feature
engineering task.
FeatureByte
The features I like to
extract from
transactional data
FeatureByte 8
across a variety of signal types and entities associated with the use case
1. Attribute: gets the attribute of the entity at a point-in-time
2. Frequency: counts the occurrence of events
3. Recency: measures the time since the latest event
4. Timing: relates to when the events happened
5. Latest event: attributes of the latest event
6. Stats: aggregates a numeric column's values
7. Diversity: measures the variability of data values
8. Stability: compares recent events to those of earlier periods
9. Similarity: compares an individual entity feature to a group
10. Most frequent: gets the most frequent value of a categorical column
11. Bucketing: aggregates a column's values across categories of a categorical column.
12. Attribute stats: collects stats for an attribute of the entity
13. Attribute change: measures the occurrence or magnitude of changes to slowly changing attributes
14. Location…
The MEANINGFUL ones!
FeatureByte 9
Dimension table with
static description on
products
Item table with details on
purchased products in
customer invoices
Event table
where each
row indicates
an invoice in a
Grocery shop
Slowly Changing Dimension table that contains
data on customers that change over time.
Simple example of transaction data: A Grocery Dataset
FeatureByte 10
Invoice x Similarity
Customer x Diversity
Customer x Attribute change
Customer x Similarity
FeatureByte 11
Customer x Timing
Features inspired by Owen Zhang, Kaggle
Grandmaster
FeatureByte 12
More than 100 examples in the tutorials of FeatureByte’s free and
source available package
FeatureByte
Why feature
engineering can be hard
FeatureByte
Feature Engineering with transactional data is Complex and Challenging
14
1. Transactional data can be
XXXL
2. Feature space can be
infinite
3. High risk of time leakage
and training-serving
inconsistencies: need to be
point-in-time accurate
4. Feature engineering
strategy varies with the
data semantics
5. Garbage-in Garbage-out
FeatureByte
3 skills come into play
15
DOMAIN
EXPERTISE
DATA
ENGINEERING
DATA
SCIENCE
DW
SAAS
SOURCES
MODEL
TRAINING
MODEL
PREDICTION
STREAMING
FeatureByte
… while 3 innovations are already radically simplifying the effort
16
DOMAIN
EXPERTISE
DATA
ENGINEERING
DATA
SCIENCE
Generative AI is
getting close to
emulate a
Domain Expert
Feature
Platforms are
simplifying data
engineering
Off the Shelf
Transformers are
revolutionizing NLP
FeatureByte
Pain points solved by
feature platforms
FeatureByte 18
Pain Point How a Feature Platform is addressing it
High latency in feature computation Pre-computes features and stores them in
an online store for low latency
Disappointing production accuracy caused
by inconsistency of feature values between
training and production
Ensures point-in-time correctness and
training-serving consistency
Code for efficient time travel operations in
SQL is complex
Declarative framework in Python to simplify
the creation of features
Waiting to experiment with our new feature
ideas can be frustrating
Automated backfilling to compute features at
any point in time in the past
Painful search for existing features Feature Catalog to share and reuse features
Uncertainties when our new features will be
finally deployed
Unified solution to ensure smooth transition
from experimentation to deployment
FeatureByte
The magic of
Transformers
FeatureByte 20
FeatureByte
What do I think about Transformers?
21
1. As a scientist: they are beautiful.
2. As a data scientist: they are awesome.
3. As a MLOps engineer: another transformation to operationalize.
4. As a product manager: they are opening up new horizons!
FeatureByte
Immediate benefits of Transformers
22
1. Radically simplify a complex task (NLP)
2. In many cases, don’t need any training for great outcomes! Can be used off
the shelf to transform raw text columns of transactional data:
a. Text embedding,
b. Name Entity Recognition,
c. Sentiment analysis,
d. Keyword extraction,
e. Extract specific information in a table structure…
3. I just need to aggregate the outputs in a meaningful way
FeatureByte
Do I still need Feature Platforms for Transformers?
23
Feature Platforms can improve Transformers operationalization
1. Point-in-Time correctness
2. Low latency thanks to the pre-computation of features that involve
transformers
3. Caching (via partial aggregations or other mechanisms) to reduce expensive
transformer calls
4. Transformer Library
FeatureByte
Can Deep Learning also replace traditional feature engineering?
24
Maybe in the future, but less magic expected…
1. I have not seen anything convincing yet apart from:
a. regular time series
b. sequences of event (successful results for recommendation system)
2. If solutions emerge, it won’t be pre-trained Off the Shelf Transformers like
for NLP and you will need a lot of data to train them to get meaningful
results.
3. And for many of us, it may not pass the model validation process:
a. not explainable enough
b. and maybe not robust enough if your data is not XXXL
FeatureByte 25
"Semantics is to artificial intelligence as physics is
to engineering."
John McCarthy, considered to be one of the most important figures in the
history of artificial intelligence
"Creativity is just connecting things."
Steve Jobs
So why do I think Transformers are revolutionary?
FeatureByte
How Generative AI can
help feature
engineering
FeatureByte
Areas where Generative AI is already doing great
27
Generative AI:
1. is already very familiar with data modeling concepts
2. can recognize the semantic of the data columns well beyond numeric and
string if meaningful names or good descriptions are provided
3. already possesses deep domain knowledge that can help
a. take some important decisions in the feature engineering process
b. assess how relevant a feature is to a use case
FeatureByte
How FeatureByte’s Copilot is currently leveraging GenAI
28
Description of Data
(tables, columns, entities)
Data Semantics &
Domain Insights
Feature Ideation
Engine
Feature code &
descriptions
Relevance Score
and Explanation
GenAI GenAI
Context-aware
Feature suggestions
Description of Use Case
(domain, context, target)
that are interpretable and
relevant! And editable.
FeatureByte 29
FeatureByte
Generative AI is already
familiar with data
modeling concepts
FeatureByte
Knows best practices
31
FeatureByte
Knows what is an entity which is a key concept in feature engineering
32
FeatureByte
Generative AI can
recognize data columns
semantics
FeatureByte
Make the difference between different types of numeric columns
34
FeatureByte
Generative AI can help
design your feature
engineering strategy
FeatureByte
Example: Can recommend strategy to filter data
36
FeatureByte
Generative AI can
assess the feature
relevance to a use case
FeatureByte
Plain English explanation
38
FeatureByte
… even for complex features
39
FeatureByte
… and is sharing its domain knowledge during the process
40
FeatureByte
Conclusion
FeatureByte
The 3 innovations are accelerating Data Science by
42
1. Reducing time-to-value thanks to:
a. quicker experimentation, and smooth transition to deployment
2. Increasing production accuracy thanks to:
a. training / serving consistency
b. transformers
c. context aware feature generation
3. Increasing Transparency thanks to:
a. Plain English descriptions of features
b. Relevance explanations to a use case
FeatureByte
and are opening up new horizons
43
New opportunities to:
● bridge the gap between features and non-technical stakeholders and
contribute to better Model Explainability and stronger regulation
● boost your creativity and domain knowledge
● build solutions and not only models!
● and more time to explore other advanced solutions like causal modelling +
A/B testing that may be better addressing your use cases
FeatureByte
Thanks!
If you are curious to know more about Featurebyte
White Paper on FeatureByte Copilot
Video of FeatureByte Enterprise
Github Repo of the free and source available engine: https://github.com/featurebyte/featurebyte
Documentation: https://docs.featurebyte.com/0.5/
1 sur 44

Recommandé

Accelerating Data Science through Feature Platform, Transformers, and GenAI par
Accelerating Data Science through Feature Platform, Transformers, and GenAIAccelerating Data Science through Feature Platform, Transformers, and GenAI
Accelerating Data Science through Feature Platform, Transformers, and GenAIFeatureByte
189 vues46 diapositives
Streamlining Data Science Workflows with a Feature Catalog par
Streamlining Data Science Workflows with a Feature CatalogStreamlining Data Science Workflows with a Feature Catalog
Streamlining Data Science Workflows with a Feature CatalogGoDataDriven
124 vues21 diapositives
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz... par
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...HostedbyConfluent
315 vues40 diapositives
Scaling & Transforming Stitch Fix's Visibility into What Folks will love par
Scaling & Transforming Stitch Fix's Visibility into What Folks will loveScaling & Transforming Stitch Fix's Visibility into What Folks will love
Scaling & Transforming Stitch Fix's Visibility into What Folks will loveJune Andrews
76 vues43 diapositives
Agile Mumbai 2022 - Rohit Handa | Combining Human and Artificial Intelligence... par
Agile Mumbai 2022 - Rohit Handa | Combining Human and Artificial Intelligence...Agile Mumbai 2022 - Rohit Handa | Combining Human and Artificial Intelligence...
Agile Mumbai 2022 - Rohit Handa | Combining Human and Artificial Intelligence...AgileNetwork
12 vues21 diapositives
Simplify Feature Engineering in Your Data Warehouse par
Simplify Feature Engineering in Your Data WarehouseSimplify Feature Engineering in Your Data Warehouse
Simplify Feature Engineering in Your Data WarehouseFeatureByte
64 vues28 diapositives

Contenu connexe

Similaire à Accelerating Data Science through Feature Platform, Transformers and GenAI

How we integrate Machine Learning Algorithms into our IT Platform at Outfittery par
How we integrate Machine Learning Algorithms into our IT Platform at OutfitteryHow we integrate Machine Learning Algorithms into our IT Platform at Outfittery
How we integrate Machine Learning Algorithms into our IT Platform at OutfitteryOUTFITTERY
1.6K vues81 diapositives
Feature store: Solving anti-patterns in ML-systems par
Feature store: Solving anti-patterns in ML-systemsFeature store: Solving anti-patterns in ML-systems
Feature store: Solving anti-patterns in ML-systemsAndrzej Michałowski
2.5K vues30 diapositives
Ml ops and the feature store with hopsworks, DC Data Science Meetup par
Ml ops and the feature store with hopsworks, DC Data Science MeetupMl ops and the feature store with hopsworks, DC Data Science Meetup
Ml ops and the feature store with hopsworks, DC Data Science MeetupJim Dowling
498 vues42 diapositives
BSSML16 L10. Summary Day 2 Sessions par
BSSML16 L10. Summary Day 2 SessionsBSSML16 L10. Summary Day 2 Sessions
BSSML16 L10. Summary Day 2 SessionsBigML, Inc
303 vues29 diapositives
Continuum Analytics and Python par
Continuum Analytics and PythonContinuum Analytics and Python
Continuum Analytics and PythonTravis Oliphant
4.7K vues94 diapositives
Practical data science par
Practical data sciencePractical data science
Practical data scienceDing Li
142 vues41 diapositives

Similaire à Accelerating Data Science through Feature Platform, Transformers and GenAI(20)

How we integrate Machine Learning Algorithms into our IT Platform at Outfittery par OUTFITTERY
How we integrate Machine Learning Algorithms into our IT Platform at OutfitteryHow we integrate Machine Learning Algorithms into our IT Platform at Outfittery
How we integrate Machine Learning Algorithms into our IT Platform at Outfittery
OUTFITTERY1.6K vues
Ml ops and the feature store with hopsworks, DC Data Science Meetup par Jim Dowling
Ml ops and the feature store with hopsworks, DC Data Science MeetupMl ops and the feature store with hopsworks, DC Data Science Meetup
Ml ops and the feature store with hopsworks, DC Data Science Meetup
Jim Dowling498 vues
BSSML16 L10. Summary Day 2 Sessions par BigML, Inc
BSSML16 L10. Summary Day 2 SessionsBSSML16 L10. Summary Day 2 Sessions
BSSML16 L10. Summary Day 2 Sessions
BigML, Inc303 vues
Practical data science par Ding Li
Practical data sciencePractical data science
Practical data science
Ding Li142 vues
Serverless machine learning architectures at Helixa par Data Science Milan
Serverless machine learning architectures at HelixaServerless machine learning architectures at Helixa
Serverless machine learning architectures at Helixa
Applying linear regression and predictive analytics par MariaDB plc
Applying linear regression and predictive analyticsApplying linear regression and predictive analytics
Applying linear regression and predictive analytics
MariaDB plc248 vues
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure par Fei Chen
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning InfrastructureML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
Fei Chen3.9K vues
ODSC West 2022 – Kitbashing in ML par Bryan Bischof
ODSC West 2022 – Kitbashing in MLODSC West 2022 – Kitbashing in ML
ODSC West 2022 – Kitbashing in ML
Bryan Bischof79 vues
Agile Data Rationalization for Operational Intelligence par Inside Analysis
Agile Data Rationalization for Operational IntelligenceAgile Data Rationalization for Operational Intelligence
Agile Data Rationalization for Operational Intelligence
Inside Analysis1.9K vues
Digital_IOT_(Microsoft_Solution).pdf par ssuserd23711
Digital_IOT_(Microsoft_Solution).pdfDigital_IOT_(Microsoft_Solution).pdf
Digital_IOT_(Microsoft_Solution).pdf
ssuserd237114 vues
Balancing Infrastructure with Optimization and Problem Formulation par Alex D. Gaudio
Balancing Infrastructure with Optimization and Problem FormulationBalancing Infrastructure with Optimization and Problem Formulation
Balancing Infrastructure with Optimization and Problem Formulation
Alex D. Gaudio847 vues
Managers guide to effective building of machine learning products par Gianmario Spacagna
Managers guide to effective building of machine learning productsManagers guide to effective building of machine learning products
Managers guide to effective building of machine learning products
The Data Science Process - Do we need it and how to apply? par Ivo Andreev
The Data Science Process - Do we need it and how to apply?The Data Science Process - Do we need it and how to apply?
The Data Science Process - Do we need it and how to apply?
Ivo Andreev6K vues
The Art Of Performance Tuning - with presenter notes! par Jonathan Ross
The Art Of Performance Tuning - with presenter notes!The Art Of Performance Tuning - with presenter notes!
The Art Of Performance Tuning - with presenter notes!
Jonathan Ross111 vues
Data Engineer's Lunch #85: Designing a Modern Data Stack par Anant Corporation
Data Engineer's Lunch #85: Designing a Modern Data StackData Engineer's Lunch #85: Designing a Modern Data Stack
Data Engineer's Lunch #85: Designing a Modern Data Stack
Doing Analytics Right - Building the Analytics Environment par Tasktop
Doing Analytics Right - Building the Analytics EnvironmentDoing Analytics Right - Building the Analytics Environment
Doing Analytics Right - Building the Analytics Environment
Tasktop144 vues

Dernier

Why and How CloudStack at weSystems - Stephan Bienek - weSystems par
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsShapeBlue
238 vues13 diapositives
Generative AI: Shifting the AI Landscape par
Generative AI: Shifting the AI LandscapeGenerative AI: Shifting the AI Landscape
Generative AI: Shifting the AI LandscapeDeakin University
53 vues55 diapositives
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... par
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...ShapeBlue
166 vues28 diapositives
Ransomware is Knocking your Door_Final.pdf par
Ransomware is Knocking your Door_Final.pdfRansomware is Knocking your Door_Final.pdf
Ransomware is Knocking your Door_Final.pdfSecurity Bootcamp
96 vues46 diapositives
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... par
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...ShapeBlue
126 vues10 diapositives
The Power of Heat Decarbonisation Plans in the Built Environment par
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built EnvironmentIES VE
79 vues20 diapositives

Dernier(20)

Why and How CloudStack at weSystems - Stephan Bienek - weSystems par ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue238 vues
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... par ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue166 vues
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... par ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue126 vues
The Power of Heat Decarbonisation Plans in the Built Environment par IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE79 vues
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And... par ShapeBlue
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
ShapeBlue106 vues
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online par ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue221 vues
Initiating and Advancing Your Strategic GIS Governance Strategy par Safe Software
Initiating and Advancing Your Strategic GIS Governance StrategyInitiating and Advancing Your Strategic GIS Governance Strategy
Initiating and Advancing Your Strategic GIS Governance Strategy
Safe Software176 vues
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... par ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue198 vues
"Surviving highload with Node.js", Andrii Shumada par Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays56 vues
Business Analyst Series 2023 - Week 4 Session 7 par DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10139 vues
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue par ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue138 vues
State of the Union - Rohit Yadav - Apache CloudStack par ShapeBlue
State of the Union - Rohit Yadav - Apache CloudStackState of the Union - Rohit Yadav - Apache CloudStack
State of the Union - Rohit Yadav - Apache CloudStack
ShapeBlue297 vues
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT par ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue206 vues
Business Analyst Series 2023 - Week 4 Session 8 par DianaGray10
Business Analyst Series 2023 -  Week 4 Session 8Business Analyst Series 2023 -  Week 4 Session 8
Business Analyst Series 2023 - Week 4 Session 8
DianaGray10123 vues
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue par ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue222 vues
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... par ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue161 vues
Future of AR - Facebook Presentation par Rob McCarty
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
Rob McCarty64 vues
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R... par ShapeBlue
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
Setting Up Your First CloudStack Environment with Beginners Challenges - MD R...
ShapeBlue173 vues

Accelerating Data Science through Feature Platform, Transformers and GenAI

  • 1. FeatureByte Accelerating Data Science through Feature Platform, Transformers and GenAI Sept 2023 Xavier Conort with the help of Google Bard, ChatGPT and FeatureByte!
  • 2. FeatureByte Agenda 2 ● Define feature engineering ● The features I like to extract from transactional data ● Why feature engineering can be hard ● Pain points solved by Feature Platforms ● The magic of Transformers ● How Generative AI helped FeatureByte build a context-aware automated feature ideation
  • 3. FeatureByte A little about me 3 Actuary Learnt to formulate mathematically insurance problems and solved them with data. Kaggle addict Learnt to have fun with data. Chief Data Scientist, DataRobot Learnt to codify best practices. Co-founder, FeatureByte Solving remaining pain points and planning to have fun with data again!
  • 6. FeatureByte 2 types of features 6 1. Transformed features: a. combine columns, binning… b. model specific: scaling, one-hot encoding, embedding, reducing, … 2. Features from raw data: a. From regular time series b. From transactional data c. From slowly changing dimension tables Well covered by books and blogs, well supported by tools like sklearn and automated by Auto-ML Pretty well covered by books and blogs and automated by Auto-ML, TS package or deep learning The most exciting but challenging feature engineering task.
  • 7. FeatureByte The features I like to extract from transactional data
  • 8. FeatureByte 8 across a variety of signal types and entities associated with the use case 1. Attribute: gets the attribute of the entity at a point-in-time 2. Frequency: counts the occurrence of events 3. Recency: measures the time since the latest event 4. Timing: relates to when the events happened 5. Latest event: attributes of the latest event 6. Stats: aggregates a numeric column's values 7. Diversity: measures the variability of data values 8. Stability: compares recent events to those of earlier periods 9. Similarity: compares an individual entity feature to a group 10. Most frequent: gets the most frequent value of a categorical column 11. Bucketing: aggregates a column's values across categories of a categorical column. 12. Attribute stats: collects stats for an attribute of the entity 13. Attribute change: measures the occurrence or magnitude of changes to slowly changing attributes 14. Location… The MEANINGFUL ones!
  • 9. FeatureByte 9 Dimension table with static description on products Item table with details on purchased products in customer invoices Event table where each row indicates an invoice in a Grocery shop Slowly Changing Dimension table that contains data on customers that change over time. Simple example of transaction data: A Grocery Dataset
  • 10. FeatureByte 10 Invoice x Similarity Customer x Diversity Customer x Attribute change Customer x Similarity
  • 11. FeatureByte 11 Customer x Timing Features inspired by Owen Zhang, Kaggle Grandmaster
  • 12. FeatureByte 12 More than 100 examples in the tutorials of FeatureByte’s free and source available package
  • 14. FeatureByte Feature Engineering with transactional data is Complex and Challenging 14 1. Transactional data can be XXXL 2. Feature space can be infinite 3. High risk of time leakage and training-serving inconsistencies: need to be point-in-time accurate 4. Feature engineering strategy varies with the data semantics 5. Garbage-in Garbage-out
  • 15. FeatureByte 3 skills come into play 15 DOMAIN EXPERTISE DATA ENGINEERING DATA SCIENCE DW SAAS SOURCES MODEL TRAINING MODEL PREDICTION STREAMING
  • 16. FeatureByte … while 3 innovations are already radically simplifying the effort 16 DOMAIN EXPERTISE DATA ENGINEERING DATA SCIENCE Generative AI is getting close to emulate a Domain Expert Feature Platforms are simplifying data engineering Off the Shelf Transformers are revolutionizing NLP
  • 17. FeatureByte Pain points solved by feature platforms
  • 18. FeatureByte 18 Pain Point How a Feature Platform is addressing it High latency in feature computation Pre-computes features and stores them in an online store for low latency Disappointing production accuracy caused by inconsistency of feature values between training and production Ensures point-in-time correctness and training-serving consistency Code for efficient time travel operations in SQL is complex Declarative framework in Python to simplify the creation of features Waiting to experiment with our new feature ideas can be frustrating Automated backfilling to compute features at any point in time in the past Painful search for existing features Feature Catalog to share and reuse features Uncertainties when our new features will be finally deployed Unified solution to ensure smooth transition from experimentation to deployment
  • 21. FeatureByte What do I think about Transformers? 21 1. As a scientist: they are beautiful. 2. As a data scientist: they are awesome. 3. As a MLOps engineer: another transformation to operationalize. 4. As a product manager: they are opening up new horizons!
  • 22. FeatureByte Immediate benefits of Transformers 22 1. Radically simplify a complex task (NLP) 2. In many cases, don’t need any training for great outcomes! Can be used off the shelf to transform raw text columns of transactional data: a. Text embedding, b. Name Entity Recognition, c. Sentiment analysis, d. Keyword extraction, e. Extract specific information in a table structure… 3. I just need to aggregate the outputs in a meaningful way
  • 23. FeatureByte Do I still need Feature Platforms for Transformers? 23 Feature Platforms can improve Transformers operationalization 1. Point-in-Time correctness 2. Low latency thanks to the pre-computation of features that involve transformers 3. Caching (via partial aggregations or other mechanisms) to reduce expensive transformer calls 4. Transformer Library
  • 24. FeatureByte Can Deep Learning also replace traditional feature engineering? 24 Maybe in the future, but less magic expected… 1. I have not seen anything convincing yet apart from: a. regular time series b. sequences of event (successful results for recommendation system) 2. If solutions emerge, it won’t be pre-trained Off the Shelf Transformers like for NLP and you will need a lot of data to train them to get meaningful results. 3. And for many of us, it may not pass the model validation process: a. not explainable enough b. and maybe not robust enough if your data is not XXXL
  • 25. FeatureByte 25 "Semantics is to artificial intelligence as physics is to engineering." John McCarthy, considered to be one of the most important figures in the history of artificial intelligence "Creativity is just connecting things." Steve Jobs So why do I think Transformers are revolutionary?
  • 26. FeatureByte How Generative AI can help feature engineering
  • 27. FeatureByte Areas where Generative AI is already doing great 27 Generative AI: 1. is already very familiar with data modeling concepts 2. can recognize the semantic of the data columns well beyond numeric and string if meaningful names or good descriptions are provided 3. already possesses deep domain knowledge that can help a. take some important decisions in the feature engineering process b. assess how relevant a feature is to a use case
  • 28. FeatureByte How FeatureByte’s Copilot is currently leveraging GenAI 28 Description of Data (tables, columns, entities) Data Semantics & Domain Insights Feature Ideation Engine Feature code & descriptions Relevance Score and Explanation GenAI GenAI Context-aware Feature suggestions Description of Use Case (domain, context, target) that are interpretable and relevant! And editable.
  • 30. FeatureByte Generative AI is already familiar with data modeling concepts
  • 32. FeatureByte Knows what is an entity which is a key concept in feature engineering 32
  • 33. FeatureByte Generative AI can recognize data columns semantics
  • 34. FeatureByte Make the difference between different types of numeric columns 34
  • 35. FeatureByte Generative AI can help design your feature engineering strategy
  • 36. FeatureByte Example: Can recommend strategy to filter data 36
  • 37. FeatureByte Generative AI can assess the feature relevance to a use case
  • 39. FeatureByte … even for complex features 39
  • 40. FeatureByte … and is sharing its domain knowledge during the process 40
  • 42. FeatureByte The 3 innovations are accelerating Data Science by 42 1. Reducing time-to-value thanks to: a. quicker experimentation, and smooth transition to deployment 2. Increasing production accuracy thanks to: a. training / serving consistency b. transformers c. context aware feature generation 3. Increasing Transparency thanks to: a. Plain English descriptions of features b. Relevance explanations to a use case
  • 43. FeatureByte and are opening up new horizons 43 New opportunities to: ● bridge the gap between features and non-technical stakeholders and contribute to better Model Explainability and stronger regulation ● boost your creativity and domain knowledge ● build solutions and not only models! ● and more time to explore other advanced solutions like causal modelling + A/B testing that may be better addressing your use cases
  • 44. FeatureByte Thanks! If you are curious to know more about Featurebyte White Paper on FeatureByte Copilot Video of FeatureByte Enterprise Github Repo of the free and source available engine: https://github.com/featurebyte/featurebyte Documentation: https://docs.featurebyte.com/0.5/