Papers › WorDepth: Variational Language Prior for Monocular Depth Estimation

WorDepth: Variational Language Prior for Monocular Depth Estimation

4 Apr 2024CVPR 2024 1arXiv:2404.03635archive 2025-07-28

Ziyao Zeng, Daniel Wang, Fengyu Yang, Hyoungseob Park, Yangchao Wu, Stefano Soatto, Byung-Woo Hong, Dong Lao, Alex Wong

Three-dimensional (3D) reconstruction from a single image is an ill-posed problem with inherent ambiguities, i.e. scale. Predicting a 3D scene from text description(s) is similarly ill-posed, i.e. spatial arrangements of objects described. We investigate the question of whether two inherently ambiguous modalities can be used in conjunction to produce metric-scaled reconstructions. To test this, we focus on monocular depth estimation, the problem of predicting a dense depth map from a single image, but with an additional text caption describing the scene. To this end, we begin by encoding the text caption as a mean and standard deviation; using a variational framework, we learn the distribution of the plausible metric reconstructions of 3D scenes corresponding to the text captions as a prior. To "select" a specific reconstruction or depth map, we encode the given image through a conditional sampler that samples from the latent space of the variational text encoder, which is then decoded to the output depth map. Our approach is trained alternatingly between the text and image branches: in one optimization step, we predict the mean and standard deviation from the text description and sample from a standard Gaussian, and in the other, we sample using a (image) conditional sampler. Once trained, we directly predict depth from the encoded text using the conditional sampler. We demonstrate our approach on indoor (NYUv2) and outdoor (KITTI) scenarios, where we show that language can consistently improve performance in both.

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="2404.03635")

Code

Syntology Ran 16 of 26 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 12 ran with no contract checked.

By repository: official repository: 26 samples from 1 repository, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

adonis-galaxy/wordepth officialmentioned in papermentioned on GitHubpytorch 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

26 samples harvested; 16 ran; 1 honoured the contract we drafted; 10 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 · honoured contract
2ran · our draft was wrong
1ran · fixture could not drive it
12ran
10unverified

Licence: 26 of the 26 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 adonis-galaxy/wordepth. “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.

window_partition adonis-galaxy/wordepth/src/networks/swin_transformer.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 144d10b49baeb8a6 · report
EpsLayer Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 78636f3e5d41d22f · report
MetricLayer Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · e42969b7bf86747e · report
OutConv Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 96be5d7e36e0d6f8 · report
Refine Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran no licence file found · pointer only · 22c1941ae236e18b · report
SILogLoss Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · f78085ec460691c1 · report
Text_Encoder Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 0ec8b081015d6151 · report
Up Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · ca0383a1bf504494 · report
_load_checkpoint Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran · our draft was wrong no licence file found · pointer only · 51d3a176d1206333 · report
compute_errors adonis-galaxy/wordepth/src/utils.py official repository ran no licence file found · pointer only · e87fd998291bd040 · report
get_dist_info Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran · metamorphic tier: well formed no licence file found · pointer only · a91567db5e6c35b4 · report
get_num_lines adonis-galaxy/wordepth/src/utils.py official repository ran · honoured contract no licence file found · pointer only · 050c56fb7282eb88 · report
get_torchvision_models Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · a1b8bb2acb22a0ec · report
normalize_result adonis-galaxy/wordepth/src/utils.py official repository ran no licence file found · pointer only · 8a05ea4d5e917bf4 · report
preprocessing_transforms adonis-galaxy/wordepth/src/dataloaders/dataloader.py official repository ran no licence file found · pointer only · 46c295513e59ec5a · report
window_reverse adonis-galaxy/wordepth/src/networks/swin_transformer.py official repository ran · our draft was wrong no licence file found · pointer only · 61bf152e6a42a184 · report
BasicLayer Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository unverified no licence file found · pointer only · 4474d70757f8bbdf · report
DoubleConv Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository unverified no licence file found · pointer only · 533554e0f3ae3b96 · report
SwinTransformer Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository unverified no licence file found · pointer only · 0ba2498ffe0b4454 · report
WorDepth Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository unverified no licence file found · pointer only · 895009095cba7a32 · report
is_module_wrapper Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository unverified no licence file found · pointer only · 9b9dd29ad0d626a0 · report
load_checkpoint Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository unverified no licence file found · pointer only · 99a1fadf82ab1b67 · report
load_state_dict Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository unverified no licence file found · pointer only · b9bb350524a8fa9f · report
load_url_dist Adonis-galaxy/WorDepth/src/networks/wordepth.py official repository unverified no licence file found · pointer only · 3b1a511338023426 · report
load_url_dist adonis-galaxy/wordepth/src/networks/utils.py official repository unverified no licence file found · pointer only · 92dad73ee855852f · report
resize adonis-galaxy/wordepth/src/networks/utils.py official repository unverified no licence file found · pointer only · 9012d3fdd4cbaea1 · report

Tasks

3D ReconstructionDepth EstimationMonocular Depth Estimation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

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