Dynamics Insights Apps AI

Business Applications Applied AI

Customer Lifetime Value Predictive Model now uses Customer Profile Attributes

Share this page

Authors: Kidus Asfaw, Sally Kellaway, and Radha Sayyaparaju

When crafting your marketing and sales strategies, personalizing your marketing campaigns, journeys and content to the special traits of your customer segments is an important way to drive engagement and purchases. One method for segmenting your audiences is to determine the potential value of those customers to isolate your high and low predicted value customers and personalize campaigns to reward high value customers and drive up the value of lower value customers. Artificial intelligence (AI) can be used to predict the value of customers to create segments like these.

As with all AI, the more data an AI model has, the more accurate its predictions will be. The type of data that’s provided to an AI model can influence the accuracy of those predictions – e.g., transaction data can help predict transaction value in the future, which can be made more accurate by adding customer data. The more customer data you provide to a model, the more accurate and targeted the segments of “high” and “low” value customers will be. As a result, the personalization of marketing campaigns driven with those segments can be more targeted and ‘speak’ more directly to the individual traits of your customers – driving engagement and sales!

Dynamics 365 Customer Insights is introducing a new feature for the Customer Lifetime Value (CLV) out-of-box predictive model that allows you to optionally select customer profile attributes to include in the prediction. You can select from 18 commonly used attributes (in any combination) to include as an input to the model. These attributes will drive more personalized, relevant, and actionable model results for your business use cases. This blog post will share what customer profile attributes are, how they’re used in the CLV model, and what’s new in the overall experience of using the model.

What is the CLV model?

The customer lifetime value model predicts the potential value (revenue) that individual active customers will bring to your business in a future period of time that you define. This model can help you achieve various goals:

  • Identify high-value customers
    • Identify high-value customers for individual targeting
    • Create strategic customer segments based on customers’ potential value to run personalized campaigns with targeted sales, marketing, and support efforts
    • Recognize and reward high-value customers through loyalty or rewards programs
  • Identify characteristics of high-value customers
    • Guide marketing and sales strategies by optimizing factors that increase customer value (e.g., incentivize more frequent visits, or larger transaction totals with upsell campaigns)
  • Optimize sales or marketing strategy and allocate budget more accurately for customer outreach
  • Identify medium and lower value customers to define strategies to improve their value

What are customer profile attributes?

The fields listed in a customer profile (or any CDM -defined entity) are called attributes (read more about the CDM schema here: Common Data Model – Common Data Model | Microsoft Docs (opens in new tab)). Customer Insights utilizes both standard entity definitions and its own defined entities (opens in new tab), including the CustomerProfile entity (opens in new tab). This entity includes dozens of attributes that define the qualities of that customer. An example customer attribute is a customer’s birth date, first name, last name or gamertag.

What is the model doing with these attributes?

These customer attributes can be used as extra sources of information for personalizing customer lifetime value predictions. Personalization of these predictions helps to “customize” to your use case without requiring the development of fully custom AI models.

The profile attributes that you select during configuration are added to the model and considered alongside factors added (and featurized) from the Required Data that you added. The model develops its predictions of lifetime value and will show all factors that influenced those predictions on the results page.

As illustrated in the figure below, the CLV model takes transaction activities data and featurizes it into a transactions table with one row per customer. Each row will have features such as average transaction value for the customer. Similarly, CLV uses other activities (in the figure below, retail product web reviews are used as an example) to augment the transactions table with additional features. We call the resulting table a featurized activities table. The new profile attributes feature allows the user to add customer attributes as an additional feature to the featurized activities table.

CLV CPAs Featurization

At the heart of training a CLV model is a random forest regression that uses the features generated above as predictors and the historical customer lifetime values (over a prediction window equaling the future prediction window requested by the user). Hyperparameters are selected using cross-validation. Random forest implementations scale well with data size and can handle the presence of outliers and/or missing data. Adding profile attributes to this regression model allows the user to incorporate more of what they know about their customers into the model.

How has the experience of configuring the model changed?

The high-level experience of configuring the CLV model does not change. For more information about configuring the CLV model see the product documentation online (opens in new tab). Adding Customer Profile attributes is an optional step that you can take after adding the required data (Customer transaction history). Additional (Optional) Data includes adding Activity and now Customer data.

graphical user interface, text, application, email
Figure 2 -Additional data screen in the CLV configuration experience where you can map the Customer Profile Attributes

Customer profile attributes will be used in the model when you set up a mapping between the unified customer profile table and one or more of the 18 possible attributes that the model allows. To do so, the user must click on the second “Add data” button in the optional data entry step of model configuration. In the resulting right-hand pane, the user can map the fields in the unified customer profile to the available profile fields (e.g., Birth Date).

Add Customer Data
Figure 3 – Right side panel where you can map your Customer profile attributes

All customer profile attributes are considered optional. You can skip this feature entirely or choose to map as few as one attribute or all 18. The CLV model will consider all attributes for which a mapping is provided and decide whether they are influential in identifying your predicted high and low value customers.

What changes will I see in the CLV model predictions?

You’ll see the results of using customer profile attributes in the results screen (more information about the results experience is available in the product documentation (opens in new tab). The model will decide which of the customer profile attributes are influential in your CLV predictions, and will show them alongside other influential factors in the results experience.
MoreD

CLV CPAs
Figure 4 – Results screen for a CLV model that included Customer profile attributes

This is the easiest way to know if the mapped attributes were used in the model. The influential factors table shows the importance (for predictive ability) assigned by the model to each of the aggregated factors. Factors are aggregated because there are hundreds of similar factors, and it is simpler to understand and use these insights to inform other activities. For example, the model aggregates the importance of location-related fields under one explainability variable called ‘Location’.

Could adding Customer attributes make my model biased?

Like all AI features that are developed at Microsoft, we apply rigorous Responsible AI (RAI) principles to ensure that those AI meet our standards for developing ethical solutions that you can trust. The Responsible AI standard that we operationalize is available online, and includes further information about the principles (Fairness, Inclusiveness, Reliability & Safety, Transparency, Privacy & Security and Accountability), as well as information regarding how Microsoft reviews and tests AI to ensure they are meeting our standards. These principles are considered during the design of the AI and feature in the product, which is then reviewed by a committee to ensure that the standard is met, and the AI is considered fit to ship.

All the out-of-box predictive models in Customer Insights are subject to this process. Because you bring your own data to these models, it’s important to understand these principles as bias in your data may influence the predictions to be biased as well.

For example, Contoso coffee is predicting where to host an event for the opening of a flagship, top of the line espresso machine. They want to target high value customers to invite to this event. If they include location as a Customer Profile Attribute in this prediction, they might find that their highest value customers are all grouped into affluent suburbs. If they include Occupation, they might find that highest value customers are grouped into particular occupations.

There are a few layers of bias in this scenario which are augmented by the model if Contoso doesn’t add in as many customer attributes as possible:

  • Assuming that location or occupation are the only attributes that indicate a high value customer, and therefore only mapping those attributes
  • When Contoso reviews the results – selecting and acting on only a subset of profile attributes can be a type of bias, too!

Avoiding Bias in your source data can be done by using tools like Fairlearn (opens in new tab) to profile the data you are ingesting into Customer Insights. When you are certain that your data isn’t biased, you can avoid bias in the way you configure the model, too. Avoiding bias when training your model is as easy as including as many customer attributes as you can map, to allow the model to consider them as influential factors. You can also avoid bias when you review your results by taking the model’s influential factors list into consideration and avoiding ‘cherry picking’ profile attributes because they serve a hypothesis you might have.

For Contoso Coffee. They do want to make sure guests they invite can easily travel to the event, so they will be able to use Location fairly, but they might want to make sure that they’re considering lots of other attributes to help make a fair decision and capture the best audience to invite to the event.

Why might my mapped attributes not be used?

If the attributes you mapped do not appear in the influential factors table, there are a few potential causes:

  1. An incorrect manual mapping of a customer profile attribute can cause issues. In this case, you will need to go back to the configuration and re-map the attribute then re-run the model.
  2. Either the model didn’t find them as being influential towards the predictions (compared to the transaction and activity data) and omitted them,
  3. Or, there were data quality issues that meant the attributes were unusable:

We perform various data quality checks on the mapped attributes before using them in the model. For example, if most entries for an attribute field are missing, we consider that attribute unreliable for prediction and do not use it in the model. If there is a data quality issue, the attribute will not appear in the influential factors page and there will be an entry in the Input Data Usability Report (instructions on finding the Report are in the Customer Insights online documentation (opens in new tab)).

Input Data Usability Report
Figure 5 – Input data usability report where you can find errors about parameter recommendations, data quality and model execution issues impacting your predictions.

When is this feature available?

This feature is now available in the Customer Lifetime Value model, which is Generally Available within Customer Insights. The product documentation (opens in new tab) is also updated with information about this feature, to help get you started!

Ways to engage