Notabletheory

Exactness at Inference: A Representational Criterion for Out-of-Distribution Generalization

Filipe Marinho Rocha, Inês Dutra, Vítor Santos Costa, Luís Paulo Reis

Published
Sep 21, 2026 17:39 UTC

Problem

The paper addresses a significant gap in the capability of machine learning models to generalize beyond their training distribution. Specifically, it highlights the necessity for structural equivalence to the generating mechanism for effective out-of-distribution generalization. This work is particularly relevant as it is presented as a preprint and has not undergone peer review.

Method

The authors propose a model called Tensor Logic, which employs a zero-temperature contraction that is equivalent to discrete logic. Key properties of this model include:

  • Tensors are Boolean.
  • Embeddings are orthonormal.
  • Arithmetic operations are continuous.

However, Tensor Logic has limitations, such as the lack of infinite recursion, which restricts it to Datalog, and the requirement for external memory to handle novel entities. The proposed criterion for inference does not necessitate discrete representation or extracted expressions, thereby constraining the inference process. The model requires an exact marginal in the range of [0,1] for successful inference, contrasting with thresholded Neural Networks that do not meet this requirement. The authors compare Tensor Logic with Logic Tensor Networks, noting that the latter fails to meet the criteria, while differentiable ILP and Tensor Logic at zero temperature succeed. The paper also discusses an extrapolation issue where piecewise-affine extrapolation leads to divergence and an inability to bind novel entities. The propagation rule established in the model ensures that the output inherits the bounds of every fitted estimator along its path.

Results

The authors report that their method achieves exact hypothesis class certification, successfully answering 56.3% of distant queries on a law-derived partition. This performance is contrasted with ensemble methods that exhibit false confidence in their predictions, highlighting the robustness of Tensor Logic in this context.

Limitations

The authors acknowledge several limitations in their work, including a shortfall in exact representability and the necessity for common inductive biases to be injected by human intervention to achieve exactness. These limitations suggest that while Tensor Logic offers a promising framework, it may not fully resolve the challenges associated with out-of-distribution generalization without further enhancements.

Why it matters

The implications of this work are significant for downstream applications in machine learning, particularly in scenarios requiring reliable generalization to unseen data distributions. By establishing a framework that emphasizes exact inference criteria, this research could pave the way for more robust models capable of handling complex, real-world tasks where traditional methods struggle.

Summarised from the primary source with AI assistance under human editorial oversight. Turing Wire is not a primary source — read the original for the authoritative account.

Source: arXiv cs.AI