Home

Awesome

HAKE-Action-Torch

Twelve-in-One: CVPR'18 (Part States), CVPR'19 (interactiveness), CVPR'20 (PaStaNet, Dj-RN, SymNet), NeurIPS'20 (IDN), TPAMI (TIN++, SymNet++, HAKE 2.0), CVPR'22 (Interactiveness Field), AAAI'22 (mPD), ECCV'22 (PartMap).

<p align='center'> <img src="misc/hake_demo.jpg", height="300"> </p>

HAKE-Action-Torch (PyTorch) is a project to open the SOTA action understanding studies based on our project: Human Activity Knowledge Engine. It includes SOTA models and their corresponding HAKE-enhanced versions based on our related papers (CVPR'18/19/20/22, NeurIPS'20, TPAMI'21/22, AAAI'22, ECCV'22). The TensorFlow version of HAKE-Action is here.

Currently, it is manintained by Yong-Lu Li, Xinpeng Liu, and Hongwei Fan.

<p align='center'> <img src="https://github.com/DirtyHarryLYL/HAKE-Action-Torch/blob/Activity2Vec/demo/hake_history.jpg", height="300"> </p>

News: (2022.12.19) HAKE 2.0 is accepted by TPAMI!

(2022.11.19) We release the interactive object bounding boxes & classes in the interactions within AVA dataset (2.1 & 2.2)! HAKE-AVA, [Paper]. BTW, we also release a CLIP-based human body part states recognizer in CLIP-Activity2Vec!

(2022.07.29) Our new work PartMap (ECCV'22) is released! Paper, Code

(2022.04.23) Two new works on HOI learning are releassed! Interactiveness Field (CVPR'22) and a new HOI metric mPD (AAAI'22).

(2022.02.14) We release the human body part state labels based on AVA: HAKE-AVA and HAKE 2.0 paper.

(2021.10.06) Our extended version of SymNet is accepted by TPAMI! Paper and code are coming soon.

(2021.2.7) Upgraded HAKE-Activity2Vec is released! Images/Videos --> human box + ID + skeleton + part states + action + representation. [Description]

<p align='center'> <img src="https://github.com/DirtyHarryLYL/HAKE-Action-Torch/blob/Activity2Vec/demo/a2v-demo.gif", height="400"> </p> <!-- ## Full demo: [[YouTube]](https://t.co/hXiAYPXEuL?amp=1), [[bilibili]](https://www.bilibili.com/video/BV1s54y1Y76s) -->

(2021.1.15) Our extended version of TIN (Transferable Interactiveness Network) is accepted by TPAMI!

(2020.10.27) The code of IDN (Paper) in NeurIPS'20 is released!

Project

HAKE-Action-Torch
  ├──Master Branch                          # Unified pipeline; CVPR'18/20, PaStanet and Part States.
  ├──CLIP-Activity2Vec                      # CLIP-based Part State & Verb Recognizer.
  ├──IDN-(Integrating-Decomposing-Network)  # NeurIPS'20, HOI Analysis: Integrating and Decomposing Human-Object Interaction.
  ├──DJ-RN-Torch                            # CVPR'20, Detailed 2D-3D Joint Representation for Human-Object Interaction.
  ├──TIN-Torch                              # CVPR'19, Transferable Interactiveness Knowledge for Human-Object Interaction Detection.
  └──SymNet-Torch                           # CVPR'20, Symmetry and Group in Attribute-Object Compositions.

Papers

Results on HICO-DET with different object detections.

MethodDetectorHAKEFull(def)Rare(def)None-Rare(def)Full(ko)Rare(ko)None-Rare(ko)
TINCOCO-17.5413.8018.6519.7515.7020.96
TINCOCOHAKE-HICO-DET22.1220.1922.6924.0622.1924.62
TINCOCOHAKE-Large22.6621.1723.0924.5323.0024.99
TIN-PAMICOCO-20.9318.9521.3223.0220.9623.42
DJ-RNCOCO-21.3418.5322.1823.6920.6424.60
IDNCOCO-23.3622.4723.6326.4325.0126.85
IDNCOCO+HICO-DET-26.2922.6127.3928.2424.4729.37
IFCOCO+HICO-DET-33.5130.3034.4636.2833.16
ParMapCOCO+HICO-DET-35.1533.7135.5837.5635.8738.06
TINGT Pairs-34.2622.9037.65---
IDNGT Pairs-43.9840.2745.09---

Results on V-COCO.

As VCOCO is built on COCO, thus finetuning detector on VCOCO basically contributes marhinally to performance.

MethodHAKEAP(role)
TIN-47.8
TINHAKE-Large51.0
TIN-PAMI-49.1
IDN-53.3
IF-63.0

Results on Ambiguous-HOI.

MethodmAP
TIN8.22
DJ-RN10.37

Results on PaStaNet-HOI

MethodmAP
TIN-PAMI15.38

Modules

HAKE 2.0

Neural-Symbolic reasoning engine: HAKE-Reasoning

PartMap (ECCV'22)

The independent Torch version is in: PartMap

IF (CVPR'22)

The independent Torch version is in: IF.

mPD (AAAI'22)

The independent Torch version is in: mPD.

Activity2Vec (CVPR'20)

The independent Torch version is in: Activity2Vec (A2V).

IDN (NeurIPS'20)

The independent Torch version is in: IDN.

DJ-RN (CVPR'20)

The independent Torch version is in: DJ-RN-Torch

TIN (CVPR'19)

The independent Torch version is in: TIN-Torch

Citation

If you find our works useful, please consider citing:

---HAKE 2.0
    @article{li2023hake,
     title={HAKE: A Knowledge Engine Foundation for Human Activity Understanding},
    author={Li, Yong-Lu and Liu, Xinpeng and Wu, Xiaoqian and Li, Yizhuo and Qiu, Zuoyu and Xu, Liang and Xu, Yue and Fang, Hao-Shu and Lu, Cewu},
    journal={TPAMI},
    year={2023}
    }
---PartMap
@inproceedings{wu2022mining,
  title={Mining Cross-Person Cues for Body-Part Interactiveness Learning in HOI Detection},
  author={Xiaoqian Wu, Yong-Lu Li, Xinpeng Liu, Junyi Zhang, Yuzhe Wu, Cewu Lu},
  booktitle={ECCV},
  year={2022}
}
---IF
@inproceedings{liu2022interactiveness,
  title={Interactiveness Field in Human-Object Interactions},
  author={Liu, Xinpeng and Li, Yong-Lu and Wu, Xiaoqian and Tai, Yu-Wing and Lu, Cewu and Tang, Chi-Keung},
  booktitle={CVPR},
  year={2022}
}
---mPD
@inproceedings{liu2022highlighting,
  title={Highlighting Object Category Immunity for the Generalization of Human-Object Interaction Detection},
  author={Liu, Xinpeng and Li, Yong-Lu and Lu, Cewu},
  booktitle={AAAI},
  year={2022}
}
---SymNet++
@article{li2021learning,
  title={Learning Single/Multi-Attribute of Object with Symmetry and Group},
  author={Li, Yong-Lu and Xu, Yue and Xu, Xinyu and Mao, Xiaohan and Lu, Cewu},
  journal={TPAMI},
  year={2021}
}
---TIN++
@article{li2022transferable,
  title={Transferable Interactiveness Knowledge for Human-Object Interaction Detection},
  author={Li, Yong-Lu and Liu, Xinpeng and Wu, Xiaoqian and Huang, Xijie and Xu, Liang and Lu, Cewu},
  journal={TPAMI},
  year={2022}
}
---IDN
@inproceedings{li2020hoi,
  title={HOI Analysis: Integrating and Decomposing Human-Object Interaction},
  author={Li, Yong-Lu and Liu, Xinpeng and Wu, Xiaoqian and Li, Yizhuo and Lu, Cewu},
  booktitle={NeurIPS},
  year={2020}
}
---HAKE 1.0
@inproceedings{li2020pastanet,
  title={PaStaNet: Toward Human Activity Knowledge Engine},
  author={Li, Yong-Lu and Xu, Liang and Liu, Xinpeng and Huang, Xijie and Xu, Yue and Wang, Shiyi and Fang, Hao-Shu and Ma, Ze and Chen, Mingyang and Lu, Cewu},
  booktitle={CVPR},
  year={2020}
}
@inproceedings{lu2018beyond,
  title={Beyond holistic object recognition: Enriching image understanding with part states},
  author={Lu, Cewu and Su, Hao and Li, Yonglu and Lu, Yongyi and Yi, Li and Tang, Chi-Keung and Guibas, Leonidas J},
  booktitle={CVPR},
  year={2018}
}
---DJ-RN
@inproceedings{li2020detailed,
  title={Detailed 2D-3D Joint Representation for Human-Object Interaction},
  author={Li, Yong-Lu and Liu, Xinpeng and Lu, Han and Wang, Shiyi and Liu, Junqi and Li, Jiefeng and Lu, Cewu},
  booktitle={CVPR},
  year={2020}
}
---TIN
@inproceedings{li2019transferable,
  title={Transferable Interactiveness Knowledge for Human-Object Interaction Detection},
  author={Li, Yong-Lu and Zhou, Siyuan and Huang, Xijie and Xu, Liang and Ma, Ze and Fang, Hao-Shu and Wang, Yanfeng and Lu, Cewu},
  booktitle={CVPR},
  year={2019}
}
---SymNet
@inproceedings{li2020symmetry,
  title={Symmetry and Group in Attribute-Object Compositions},
  author={Li, Yong-Lu and Xu, Yue and Mao, Xiaohan and Lu, Cewu},
  booktitle={CVPR},
  year={2020}
}

TODO

<!-- - [ ] TIN-based element analysis --> <!-- - [ ] Extended DJ-RN - [ ] SymNet in Torch --> <!-- - [ ] Unified model (better A2V, early/late fusion, new representation) -->

HAKE

HAKE[website] is a new large-scale knowledge base and engine for human activity understanding. HAKE provides elaborate and abundant body part state labels for active human instances in a large scale of images and videos. With HAKE, we boost the action understanding performance on widely-used human activity benchmarks. Now we are still enlarging and enriching it, and looking forward to working with outstanding researchers around the world on its applications and further improvements. If you have any pieces of advice or interests, please feel free to contact Yong-Lu Li (yonglu_li@sjtu.edu.cn).

If you get any problems or if you find any bugs, don't hesitate to comment on GitHub or make a pull request!

HAKE-Action-Torch is freely available for free non-commercial use, and may be redistributed under these conditions. For commercial queries, please drop an e-mail. We will send the detail agreement to you.