IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i12p2628-d1166980.html
   My bibliography  Save this article

Polynomial-Time Constrained Message Passing for Exact MAP Inference on Discrete Models with Global Dependencies

Author

Listed:
  • Alexander Bauer

    (Machine Learning Group, Technische Universität Berlin, 10587 Berlin, Germany
    BASLEARN— TU Berlin/BASF Joint Lab for Machine Learning, Technische Universität Berlin, 10587 Berlin, Germany)

  • Shinichi Nakajima

    (Machine Learning Group, Technische Universität Berlin, 10587 Berlin, Germany
    Berlin Institute for the Foundations of Learning and Data, 10587 Berlin, Germany
    RIKEN Center for AIP, Tokyo 103-0027, Japan)

  • Klaus-Robert Müller

    (Machine Learning Group, Technische Universität Berlin, 10587 Berlin, Germany
    Berlin Institute for the Foundations of Learning and Data, 10587 Berlin, Germany
    Department of Artificial Intelligence, Korea University, Anam-dong, Seongbuk-gu, Seoul 02841, Republic of Korea
    Max-Planck-Institut für Informatik, Saarland Informatics Campus E1 4, 66123 Saarbrücken, Germany)

Abstract

Considering the worst-case scenario, the junction-tree algorithm remains the most general solution for exact MAP inference with polynomial run-time guarantees. Unfortunately, its main tractability assumption requires the treewidth of a corresponding MRF to be bounded, strongly limiting the range of admissible applications. In fact, many practical problems in the area of structured prediction require modeling global dependencies by either directly introducing global factors or enforcing global constraints on the prediction variables. However, this always results in a fully-connected graph, making exact inferences by means of this algorithm intractable. Previous works focusing on the problem of loss-augmented inference have demonstrated how efficient inference can be performed on models with specific global factors representing non-decomposable loss functions within the training regime of SSVMs. Making the observation that the same fundamental idea can be applied to solve a broader class of computational problems, in this paper, we adjust the framework for an efficient exact inference to allow much finer interactions between the energy of the core model and the sufficient statistics of the global terms. As a result, we greatly increase the range of admissible applications and strongly improve upon the theoretical guarantees of computational efficiency. We illustrate the applicability of our method in several use cases, including one that is not covered by the previous problem formulation. Furthermore, we propose a new graph transformation technique via node cloning, which ensures a polynomial run-time for solving our target problem. In particular, the overall computational complexity of our constrained message-passing algorithm depends only on form-independent quantities such as the treewidth of a corresponding graph (without global connections) and image size of the sufficient statistics of the global terms.

Suggested Citation

  • Alexander Bauer & Shinichi Nakajima & Klaus-Robert Müller, 2023. "Polynomial-Time Constrained Message Passing for Exact MAP Inference on Discrete Models with Global Dependencies," Mathematics, MDPI, vol. 11(12), pages 1-28, June.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:12:p:2628-:d:1166980
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/12/2628/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/12/2628/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:11:y:2023:i:12:p:2628-:d:1166980. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.