Papers › Conditional Random Fields as Recurrent Neural Networks

Conditional Random Fields as Recurrent Neural Networks

11 Feb 2015ICCV 2015 12arXiv:1502.03240archive 2025-07-28

Shuai Zheng, Sadeep Jayasumana, Bernardino Romera-Paredes, Vibhav Vineet, Zhizhong Su, Dalong Du, Chang Huang, Philip H. S. Torr

Pixel-level labelling tasks, such as semantic segmentation, play a central role in image understanding. Recent approaches have attempted to harness the capabilities of deep learning techniques for image recognition to tackle pixel-level labelling tasks. One central issue in this methodology is the limited capacity of deep learning techniques to delineate visual objects. To solve this problem, we introduce a new form of convolutional neural network that combines the strengths of Convolutional Neural Networks (CNNs) and Conditional Random Fields (CRFs)-based probabilistic graphical modelling. To this end, we formulate mean-field approximate inference for the Conditional Random Fields with Gaussian pairwise potentials as Recurrent Neural Networks. This network, called CRF-RNN, is then plugged in as a part of a CNN to obtain a deep network that has desirable properties of both CNNs and CRFs. Importantly, our system fully integrates CRF modelling with CNNs, making it possible to train the whole deep network end-to-end with the usual back-propagation algorithm, avoiding offline post-processing methods for object delineation. We apply the proposed method to the problem of semantic image segmentation, obtaining top results on the challenging Pascal VOC 2012 segmentation benchmark.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1502.03240")

Code

Syntology Ran 1 of 8 code samples harvested from 4 repositories linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · violated contract.

By repository: official repository: 2 samples from 1 repository, 1 ran; community (archive-listed): 6 samples from 3 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

torrvision/crfasrnn officialmentioned in papermentioned on GitHubtf report
AsafBarZvi/Liver_project mentioned on GitHubtf report
MiguelMonteiro/CRFasRNNLayer mentioned on GitHubtf report
liyin2015/superpixel_crfasrnn mentioned on GitHubtfMIT report
sadeepj/crfasrnn_keras mentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 1 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
7unverified

Licence: 2 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

resize_image torrvision/crfasrnn/python-scripts/crfasrnn_demo.py official repository ran · violated contract fingerprinted licence not identified · pointer only · 31e46c827e832dd6 · report
get_palette torrvision/crfasrnn/python-scripts/crfasrnn_demo.py official repository unverified licence not identified · pointer only · fc71619ee0d554fe · report
get_label_image liyin2015/superpixel_crfasrnn/src/util.py community (archive-listed) unverified MIT (permissive) · db38aa03e6d3a208 · report
get_label_image sadeepj/crfasrnn_keras/src/util.py community (archive-listed) unverified MIT (permissive) · 009195585f116fc3 · report
get_label_image sadeepj/crfasrnn_pytorch/crfasrnn/util.py community (archive-listed) unverified MIT (permissive) · 9155576698e42614 · report
get_preprocessed_image liyin2015/superpixel_crfasrnn/src/util.py community (archive-listed) unverified MIT (permissive) · 54e90a3f29d4b02d · report
get_preprocessed_image sadeepj/crfasrnn_keras/src/util.py community (archive-listed) unverified MIT (permissive) · 9c0f9edd8720acc3 · report
get_preprocessed_image sadeepj/crfasrnn_pytorch/crfasrnn/util.py community (archive-listed) unverified MIT (permissive) · a8826ad32226c0b9 · report

Tasks

Image SegmentationReal-Time Semantic SegmentationSegmentationSemantic Segmentation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Real-Time Semantic Segmentation Cityscapes test CRF-RNN Frame (fps) 1.4 #38 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test CRF-RNN Time (ms) 700 #38 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test CRF-RNN mIoU 62.5% #38 of 39 Archive leaderboard report
Semantic Segmentation PASCAL Context CRF-RNN mIoU 39.3 #62 of 66 Archive leaderboard report
Semantic Segmentation PASCAL VOC 2012 test CRF-RNN Mean IoU 74.7% #36 of 51 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: CRF-RNN

CRFCRF-RNNConvolutionFCNMax PoolingSGD with MomentumSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections