# Can We Learn Heuristics For Graphical Model Inference Using Reinforcement Learning?

Source: [Can We Learn Heuristics For Graphical Model Inference Using Reinforcement Learning?](<https://www.sota2.com/research/paper/68fa67791e209131cea169e0>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-25T22:16:13.371Z

Authors: Safa Messaoud, Maghav Kumar, Alexander G. Schwing

Published: 2020-04-27T19:24:04.000Z

## Abstract

Combinatorial optimization is frequently used in computer vision. For instance, in applications like semantic segmentation, human pose estimation and action recognition, programs are formulated for solving inference in Conditional Random Fields (CRFs) to produce a structured output that is consistent with visual features of the image. However, solving inference in CRFs is in general intractable, and approximation methods are computationally demanding and limited to unary, pairwise and hand-crafted forms of higher order potentials. In this paper, we show that we can learn program heuristics, i.e., policies, for solving inference in higher order CRFs for the task of semantic segmentation, using reinforcement learning. Our method solves inference tasks efficiently without imposing any constraints on the form of the potentials. We show compelling results on the Pascal VOC and MOTS datasets.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2005.01508>)

[PDF](<https://arxiv.org/pdf/2005.01508.pdf>)
