Skip to main content
Softblues
Back to Projects

Behavioral analysis of personalization engines & dark patterns

Adversarial Machine Learning Engineer2023–2024Vladyslav L.
VL
Vladyslav L.

Senior AI Engineer

ML & Data Science

Key Expertise

LLM Security AuditingMLOps & InfrastructureBehavioral Data ScienceAnomalous Pattern DetectionPredictive Analytics

Experience

10+ years

Timezone

CST (UTC +8)

7-day risk-free trial
Response within 24 hours
View Full Profile

Overview

The engagement involved a comprehensive adversarial audit of the TEMU mobile application's personalization engine, focusing on the intersection of privacy controls and behavioral psychology exploitation. The primary objective was to instrument the application to detect and classify a proprietary "Compulsive Spending Propensity Model" - an algorithmic layer designed to identify users exhibiting shopaholic or impulse-buying behavior patterns. LLMs were employed to semantically analyze ad copy and UI strings, leveraging models released during the project window: LLaMA 2 (July 2023) for initial prototyping, followed by Mistral 7B (September 2023) for production dark pattern classification.

Achievements

The audit isolated a 23-feature behavioral fingerprint used to score users on a "Purchase Vulnerability Index." Users in the top quartile of this index received 340% more enforced gamified pop-ups and 72% more loss-aversion push notifications than control profiles. The Mistral 7B-powered dark pattern classifier achieved 96% precision in identifying manipulative language variants served exclusively to high-propensity users.

Responsibilities

  • Developed custom Frida instrumentation (first released 2014) to log micro-interactions including dwell time, scroll velocity, and cart abandonment patterns on both iOS and Android clients. Applied HDBSCAN clustering (Python package first released August 2016) to identify "Frequent Spenders" vs. "Shopaholic Hesitaters"
  • Deployed a fine-tuned Mistral 7B instance (released September 2023) to perform semantic and linguistic analysis on ad copy and UI strings. The model was trained on FTC dark pattern taxonomies (FTC staff report "Bringing Dark Patterns to Light" released September 2022) to detect "Confirm Shaming," "Forced Action," and "Scarcity Bias Exploitation". The LLM pipeline automatically flagged dynamic UI strings that changed based on the user's detected psychological segment.
  • Used differential testing across devices running iOS 17 (released September 2023) and Android 14. Applied XGBoost and LightGBM (first open-sourced August 2016, stable release January 2017) attribution modeling to prove probabilistic graph linking via IP subnets and device telemetry, maintaining 99.4% confidence interval re-identification despite disabled IDFA/GAID.
  • Mapped push notification timing to detected "Low Willpower Windows," confirming behaviorally dynamic pricing models and dark pattern targeting of psychologically vulnerable cohorts.

Technologies Used

PythonFridaMitmproxyHDBSCANXGBoostLightGBMMistralLlamaiOS 17 Sysdiagnose LoggingAndroid Debug BridgePandas
VL

This project was delivered by

Vladyslav L.

View Full Profile

Ready to Build Your AI Team?

Get matched with the right AI experts for your project. Book a free discovery call to discuss your requirements.

We respond within 24 hours.