SlideShare a Scribd company logo
Query Personalization
(Subscriber Friendly)
Typical Pub/Sub
• All subscriptions are considered
equally
• Just matching a publication
whenever there’s a satisfied
subscription
Top-k Pub/Sub
• Users can express some events are
more important than others by
ranking subscriptions
• A publication is scored against a
satisfied subscription space
Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&T
Item = Smartphone
Carrier = AT&T
Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&T
Item = Smartphone
Carrier = AT&T
How a publication is covered by a subscription?
Let’s assume,
oSubscription (S) = {b1 Ʌ b2 Ʌ ……………….. Ʌ bq}
oPublication (P) = {a1 Ʌ a2 Ʌ ………………….Ʌ ap}
oP is covered by S, iff ϔbi ϵ S, then Ѐaj ϵ P
a1,a2,a3,………….....,ap
b1,b2,…………………,bq
Not covered
a1,a2,a3,………….....,ap
b1,b2,b3
b1,b2,b3,b4
b1,b2,……..bj
Covered!
Worst case scenario
• Bob subscribed to all matching subscriptions
Item = Smartphone
Item = Smartphone
Carrier = AT&T Carrier = AT&T
Item = Smartphone
Carrier = AT&T
OS = Android OS = Android
OS = Android
Carrier = AT&T
Item = Smartphone
OS = Android
{φ}
|P| = n = 3
|S| = 2 𝑛 = 23
Item = Smartphone
Carrier = AT&T
OS = Android Subscription Space
How a subscription is covered by a subscription?
• Can be represented using a preference graph
• Given two subscriptions 𝑆𝑖 and 𝑆𝑗, 𝑆𝑖 covers 𝑆𝑗, iff,
• for each publication p
• s.t. 𝑆𝑗 covers p,
• it holds that 𝑆𝑖 covers p
• Node ≈ Subscription
Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&TOS = Android
OS = Android
Carrier = AT&T
Item = Smartphone
OS = Android
Item = Smartphone
Carrier = AT&T
OS = Android
How to assign preference over subscription?
Quantitative approach
• Assign interest to each
subscription
Qualitative approach
• Specify the interest between two
subscriptions
Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&T
0.7
0.5
0.9
Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&T
>
<
Interesting Question
• How can we compare quantitative & qualitative models, which are
used by a specific user?
• For the moment, Let’s go with quantitative approach
Worst case scenario
• Bob subscribed to all matching subscriptions
Item = Smartphone
Carrier = AT&T
OS = Android Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&TOS = Android
OS = Android
Carrier = AT&T
Item = Smartphone
OS = Android
Item = Smartphone
Carrier = AT&T
OS = Android
0.7 0.5 0.9
0.8 0.6 0.9
0.8
Pref_score = Aggregation_op (score1,…….score8);
s.t. Aggregation_op ϵ {Max, Min, Average} Subscription Space
Preference graph performance
• Can prune useless subscriptions when walking along the graph for a
publication matching
• But in the worst case when nodes grow exponentially,
• It becomes bottleneck, when
• We have many users associated with each subscription
• The subscriptions are supported by many operators
• Attr {=,!=,>,<,…etc.} value
• Proposed solution
• Reduce the size of subscription space!
So How? (Open to discuss)
• We stick with the most specific subscription for a particular user that
can cover most number of other subscriptions
Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&TOS = Android
OS = Android
Carrier = AT&T
Item = Smartphone
OS = Android
Item = Smartphone
Carrier = AT&T
OS = Android
Subscription Space
So How? (Open to discuss)
• Instead of assign a score to the whole subscription, we assign a
comparison score to each attribute-value tuple
Bob
Item = Smartphone (0.4)
Carrier = AT&T (0.4)
OS = Android (0.2)
Subscription Space
How to assign comparison scores?
• Static way
• When user assigns scores, we
keep them as finalized score for
the subscription
• Dynamic way
• When user assigns scores, we
change them based on his
previous score assignment
Static assignment (On user demand)
Item = Smartphone (0.7)
Item = Smartphone (0.4)
Carrier = AT&T (0.4)
Item = Smartphone (0.4)
OS = Android (0.2)
Subscription Space
Dynamic assignment (Statistical model)
Item = Smartphone (0.7)
Item = Smartphone (0.4)
(operation[0.7, 0.4])
Carrier = AT&T (0.4)
Item = Smartphone (0.3)
(operation[0.7, 0.3])
OS = Android (0.3)
Subscription Space
Goal: In worst case
• Minimum number of most specific subscriptions can represent all
others, based on tuples with assigned scores
Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&TOS = Android
OS = Android
Carrier = AT&T
Item = Smartphone
OS = Android
Item = Smartphone (0.4)
Carrier = AT&T (0.3)
OS = Android (0.1)
Subscription Space
But what about the publications’ cover relation?
Let’s recap,
oSubscription (S) = {b1 Ʌ b2 Ʌ ……………….. Ʌ bq}
oPublication (P) = {a1 Ʌ a2 Ʌ ………………….Ʌ ap}
oP is covered by S, iff ϔbi ϵ S, then Ѐaj ϵ P
a1,a2,a3,………….....,ap
b1,b2,…………………,bq
Not covered!
a1,a2,a3,………….....,ap
b1,b2,b3
b1,b2,b3,b4
b1,b2,……..bj
Covered!
Worst case scenario
• Bob subscribed to all matching subscriptions
Item = Smartphone
Item = Smartphone
Carrier = AT&T Carrier = AT&T
Item = Smartphone
Carrier = AT&T
OS = Android OS = Android
OS = Android
Carrier = AT&T
Item = Smartphone
OS = Android
{φ}
|P| = n = 3
|S| = 2 𝑛 = 23
Item = Smartphone
Carrier = AT&T
OS = Android
Subscription Space
Let’s change it a bit
• Recap!
oSubscription (S) = {b1 Ʌ b2 Ʌ ……………….. Ʌ bq}
oPublication (P) = {a1 Ʌ a2 Ʌ ………………….Ʌ ap}
oP is covered by S, iff at least Ѐbi ϵ S, then Ѐaj ϵ P
a1,a2,a3,………….....,ap
b1,b2,…………………,bq
Covered!
a1,a2,a3,………….....,ap
b1,b2,b3
b1,b2,b3,b4
b1,b2,……..bj
Covered!
Worst case scenario
• Now Bob’s single subscription is open for all partial matching
publications
Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&T
OS = Android
OS = Android
Carrier = AT&T
Item = Smartphone
OS = Android
Item = Smartphone
Carrier = AT&T
OS = Android….
Publication Space
Item = Smartphone
Item = Smartphone
Carrier = AT&T
Carrier = AT&TOS = Android
OS = Android
Carrier = AT&T
Item = Smartphone
OS = Android
Item = Smartphone (0.4)
Carrier = AT&T (0.3)
OS = Android (0.1)
Subscription Space
Correctness
• Our score assignment to the subscription tuples
• Does the trick?
• Should look out when applying other metrics too
• Publications’ diversification
• Minimize redundancy
• Source authority
• Reliable publication sources; Ex. Top seller
• Freshness
• Event windows
• To increase the novelty of delivered publications
REFERENCES
1) M. Drosou, E. Pitoura, and K. Stefanidis, “Preferential Publish /
Subscribe,” in Personalized Access, Profile Management, and
Context Awareness: Databases, 2008, pp. 9–16.
2) M. Drosou, K. Stefanidis, and E. Pitoura, “Preference-aware
publish/subscribe delivery with diversity,” Proc. Third ACM Int. Conf.
Distrib. Event-Based Syst. - DEBS ’09, p. 1, 2009.
3) M. Drosou, “Ranked Publish / Subscribe Delivery Extended abstract
for DEBS PhD Workshop,” PhD Work. conjunction with DEBS 2009
Conf., 2009.

More Related Content

Viewers also liked

Building Oracle BIEE (OBIEE) Reports, Dashboards
Building Oracle BIEE (OBIEE) Reports, DashboardsBuilding Oracle BIEE (OBIEE) Reports, Dashboards
Building Oracle BIEE (OBIEE) Reports, Dashboards
iWare Logic Technologies Pvt. Ltd.
 
Planning learn step by step
Planning learn step by stepPlanning learn step by step
Planning learn step by step
ksrajakumar
 
Oracle R12 Multi org ivas
Oracle R12 Multi org ivasOracle R12 Multi org ivas
Oracle R12 Multi org ivas
Ali Ibrahim
 
Oracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System AdministrationOracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System Administration
Mozammel Hoque
 
Oracle Fixed assets ivas
Oracle Fixed assets ivasOracle Fixed assets ivas
Oracle Fixed assets ivas
Ali Ibrahim
 
Oracle General ledger ivas
Oracle General ledger ivasOracle General ledger ivas
Oracle General ledger ivas
Ali Ibrahim
 
Oracle inventory R12 Setup Guide
Oracle inventory R12 Setup GuideOracle inventory R12 Setup Guide
Oracle inventory R12 Setup Guide
Ahmed Elshayeb
 
Oracle Payables R12 ivas
Oracle Payables R12 ivasOracle Payables R12 ivas
Oracle Payables R12 ivas
Ali Ibrahim
 
Oracle Inventory Complete Implementation Setups.
Oracle Inventory Complete Implementation Setups.Oracle Inventory Complete Implementation Setups.
Oracle Inventory Complete Implementation Setups.
Muhammad Mansoor Ali
 
Oracle Purchasing R12 Setup Steps
Oracle Purchasing R12 Setup StepsOracle Purchasing R12 Setup Steps
Oracle Purchasing R12 Setup Steps
Ahmed Elshayeb
 
Oracle Purchasing ivas
Oracle Purchasing ivasOracle Purchasing ivas
Oracle Purchasing ivas
Ali Ibrahim
 
Oracle Receivables ivas
Oracle Receivables ivasOracle Receivables ivas
Oracle Receivables ivas
Ali Ibrahim
 

Viewers also liked (12)

Building Oracle BIEE (OBIEE) Reports, Dashboards
Building Oracle BIEE (OBIEE) Reports, DashboardsBuilding Oracle BIEE (OBIEE) Reports, Dashboards
Building Oracle BIEE (OBIEE) Reports, Dashboards
 
Planning learn step by step
Planning learn step by stepPlanning learn step by step
Planning learn step by step
 
Oracle R12 Multi org ivas
Oracle R12 Multi org ivasOracle R12 Multi org ivas
Oracle R12 Multi org ivas
 
Oracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System AdministrationOracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System Administration
 
Oracle Fixed assets ivas
Oracle Fixed assets ivasOracle Fixed assets ivas
Oracle Fixed assets ivas
 
Oracle General ledger ivas
Oracle General ledger ivasOracle General ledger ivas
Oracle General ledger ivas
 
Oracle inventory R12 Setup Guide
Oracle inventory R12 Setup GuideOracle inventory R12 Setup Guide
Oracle inventory R12 Setup Guide
 
Oracle Payables R12 ivas
Oracle Payables R12 ivasOracle Payables R12 ivas
Oracle Payables R12 ivas
 
Oracle Inventory Complete Implementation Setups.
Oracle Inventory Complete Implementation Setups.Oracle Inventory Complete Implementation Setups.
Oracle Inventory Complete Implementation Setups.
 
Oracle Purchasing R12 Setup Steps
Oracle Purchasing R12 Setup StepsOracle Purchasing R12 Setup Steps
Oracle Purchasing R12 Setup Steps
 
Oracle Purchasing ivas
Oracle Purchasing ivasOracle Purchasing ivas
Oracle Purchasing ivas
 
Oracle Receivables ivas
Oracle Receivables ivasOracle Receivables ivas
Oracle Receivables ivas
 

More from Sameera Horawalavithana

Data-driven Studies on Social Networks: Privacy and Simulation
Data-driven Studies on Social Networks: Privacy and SimulationData-driven Studies on Social Networks: Privacy and Simulation
Data-driven Studies on Social Networks: Privacy and Simulation
Sameera Horawalavithana
 
Drivers of Polarized Discussions on Twitter during Venezuela Political Crisis
 Drivers of Polarized Discussions on Twitter during Venezuela Political Crisis Drivers of Polarized Discussions on Twitter during Venezuela Political Crisis
Drivers of Polarized Discussions on Twitter during Venezuela Political Crisis
Sameera Horawalavithana
 
Twitter Is the Megaphone of Cross-platform Messaging on the White Helmets
 Twitter Is the Megaphone of Cross-platform Messaging on the White Helmets Twitter Is the Megaphone of Cross-platform Messaging on the White Helmets
Twitter Is the Megaphone of Cross-platform Messaging on the White Helmets
Sameera Horawalavithana
 
Behind the Mask: Understanding the Structural Forces That Make Social Graphs ...
Behind the Mask: Understanding the Structural Forces That Make Social Graphs ...Behind the Mask: Understanding the Structural Forces That Make Social Graphs ...
Behind the Mask: Understanding the Structural Forces That Make Social Graphs ...
Sameera Horawalavithana
 
Mentions of Security Vulnerabilities on Reddit, Twitter and GitHub
Mentions of Security Vulnerabilities on Reddit, Twitter and GitHubMentions of Security Vulnerabilities on Reddit, Twitter and GitHub
Mentions of Security Vulnerabilities on Reddit, Twitter and GitHub
Sameera Horawalavithana
 
[MLNS | NetSci] A Generative/ Discriminative Approach to De-construct Cascadi...
[MLNS | NetSci] A Generative/ Discriminative Approach to De-construct Cascadi...[MLNS | NetSci] A Generative/ Discriminative Approach to De-construct Cascadi...
[MLNS | NetSci] A Generative/ Discriminative Approach to De-construct Cascadi...
Sameera Horawalavithana
 
[Compex Network 18] Diversity, Homophily, and the Risk of Node Re-identificat...
[Compex Network 18] Diversity, Homophily, and the Risk of Node Re-identificat...[Compex Network 18] Diversity, Homophily, and the Risk of Node Re-identificat...
[Compex Network 18] Diversity, Homophily, and the Risk of Node Re-identificat...
Sameera Horawalavithana
 
Duplicate Detection on Hoaxy Dataset
Duplicate Detection on Hoaxy DatasetDuplicate Detection on Hoaxy Dataset
Duplicate Detection on Hoaxy Dataset
Sameera Horawalavithana
 
Dancing with Stream Processing
Dancing with Stream ProcessingDancing with Stream Processing
Dancing with Stream Processing
Sameera Horawalavithana
 
[ARM 15 | ACM/IFIP/USENIX Middleware 2015] Research Paper Presentation
[ARM 15 | ACM/IFIP/USENIX Middleware 2015] Research Paper Presentation [ARM 15 | ACM/IFIP/USENIX Middleware 2015] Research Paper Presentation
[ARM 15 | ACM/IFIP/USENIX Middleware 2015] Research Paper Presentation
Sameera Horawalavithana
 
Be Elastic: Leapset Innovation session 06-08-2015
Be Elastic: Leapset Innovation session 06-08-2015Be Elastic: Leapset Innovation session 06-08-2015
Be Elastic: Leapset Innovation session 06-08-2015
Sameera Horawalavithana
 
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
Sameera Horawalavithana
 
[Undergraduate Thesis] Interim presentation on A Publish/Subscribe Model for ...
[Undergraduate Thesis] Interim presentation on A Publish/Subscribe Model for ...[Undergraduate Thesis] Interim presentation on A Publish/Subscribe Model for ...
[Undergraduate Thesis] Interim presentation on A Publish/Subscribe Model for ...
Sameera Horawalavithana
 
Locality sensitive hashing
Locality sensitive hashingLocality sensitive hashing
Locality sensitive hashing
Sameera Horawalavithana
 
Zipf distribution
Zipf distributionZipf distribution
Zipf distribution
Sameera Horawalavithana
 
Dancing with publish/subscribe
Dancing with publish/subscribeDancing with publish/subscribe
Dancing with publish/subscribe
Sameera Horawalavithana
 
Talk on Spotify: Large Scale, Low Latency, P2P Music-on-Demand Streaming
Talk on Spotify: Large Scale, Low Latency, P2P Music-on-Demand StreamingTalk on Spotify: Large Scale, Low Latency, P2P Music-on-Demand Streaming
Talk on Spotify: Large Scale, Low Latency, P2P Music-on-Demand Streaming
Sameera Horawalavithana
 

More from Sameera Horawalavithana (17)

Data-driven Studies on Social Networks: Privacy and Simulation
Data-driven Studies on Social Networks: Privacy and SimulationData-driven Studies on Social Networks: Privacy and Simulation
Data-driven Studies on Social Networks: Privacy and Simulation
 
Drivers of Polarized Discussions on Twitter during Venezuela Political Crisis
 Drivers of Polarized Discussions on Twitter during Venezuela Political Crisis Drivers of Polarized Discussions on Twitter during Venezuela Political Crisis
Drivers of Polarized Discussions on Twitter during Venezuela Political Crisis
 
Twitter Is the Megaphone of Cross-platform Messaging on the White Helmets
 Twitter Is the Megaphone of Cross-platform Messaging on the White Helmets Twitter Is the Megaphone of Cross-platform Messaging on the White Helmets
Twitter Is the Megaphone of Cross-platform Messaging on the White Helmets
 
Behind the Mask: Understanding the Structural Forces That Make Social Graphs ...
Behind the Mask: Understanding the Structural Forces That Make Social Graphs ...Behind the Mask: Understanding the Structural Forces That Make Social Graphs ...
Behind the Mask: Understanding the Structural Forces That Make Social Graphs ...
 
Mentions of Security Vulnerabilities on Reddit, Twitter and GitHub
Mentions of Security Vulnerabilities on Reddit, Twitter and GitHubMentions of Security Vulnerabilities on Reddit, Twitter and GitHub
Mentions of Security Vulnerabilities on Reddit, Twitter and GitHub
 
[MLNS | NetSci] A Generative/ Discriminative Approach to De-construct Cascadi...
[MLNS | NetSci] A Generative/ Discriminative Approach to De-construct Cascadi...[MLNS | NetSci] A Generative/ Discriminative Approach to De-construct Cascadi...
[MLNS | NetSci] A Generative/ Discriminative Approach to De-construct Cascadi...
 
[Compex Network 18] Diversity, Homophily, and the Risk of Node Re-identificat...
[Compex Network 18] Diversity, Homophily, and the Risk of Node Re-identificat...[Compex Network 18] Diversity, Homophily, and the Risk of Node Re-identificat...
[Compex Network 18] Diversity, Homophily, and the Risk of Node Re-identificat...
 
Duplicate Detection on Hoaxy Dataset
Duplicate Detection on Hoaxy DatasetDuplicate Detection on Hoaxy Dataset
Duplicate Detection on Hoaxy Dataset
 
Dancing with Stream Processing
Dancing with Stream ProcessingDancing with Stream Processing
Dancing with Stream Processing
 
[ARM 15 | ACM/IFIP/USENIX Middleware 2015] Research Paper Presentation
[ARM 15 | ACM/IFIP/USENIX Middleware 2015] Research Paper Presentation [ARM 15 | ACM/IFIP/USENIX Middleware 2015] Research Paper Presentation
[ARM 15 | ACM/IFIP/USENIX Middleware 2015] Research Paper Presentation
 
Be Elastic: Leapset Innovation session 06-08-2015
Be Elastic: Leapset Innovation session 06-08-2015Be Elastic: Leapset Innovation session 06-08-2015
Be Elastic: Leapset Innovation session 06-08-2015
 
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
 
[Undergraduate Thesis] Interim presentation on A Publish/Subscribe Model for ...
[Undergraduate Thesis] Interim presentation on A Publish/Subscribe Model for ...[Undergraduate Thesis] Interim presentation on A Publish/Subscribe Model for ...
[Undergraduate Thesis] Interim presentation on A Publish/Subscribe Model for ...
 
Locality sensitive hashing
Locality sensitive hashingLocality sensitive hashing
Locality sensitive hashing
 
Zipf distribution
Zipf distributionZipf distribution
Zipf distribution
 
Dancing with publish/subscribe
Dancing with publish/subscribeDancing with publish/subscribe
Dancing with publish/subscribe
 
Talk on Spotify: Large Scale, Low Latency, P2P Music-on-Demand Streaming
Talk on Spotify: Large Scale, Low Latency, P2P Music-on-Demand StreamingTalk on Spotify: Large Scale, Low Latency, P2P Music-on-Demand Streaming
Talk on Spotify: Large Scale, Low Latency, P2P Music-on-Demand Streaming
 

Recently uploaded

How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 

Query personalization

  • 2. Typical Pub/Sub • All subscriptions are considered equally • Just matching a publication whenever there’s a satisfied subscription Top-k Pub/Sub • Users can express some events are more important than others by ranking subscriptions • A publication is scored against a satisfied subscription space Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&T Item = Smartphone Carrier = AT&T Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&T Item = Smartphone Carrier = AT&T
  • 3. How a publication is covered by a subscription? Let’s assume, oSubscription (S) = {b1 Ʌ b2 Ʌ ……………….. Ʌ bq} oPublication (P) = {a1 Ʌ a2 Ʌ ………………….Ʌ ap} oP is covered by S, iff ϔbi ϵ S, then Ѐaj ϵ P a1,a2,a3,………….....,ap b1,b2,…………………,bq Not covered a1,a2,a3,………….....,ap b1,b2,b3 b1,b2,b3,b4 b1,b2,……..bj Covered!
  • 4. Worst case scenario • Bob subscribed to all matching subscriptions Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&T Item = Smartphone Carrier = AT&T OS = Android OS = Android OS = Android Carrier = AT&T Item = Smartphone OS = Android {φ} |P| = n = 3 |S| = 2 𝑛 = 23 Item = Smartphone Carrier = AT&T OS = Android Subscription Space
  • 5. How a subscription is covered by a subscription? • Can be represented using a preference graph • Given two subscriptions 𝑆𝑖 and 𝑆𝑗, 𝑆𝑖 covers 𝑆𝑗, iff, • for each publication p • s.t. 𝑆𝑗 covers p, • it holds that 𝑆𝑖 covers p • Node ≈ Subscription Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&TOS = Android OS = Android Carrier = AT&T Item = Smartphone OS = Android Item = Smartphone Carrier = AT&T OS = Android
  • 6. How to assign preference over subscription? Quantitative approach • Assign interest to each subscription Qualitative approach • Specify the interest between two subscriptions Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&T 0.7 0.5 0.9 Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&T > <
  • 7. Interesting Question • How can we compare quantitative & qualitative models, which are used by a specific user? • For the moment, Let’s go with quantitative approach
  • 8. Worst case scenario • Bob subscribed to all matching subscriptions Item = Smartphone Carrier = AT&T OS = Android Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&TOS = Android OS = Android Carrier = AT&T Item = Smartphone OS = Android Item = Smartphone Carrier = AT&T OS = Android 0.7 0.5 0.9 0.8 0.6 0.9 0.8 Pref_score = Aggregation_op (score1,…….score8); s.t. Aggregation_op ϵ {Max, Min, Average} Subscription Space
  • 9. Preference graph performance • Can prune useless subscriptions when walking along the graph for a publication matching • But in the worst case when nodes grow exponentially, • It becomes bottleneck, when • We have many users associated with each subscription • The subscriptions are supported by many operators • Attr {=,!=,>,<,…etc.} value • Proposed solution • Reduce the size of subscription space!
  • 10. So How? (Open to discuss) • We stick with the most specific subscription for a particular user that can cover most number of other subscriptions Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&TOS = Android OS = Android Carrier = AT&T Item = Smartphone OS = Android Item = Smartphone Carrier = AT&T OS = Android Subscription Space
  • 11. So How? (Open to discuss) • Instead of assign a score to the whole subscription, we assign a comparison score to each attribute-value tuple Bob Item = Smartphone (0.4) Carrier = AT&T (0.4) OS = Android (0.2) Subscription Space
  • 12. How to assign comparison scores? • Static way • When user assigns scores, we keep them as finalized score for the subscription • Dynamic way • When user assigns scores, we change them based on his previous score assignment
  • 13. Static assignment (On user demand) Item = Smartphone (0.7) Item = Smartphone (0.4) Carrier = AT&T (0.4) Item = Smartphone (0.4) OS = Android (0.2) Subscription Space
  • 14. Dynamic assignment (Statistical model) Item = Smartphone (0.7) Item = Smartphone (0.4) (operation[0.7, 0.4]) Carrier = AT&T (0.4) Item = Smartphone (0.3) (operation[0.7, 0.3]) OS = Android (0.3) Subscription Space
  • 15. Goal: In worst case • Minimum number of most specific subscriptions can represent all others, based on tuples with assigned scores Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&TOS = Android OS = Android Carrier = AT&T Item = Smartphone OS = Android Item = Smartphone (0.4) Carrier = AT&T (0.3) OS = Android (0.1) Subscription Space
  • 16. But what about the publications’ cover relation? Let’s recap, oSubscription (S) = {b1 Ʌ b2 Ʌ ……………….. Ʌ bq} oPublication (P) = {a1 Ʌ a2 Ʌ ………………….Ʌ ap} oP is covered by S, iff ϔbi ϵ S, then Ѐaj ϵ P a1,a2,a3,………….....,ap b1,b2,…………………,bq Not covered! a1,a2,a3,………….....,ap b1,b2,b3 b1,b2,b3,b4 b1,b2,……..bj Covered!
  • 17. Worst case scenario • Bob subscribed to all matching subscriptions Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&T Item = Smartphone Carrier = AT&T OS = Android OS = Android OS = Android Carrier = AT&T Item = Smartphone OS = Android {φ} |P| = n = 3 |S| = 2 𝑛 = 23 Item = Smartphone Carrier = AT&T OS = Android Subscription Space
  • 18. Let’s change it a bit • Recap! oSubscription (S) = {b1 Ʌ b2 Ʌ ……………….. Ʌ bq} oPublication (P) = {a1 Ʌ a2 Ʌ ………………….Ʌ ap} oP is covered by S, iff at least Ѐbi ϵ S, then Ѐaj ϵ P a1,a2,a3,………….....,ap b1,b2,…………………,bq Covered! a1,a2,a3,………….....,ap b1,b2,b3 b1,b2,b3,b4 b1,b2,……..bj Covered!
  • 19. Worst case scenario • Now Bob’s single subscription is open for all partial matching publications Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&T OS = Android OS = Android Carrier = AT&T Item = Smartphone OS = Android Item = Smartphone Carrier = AT&T OS = Android…. Publication Space Item = Smartphone Item = Smartphone Carrier = AT&T Carrier = AT&TOS = Android OS = Android Carrier = AT&T Item = Smartphone OS = Android Item = Smartphone (0.4) Carrier = AT&T (0.3) OS = Android (0.1) Subscription Space
  • 20. Correctness • Our score assignment to the subscription tuples • Does the trick? • Should look out when applying other metrics too • Publications’ diversification • Minimize redundancy • Source authority • Reliable publication sources; Ex. Top seller • Freshness • Event windows • To increase the novelty of delivered publications
  • 21. REFERENCES 1) M. Drosou, E. Pitoura, and K. Stefanidis, “Preferential Publish / Subscribe,” in Personalized Access, Profile Management, and Context Awareness: Databases, 2008, pp. 9–16. 2) M. Drosou, K. Stefanidis, and E. Pitoura, “Preference-aware publish/subscribe delivery with diversity,” Proc. Third ACM Int. Conf. Distrib. Event-Based Syst. - DEBS ’09, p. 1, 2009. 3) M. Drosou, “Ranked Publish / Subscribe Delivery Extended abstract for DEBS PhD Workshop,” PhD Work. conjunction with DEBS 2009 Conf., 2009.