SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.10651 · ICCV · 2023

HairCLIPv2: Unifying Hair Editing via Proxy Feature Blending

Dongdong Chen, Weiming Zhang, Nenghai Yu, Jing Liao, Wenbo Zhou, Gang Hua, Tianyi Wei

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.10651.json · badge: /api/ran/2310.10651.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
wty-ustc/HairCLIPv2 canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
custom_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wty-ustc/HairCLIPv2/criteria/style/custom_loss.py
pointer only (licence: NONE) · get_code("2c2f1331898f4592")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wty-ustc/HairCLIPv2 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wty-ustc/HairCLIPv2/criteria/style/custom_loss.py
pointer only (licence: NONE) · get_code("cf72cfc1721c8503")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wty-ustc/HairCLIPv2 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

score_2afc_dataset Ran
ran; our contract draft was wrong, not the code
wty-ustc/HairCLIPv2/criteria/lpips/dist_model.py
pointer only (licence: NONE) · get_code("514dd3c0eee3691c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wty-ustc/HairCLIPv2 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

spatial_average Ran
ran; our contract draft was wrong, not the code
wty-ustc/HairCLIPv2/criteria/lpips/networks_basic.py
pointer only (licence: NONE) · get_code("29e5e72bcd006dcd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wty-ustc/HairCLIPv2 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

upsample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wty-ustc/HairCLIPv2/criteria/lpips/networks_basic.py
pointer only (licence: NONE); the stored copy get_code serves, from cychungg/hairfusion, is pointer only (licence: NONE) · get_code("351677a36e1961df")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, wty-ustc/HairCLIPv2 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
spatial_average 19 other papers
11 dated earlier, 7 later, 1 same year, order not determinable
1801.03924 (2018-01)
The Unreasonable Effectiveness of Deep Features as a Perceptual Metric
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2002.09219 (2020-02)
Stochastic Latent Residual Video Prediction
and 16 more not named here
score_2afc_dataset 15 other papers
9 dated earlier, 5 later, 1 same year, order not determinable
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2002.09219 (2020-02)
Stochastic Latent Residual Video Prediction
2005.00953 (2020-05)
Deep Generative Adversarial Residual Convolutional Networks for Real-World Super-Resolution
and 12 more not named here
upsample 10 other papers
6 dated earlier, 3 later, 1 same year, order not determinable
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2002.09219 (2020-02)
Stochastic Latent Residual Video Prediction
2005.05999 (2020-05)
Fast Deep Multi-patch Hierarchical Network for Nonhomogeneous Image Dehazing
and 7 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Hair editing has made tremendous progress in recent years. Early hair editing methods use well-drawn sketches or masks to specify the editing conditions. Even though they can enable very fine-grained local control, such interaction modes are inefficient for the editing conditions that can be easily specified by language descriptions or reference images. Thanks to the recent breakthrough of cross-modal models (e.g., CLIP), HairCLIP is the first work that enables hair editing based on text descriptions or reference images. However, such text-driven and reference-driven interaction modes make HairCLIP unable to support finegrained controls specified by sketch or mask. In this paper, we propose HairCLIPv2, aiming to support all the aforementioned interactions with one unified framework. Simultaneously, it improves upon HairCLIP with better irrelevant attributes (e.g., identity, background) preservation and unseen text descriptions support. The key idea is to convert all the hair editing tasks into hair transfer tasks, with editing conditions converted into different proxies accordingly. The editing effects are added upon the input image by blend- † Wenbo Zhou is the corresponding author. ing the corresponding proxy features within the hairstyle or hair color feature spaces. Besides the unprecedented user interaction mode support, quantitative and qualitative experiments demonstrate the superiority of HairCLIPv2 in terms of editing effects, irrelevant attribute preservation and visual naturalness. Our code is available at https: //github.com/wty-ustc/HairCLIPv2.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.10651")
get_code_for_paper("2310.10651")
have("2310.10651")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2310.10651.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2310.10651.svg)](https://syntology.ai/paper/2310.10651)

Connect an agent — have() is free.