Papers › HR-NAS: Searching Efficient High-Resolution Neural Architectures with Lightweight Transformers

HR-NAS: Searching Efficient High-Resolution Neural Architectures with Lightweight Transformers

11 Jun 2021CVPR 2021 1arXiv:2106.06560archive 2025-07-28

Mingyu Ding, Xiaochen Lian, Linjie Yang, Peng Wang, Xiaojie Jin, Zhiwu Lu, Ping Luo

High-resolution representations (HR) are essential for dense prediction tasks such as segmentation, detection, and pose estimation. Learning HR representations is typically ignored in previous Neural Architecture Search (NAS) methods that focus on image classification. This work proposes a novel NAS method, called HR-NAS, which is able to find efficient and accurate networks for different tasks, by effectively encoding multiscale contextual information while maintaining high-resolution representations. In HR-NAS, we renovate the NAS search space as well as its searching strategy. To better encode multiscale image contexts in the search space of HR-NAS, we first carefully design a lightweight transformer, whose computational complexity can be dynamically changed with respect to different objective functions and computation budgets. To maintain high-resolution representations of the learned networks, HR-NAS adopts a multi-branch architecture that provides convolutional encoding of multiple feature resolutions, inspired by HRNet. Last, we proposed an efficient fine-grained search strategy to train HR-NAS, which effectively explores the search space, and finds optimal architectures given various tasks and computation resources. HR-NAS is capable of achieving state-of-the-art trade-offs between performance and FLOPs for three dense prediction tasks and an image classification task, given only small computational budgets. For example, HR-NAS surpasses SqueezeNAS that is specially designed for semantic segmentation while improving efficiency by 45.9%. Code is available at https://github.com/dingmyu/HR-NAS

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

Code

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

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

dingmyu/HR-NAS officialmentioned in paperpytorchMIT 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

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

Licence: 0 of the 12 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 dingmyu/HR-NAS. “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.

conv3x3 dingmyu/HR-NAS/models/hrnet_base.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
conv_module_name_filter dingmyu/HR-NAS/utils/model_profiling.py official repository ran fingerprinted MIT (permissive) · 32f1f27f7d19f6ad · report
get_params dingmyu/HR-NAS/utils/model_profiling.py official repository ran MIT (permissive) · e2db4aa1fd031021 · report
resize dingmyu/HR-NAS/models/transformer.py official repository ran · fixture could not drive it MIT (permissive) · e8fbff5c3395ac23 · report
accuracy dingmyu/HR-NAS/mmseg/accuracy.py official repository unverified MIT (permissive) · b62c4cc79bbeaff7 · report
binary_cross_entropy dingmyu/HR-NAS/mmseg/loss.py official repository unverified MIT (permissive) · 386bec0c5e132dd1 · report
cross_entropy dingmyu/HR-NAS/mmseg/loss.py official repository unverified MIT (permissive) · 156683f98b5dd1b4 · report
get_active_fn dingmyu/HR-NAS/models/mobilenet_base.py official repository unverified MIT (permissive) · f344ad03a3e1b61b · report
get_points_single dingmyu/HR-NAS/models/transformer.py official repository unverified MIT (permissive) · 954418d7666daede · report
mask_cross_entropy dingmyu/HR-NAS/mmseg/loss.py official repository unverified MIT (permissive) · 13224d835509143a · report
output_network dingmyu/HR-NAS/models/mobilenet_base.py official repository unverified MIT (permissive) · 39bddff1555b4a0c · report
run_forward dingmyu/HR-NAS/utils/model_profiling.py official repository unverified MIT (permissive) · 17c195449846c9ea · report

Tasks

Image ClassificationNeural Architecture SearchPose EstimationSemantic SegmentationVocal Bursts Intensity Predictionimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Batch NormalizationConvolutionHRNetReLUResidual Connection

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