does anyone have an underdog invite they're not using? @underdogai
1
83
Wow. That was fast.
Wow, this is exciting: Modular (company founded by Chris Lattner of LLVM, Swift, Cloud TPU fame) just announced a language specifically designed for AI. The best part is it’s fully compatible with Python, so you can theoretically use all the existing libraries.
Use case specific languages are extremely valuable. We had a language called Sawzall way back at Google that was designed for large scale data processing (specifically logs) using MapReduce. I had so much fun using it and did some of my most impactful on Sawzall. It just made writing petabyte scale compute pipeline easy. I hope to share these stories soon!
Sawzall, however, was eventually deprecated in favor of Go 😢. While I love Go (@effectivai is written in Go), it’s was just not the same.
1
127
Ravi Sandepudi retweeted
Big news — Effectiv has entered into a definitive agreement to be acquired by @socureme!
Ravi Sandepudi retweeted
Fraud meets AI, 😱 nightmare scenario?
Join @scott_harkey for an insightful panel with #Vectari's Alex Villarreal O'Rourke, @effectivai's @sandepudi & JPMorgan Chase & Co's @mschristylillie as they unpack how AI can create risk but also come to the rescue.
#Payments #AI #Fraud
sfstandard.com/2024/01/20/sa…
Sheel is the epitome of a hustler with class. Not single day goes by without story-worthy activity! @pitdesi did you take ThumsUp’s slogan to heart? “Aaj kuch toofani karte hain” 😂
Never hurts to ask / ChatGPT is your friend
I didn't qualify for 1K last year so I had ChatGPT write a letter about my loyalty to United, they extended my status by a year.
2
268
Ravi Sandepudi retweeted
We’re thrilled to announce that Treasury Prime is teaming up with @effectivai, a leading #fraud and risk management platform, to bring real-time #fraud detection to enterprises and #banks, reducing the risk of financial loss and reputational damage.
Amen. It's time for organizations to take this very seriously. We saw an instance where one of our bank customers got a deepfaked video KYC done
Had a blast chatting with you too @roohi_kr! You’re a great interviewer
He's the Co-Founder of @effectivai
This week's guest is none other than @sandepudi
It was a blast chatting with Ravi
And we covered lots of ground:
1. His Immigrants story
2. Sheel and BTV
3. Google and PayPal Tech Mafias
Link to listen to the episode in comments
1
5
476
Thank you @accelindia! We’re very proud to be part of this illustrious community.
We're delighted to welcome @sandepudi, @xs2ritesh, and the @effectivai team to the Accel family. We look forward to supporting them as they combine fraud and compliance risk management into a unified, holistic solution.
🚀 We are incredibly excited to announce our new funding round led by the fantastic folks at @btv_vc . They were joined by our close partners @accelindia, and industry-leading angels. Thanks, @ChristineMHall, for covering us!
We are now hyper-accelerating our efforts to tackle AI-driven fraud - from deep fakes to synthesized voices to forged documents; fraudsters are using generative AI to get around existing fraud & compliance systems. As an industry, we need cutting-edge AI to fight this, and we're proud to play a part in leading the way.
On that note, we are pumped to announce DeviceAI, our advanced device-based telemetry and intelligence solution that allows our customers to identify bots and automated fraud attacks. This is just one step in our suite of new solutions launching soon!
techcrunch.com/2023/07/26/ef…
Ah, the fallacies of “no docs” loans. Having a simple fraud + KYC/KYB system in place can prevent this… and the best part is no docs would be needed even then.
1
638
🔋 The Power of MapReduce in Fraud Fighting
I had the privilege of being in the thick of things when some of the most revolutionary technologies in computing were being developed at Google.
One of these technologies was MapReduce - developed by the venerable duo of Jeff Dean & Sanjay Ghemawat. Their paper is a must-read for anyone in the space of broader data analytics. (link in comments)
So how does MapReduce work?
No better way to explain than using an example of how it was used to catch fraudsters while on the Google "Ad Spam" team!
🕵️♂️ One day, we received an alert that some of Google’s advertisers noticed strange behavior on their Google AdWords account.
They noticed ad budgets were being spent on advertisements promoting someone else’s product…
After some investigation, we realized that fraudsters, or sometimes even competitors, were stealing credentials and taking over their accounts.
🔎 To detect this account takeover (ATO) scheme, we needed to understand the typical behavior of advertisers, such as what browser was used for logging in during a certain time of day.
Let’s say they used Firefox on their work computer and Safari on their home computer.
If we split the day into 3 equal parts (morning, afternoon, and evening), we can see which browser the advertiser uses and at what time.
🪐 But here's the conundrum: with hundreds of billions of logins daily, computing such metrics felt like trying to count the stars.
That's where MapReduce came in.
MapReduce split this colossal task into three manageable stages:
🗺️ Map
🔀 Shuffle
📉 Reduce
🗺️ In the Map phase, the log files were distributed across hundreds of machines, each processing a portion of the data. A mapper then 'emitted' this information as key-value pairs - imagine turning raw ingredients into a recipe.
A typical log looked like this:
10.03 AM, 19 July 2008 - User 1 - Firefox
10.04 AM, 19 July 2008 - User 2 - Internet Explorer
Our “mapper” would take one log and split it into meaningful pieces of information:
User: User 1
Time of Day: Morning
Browser: Firefox
Then “emit” this information in a key-value pair:
User 1 -> [Morning, Firefox]
User 2 -> [Morning, Internet Explorer]
User 1 -> [Evening, Safari]
🔀 Then came the Shuffle phase, where the system 'shuffled' these key-value pairs. It grouped all pairs with the same key together, preparing the data for the next stage.
📉 The final act was the Reduce phase.
Now that each user's details were grouped, the reducer could calculate the login behavior.
It looked something like this:
User 1 -> [Morning, Firefox], [Evening, Safari], [Morning, Firefox], [Afternoon, Mobile Chrome]
Each reducer can efficiently compute the likely login behavior of a user (via simple probability):
User 1 -> [Morning+Firefox: High, Morning+Mobile Chrome: Low, Afternoon+Mobile Chrome: Very High, Evening+Safari: High, Evening+Mobile Chrome: Low…]
Using this information, we could see that a login attempt from User 1 using Internet Explorer in the morning is unlikely, and we need to flag this account or force it through 2FA before logging in again.
💻 Expanding this to other facets like device type, screen size, location, etc., allowed us to predict user login behavior at a massive scale with surprising accuracy!
This is one simple example of how MapReduce was used to detect fraud at scale.
Today, the problem remains the same.
🛑 Account takeover is one of the most common types of fraudulent behavior that our partners experience on a daily basis.
We're using technologies like MapReduce (and newer analytics engines like Dremel/BigQuery) to build hundreds of heuristics to help our partners put an end to ATO.
I can't imagine a fraud-fighting world without systems like MapReduce!
MapReduce Paper by Jeff Dean & Sanjay Ghemawat: research.google/pubs/pub62/
1
334
Ravi Sandepudi retweeted
Every so often I'm reminded of this great and short talk at TED'09 by Arthur Benjamin:
Teach probability and statistics, not calculus for the majority of high school students.
ted.com/talks/arthur_benjami…
Time Series To Catch Fraudsters
Was detecting fraud using Google-like Auto-Complete on your bingo card❓
You’d be surprised, but it’s a highly effective strategy for spotting anomalies in a series of events.
Let’s dive in 👇
⏳ Time Series and sequence models algorithms offer tremendous insight into detecting fraudsters.
For example:
Let’s say a person applies for membership at a credit union one afternoon.
Then they visit a branch and deposit a check for $3000 💰
Then at 8 pm, they make 5 Cash App transactions to 5 different accounts, each ranging between $200 and $300.
If you look at each of these events independently, they look completely reasonable.
Nothing wrong with opening up a membership.
$3000 is not an uncommon amount to fund a new account, and $200-$300 Cash App transactions to friends and family seem quite normal.
However, when you look at all these events in sequence and observe the frequency with which they occurred, you clearly notice suspicious behavior.
Therein lies the challenge 👉 how do you encode such sequences?
A single attribute (such as transferring $200 via Cash App) is easy to track, but the combinations of these events can be infinite.
And manually listing out these possibilities is close to impossible.
🌐 Enter time series algorithms.
Our work at Simility (and later PayPal) harnessed the power of algorithms like word2vec, typically used in Natural Language Processing or more popularly used for features like auto-complete
You know, the thing that you see Google do when you start typing in the search box?
We trained word2vec using common sequences of events by members post-account opening. The model then predicted and contrasted the next likely event with the actual event.
For instance, the model would predict that after a check deposit, a member likely checks their statement or sets up bill pay.
If, instead, they make a series of Cash App transactions, the algorithm would flag the account as suspicious.
After some success, we took it a step further to develop Hidden Markov Models (HMMs), often used in gaming strategies for computer players/NPCs.
HMMs can consider more parameters like the time difference between events or an event's "weight value" (transaction amount), which influences the sequence of events to follow.
🛡️ In the never-ending pursuit of fighting fraud, the blend of time series and sequence models is a powerful tool to outsmart the fraudsters in their own game.
Anomaly Detection at (Petabyte) Scale
Fraud detection is a complex problem that can be broken down into two stages:
1. Identify anomalies 🔬
2. Classify the anomalies as good or fraudulent 🧩
Anomalies can be identified by comparing a user's behavior to the expected behavior of the population.
🕊️ But how can we "codify" expected behavior? It's like trying to map the flight path of a hummingbird - complex and unpredictable.
One way is to identify heuristics that define behavior. Then, express that behavior across dimensions, like a vector.
Let's use the example of transaction timings, on what time of day do transactions usually occur 👇
⏰If you divide the day into 3-hour blocks and measure the proportion of transactions made in each block, you create a vector with the blocks as “dimensions” and the proportions as “magnitude”.
You then compute this for the whole population (which becomes the background vector) and for an entity you’re evaluating, like a user or an IP address (the foreground vector).
For the background vector, we're assuming the majority of the population is non-fraudulent, like most people obeying traffic signs 🛑
If we now measure the distance between the foreground (entity’s) vector and the background (the population’s) vector, we can estimate how anomalous the entity is, for this behavior.
📊There are multiple distance measurement techniques, but even simple ones like Manhattan distance or Euclidean distance can be mighty.
Now, imagine doing this over hundreds of such behavior-defining heuristics.
🕸️ At Google, we used this approach to identify oddball advertisers and ad publishers, many of whom turned out to be using click farms or resorting to competitor clicking.
🧑💼Imagine millions of advertisers, hundreds of millions of publishers, and billions of ad clicks, generating petabytes of logs 🪵every day. Mind-boggling!
How did we pull this off? By harnessing MapReduce over Google’s distributed computing system, Borg (the predecessor to Kubernetes). We have great memories of using 🪚Sawzall, a language custom-built for crunching logs.
🔥The project fittingly named "Hellfire" ended up being one of the largest MapReduce jobs running daily at Google, saving millions of dollars 💵 identifying bad actors!
✅ Yes, the team at @effectiv is using the same systems to help financial institutions and fintechs combat fraud. Complex in nature, yet super useful for catching fraud.
#anomalydetection #frauddetection #mapreduce
🌐 Network Graphs for Fraud Detection (Part 3/3)
Last time we delved into the world of algorithms like PageRank & ScaNN, capable of extracting game-changing insights from graphs.
🪄 But this magic can happen only when there's a robust infrastructure to build these graphs.
I've had the opportunity to work with non-trivial graphs at Google and Simility (now PayPal). We're talking billions of nodes, trillions of edges, and petabytes of metadata. That's a lot of data!
❌ We tried using off-the-shelf graph databases, but they just couldn't quite scale.
So we rolled up our sleeves, followed in Google's footsteps (where Pregel was built on Bigtable), and crafted our own graph layer on top of Cassandra at Simility.
📈 This move afforded us tremendous scalability and flexibility in constructing and utilizing Graphs, especially for fraud detection.
🤔 But how can this graph be the cornerstone for our insights algorithms? We set a few conditions…
Condition 1️⃣: The graph has to be infinitely scalable. There should never be a time when data insights are lost. The wealth of historical data fuels AI (and fraud detection) algorithms; to improve, we can’t delete anything. Ever.
Condition 2️⃣: All insights must be in real-time. Fraud is time-sensitive, often occurring in bursts. End-of-day or end-of-week computations simply won't do. We need to enable real-time graph rules and models.
Handling petabyte-per-month scale data meant creative engineering to avoid running out of disk space!
💠 We developed novel methods to preserve historical insights while archiving old raw data, which is similar in principle to how Federated Learning works (although their motivations are for user privacy). At some point, I’ll talk about this more!
✍️ To address the real-time requirements, we had to reimagine our approach.
First, we had to ensure that updates to our trillion-edge graph were made instantly - fraudsters won’t wait! We solved this with our own custom graph layer on key-value databases like Cassandra.
But the real challenge was making the fundamental aggregations real-time, including those that inherently aren’t.
📶 While global sums (total cost per IP) and counts (total transactions per zip code) were manageable, for count distinct (num distinct IPs per device) & probability distributions (user-browser likelihood), we had to turn to HLL (HyperLogLog) and Bloom Filters.
🔋 Complex real-time heuristics like standard deviations were possible using the Welford Method and streaming MapReduce on moving data windows.
⏳ Time-based aggregations that were accurate to the minute were achieved by smartly using exotic data structures.
🧩 There were more puzzles to solve, such as idempotency - maintaining the accuracy of aggregations & heuristics when new information like chargebacks or returns comes in. But that's a story for another day.
🚀 At @effectiv, we understand the power of Network Graphs in combating fraud and are hard at work developing tech that empowers our customers to outwit fraudsters and safeguard their users.
➡️ I’ll continue sharing more discussions on the exciting world of data science, graphs, and fraud detection! Follow along more.
🤯 This is an alarming statistic! Fraud attempts on faster payments skyrocketed by 92% from 2021 to 2022 (with dollar value spiking by 142%!).
⚡ Faster Payments have been truly life-changing in countries like Brazil & India. However, it was not without its share of hiccups with fraud. Banks & fintechs had to rapidly adapt to fraud prevention technologies to enable growth with safety & security.
With Zelle, RTP, and soon, FedNow becoming widely available in the US, we are on the cusp of something equally revolutionary. However, we have a significant advantage of utilizing technologies that have faced the test of time and, therefore, not go through the same growing pains.
❓ Why are faster payments so much more susceptible to fraud?
1️⃣ Well, for the primary reason that they are fast. An average settlement duration for a transaction is just 5 seconds. While this has a fantastic user experience, this reduces the time an FI can spend adjudicating fraud.
2️⃣ The second and equally important reason is that most payment methods do not have a "clawback" mechanism once the transaction has been settled. It's a one-way street.
❓ How are fraudsters taking advantage of these conditions?
📞 Scams & social engineering! These so-called "Authorized Push Payment" frauds are initiated by the users themselves but are done because they have been scammed. The show Tinder Swindler is an excellent example of something called a "Romance Scam." Others, like Elder Scams, phishing, and vishing, target unsuspecting users into voluntarily initiating the transaction.
🎭 Account takeovers. Fraudsters steal credentials and move money using tech like sophisticated malware, sim cloning, and man-in-the-middle attacks. By the time the user detects the transactions, they are settled and moved elsewhere, making it impossible for even the banks to recoup the loss.
🐴 Mule accounts. Though there's no end-user impacted, this is a massive source of fraud that banks & FIs face.
🤖 With advances in AI & anomaly detection techniques, many of these kinds of behavior can be caught in real time. During my time at Google & PayPal worked on such novel technologies that prevented billions of dollars of fraud. Our teams at Effectiv and working on making all of them available to our customers.
🙌 Why not use them and accelerate this true revolution in payments!
pymnts.com/news/security-and…
#realtimepayments #fednow #fasterpayments #zelle #fraudprevention
Yaay @pitdesi!
$ABNB is going back to its roots: renewing its push into renting low-cost single rooms. $ABNB CEO @bchesky tells @andrewrsorkin why:

















