Skip to content

daeunni/Video-Skill-CoT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ Video-Skill-CoT: Skill-based Chain-of-Thoughts for Domain-Adaptive Video Reasoning

Project Website arXiv



πŸ“Œ TL;DR Video-Skill-CoT is a skill-aware CoT reasoning framework that constructs domain-specific multi-step rationales and trains expert modules for adaptive video understanding.

πŸ”§ Setup

OpenAI/Gemini API Setup

Our Video-Skill-CoT is based on openai/gemini api, so you need to setup your Azure OpenAI/Gemini API config in the below files. You can set your own API infomation in ./skill_cot_generation/config.ini.

[openai]
azure_endpoint = your endpoint   
api_key = your key 
api_version = your version 
[gemini]
gemini_api_key = your gemini_api_key
gemini_application_credentials = your credentials 

Download datasets

Please locate all downloaded datasets in the ./video_instruction_datasets directory. The data structure will like below:

./video_instruction_datasets
    β”œβ”€β”€ cinepile
    β”œβ”€β”€ ET_164k
    β”œβ”€β”€ VSI-Bench

πŸ”© Skill-CoT Generation

Based on above video understanding datasets, you can generate skill-cot as follows:

# [Step 1] Skill clustering 
python ./skill_cot_generation/clustering.py --dataset='cine'  

# [Step 2] Skill-CoT generation 
python ./skill_cot_generation/skill_cot_generation.py --dataset='cine' --mode='skill_cot'  

# [Step 3] Skill-CoT filtering   
python ./skill_cot_generation/filtering.py --dataset='cine'  

πŸ“ TODO List

  • Release Multi-LoRA training code

πŸ“š BibTeX

πŸ’— If you enjoy our Video-Skill-CoT and find some beneficial things, citing our paper would be the best support for us!

@article{lee2025videoskillcot,
  title={Video-Skill-CoT: Skill-based Chain-of-Thoughts for Domain-Adaptive Video Reasoning},
  author={Lee, Daeun and Yoon, Jaehong and Cho, Jaemin and Bansal, Mohit},
  journal={arXiv preprint arXiv:2506.03525},
  year={2025}
}

About

Code for "Skill-based Chain-of-Thoughts for Domain-Adaptive Video Reasoning"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages