Ning Yu, Wei-Chen Chiu, Chen Yeh, You-Ming Chang
We lifted 11 functions out of this paper's own repositories and ran 7 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| nctu-eva-lab/vhd11k | canonical | 7 of 10 |
| nctu-eva-lab/VHD11K | canonical | 0 of 1 |
| Function | Status | Where it lives |
|---|---|---|
| get_max_token_limit | Ran | nctu-eva-lab/vhd11k/autogen/token_count_utils.py pointer only (licence: CC-BY-4.0) · get_code("ba19a96ec14aebde") |
| get_typed_return_annotation | Ran | nctu-eva-lab/vhd11k/autogen/function_utils.py pointer only (licence: CC-BY-4.0) · get_code("93840174b11baf68") |
| get_typed_signature | Ran | nctu-eva-lab/vhd11k/autogen/function_utils.py pointer only (licence: CC-BY-4.0) · get_code("04ef25f4eca0ff88") |
| has_self_loops | Ran | nctu-eva-lab/vhd11k/autogen/graph_utils.py pointer only (licence: CC-BY-4.0) · get_code("6ac462dabbf629a9") |
| infer_lang | Ran | nctu-eva-lab/vhd11k/autogen/code_utils.py pointer only (licence: CC-BY-4.0) · get_code("88af9b46ed2ce42a") |
| last_boxed_only_string | Ran | nctu-eva-lab/vhd11k/autogen/math_utils.py pointer only (licence: CC-BY-4.0) · get_code("735fc5841569ed55") |
| remove_boxed | Ran | nctu-eva-lab/vhd11k/autogen/math_utils.py pointer only (licence: CC-BY-4.0) · get_code("7e08ca15778b791e") |
| get_typed_annotation | Not yet run | nctu-eva-lab/vhd11k/autogen/function_utils.py pointer only (licence: CC-BY-4.0) · get_code("b27e8299c56f2c9c") |
| percentile_used | Not yet run | nctu-eva-lab/vhd11k/autogen/token_count_utils.py pointer only (licence: CC-BY-4.0) · get_code("a4770eabbd48d584") |
| responseParsing | Not yet run | nctu-eva-lab/VHD11K/annotator/annotatorCritic_reconstruct.py pointer only (licence: CC-BY-4.0) · get_code("89931ddaf165faa6") |
| token_left | Not yet run | nctu-eva-lab/vhd11k/autogen/token_count_utils.py pointer only (licence: CC-BY-4.0) · get_code("8070abdc5569c857") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Warning: This paper contains inappropriate/harmful visual contents. While widespread access to the Internet and the rapid advancement of generative models boost people's creativity and productivity, the risk of encountering inappropriate or harmful content also increases. To address the aforementioned issue, researchers managed to incorporate several harmful contents datasets with machine learning methods to detect harmful concepts. However, existing harmful datasets are curated by the presence of a narrow range of harmful objects, and only cover real harmful content sources. This restricts the generalizability of methods based on such datasets and leads to the potential misjudgment in certain cases. Therefore, we propose a comprehensive and extensive harmful dataset, Visual Harmful Dataset 11K (VHD11K), consisting of 10,000 images and 1,000 videos, crawled from the Internet and generated by 4 generative models, across a total of 10 harmful categories covering a full spectrum of harmful concepts with nontrivial definition. We also propose a novel annotation framework by formulating the annotation process as a multi-agent Visual Question Answering (VQA) task, having 3 different VLMs "debate" about whether the given image/video is harmful, and incorporating the in-context learning strategy in the debating process. Therefore, we can ensure that the VLMs consider the context of the given image/video and both sides of the arguments thoroughly before making decisions, further reducing the likelihood of misjudgments in edge cases. Evaluation and experimental results demonstrate that (1) the great alignment between the annotation from our novel annotation framework and those from human, ensuring the reliability of VHD11K; (2) our full-spectrum harmful dataset successfully identifies the inability of existing harmful content detection methods to detect extensive harmful contents and improves the performance of existing harmfulness recognition methods; (3) our dataset outperforms the baseline dataset, SMID, as evidenced by the superior improvement in harmfulness recognition methods. The entire dataset and the code to reproduce the results in this paper can be found at https://github.com/nctu-eva-lab/VHD11K.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2409.19734")
get_code_for_paper("2409.19734")
have("2409.19734")
Connect an agent — have() is free.