Gerard De Melo, Yue Li, Xiaoling Wang, Xin Yi, Linlin Wang, Dongsheng Shi
14 of 17 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; 1 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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/2025.findings-acl.394.json · badge: /api/ran/2025.findings-acl.394.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.
| Repository | Role | Ran |
|---|---|---|
| TheShineyue/HSR | canonical (classifier label) classifier basis: census |
14 ran · 3 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| check_sparsity | Ran ran on a synthesized input |
TheShineyue/HSR/alignment-attribution-hsr/lib/prune.py code served (permissive licence) · get_code("e5c2acc858940a2b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| find_layers | Ran ran; our contract draft was wrong, not the code |
TheShineyue/HSR/alignment-attribution-hsr/lib/prune.py pointer only (licence: MIT); the stored copy get_code serves, from zyxxmu/dsnot, is pointer only (licence: NONE) · get_code("2ed16fcdc14ad951") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from zyxxmu/dsnot, and GitHub detected no licence in that repository 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. |
| get_chat_vicuna | Ran ran on a synthesized input |
TheShineyue/HSR/alignment-attribution-hsr/lib/data.py code served (permissive licence) · get_code("44ae8046f05daee6") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_last_hidden_states | Ran ran, honoured the contract we drafted |
TheShineyue/HSR/SafetyHeadAttribution-hsr/attribution.py pointer only (licence: MIT); the stored copy get_code serves, from ydyjya/safetyheadattribution, is pointer only (licence: NONE) · get_code("313de3d0e5c72b22") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ydyjya/safetyheadattribution, and GitHub detected no licence in that repository 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. |
| get_last_hidden_states | Ran ran on a synthesized input |
TheShineyue/HSR/SafetyHeadAttribution-hsr/llava_next_ships.py code served (permissive licence) · get_code("2ae85ec12c676745") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 16) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_llm | Ran ran on a synthesized input |
TheShineyue/HSR/alignment-attribution-hsr/main_low_rank.py code served (permissive licence) · get_code("5638e4d0804fdac3") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned MockLLM. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| load_from_search_cfg | Ran ran; our contract draft was wrong, not the code |
TheShineyue/HSR/SafetyHeadAttribution-hsr/attribution.py pointer only (licence: MIT); the stored copy get_code serves, from ydyjya/safetyheadattribution, is pointer only (licence: NONE) · get_code("2b9bd829f84c86a0") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ydyjya/safetyheadattribution, and GitHub detected no licence in that repository 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. |
| load_vlm_dataset | Ran ran on a synthesized input |
TheShineyue/HSR/alignment-attribution-hsr/lib/data.py code served (permissive licence) · get_code("32597e11c4b6dc95") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Dataset. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| make_Act | Ran ran; our contract draft was wrong, not the code |
TheShineyue/HSR/alignment-attribution-hsr/lib/model_wrapper.py code served (permissive licence) · get_code("6331aac8ce321543") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned SimpleModel. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| make_Act | Ran ran; our contract draft was wrong, not the code |
TheShineyue/HSR/alignment-attribution-hsr/lib/model_wrapper_low.py code served (permissive licence) · get_code("bfffa1909ea61c48") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned SimpleModel. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| return_given_alpha | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
TheShineyue/HSR/alignment-attribution-hsr/lib/prune.py code served (permissive licence) · get_code("d79ce728b3ab7682") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| revert_Act_to_Linear | Ran ran; our contract draft was wrong, not the code |
TheShineyue/HSR/alignment-attribution-hsr/lib/model_wrapper.py code served (permissive licence) · get_code("8c4e38a44dc7aecd") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned SimpleModel. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| revert_Act_to_Linear | Ran ran; our contract draft was wrong, not the code |
TheShineyue/HSR/alignment-attribution-hsr/lib/model_wrapper_low.py code served (permissive licence) · get_code("51a9a80e8f53eb6b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned TestModel. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| update_mask_cfg | Ran ran; our contract draft was wrong, not the code |
TheShineyue/HSR/SafetyHeadAttribution-hsr/attribution.py pointer only (licence: MIT); the stored copy get_code serves, from ydyjya/safetyheadattribution, is pointer only (licence: NONE) · get_code("3a2320c99110f0df") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ydyjya/safetyheadattribution, and GitHub detected no licence in that repository 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. |
| apply_prompt_template | Not yet run unverified (harvested, no recorded run) |
TheShineyue/HSR/alignment-attribution-hsr/lib/prompt_utils.py code served (permissive licence) · get_code("f5343b47f228ee9b") How it ranno invocation recorded. |
| get_VLguard_vicuna | Not yet run unverified (harvested, no recorded run) |
TheShineyue/HSR/alignment-attribution-hsr/lib/data.py code served (permissive licence) · get_code("fbbb5f87e2327714") How it ranno invocation recorded. |
| get_prompt_template | Not yet run unverified (harvested, no recorded run) |
TheShineyue/HSR/alignment-attribution-hsr/lib/prompt_utils.py code served (permissive licence) · get_code("ae0dc3fd8cee2ec4") How it ranno invocation recorded. |
Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 7 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 1 later) and 8 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| find_layers | 21 other papers 15 dated earlier, 1 later, 5 same year, order not determinable · 5 only as an assembly brick |
2306.11695 (2023-06) A Simple and Effective Pruning Approach for Large Language Models |
2310.05175 (2023-10) Outlier Weighed Layerwise Sparsity (OWL ): A Missing Secret Sauce for Pruning LLMs to High Sparsity 2310.08915 (2023-10) Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMs and 18 more not named here |
| return_given_alpha | 2 other papers 1 dated earlier, 1 same year, order not determinable · 1 only as an assembly brick |
2306.11695 (2023-06) A Simple and Effective Pruning Approach for Large Language Models |
2505.23807 (2025-05) DLP: Dynamic Layerwise Pruning in Large Language Models |
| revert_Act_to_Linear | 2 other papers 1 dated earlier, 1 same year, order not determinable |
2412.12497 (2024-12) NLSR: Neuron-Level Safety Realignment of Large Language Models Against Harmful Fine-Tuning |
2025.acl-long.590 (2025 (year only)) The Tug of War Within: Mitigating the Fairness-Privacy Conflicts in Large Language Models |
| get_last_hidden_states | 1 other paper 1 dated earlier |
2410.13708 (2024-10) On the Role of Attention Heads in Large Language Model Safety |
|
| load_from_search_cfg | 1 other paper 1 dated earlier |
2410.13708 (2024-10) On the Role of Attention Heads in Large Language Model Safety |
|
| make_Act | 1 other paper 1 same year, order not determinable |
2025.acl-long.590 (2025 (year only)) The Tug of War Within: Mitigating the Fairness-Privacy Conflicts in Large Language Models |
|
| update_mask_cfg | 1 other paper 1 dated earlier |
2410.13708 (2024-10) On the Role of Attention Heads in Large Language Model Safety |
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-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
With the growing size of Large Vision-Language Models (LVLMs), network pruning techniques designed to compress these models for deployment in resource-constrained environments have attracted significant attention. However, we observe that pruning frequently results in a degradation in safety performance. To address this issue, we propose a novel and lightweight approach, named Hierarchical Safety Realignment (HSR). HSR operates by first quantifying the contribution of each attention head to safety, identifying the most critical ones, and then selectively restoring neurons directly within these attention heads that play a pivotal role in maintaining safety. This process hierarchically realigns the safety of pruned LVLMs, progressing from the attention head level to the neuron level. We validate HSR across various models and pruning strategies, consistently achieving notable improvements in safety performance. To the best of our knowledge, this is the first work explicitly focused on restoring safety in LVLMs post-pruning. The code will be available at https://github.com/TheShineyue/HSR.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2025.findings-acl.394")
get_code_for_paper("2025.findings-acl.394")
have("2025.findings-acl.394")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2025.findings-acl.394.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2025.findings-acl.394)
Connect an agent — have() is free.