Project examples

Three projects, each told from the business decision: what was at stake, what we delivered, and what is proven.

Finance

Risk-assessed financial forecast

Client
A fintech startup
Project date
September 21, 2020

A forecast that shows its own risk, computed from the few figures that accounting actually provides.

Business situation

A CFO has to analyze cash flow, liabilities and financial risks and to recommend financial strategies. The information is contained in the accounting data, but it is hard to extract: many transactions are booked as sums, and what remains for a forecast are often only a few data points such as monthly balances.

The decision at stake

How will the cash flow develop over the coming periods, and how much risk does a financial decision carry?

Data and constraints

  • Few data points: often only aggregated figures such as monthly balances.
  • Accounting series are correlated in time and delayed against each other. They are not independent observations.
  • Markets change constantly, so the statistical properties of the data do not stay the same (non-stationarity).
  • Under these conditions, many traditional prediction methods tend to underestimate the business risks.

Our contribution

We developed an algorithmic package for the client that computes a prediction together with a time-dependent risk measure from a single multivariate time series, without prior training on a large amount of data. If necessary, the data are denoised automatically beforehand.

Series 1 Series 2 delayed one value per month time →
Schematic illustration, not project data.

What was delivered

A forecast with a risk band that widens with the horizon, running automated on the time-stamped data of the business.

What it makes possible

Financial predictions, the development of a cash flow calendar and data-driven financial risk mitigation: the cost of taking a risk becomes visible before the decision is made.

Limits

  • The forecast horizon is limited to short and medium ranges in time.
  • The method is made for non-repetitive, simply evolving processes as they typically occur in business and finance.
  • The unpredictable remains unpredictable: the forecast does not anticipate events that leave no trace in the data.
Method and background in detail (original project description)

Summary: The success of many B2C companies depends on robust prediction, e.g. of future demands and requests, including a time-dependent risk measure of that prediction that needs no additional, large training data from the accounting database.

Keywords: financial predictions, development of cash flow calendar, data-driven financial risk mitigation, risk-assessed financial forecast

Description

For illustrative purposes of this use case, let us think about a Chief Financial Officer (CFO). The main task of every CFO is to analyze the cash flow, the liabilities, the financial risks in the market as well as in the company and moreover to ensure that the return on investment is in line with the company targets. To this end the CFO has to recommend effective financial strategies, such that the company can improve its performance. It is well known that companies are exposed to a wide range of risks from unexpected events, and information about these risks can be extracted from the accounting data. But to do this is far from being easy or straightforward:

  • Accounting cannot always be done by simple continuous real-time logging of the business's activity. Instead, many financial transactions with customers and business partners are sums of many single transactions. This typically is due to delays in business or bank administration. However, summing up accounting data leads to a serious loss of information about the dynamics, the time-dependent interplay of a company with their market segments, where they place their products or services.
  • Also, the same real-world processes that correspond to a complex business process have different partial representations in the accounting data. These different accounting data are highly correlated in time, but show variations in their delays, in their lag times. Hence accounting data cannot be considered as realizations of stochastically independent random variables that are typically used in statistics and machine learning. As a consequence, many traditional prediction methods tend to underestimate the business risks. In case of accounting this is a serious economic threat.

In this situation accountants have the habit to extract from the data different information needed for different business management purposes, e.g. the monthly balances. As a result, information about e.g. an existing dynamic phase in a company's business operations is represented only by a few data points that can be used as training data for any type of forecasting algorithm. This leads to the notorious problem of few data for machine learning, which can be characterized as follows:

  • Since every business and its customers are embedded in constantly changing markets, it cannot be expected that any historical time-stamped data have some invariant statistical properties in time. This phenomenon is called “non-stationarity”. However, most prediction methods in AI fail in case of non-stationary data, and there is a huge need to find a better algorithm that can deal with such data.
  • Many companies have a complex business dynamics that consists of different components with different types of evolution. The reason for that can be that they offer different services or follow different revenue models at the same time. If the business dynamics is complex, i.e. an unknown combination of e.g. a non-linear, a stochastic and a periodic component, it is more or less impossible to find a simple, explicit model that mimics the combined real business development of that company. Hence prediction methods using a model will typically fail in real-life scenarios and cannot be used for financial risk mitigation.
  • Even worse, for non-repetitive and simply evolving dynamic processes like the financial state of a business, massive amounts of independent and identically distributed data about the business activities are simply not available. In this case the traditional training of a machine learning model is not possible.

So there is a strong economic need to solve the problem of learning predictions from the temporal correlations in all sorts of historical time-stamped and non-repetitive data, e.g. accounting data, in an automated and model-free way.

From the bird's-eye view

The main benefit of an algorithmic forecast meeting the requirements from above is, on the one hand, to understand the cost of taking future risks. On the other hand, the benefit is to predict the consequences of future decisions in terms of the thereby generated financial risk. The importance of a better risk analysis in case of few data, e.g. short time series, is obvious: the current almost linearly increasing complexity of the social and economic phenomena is at least an economic challenge and sometimes a threat for all of us. Hence minimizing the risk of extreme economic or financial events and avoiding to accumulate some hidden risks in the markets will lead to a less chaotic and unpredictable behavior of the markets. That will allow a much more stable cash flow for the companies.

Algorithmic solution

A time series emerges from every historical time-stamped data, e.g. from technical sensors or economic measurements. The analysis of time series aims to develop mathematical models to gain an understanding of the underlying causes and driving factors of the temporal development of a business. As a subsequent step, predictions about possible non-random future fluctuations and developments of the financial time series can be generated in order to consult strategic decision-making of the management algorithmically. Of course there are some limitations for that when dealing with the unpredictable or the unknown. Other limitations come from the structural assumptions of the used forecast methods themselves.

The algorithmic package that we have developed for our client is self-learning, runs completely automated and computes the prediction and its time-dependent risk measure model-free from very few, multivariate data from non-repetitive, but simply evolving processes that typically occur in business or finance.

  • The algorithm can finish the task with only one multivariate time series and needs no special training upfront on a statistically large amount of training data. It is designed to limit overfitting and to estimate the probability of extreme events in the underlying dynamical process also in case of the existence of statistical correlations in the data.
  • Since sensors and other measurements always represent only some limited perspective on a dynamically developing phenomenon, in most cases many different time-stamped data are logged about the same phenomenon. As a consequence, the algorithmic prediction method deals with multivariate time series.
  • If necessary, an automated denoising procedure of the data can be applied before computing the prediction in order to reduce the aleatory uncertainty in the data.

The prediction's horizon is limited to small and medium ranges in time. In business this typically does not limit the algorithmic benefit for the users.

Logistics

Planning & Scheduling

Client
A large logistics company
Project date
November 1, 2023

Rescheduling every few minutes, so that one disruption does not run through the whole plan.

Business situation

Logistics companies pursue two goals that conflict in every single delivery: lean processes and robust ones. Uncertainties and unexpected events change a schedule locally and may cause cascades that affect other logistic processes.

The decision at stake

When something unforeseen happens: which deliveries and resources have to be rescheduled, and how far, without giving up the efficiency of the delivery processes?

Data and constraints

  • Categorical factors such as the team, the truck, the features of the destination or the sequence of roads. Their influence on the expected time of availability (ETA) is hard to measure and mostly based on practical experience.
  • Non-categorical factors such as distance, starting time or load. Their influence on the ETA is easy to measure.
  • How the factors depend on each other is not known in advance.

Our contribution

We developed an algorithmic package for the client that estimates how strongly the individual factors influence the ETA and how they depend on each other, and that uses this to compute a rescheduling of all available logistic resources.

Original plan ABCDDisruption AB CD delay would cascadeAdjusted plan ABCD moved keeps its time, other resource time →
Schematic illustration, not project data.

What was delivered

A supervised rescheduling procedure that runs in a cycle of a few minutes and takes new updates about the state of the logistic processes into account.

What it makes possible

Planners can identify the extent of the adjustments an event makes necessary, estimate its effect on the ETA and set the priority: robustness, or lean and efficient processes. Additional hard constraints from customers or from workforce organization can be added manually.

Limits

  • The procedure is supervised: a certain amount of work by data scientists for checks and adaptations is unavoidable.
  • Hard constraints have to be entered manually or scheduled into one of the cycles.
Method and background in detail (original project description)

Summary: Planning and scheduling in logistics is a hard problem not only because of the number of tasks, machines, workers or other resources to be handled, but primarily because of the fact that uncertainties and unexpected events can change a schedule locally and may cause catastrophic cascade events that affect other logistic processes. Hence the crucial point of applying algorithmic solutions to logistics is to consider all these uncertainties in planning and scheduling without dropping the efficiency of the delivery processes.

Keywords: scheduling of workforce and logistic resources, planning of logistic processes including management of internal risks, planning & scheduling, global coordination

Description

Delivery processes are determined by a lot of categorical factors, e.g. the choice of the team and the truck, the features of the destination or the sequence of used roads. Also non-categorical factors, e.g. the distance, the starting time or the load itself, are important. The influence on the expected time of availability (ETA) is easy to measure in case of the non-categorical factors. However, the understanding of the influence of the categorical features is hard to measure and in most cases only based on unreliable practical experience. Hence the lack of understanding of logistic processes has two sides:

  • The strength of the influence of every single categorical factor is hard to estimate with numerical methods. The same is true for the range of that influence over a sequence of steps in a complex delivery process.
  • The network of causal relations between categorical and non-categorical factors is unknown. But obviously this lacking knowledge plays a central role for the ETA of a truck or a team. So having more insight would on the one hand allow increasing the frequency of delivery processes and on the other hand minimizing the amount of company resources that are used to keep the business running.

Recall that each logistics company pursues at least two main goals: to have lean delivery or supply processes and to minimize expenses, since the price pressure on logistics – in particular on intralogistics – is nearly unlimited. Neither of these goals can be achieved without a data-based analysis of the complex logistic processes and the control over all resources – including transparent process planning for customers. Planning and scheduling also have to take into account that the two main goals are conflicting for every single delivery and are constrained by the inherent local variations in the categorical and non-categorical factors determining the uncertainties of the ETA.

From the bird's-eye view

Logistics companies are made to enable a thriving economy and they are constantly faced with two challenges. On the one hand, they want to follow their customers' demands for price reductions, as they actually only see logistics as a cost factor. On the other hand, they want to adapt to the current needs of customers, who have also updated their products and services on the basis of data-driven CRM, for example. Under these conditions, in-house investments are only possible if the compromise between lean and robust logistics processes is continuously readjusted. This task requires data-driven optimization solutions that can be calculated quickly, which only carry out the unavoidable reactions to unforeseen events, eliminate unnecessary waiting times and prevent cascading events.

Algorithmic solution

Our entire algorithmic solution is based on the quantitative understanding of the flow of uncertainty along the various stations or stops in the delivery process – both in terms of the strength and in terms of the causal dependencies between the categorical and non-categorical factors influencing the ETA of a logistic resource.

The algorithmic package that we have developed for our client is supervised, but scheduled in a cycle of a few minutes, such that new emerging updates about the states of the logistic processes can be considered in the optimal rescheduling procedure of all available logistic resources. The effect of our algorithmic solution is threefold:

  • The computed causal relationships between various categorical and non-categorical factors make it possible to identify the extent of the adjustments that have become necessary in all logistical processes.
  • The computed strength of the causal influence of the various categorical and non-categorical factors on the logistic processes is used to estimate the final effects of unexpected distortions on the ETA. This partial result allows rearranging subsequent logistic processes in time in an optimal way.
  • The computation of the optimal rescheduling allows setting priorities either on the side of robustness or on the leanness and efficiency of the affected logistic processes – depending on the requirements of the business.

Additional hard constraints coming from the customers of the logistic companies or from the organizational side of the workforce can be added manually at some time point or scheduled to one of the cycles of the rescheduling. A certain amount of work by data scientists for checks and adaptations is unavoidable.

Market research

Data-driven CRM

Client
A chain restaurant
Project date
Project started: March 1, 2022

Customer groups found in simple star-rating polls, without a model that has to be tuned by hand.

Business situation

Companies need detailed and timely customer insight to keep product features, prices and the customer journey in line with changing markets. Evaluating free-text answers requires natural language processing that can be tedious or costly, and available online ratings are often outdated, biased or not adapted to the individual use case.

The decision at stake

Which customer groups exist, what distinguishes them, and which product or service features go together with a purchase or with its rejection?

Data and constraints

  • Short online polls answered on a Likert scale: integers, for example from one to nine stars.
  • Optionally population data, e.g. on age, family or interests.
  • Statistics on integer data is difficult. The usual approach fits a parameter-dependent classification model whose tuning has so far resisted automation.

Our contribution

We developed an algorithmic package for the client that groups the client's customers according to their votes in integer-based polls. It works without a parametric classification model: the parameters it needs are computed from the data themselves.

Feature 1 Feature 2 Feature 3 Feature 4 Segment A Segment B Segment C prefers rejects each segment shows its own pattern
Schematic illustration, not project data.

What was delivered

A grouping of customers with different features who prefer to buy, or not to buy, a product or a service for reasons related to the offered features. Among the buyers, it can also group by different attitudes towards the purchase.

What it makes possible

Decisions on product features, product differentiation and marketing can be related to identified groups. Groups that neither product features nor marketing have addressed so far can become visible.

Limits

  • The result depends on the poll: the right questions have to be posed and answered.
  • Outdated ratings or ratings biased by purchased evaluations remain useless. The approach relies on polls of your own.
Method and background in detail (original project description)

Summary: Many B2C companies are interested in an automated and model-free statistical analysis of market research data that maps the customer's features to features of a purchased product or a service, which allows companies to understand their different types of customers. Because only a model-free approach has the flexibility to cope with upcoming new data with new features.

Keywords: identification of hidden customer groups based on different behavioral trends, development of individual pricing strategies

Description

Market research is notoriously difficult. One of the key tasks of modern market research is to deliver data-based customer insight. Detailed and timely insights from complaints, sales rates or customer satisfaction are required to constantly update the product features, its price and the customer journey to the changing markets in a repeatable and verifiable way. However:

  • The necessary effort in natural language processing that is required to algorithmically evaluate Q&A polls can be tedious, costly or beyond the technical capacities of a company.
  • In most cases, product ratings and available online data about market niches are either outdated, biased by purchased evaluations, misleading or not properly adapted to the individual use case. Hence, in these cases the data are useless.

But that is not the only problem: normally, market research should let a company reduce risks if a reliable personalization of the customer's data-based journey to the product can be realized. So gathering demographic information to better understand opportunities and limitations for gaining customers can be extremely helpful in order to identify barriers that may hinder the customers from purchasing. However, there are well-known, and not too small, hiccups:

  • Sometimes, tacitly, potential customers and markets lose the match with the classical acquisition strategies.
  • In other cases, some customer features that have been proven to be strong drivers for purchasing in different cases can be combined and indicate the existence of a hidden group of new potential customers that have not been addressed until now – neither by product features nor by marketing. But no one noticed that.

Finally, in market research it is found empirically that the search for the ideal price is not about searching for the highest or lowest possible price under certain conditions for the customer. It is more about making margins with some customers, who do not care about the price, and to go almost without any margins with customers who do. But obviously it is not to be expected that customers will openly disclose what price they would accept under selected conditions. Normally that makes individual pricing almost impossible.

As a consequence, every company's economic success is dependent on asking a series of simple questions or presenting statements to customers for evaluating their services or purchased product. Particularly online polls based on numbers are short and easy enough, such that customers are willing to answer multiple questions repeatedly. Such polls provide responses in terms of natural numbers, having the data format of an integer and representing the degree of consent. Such data are located on a so-called Likert scale: one star typically indicates least agreement with a poll statement and e.g. nine stars indicate the most agreement.

If additionally the gathered information via such polls includes population data, e.g. on age, wealth, family, interests, or anything else that might be relevant for the business, it should be possible to reconstruct a mapping from a selection of customer's features to a successful purchase of a product or a service. The subsequent algorithmic goal will be to identify groups of customers showing the same voting behavior that has or has not led to a purchase. This grouping will allow conclusions about beneficial updates of product features, product differentiation or design changes of the marketing strategies in order to avoid annoying customers and to increase the marketing efficiency of a company. For every company it is vital to know all that.

From the bird's-eye view

Technical or business innovations impact the day-to-day lives of most individuals, e.g. in case of the introduction of newly discovered drugs that affect the life expectancy of many individuals. But a newly introduced product or service only becomes an innovation after it has been proven in the market – that in fact is the real bottleneck. Today the iterative process of transforming a creation or an invention into an innovation has a high failure rate. And no one likes the fact that market failures of products or services are much more common than commercial successes. So innovators face two competing problems at the same time: by ignoring the customers' preferences, they can run out of money. And by linking the products too closely to their customers, companies may end up creating only marginal incremental innovations that have no chance in the market. Therefore it is part of our purpose to help innovators, companies and other startups to dramatically improve their conversion rate, consult management decisions in a data-guided way and reduce the failure rate without sacrificing their technical or economic ideas.

Algorithmic solution

Data consisting of natural numbers are very frequent. But statistics on integers is notoriously difficult. Hence a reliable statistical analysis of integer data, obtained from online polls aiming to classify the customers properly in order to discover what selection of their features leads to the same preferences in product features or service features, is hardly available. State of the art (SOTA) in statistics on integers is to fit a parameter-dependent, multinomial classification model to the data. As a consequence, optimization of the model parameters and model evaluation are the primary concerns of the SOTA approach, which has so far resisted all attempts at automation. It is well known that this alone prevents an algorithmic solution for market research data analysis from being used in any kind of SaaS-type company. This is due to the lack of scalability. Even worse, there is no proven recipe to finish the SOTA approach successfully manually by a data scientist.

In this situation the algorithmic package that we developed for our client simplifies the desired grouping of the client's customers according to their votes in integer-based polls in the following way:

  • It is a model-free algorithm that does without the geometrical and statistical assumptions of the former model-based SOTA approach, and hence without the implicit usage limitations that made the statistical analysis of integer data really challenging.
  • This new algorithm is designed to run automated, without inspection or iterative improvement of a tailored model by an experienced data scientist. Hence the whole analysis process becomes easy and fast.
  • The new algorithm is a self-learning approach in the sense that all algorithmic parameters that are needed to complete the procedure and get the result are computed in a non-parametric way from the data itself.

What the algorithm returns in the end is a grouping of customers with different features, preferring to buy or not to buy a product or a service for reasons related to a given set of offered product or service features. Moreover, if only the set of purchasing customers is considered, the algorithm can group these pre-selected customers according to different attitudes towards the purchase. In order to get this result, only the right questions need to be posed and answered in the online poll.

We help you to see the future.

The first introductory talk is free of charge.

Get in touchor write to contact@pisentinel.com