Seminar in Computational Finance

October 24, 2026
Page views: ...

The following notes cover the topics discussed at the Seminar of Computational Finance held at ETH Zurich, DMAT by Josef Teichmann.

Important remark: I do not take any credit for the content of the notes; all credit goes to the professor, the reference papers and so on.

Feel free to reach out to me with any comments, clarifications, or corrections.

Lastly, note that the following page reflects my learning journey and not the proper way the seminar was conducted or how people were supposed to follow it: you'll therefore find my deep dives, my interests and how I preferred to study the topic. Let's go!


Introduction: Transportation Marketplace Rate Forecast Using Signature Transform

We begin by approaching the paper Transportation Marketplace Rate Forecast Using Signature Transform, written by Haotian Gu, Xin Guo, Timothy L. Jacobs, Philip Kaminsky, and Xinyu Li in December 2024.

In the following section, I try to provide a better understanding and summary of the paper, while still reviewing theoretical foundations.

Introduction: overview of freight marketplace rate and challenges in forecasting

The starting point of the paper is Amazon's key problem in forecasting transportation freight marketplace rates, driven by a lot of factors (networks of thousands of drivers, shippers of all sizes, seasonal and regular demands, traditional and digital exchanges, local, regional, and national economic factors, etc.) and often going through fundamental shifts (because of wars, pandemics, fuel prices, or shifts in international patterns).

In this context, traditional time-series techniques may fail to predict transportation freight rates.
Autoregressive Integrated Moving Average (ARIMA) and Exponential Smoothing assume that time series are stationary, but this is not the case. Furthermore, long-term trends and seasonality are not well captured by ARIMA. Lastly, these methods rely only on historical data from the time series and are not able to capture the causal relationship between economic factors and the target prediction variable (i.e., the transportation freight rates).

Indeed, a big challenge in analyzing time-series data is their changing statistical properties caused by changes in the business and economic cycle, shifts in policy, or changes in market conditions, for example, as we have recently seen in terms of volatility, demand, and supply during COVID-19 or the war in Ukraine.

To address these problems, we can approach statistical learning, which relies on finding a feature map that maps the input data (in our case: samples of time series) into a multidimensional feature space, with the following two important requirements:

  • universality: nonlinear functions of the input data are approximated by linear functionals in the feature space, so the forecasting problem is translated into a linear regression;
  • characteristicness: the expected value of the feature map characterizes the law of the random variable.

Therefore, it is shown that the signature transform satisfies these two properties in duality.

Furthermore, the signature kernel allows for computationally efficient comparison of similarities between time-series data, which is particularly useful for identifying different "signature feature maps" (i.e., the statistical counterpart of identifying different distributions for time-series data in the linearized feature space of the signature transform).

We recall that the signature transform (path signature, signature) was introduced and initially studied in algebraic topology by Kuo-Tsai Chen in Iterated Integrals and Exponential Homomorphisms (Proceedings of the London Mathematical Society) and Integration of Paths, Geometric Invariants and a Generalization of the Baker–Hausdorff Formula (Annals of Mathematics), and then applied to the financial markets and machine learning.

Generally speaking, given any continuous or discrete time series, its signature transform produces a vector of real-valued features that extract information such as order and area, and then explicitly consider combinations of different channels to determine the time series in a computationally efficient way. Furthermore, every continuous function of a time series can be asymptotically approximated by a linear functional of its signature, so, in other words, the signature transform linearizes the complicated feature space and can be used as a powerful tool for pattern identification and forecasting in machine learning.

Intuition: consider each market period as a path with rates, supply and demand, etc. The signature turns the path into a "fingerprint" that captures the values and how they changed. Then the signature kernel compares fingerprints by to understand how similar they are. During forecasting, historical periods more similar to the current one get more weight in the regression and vice versa, helping the model to adapt to seasonality and market regimes.

Methodology

The proposed approach starts by collecting data (market supply and demand factors) and running correlation tests between the marketplace rate and the factors in order to remove nonsignificant factors and identify factors that are collinear.
Then, the authors use the universal nonlinearity property of the signature transform to build signature features as candidates for the "internal features" using a feature map that transforms time-series inputs into a vector of features. Note that the map does not capture only the values, but also their order and interactions.

Recall that collinearity means that predictors overlap, and, in regression, this makes it hard to tell which predictor matters and can make the coefficient estimates unstable.

Furthermore, to avoid overfitting and collinearity between signature features and external factors, they adopted the two-step LASSO for the regression (helping to shrink coefficients and select a small set of features), enhanced with adaptive weights using a signature kernel that allows it to capture changes in regimes or seasonality.

Technical Background

Tensors

A tensor is a mathematical object that generalizes vectors and matrices.
Formally, let be a vector space over a field . A tensor of type on is an element of , where is the dual space.

Equivalently, it can be seen as a multilinear map:

As we said, tensors can be seen as a generalization of lower-dimensional data structures:

  • rank-0 tensor: scalar
  • rank-1 tensor: vector (requires 1 index)
  • rank-2 tensor: matrix (requires 2 indices)
  • rank-3 or higher tensor: higher-dimensional "cubes" or "hypercubes" of data (example: a batch of color images in DL is a 4D structure with shape [Batch Size, Channels, Height, Width])

Furthermore, we recall that the outer product for and is the tensor , with components .
This translates to the following matrix, which has all the pairwise component combinations:



Signatures of a Continuous Path

Let denote the space of all real tensors with shape .
We define a binary operation called tensor product, denoted by , that maps a tensor of shape and a tensor of shape to a tensor of shape via

When applied to two vectors, this is the outer product.


Let and for , in each case with tensor product symbols.

Intuition: the tensor product combines two tensors by multiplying their elements without summing. Example: multiplying a 2-vector by a 3-vector produces a matrix. If we repeat the operation, we have , where each entry is a product of components, .

Definition: signature of as a collection of iterated integrals

Let and let be a continuous, piecewise-smooth path.
The signature of is then defined as the collection of iterated integrals:

Here, is the tensor product, , and the term is taken to be .

Then, the truncated signature of depth of is defined as:

The idea is that we have a continuous, piecewise-smooth path ( denotes its position at time ); the signature records a sequence of features called levels, i.e., level collects all the -fold iterated integrals of the path:

Specifically, for path , its level is:

Similarly, a 2-fold iterated integral is:

The inner integral collects changes in coordinate up to time ; the outer integral then pairs those with later changes in coordinate (intuition: this measures how much change in coordinate is followed by change in coordinate , and higher levels represent increasingly detailed ordered combinations of changes).

Example: linear interpolation

We now provide an illustrative example. Suppose is the linear interpolation between two points (i.e., the straight line from to as time goes from to ), so that:

Then its signature is the collection of tensor powers of its total increment :

To show this, let and . Then,

Substituting this into the signature levels gives:

In general, the ordered region has volume , so we have:

So the signature is:

Example: one-dimensional smooth path

Suppose is a one-dimensional smooth path. Its signature is the collection of powers of its total increment. We can proceed as follows:

Let . The integral over the full cube factors into a product of integrals:

The cube divides into regions according to the possible orderings of the times. Since the one-dimensional integrand is symmetric in those times, each region contributes equally. Therefore,

This gives:

We immediately notice that this is independent of for . Furthermore, if is a random process, its expected signature is:

If these moments exist, they are the moments of . For a high-dimensional stochastic process , the expected signature is the generalization of the moments of the process (in other words, for a stochastic process, its expected signature characterizes the law of ).

Also, this second example shows that the signature of a one-dimensional path depends only on its increment. This implies that the signature of a path itself may not contain sufficient information to fully characterize the path, but this problem can be solved by considering time-augmented versions of the original path.

Indeed, given a path , we can define the corresponding time-augmented path by , which is a path in .



Signature of Discrete Data

If we want to compute the signature of discrete data streams, we can simply use linear interpolation and then apply the signature transform.

Definition: linear interpolation and its signature

We then define the space of streams of data as:

Given , the integer is called the length of .
Furthermore, for such that , we can fix:

Let be continuous such that for all and linear on the intervals in between. Then is called the linear interpolation of .

Given that is a linear interpolation of , the signature of (the initial stream of data) is defined as , and the same applies to the truncated signatures, i.e., .