{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/method/dense-prediction-transformer","slug":"dense-prediction-transformer","name":"DPT","full_name":"Dense Prediction Transformer","full_name_withheld":false,"description_markdown":"**Dense Prediction Transformers** (DPT) are a type of [vision transformer](https://paperswithcode.com/method/vision-transformer) for dense prediction tasks.\r\n\r\nThe input image is transformed into tokens (orange) either by extracting non-overlapping patches followed by a linear projection of their flattened representation (DPT-Base and DPT-Large) or by applying a [ResNet](https://paperswithcode.com/method/resnet)-50 feature extractor (DPT-Hybrid). The image embedding is augmented with a positional embedding and a patch-independent readout token (red) is added. The tokens are passed through multiple [transformer](https://paperswithcode.com/method/transformer) stages. The tokens are reassembled from different stages into an image-like representation at multiple resolutions (green). Fusion modules (purple) progressively fuse and upsample the representations to generate a fine-grained prediction.","description_state":"present","introduced_year":null,"introduced_by":{"title":"Vision Transformers for Dense Prediction","paper":"/paper/vision-transformers-for-dense-prediction","first_author":"René Ranftl","n_authors":3,"url_abs":null,"archive_paper_url":"https://paperswithcode.com/paper/vision-transformers-for-dense-prediction"},"source":{"url":"https://arxiv.org/abs/2103.13413v1","title":"Vision Transformers for Dense Prediction","url_on_a_paper_host":true},"code_snippet_url":"https://github.com/intel-isl/DPT/blob/f43ef9e08d70a752195028a51be5e1aff227b913/dpt/models.py#L26","code_snippet_url_on_a_code_host":true,"categories":[{"area":"Computer Vision","area_id":"computer-vision","collection":"Image Models","url":"/methods/category/image-models","pwc_aliases":[]},{"area":"Computer Vision","area_id":"computer-vision","collection":"Vision Transformers","url":"/methods/category/vision-transformers","pwc_aliases":["vision-transformer"]}],"n_papers_tagged":25,"archive_num_papers":25,"papers_newest_first":[{"paper":null,"slug":"can-in-context-reinforcement-learning-recover","title":"Can In-Context Reinforcement Learning Recover From Reward Poisoning Attacks?","date":"2025-06-07","arxiv_id":"2506.06891","n_code_links":0,"syntology":null},{"paper":null,"slug":"filtering-learning-histories-enhances-in","title":"Filtering Learning Histories Enhances In-Context Reinforcement Learning","date":"2025-05-21","arxiv_id":"2505.15143","n_code_links":0,"syntology":null},{"paper":null,"slug":"sar-object-detection-with-self-supervised","title":"SAR Object Detection with Self-Supervised Pretraining and Curriculum-Aware Sampling","date":"2025-04-17","arxiv_id":"2504.13310","n_code_links":0,"syntology":null},{"paper":null,"slug":"sad-state-action-distillation-for-in-context","title":"Random Policy Enables In-Context Reinforcement Learning within Trust Horizons","date":"2024-10-25","arxiv_id":"2410.19982","n_code_links":0,"syntology":null},{"paper":null,"slug":"theoretical-limits-of-descending-ell-0-sparse","title":"Theoretical limits of descending $\\ell_0$ sparse-regression ML algorithms","date":"2024-10-10","arxiv_id":"2410.07651","n_code_links":0,"syntology":null},{"paper":null,"slug":"endogenous-crashes-as-phase-transitions","title":"Endogenous Crashes as Phase Transitions","date":"2024-08-12","arxiv_id":"2408.06433","n_code_links":0,"syntology":null},{"paper":null,"slug":"pretraining-decision-transformers-with-reward","title":"Pretraining Decision Transformers with Reward Prediction for In-Context Multi-task Structured Bandit Learning","date":"2024-06-07","arxiv_id":"2406.05064","n_code_links":0,"syntology":null},{"paper":"/paper/developmental-pretraining-dpt-for-image","slug":"developmental-pretraining-dpt-for-image","title":"Developmental Pretraining (DPT) for Image Classification Networks","date":"2023-12-01","arxiv_id":"2312.00304","n_code_links":1,"syntology":null},{"paper":null,"slug":"enhancing-diffusion-models-with-3d","title":"Enhancing Diffusion Models with 3D Perspective Geometry Constraints","date":"2023-12-01","arxiv_id":"2312.00944","n_code_links":0,"syntology":null},{"paper":null,"slug":"depth-guided-free-space-segmentation-for-a","title":"Depth-guided Free-space Segmentation for a Mobile Robot","date":"2023-11-03","arxiv_id":"2311.01966","n_code_links":0,"syntology":null},{"paper":null,"slug":"the-serotonergic-psychedelic-n-n","title":"The serotonergic psychedelic N,N-dipropyltryptamine alters information-processing dynamics in cortical neural circuits","date":"2023-10-31","arxiv_id":"2310.20582","n_code_links":0,"syntology":null},{"paper":null,"slug":"supervised-pretraining-can-learn-in-context","title":"Supervised Pretraining Can Learn In-Context Reinforcement Learning","date":"2023-06-26","arxiv_id":"2306.14892","n_code_links":0,"syntology":null},{"paper":null,"slug":"high-resolution-synthetic-rgb-d-datasets-for","title":"High-Resolution Synthetic RGB-D Datasets for Monocular Depth Estimation","date":"2023-05-02","arxiv_id":"2305.01732","n_code_links":0,"syntology":null},{"paper":"/paper/diffusion-models-and-semi-supervised-learners-1","slug":"diffusion-models-and-semi-supervised-learners-1","title":"Diffusion Models and Semi-Supervised Learners Benefit Mutually with Few Labels","date":"2023-02-21","arxiv_id":"2302.10586","n_code_links":3,"syntology":{"ran":18,"of":22,"n_ran_checked":8,"n_instrument":10,"unverified":4,"pointer_only":9,"phrase":"18 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 1 honoured, 0 violated, 7 with no contract checked; 10 where Syntology's instrument failed) · 4 unverified","official":{"repos":["ml-gsai/dpt","baofff/U-ViT"],"state":"official (archive's flag): 18 ran","n_ran":18,"n_constructed":0,"n_ran_no_instrument_failure":8,"n_unverified":4,"ran_from_kinds":["official"]}}},{"paper":"/paper/denoising-and-prompt-tuning-for-multi","slug":"denoising-and-prompt-tuning-for-multi","title":"Denoising and Prompt-Tuning for Multi-Behavior Recommendation","date":"2023-02-12","arxiv_id":"2302.05862","n_code_links":1,"syntology":null},{"paper":"/paper/dptdr-deep-prompt-tuning-for-dense-passage","slug":"dptdr-deep-prompt-tuning-for-dense-passage","title":"DPTDR: Deep Prompt Tuning for Dense Passage Retrieval","date":"2022-08-24","arxiv_id":"2208.11503","n_code_links":2,"syntology":null},{"paper":"/paper/class-aware-visual-prompt-tuning-for-vision","slug":"class-aware-visual-prompt-tuning-for-vision","title":"Dual Modality Prompt Tuning for Vision-Language Pre-Trained Model","date":"2022-08-17","arxiv_id":"2208.08340","n_code_links":1,"syntology":null},{"paper":null,"slug":"ssdpt-self-supervised-dual-path-transformer","title":"SSDPT: Self-Supervised Dual-Path Transformer for Anomalous Sound Detection in Machine Condition Monitoring","date":"2022-08-06","arxiv_id":"2208.03421","n_code_links":0,"syntology":null},{"paper":"/paper/prompt-tuning-for-discriminative-pre-trained-1","slug":"prompt-tuning-for-discriminative-pre-trained-1","title":"Prompt Tuning for Discriminative Pre-trained Language Models","date":"2022-05-23","arxiv_id":"2205.11166","n_code_links":1,"syntology":{"ran":7,"of":12,"n_ran_checked":5,"n_instrument":2,"unverified":5,"pointer_only":0,"phrase":"7 ran (of which 4 constructed an object rather than computing a result; 5 with no instrument failure: 0 honoured, 0 violated, 5 with no contract checked; 2 where Syntology's instrument failed) · 5 unverified","official":{"repos":["thunlp/dpt"],"state":"official (archive's flag): 7 ran","n_ran":7,"n_constructed":4,"n_ran_no_instrument_failure":5,"n_unverified":5,"ran_from_kinds":["official"]}}},{"paper":"/paper/declaration-based-prompt-tuning-for-visual","slug":"declaration-based-prompt-tuning-for-visual","title":"Declaration-based Prompt Tuning for Visual Question Answering","date":"2022-05-05","arxiv_id":"2205.02456","n_code_links":1,"syntology":null},{"paper":null,"slug":"integration-of-neural-network-and-fuzzy-logic","title":"Integration of neural network and fuzzy logic decision making compared with bilayered neural network in the simulation of daily dew point temperature","date":"2022-02-23","arxiv_id":"2202.12256","n_code_links":0,"syntology":null},{"paper":null,"slug":"boosting-monocular-depth-estimation-with-1","title":"Towards 3D Scene Reconstruction from Locally Scale-Aligned Monocular Video Depth","date":"2022-02-03","arxiv_id":"2202.01470","n_code_links":0,"syntology":null},{"paper":"/paper/detail-preserving-transformer-for-light-field","slug":"detail-preserving-transformer-for-light-field","title":"Detail-Preserving Transformer for Light Field Image Super-Resolution","date":"2022-01-02","arxiv_id":"2201.00346","n_code_links":1,"syntology":{"ran":10,"of":21,"n_ran_checked":6,"n_instrument":4,"unverified":11,"pointer_only":21,"phrase":"10 ran (of which 0 constructed an object rather than computing a result; 6 with no instrument failure: 0 honoured, 0 violated, 6 with no contract checked; 4 where Syntology's instrument failed) · 11 unverified","official":{"repos":["bitszwang/dpt"],"state":"official (archive's flag): 10 ran","n_ran":10,"n_constructed":0,"n_ran_no_instrument_failure":6,"n_unverified":11,"ran_from_kinds":["official"]}}},{"paper":"/paper/dpt-deformable-patch-based-transformer-for","slug":"dpt-deformable-patch-based-transformer-for","title":"DPT: Deformable Patch-based Transformer for Visual Recognition","date":"2021-07-30","arxiv_id":"2107.14467","n_code_links":1,"syntology":{"ran":1,"of":1,"n_ran_checked":0,"n_instrument":1,"unverified":0,"pointer_only":0,"phrase":"1 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified","official":{"repos":["CASIA-IVA-Lab/DPT"],"state":"official (archive's flag): 1 ran","n_ran":1,"n_constructed":0,"n_ran_no_instrument_failure":0,"n_unverified":0,"ran_from_kinds":["official"]}}},{"paper":"/paper/vision-transformers-for-dense-prediction","slug":"vision-transformers-for-dense-prediction","title":"Vision Transformers for Dense Prediction","date":"2021-03-24","arxiv_id":"2103.13413","n_code_links":15,"syntology":{"ran":65,"of":116,"n_ran_checked":32,"n_instrument":33,"unverified":51,"pointer_only":15,"phrase":"65 ran (of which 19 constructed an object rather than computing a result; 32 with no instrument failure: 0 honoured, 0 violated, 32 with no contract checked; 33 where Syntology's instrument failed) · 51 unverified","official":null}}],"papers_shown":25,"papers_order":"date (newest first), then slug","paper_counts":{"archive_papers_tagged":25,"with_a_code_link":10,"where_syntology_ran_a_sample":5,"not_listed_spam_title":0,"listed":25,"listed_where_code_ran":5,"where_syntology_ran_a_sample_split":{"with_a_run_with_no_instrument_failure":4,"every_run_a_failure_of_syntologys_instrument":1,"listed_with_a_run_with_no_instrument_failure":4,"listed_every_run_a_failure_of_syntologys_instrument":1,"filter":{"states":["a run with no instrument failure","any run, instrument failures included"],"default":"a run with no instrument failure","note":"on the 'only where code ran' pages the default hides, in the browser, the rows where every run was a failure of Syntology's instrument; the second state shows them again. Rows are hidden, never re-ordered; these twins list every row"}},"definition":"distinct papers the archive tags; 'where Syntology ran a sample' counts papers with at least one harvested sample that ran, which is not a correctness claim"},"papers_where_code_ran":5,"papers_where_code_ran_first_page":"/method/dense-prediction-transformer/papers/ran/1","papers_where_code_ran_caption":"We ran code from the paper's repository; we did not isolate this method inside it.","pages":[{"order":"ran","page":1,"of":1,"url":"/method/dense-prediction-transformer/papers/ran/1","json":"/method/dense-prediction-transformer/papers/ran/1.json","rows":5}],"tasks":[{"task":"/task/depth-estimation","name":"Depth Estimation","papers":4},{"task":null,"name":"In-Context Reinforcement Learning","papers":4},{"task":"/task/language-modelling","name":"Language Modelling","papers":4},{"task":"/task/monocular-depth-estimation","name":"Monocular Depth Estimation","papers":4},{"task":"/task/reinforcement-learning","name":"Reinforcement Learning","papers":3},{"task":"/task/semantic-segmentation","name":"Semantic Segmentation","papers":3},{"task":"/task/reinforcement-learning-2","name":"reinforcement-learning","papers":3},{"task":"/task/classification-1","name":"Classification","papers":2},{"task":"/task/decision-making","name":"Decision Making","papers":2},{"task":"/task/image-classification","name":"Image Classification","papers":2},{"task":"/task/in-context-learning","name":"In-Context Learning","papers":2},{"task":"/task/language-modeling","name":"Language Modeling","papers":2},{"task":"/task/object-detection","name":"Object Detection","papers":2},{"task":"/task/question-answering","name":"Question Answering","papers":2},{"task":"/task/reinforcement-learning-1","name":"Reinforcement Learning (RL)","papers":2},{"task":"/task/self-supervised-learning","name":"Self-Supervised Learning","papers":2},{"task":"/task/image-classification","name":"image-classification","papers":2},{"task":"/task/object-detection-1","name":"object-detection","papers":2},{"task":"/task/3d-scene-reconstruction","name":"3D Scene Reconstruction","papers":1},{"task":"/task/autonomous-driving","name":"Autonomous Driving","papers":1}],"tasks_shown":20,"n_tasks":53,"usage_by_year":[{"year":"2021","papers":2},{"year":"2022","papers":8},{"year":"2023","papers":8},{"year":"2024","papers":4},{"year":"2025","papers":3}],"row_source":"methods_table","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/dense-prediction-transformer"},"syntology_read_at":"2026-10-05T00:36:11+00:00","syntology":{"source":"Syntology's have check for this name (the free coverage lookup), read from Syntology's graph","have_url":"https://syntology.ai/api/graph/have?x=DPT","read_at":"2026-10-05T00:54:46+00:00","query":"DPT","kind":"method","have":"declared_code","tier":"repo_known","verified_implementation":false,"level":null,"level_meaning":"the served verification level, per answer; never summed across methods","resolved_to":{"method":"DPT","origin_arxiv_id":"2205.11166"},"resolution":"exact","resolved_name_differs":false,"absence_asserted":false,"absence_unchecked":null,"no_code_is_about_this_method":false,"subject":"different_paper","archive_paper_arxiv_id":"2103.13413","repositories":{"listed":2,"in_graph":2,"list_truncated":false,"strongest_link":"official"},"retrieve_with":null,"name_competition":{"verdict":"outranked","may_be_wrong_sense":true,"bearers_found":5,"served":{"arxiv_id":"2205.11166","citations":39},"leading_other_bearer":{"arxiv_id":"2107.14467","title":"DPT: Deformable Patch-based Transformer for Visual Recognition","citations":138,"named_by":["title_prefix"],"bearer_name":"DPT: Deformable Patch-based Transformer for Visual Recognition","ask_with":"have('2107.14467')"},"n_other_bearers_listed":4,"note":"'DPT' is ALSO the name of the paper 'DPT: Deformable Patch-based Transformer for Visual Recognition' (arXiv:2107.14467, 138 citations), which is cited FAR more than the paper this answer is about (39). This answer may be about the wrong DPT. If you meant the better-known one, ask again with that entry of `also_named`."},"name_competition_text":"The same name also belongs to the paper “DPT: Deformable Patch-based Transformer for Visual Recognition” (arXiv:2107.14467, 138 citations), which the lookup finds cited far more than the paper this answer is about (39 citations), so this answer may be about a different sense of the name.","near_matches":null,"code_nearby":[],"code_nearby_caption":null,"origin_paper":{"arxiv_id":"2205.11166","page":"/paper/prompt-tuning-for-discriminative-pre-trained-1","syntology_url":"https://syntology.ai/paper/2205.11166","in_graph_layer":true,"samples":12,"ran":7,"n_ran_checked":5,"n_instrument":2,"unverified":5,"phrase":"7 ran (of which 4 constructed an object rather than computing a result; 5 with no instrument failure: 0 honoured, 0 violated, 5 with no contract checked; 2 where Syntology's instrument failed) · 5 unverified","instrument_means":"failures of Syntology's instrument, not of the code"},"line":"about another paper, arXiv:2205.11166: repository known, no verified implementation (declared_code; repositories: 2 listed of 2 in the graph, strongest link: official). About another paper: this answer is about arXiv:2205.11166, while the archive credits arXiv:2103.13413.","level_legend":null},"syntology_have_state":"loaded","record_sha256":"8a70f3c43bdef6fa8f46512c1c641bca9887c52d91810df0fe97547b792e27fc","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}