Non-negative Factorization of the Occurrence Tensor from Financial Contracts

Zheng Xu, Furong Huang, Louiqa Raschid, Tom GoldsteinarXiv 2016

Abstract

Mapping the complex relationships within financial markets often involves analyzing discrete "occurrence" data extracted from legal documents. Standard tensor factorization methods, typically designed for continuous data with Gaussian noise, struggle with the sparse, binary nature of these datasets. This paper introduces Non-negative Occurrence Tensor Factorization (NOTF), an algorithm that utilizes the $\ell_0$ norm to effectively "de-noise" discrete financial occurrence tensors. By focusing on the count of errors rather than their magnitude, NOTF identifies distinct institutional communities and roles with high precision, outperforming traditional $\ell_1$ and $\ell_2$ based approaches.

Introduction

Financial relationships, such as a bank's role as an "issuer" in a mortgage-backed security, are frequently documented in thousands of pages of legal contracts. Researchers represent these relationships using "occurrence tensors"—3D data structures where each cell indicates the presence or absence of a specific interaction. However, extracting this data automatically from PDFs introduces "sparse noise" (flipped bits). Traditional CANDECOMP/PARAFAC (CP) decomposition methods assume continuous Gaussian noise, which is ill-suited for discrete, binary occurrence data and often leads to blurred results.

Methodology: The NOTF Approach

The proposed NOTF algorithm treats relationship mapping as a low-rank tensor recovery task optimized for discrete data.

The $\ell_0$ Norm Advantage

Unlike the commonly used $\ell_2$ (least squares) or $\ell_1$ (absolute error) norms, NOTF employs the $\ell_0$ norm. The $\ell_0$ norm specifically counts the number of non-zero entries in the error term. In the context of binary occurrence data, where errors manifest as "flipped bits" (0 to 1 or 1 to 0), minimizing the error count is more effective than minimizing error magnitude.

Constraints and Optimization

To ensure physical interpretability—as participation in a financial community cannot be negative—the factors are constrained to be non-negative. The resulting optimization problem is non-convex and non-smooth. To solve it, the researchers utilize the Alternating Direction Method of Multipliers (ADMM), which decomposes the problem into manageable subproblems, including a "hard-thresholding" step that acts as a filter for noise.

Experimental Evaluation

The algorithm was evaluated using both synthetic and real-world datasets:

  1. Synthetic Data: Sparse tensors with up to 10% "flipped bit" noise were used to benchmark ground truth recovery.
  2. resMBS Dataset: A real-world tensor ($971 \times 85 \times 27$) representing 971 financial contracts, 85 institutions, and 27 roles, automatically extracted from public documents.

Key Results and Discussion

Synthetic tests demonstrated that NOTF significantly outperforms $\ell_1$ and $\ell_2$ baselines in terms of noise robustness and rank recovery.

Performance comparison of NOTF (l0) against l1 and l2 norms across varying noise ratios (top) and reconstruction ranks (bottom).

As shown in the comprehensive results above, NOTF (blue lines) consistently maintains lower false positive and false negative counts compared to baseline methods. A critical observation is the algorithm's ability to perfectly recover the ground truth when the reconstruction rank is set correctly.

Mean square error (MSE) vs. reconstruction CP rank. The l0 norm (blue) shows a sharp drop in error at the ground-truth rank of R=6.

In tests with 10% noise, NOTF achieved perfect recovery at $R=6$, while baseline methods remained unstable or failed to identify the correct rank. On the real-world resMBS dataset, NOTF successfully reduced the error count to levels consistent with the expected noise of the initial information extractor. The factorization revealed that financial communities are typically "centered" around one or two primary institutions, providing a clear map of the 2005 financial landscape.

Conclusion

NOTF provides a robust framework for analyzing discrete occurrence data in finance. By leveraging the $\ell_0$ norm, it effectively handles the sparse noise inherent in automated text extraction. Future work may explore $\ell_p$ norms ($0 < p < 1$) as smoother surrogates for better theoretical convergence or incorporate domain-specific "hard rules" to further enhance accuracy and fill missing data.

Summary updated

Abstract

We propose an algorithm for the non-negative factorization of an occurrence tensor built from heterogeneous networks. We use l0 norm to model sparse errors over discrete values (occurrences), and use decomposed factors to model the embedded groups of nodes. An efficient splitting method is developed to optimize the nonconvex and nonsmooth objective. We study both synthetic problems and a new dataset built from financial documents, resMBS.
BibTeX
@misc{xu2016non,
  author = {Zheng Xu and Furong Huang and Louiqa Raschid and Tom Goldstein},
  title = {{Non-negative Factorization of the Occurrence Tensor from Financial Contracts}},
  year = {2016},
  eprint = {1612.03350},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.03350},
}
Figure