Machine Learning Community Question

Is Feast suitable for managing streaming features in high-frequency fraud detection?

Posted on 2025-01-15 • In Machine Learning • By Kimberly Dawson

We need to update user behavioral features in real-time as transactions occur. Can Feast handle streaming sources like Kafka or Kinesis? I'm looking for a way to push "last 5 minutes of activity" into the feature store so our fraud models can catch suspicious patterns as they happen.

3 Answers 13,824 Views

All answers to this question 3 Answers

Shannon Montgomery Answered on 2025-01-17
Answered

For high-frequency fraud detection, Feast supports "Push Sources" that are perfect for this. You can have a Flink or Spark Streaming job process your Kafka messages and then "push" the aggregated features directly into the Feast online store. This updates the feature values with sub-second latency. For the offline store, Feast will eventually sync these pushes so you can use the same streaming data for future model retraining. It’s a very robust way to handle the "velocity" aspect of Big Data without having to build a custom database for every new fraud feature your data scientists dream up.

Derek Fisher Answered on 2025-01-18
Answered

Do you find that managing the TTL (Time To Live) for these high-velocity features in the online store requires a lot of manual tuning?

Marcus Thorne Commented on 2025-01-19
Commented

It does require some attention, Derek. If you set the TTL too short, your models might get "null" values for infrequent users. If it's too long, you're paying for storage of stale data. We generally set a TTL based on the specific feature—for example, "login attempts" might only be relevant for 30 minutes, whereas "average monthly spend" can stay for weeks. Feast makes it easy to set these at the "Feature View" level, so you can have different expiration policies for different types of behavioral data within the same system.

Christina Lowe Answered on 2025-01-20
Answered

Using Feast for streaming ensures that your real-time features are properly logged for backtesting, which is usually a nightmare to do manually.

Kimberly Dawson Commented on 2025-01-20
Commented

Exactly, Christina. Being able to "replay" the stream for training is the secret sauce for improving fraud models over time.

Write a Comment

Your email address will not be published. Required fields are marked (*)

Join the LearnersEra Community

Ask questions, share knowledge and learn from professionals across technology, project management and certification topics.

Change Country and Nearest City

Select your country and nearest city to see courses available in your region.