{"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":"/paper/polarized-self-attention-towards-high-quality-1","title":"Polarized Self-Attention: Towards High-quality Pixel-wise Regression","arxiv_id":"2107.00782","date":"2021-07-02","proceeding":"arXiv preprint 2021 7","authors":["Huajun Liu","Fuqiang Liu","Xinyi Fan","Dong Huang"],"abstract":"Pixel-wise regression is probably the most common problem in fine-grained computer vision tasks, such as estimating keypoint heatmaps and segmentation masks. These regression problems are very challenging particularly because they require, at low computation overheads, modeling long-range dependencies on high-resolution inputs/outputs to estimate the highly nonlinear pixel-wise semantics. While attention mechanisms in Deep Convolutional Neural Networks(DCNNs) has become popular for boosting long-range dependencies, element-specific attention, such as Nonlocal blocks, is highly complex and noise-sensitive to learn, and most of simplified attention hybrids try to reach the best compromise among multiple types of tasks. In this paper, we present the Polarized Self-Attention(PSA) block that incorporates two critical designs towards high-quality pixel-wise regression: (1) Polarized filtering: keeping high internal resolution in both channel and spatial attention computation while completely collapsing input tensors along their counterpart dimensions. (2) Enhancement: composing non-linearity that directly fits the output distribution of typical fine-grained regression, such as the 2D Gaussian distribution (keypoint heatmaps), or the 2D Binormial distribution (binary segmentation masks). PSA appears to have exhausted the representation capacity within its channel-only and spatial-only branches, such that there is only marginal metric differences between its sequential and parallel layouts. Experimental results show that PSA boosts standard baselines by $2-4$ points, and boosts state-of-the-arts by $1-2$ points on 2D pose estimation and semantic segmentation benchmarks.","url_abs":"https://arxiv.org/abs/2107.00782v2","url_pdf":"https://arxiv.org/pdf/2107.00782v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"polarized-self-attention-towards-high-quality-1","repo_url":"https://github.com/DeLightCMU/PSA","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"polarized-self-attention-towards-high-quality-1","repo_url":"https://github.com/sithu31296/pose-estimation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"polarized-self-attention-towards-high-quality-1","repo_url":"https://github.com/sithu31296/semantic-segmentation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"polarized-self-attention-towards-high-quality-1","repo_url":"https://github.com/PaddlePaddle/PaddleSeg","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"paddle","reach":null},{"paper_slug":"polarized-self-attention-towards-high-quality-1","repo_url":"https://github.com/mindspore-courses/External-Attention-MindSpore/blob/main/model/attention/PolarizedSelfAttention.py","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"polarized-self-attention-towards-high-quality-1","repo_url":"https://github.com/xmu-xiaoma666/External-Attention-pytorch/blob/master/attention/PolarizedSelfAttention.py","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"2d-pose-estimation","task_name":"2D Pose Estimation"},{"task_slug":"keypoint-detection","task_name":"Keypoint Detection"},{"task_slug":"pose-estimation","task_name":"Pose Estimation"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"high","task_name":"Vocal Bursts Intensity Prediction"},{"task_slug":"regression-1","task_name":"regression"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/keypoint-detection-on-coco","task":"Keypoint Detection","dataset":"COCO (Common Objects in Context)","model":"UDP-Pose-PSA(384x288)","rank_in_archive_order":20,"of":24,"metrics":{"Validation AP":"79.5"},"uses_additional_data":false},{"leaderboard":"/sota/pose-estimation-on-coco-test-dev","task":"Pose Estimation","dataset":"COCO test-dev","model":"UDP-Pose-PSA(384x288)","rank_in_archive_order":3,"of":47,"metrics":{"AP":"79.5","AP50":"93.6","AP75":"85.9","APL":"84.3","APM":"76.3","AR":"81.9"},"uses_additional_data":false},{"leaderboard":"/sota/pose-estimation-on-coco-test-dev","task":"Pose Estimation","dataset":"COCO test-dev","model":"UDP-Pose-PSA(256x192)","rank_in_archive_order":7,"of":47,"metrics":{"AP":"78.9","AP50":"93.6","AP75":"85.8","APL":"83.6","APM":"76.1","AR":"81.4"},"uses_additional_data":false},{"leaderboard":"/sota/semantic-segmentation-on-cityscapes-val","task":"Semantic Segmentation","dataset":"Cityscapes val","model":"HRNetV2-OCR+PSA","rank_in_archive_order":5,"of":99,"metrics":{"mIoU":"86.93"},"uses_additional_data":true}],"syntology":{"syntology_url":"https://syntology.ai/paper/2107.00782","atlas_url":"https://app.syntology.ai/?focus=2107.00782","mcp":null,"developers":"https://syntology.ai/developers","held":true,"reason":"arxiv_id_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"agent_calls":[{"tool":"get_citation_path","arguments":{"paper_1":"2107.00782"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"2107.00782\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"2107.00782"},"call":"get_concepts_for_paper(arxiv_id=\"2107.00782\")"}],"by_repo":[{"repo":"DeLightCMU/PSA","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"sithu31296/pose-estimation","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2107.11291"],"harvested_for_calls":[{"arxiv_id":"2107.11291","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2107.11291"},"call":"get_harvested_code_for_paper(arxiv_id=\"2107.11291\")"}]},{"repo":"sithu31296/semantic-segmentation","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":3,"harvested_for":["2105.15203","2108.07058","2201.03545"],"harvested_for_calls":[{"arxiv_id":"2105.15203","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2105.15203"},"call":"get_harvested_code_for_paper(arxiv_id=\"2105.15203\")"},{"arxiv_id":"2108.07058","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2108.07058"},"call":"get_harvested_code_for_paper(arxiv_id=\"2108.07058\")"},{"arxiv_id":"2201.03545","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2201.03545"},"call":"get_harvested_code_for_paper(arxiv_id=\"2201.03545\")"}]},{"repo":"PaddlePaddle/PaddleSeg","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2109.09406"],"harvested_for_calls":[{"arxiv_id":"2109.09406","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2109.09406"},"call":"get_harvested_code_for_paper(arxiv_id=\"2109.09406\")"}]},{"repo":"mindspore-courses/External-Attention-MindSpore","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"xmu-xiaoma666/External-Attention-pytorch","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":7,"harvested_for":["1706.03762","2101.03697","2103.06255","2103.12731","2105.01601","2105.08050","2110.02178"],"harvested_for_calls":[{"arxiv_id":"1706.03762","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"1706.03762"},"call":"get_harvested_code_for_paper(arxiv_id=\"1706.03762\")"},{"arxiv_id":"2101.03697","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2101.03697"},"call":"get_harvested_code_for_paper(arxiv_id=\"2101.03697\")"},{"arxiv_id":"2103.06255","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2103.06255"},"call":"get_harvested_code_for_paper(arxiv_id=\"2103.06255\")"},{"arxiv_id":"2103.12731","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2103.12731"},"call":"get_harvested_code_for_paper(arxiv_id=\"2103.12731\")"},{"arxiv_id":"2105.01601","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2105.01601"},"call":"get_harvested_code_for_paper(arxiv_id=\"2105.01601\")"},{"arxiv_id":"2105.08050","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2105.08050"},"call":"get_harvested_code_for_paper(arxiv_id=\"2105.08050\")"},{"arxiv_id":"2110.02178","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2110.02178"},"call":"get_harvested_code_for_paper(arxiv_id=\"2110.02178\")"}]}],"by_repo_harvested_for_is":"harvested_for: the arXiv ids (as Syntology's graph holds them) of every paper whose samples Syntology's graph links to this repository, in arXiv-id order, complete; the page names the first 3 and says how many more. A link only: it does not say the papers are the same work, that one copied the other, or that the code implements this paper's method; harvested_for_calls gives the get_harvested_code_for_paper call for each arXiv-shaped id among them","by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"a89497fcedc25352a5a49e8269428046facce444cc1c80485d0c158fb8912aaa","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}