Virtual Lab
A platform for online sampling, surveying and interventions
Dante Donati, UPF and BGSE Nandan Rao, UAB and BGSE
Outline
Introduction
What is Virtual Lab?
Why Virtual Lab?
Gathering survey data necessarily involves two distinct steps:
Virtual Lab is an integrated software platform for performing both steps via:
Virtual Lab Process
Recruit
Survey (chat)
Intervene (within chat!)
Monitor
How can I �use it?
An example of how Virtual Lab could be used for the impact evaluation of a social media campaign.
A question
What is the medium-term impact of a social-media information campaign on vaccine confidence and adoption for those who saw it?
COVID-19 Vaccine
C
A COVID-19 vaccine is available today.
It is safe and can save millions of lives.
Get it now!
Traditional method #1: A lab experiment
Method. Gather a group of willing participants (undergraduates, MTurk, etc.), split them into control and treatment group, show the advertisement to the treatment group and give a questionnaire to everybody.
Problems.
Traditional method #2: A geographic experiment
Method. Create treatment and control regions, run the ads in treatment regions and not in control regions, and administer a survey to a sample drawn from all regions.
Problems.
The integrated Virtual Lab method
The integrated Virtual Lab method
This design is already much better than traditional methods:
But the treatment effects are still not necessarily transportable to the target population, as the study sample can differ from it.
Going further: building representative samples
With Virtual Lab
Virtual Lab is an integrated platform to make that process easy:
Case Studies and Numbers
RCT on Gender attitudes in India
Q: Do short video-clips delivered through social media change gender attitudes and promote positive behaviors towards VAW?
Quasi-behavioral outcomes: clicks and time spent on gender-related websites, profile picture updates with a frame saying “End VAW”
Recruiting ad campaign
18-to-24-years-old urban youth in Northern India
Stratification by gender
Ad banner with lottery prizes �(5 smartphones or a selfie with Bollywood celebrity) to those completing the full study
Timeline
15-min
baseline survey
Treatment 1:
Drama
25 min (3 episodes)
Treatment 2:
Documentary
20 min (7 episodes)
15-min
short-term survey
15-min medium-term
survey
1 week
1 week
4 months
Facebook recruiting
Control:
Placebo
25 min (4 episodes)
time
1 to 2 weeks
Cluster RCT on Malaria incidence in India
Q: What are the medium-term impacts of a 3-month Malaria-prevention social media marketing campaign on
Adaptive ad optimization
By the numbers
| India (Gender) | Italy (Covid-19) | India (Malaria) |
Clicks on ad | 33,000 | 3,500 | 302,000 |
Cost per click (US$) | 0.66 | 0.10 | 0.20 |
Incentives | Lottery ticket | Amazon voucher | Mobile credit |
Stratification of recruiting campaign | Yes | No | Yes |
Type of study | Longitudinal (RCT) | Longitudinal | Longitudinal (RCT) |
Individuals’ participation time | 60 minutes | 60 minutes | 40 minutes |
Length of study (base-to-endline) | 4 months | 3 months | 6 months |
Initial sample size | 5,200 | 1,220 | 18,800 |
Final sample size | 620 (12%) | 600 (50%) | - |
What drives effective sample and cost differences
The Component Parts
Recruiting
Ad platforms
Recruit participants via digital ad platforms (Facebook/Google).
Platforms allow ads to be targeted based on (many) demographic variables.
Stratified recruiting: quotas
Virtual Lab creates separate ad sets for the the defined strata.
Quota per stratum are defined explicitly by demographic variables available on the platform or implicitly by survey answers.
strata:
- name: young-men
targeting:
age_min: 18
age_max: 40
gender: male
size: 100
- name: old-men
targeting:
age_min: 41
gender: male
size: 50
Cluster population
Geographic regions can also be defined as strata.
Define regions by the administrative regions available in the ad platform or latitude/longitude/radius.
Continuous optimization
As respondents are recruited, Virtual Lab’s servers continuously place new ads, remove old ads, and update ad spending to fill the quota for each stratum.
Virtual
Lab’s Servers
Ad Platform’s Servers
real time
Auto-generated Facebook ad sets
Recruiting: why custom ad optimization?
The built-in ad optimization in digital ad platforms are designed to maximize a value for your business under the assumption that diversity of customers is not in-and-of-itself valuable.
In research, this is not the case. The value (information gain) of an individual changes with how many similar individuals we already have.
Surveying
Survey modes
Virtual Lab can be extended to work with any online survey:
We will specifically discuss the Messenger chatbot and make a case for chatbot surveys.
Why chat?
User Experience - Respondents already know how to chat, which implies lower friction.
Creativity - Chat allows for new kinds of studies, including higher-frequency interactions, seamless interventions.
Intimacy - Chat provides a personal, private space where respondents can safely discuss sensitive topics.
A one-question survey via chat
Chat lends itself naturally to repeated (longitudinal) interaction
Integrate External Processes
Chat makes it easy to integrate a custom, complex user flow for external processes, like payments.
Shown is the flow for sending incentive payments via Virtual Lab’s integration with Reloadly, a mobile topup platform.
Measure information-seeking
Send users links to external websites.
Websites are viewable via “webview” within Messenger.
Track whether or not the user clicked on the link and how long they spent.
Study Archetypes
Individual-level RCTs
Community-level (clustered) RCTs
Survey-response targeted ad campaign
This could be performed continuously so that the audience is updated in real time (e.g., vaccination campaign aimed at targeting those who haven’t yet been vaccinated).
Quick population surveys with real-time visibility
Virtual Lab can be used to quickly generate a set of responses for a repeated cross-sectional survey that is representative across any set of defined variables.
Monitoring tools can be used by governments or organizations to track responses in real time (continuous recruitment, continuous surveying, continuous data monitoring).
High frequency panels with real-time visibility
Virtual Lab can be used to quickly generate a panel of (representative) respondents.
Respondents can be asked questions at high frequency (i.e. experience sampling: daily or weekly questions).
Monitoring tools can be used by governments or organizations to track responses over time.
Monitoring in real time
Future Developments
Robustness: selection bias due to acquisition cost
One latent variable that drives selection bias in online advertising is the cost to place an ad in front of an individual.
This cost is different for every person and, by using automated bidding, we place ads in front of the “cheapest” individuals.
Does this latent cost variable interact with a specific treatment or outcome? Automated procedures to determine that would be helpful.
Stratified + Adaptive Randomization
Stratified randomization into treatment arms optimizes population balance based on answers to initial questions.
Adaptive randomization picks treatment/control status based on results calculated so far to maximize statistical power.
Appendix
Software & Security
Data Encryption
All data in-flight into and out of the cluster is encrypted via HTTPS (including connections to Facebook and Virtual Lab dashboard).
Encryption for data at rest inside the cluster is provided at disk-level by the block storage of public cloud provider (i.e. Google Cloud).
Downloading of responses encrypted via HTTPS. Users are responsible to store data securely on their systems for downstream analysis.
Scalable Architecture
Modern, open-source software stack: Docker, Node.js, Go, Kafka, CockroachDB, Kubernetes, Prometheus, Grafana.
Evented system with parallelism built around Kafka partitions (Kafka is an open source message bus used by companies such as LinkedIn, Netflix, Wikimedia).
System scales horizontally with servers in Kubernetes cluster.
Open Source Code
All code is open source: https://github.com/vlab-research
Application packaged as Helm app for one-file config deployment into any Kubernetes cluster.
Interested in deploying your own? Get in touch! We’d love to help you.
Covid-19 and Stereotypes in Italy
Q: How does Covid-19 affect individuals’ perceptions of infectiousness of various nationalities and political attitudes towards China?�
Survey on professional aspirations in Nigeria
Q: What do urban young people in Nigeria want for their future and how do they think about opportunities in the public vs. private sector?
65% of respondents report not trusting the government and 52% not trusting bureaucrats, and when asked about the two main personality traits they associate with a government worker (out of a list of 20 traits), 24% of them picked words like “corrupt”, “selfish”, “arbitrary” or related terms.
India: costs and attrition
33,000 clicks on ad → cost per click $0.66
18,250 (100%) started baseline → cost p.p. $1.19
7,000 (38%) finished (15-min) → cost p.p. $3.10
3,260 (15%) watched 3-10 videos over 1 week → cost p.p. $6.66
Final cost p.p. incl. incentive → $7.3
Nigeria: costs and attrition
3,000 clicks on ad → cost per click $0.11
1,100 (100%) started survey → cost p.p. $0.31
550 (50%) filled 20-min survey → cost p.p. $0.62
Final cost p.p. incl. incentive → $0.98
Italy: costs and attrition
3,500 clicks on ad → cost per click $0.10
1,220 (100%) started study → cost p.p. $0.28
600 (50%) completed 6 waves → cost p.p. $0.57
Final cost p.p. incl. incentive → $11.6
Project Pipeline (incl. Covid-19)
Covid-19 Partnerships with social media companies
Covid-19 and Literacy apps (1)
Covid-19 and Literacy apps (2)
Covid-19 and Literacy apps (3)
Effective home-learning tools are needed with 1.6 billion students staying home due to Covid-19.
With support from Norad and World Bank projects, the World Bank’s DIME edu-tainment team is testing the effectiveness of literacy apps like “Feed The Monster” on parents’ self-efficacy beliefs and educational outcomes of children in SSA.
Uses two groups: direct (optimized) app marketing and RCT from Virtual Lab survey.
Tests effectiveness of app but also effectiveness of marketing channel for targeting populations with the most promising potential outcomes.
Edutainment PSAs
Expand current partnerships with edutainment producers (e.g., MTV, Discovery, etc):
Seeding information and Network Dependence
Digital recruitment and Mode effects
As development interventions are increasingly moving online during the Covid-19 crisis, there is urgent need to study effective recruitment and long-term use strategies.
Similarly, investigating study recruitment and survey-mode effects is needed in new online research. For example, testing: