prompt listlengths 1 1 | videos listlengths 1 1 | data_source stringclasses 1
value | reward_model dict |
|---|---|---|---|
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_khSwLQOthHQ.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color are the gloves worn by the man on the right?",
"choices": [
"A. Black",
"B. White",
"C. Red",
"D. Gray"
],
"answer": "B"
},
{
"question": "What is visible on the wall behind the fighters?",
"c... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_academic_v0_1/videos/academic_source/Charades/J7TT5.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the man wearing on his upper body?",
"choices": [
"A. A black t-shirt",
"B. A gray hoodie",
"C. A blue jacket",
"D. A red sweater"
],
"answer": "B"
},
{
"question": "What is the man doing while sitting... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_kwBdCyZuTV0.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color is the woman's hair at the beginning of the video?",
"choices": [
"A. Black",
"B. Blonde",
"C. Silver-white",
"D. Brown"
],
"answer": "C"
},
{
"question": "What color is the woman's dress at the beg... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_I7HoYtKkKCs.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the man wearing on his left wrist?",
"choices": [
"A. A silver watch",
"B. A gold chain bracelet",
"C. A black rubber band",
"D. A leather wristband"
],
"answer": "B"
},
{
"question": "What is the man ... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_TgKhVXCkrP4.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary action performed by the person in the video?",
"choices": [
"A. Ironing a bedsheet",
"B. Folding a comforter",
"C. Making a bed with pillows",
"D. Washing laundry"
],
"answer": "B"
},
{
"qu... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_academic_v0_1/videos/academic_source/Charades/WEIJ6.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What type of appliance is visible on the left side of the room?",
"choices": [
"A. Refrigerator",
"B. Washing machine",
"C. Microwave",
"D. Oven"
],
"answer": "B"
},
{
"question": "What is the man wearing on h... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_ZfPi-WydZ-I.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the background environment behind the three individuals?",
"choices": [
"A. A dense forest with tall trees",
"B. A large water park with slides and a pool",
"C. An indoor gym with exercise equipment",
"D. A city street with car... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_2DbDd9X47b8.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the central rotating arm of the amusement park ride?",
"choices": [
"A. Blue",
"B. Yellow",
"C. Red",
"D. Green"
],
"answer": "B"
},
{
"question": "What is visible in the backgroun... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_academic_v0_1/videos/academic_source/Charades/ZYLTE.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What object is placed on the small black table in the foreground?",
"choices": [
"A. A purple bag",
"B. A cardboard box",
"C. A white plastic bag",
"D. A laptop"
],
"answer": "B"
},
{
"question": "What type of... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_Rz0GkvEA04k.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the color of the sauce being poured into the center of the dough-like food item?",
"choices": [
"A. Green",
"B. White",
"C. Orange",
"D. Dark brown"
],
"answer": "C"
},
{
"question": "What is the shape... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_academic_v0_1/videos/academic_source/activitynet/v_5KYUiMysyb0.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the cleaning spray bottle shown in the video?",
"choices": [
"A. Red",
"B. Blue",
"C. Yellow",
"D. Green"
],
"answer": "C"
},
{
"question": "What is the woman holding in her right ... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_Dl9OOZA0peE.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color are the leggings worn by the first woman performing the side lunge exercise?",
"choices": [
"A. Black",
"B. Blue",
"C. Gray",
"D. Red"
],
"answer": "B"
},
{
"question": "What type of footwear is the... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_RxG_aCttWgA.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What type of traditional garment is the woman wearing at the beginning of the video?",
"choices": [
"A. Kimono",
"B. Hanbok",
"C. Cheongsam",
"D. Sari"
],
"answer": "C"
},
{
"question": "What object is the wom... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_HgzDYXkjQP0.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color is the character that the marbles roll into after exiting the green track?",
"choices": [
"A. Blue",
"B. Red",
"C. Green",
"D. Yellow"
],
"answer": "A"
},
{
"question": "What distinctive feature doe... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_jLgHEBp2ii4.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the background surface on which the smartphones are displayed at the beginning of the video?",
"choices": [
"A. White",
"B. Light purple",
"C. Blue",
"D. Gray"
],
"answer": "B"
},
{
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_anUycdmUs3s.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What object is initially held up by the hand in the foreground?",
"choices": [
"A. A red heart-shaped toy",
"B. A blue star-shaped toy",
"C. A yellow bone-shaped chew toy",
"D. A green circular ring"
],
"answer": "B"
},... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_viITzkunaoE.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the dog's fur?",
"choices": [
"A. Black",
"B. Golden",
"C. Brown",
"D. White"
],
"answer": "C"
},
{
"question": "What color is the rug visible near the door?",
"choices": [
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_qb04IIAeUP8.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "In the third scene, what is the person wearing a deer-like mask holding?",
"choices": [
"A. A teacup",
"B. A book",
"C. A camera",
"D. A knife"
],
"answer": "A"
},
{
"question": "What is the creature in the fo... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_OFuPflDtNBk.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the boy wearing on his feet during the performance?",
"choices": [
"A. Black sandals",
"B. Colorful Crocs",
"C. White sneakers",
"D. Barefoot"
],
"answer": "B"
},
{
"question": "What object does the bo... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_9h0-Wzr-AOE.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color is the groom's suit?",
"choices": [
"A. Black",
"B. Dark gray",
"C. Navy blue",
"D. Brown"
],
"answer": "B"
},
{
"question": "What is the boy in the striped shirt doing?",
"choices": [
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_academic_v0_1/videos/academic_source/NextQA/0000/2440175990.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the woman wearing on her upper body?",
"choices": [
"A. A red t-shirt",
"B. A blue hoodie",
"C. A black jacket",
"D. A white blouse"
],
"answer": "B"
},
{
"question": "What is the woman holding in her ... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_aTyxid2CaTk.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the spray bottle used to clean the kitchen wall?",
"choices": [
"A. Red",
"B. Blue",
"C. Purple",
"D. Green"
],
"answer": "C"
},
{
"question": "What is the first ingredient added t... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_x9EEgCS1wAk.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color is the main body of the first power tool used in the video?",
"choices": [
"A. Yellow and black",
"B. Red and black",
"C. Green and black",
"D. Blue and silver"
],
"answer": "C"
},
{
"question": "Wh... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_academic_v0_1/videos/academic_source/Charades/MPN7K.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color is the blanket covering the person on the couch?",
"choices": [
"A. Red and white",
"B. Green and black",
"C. Blue and yellow",
"D. Pink and gray"
],
"answer": "B"
},
{
"question": "What is the colo... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_f69xOWpMzOM.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color is the woman's hair?",
"choices": [
"A. Blue",
"B. Pink",
"C. Green",
"D. Purple"
],
"answer": "B"
},
{
"question": "What pattern is on the woman's hat?",
"choices": [
"A. Striped",
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_foGaIxdiopU.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the woman wearing on her head during the video?",
"choices": [
"A. A black beanie",
"B. A pink headband",
"C. A white baseball cap",
"D. A blue bandana"
],
"answer": "B"
},
{
"question": "What brand of... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_TDN_g9IvdQM.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What colors are the bangles on the girl's wrist?",
"choices": [
"A. Red and blue",
"B. Green and yellow",
"C. Pink and white",
"D. Black and silver"
],
"answer": "B"
},
{
"question": "What is the girl's top ga... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_ZNEfmwtY048.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the man holding in front of him with both hands?",
"choices": [
"A. A skateboard",
"B. A remote-controlled monster truck",
"C. A pair of large dumbbells",
"D. A camera stabilizer"
],
"answer": "B"
},
{
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_academic_v0_1/videos/academic_source/NextQA/1120/7298018526.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color is the high chair the child is sitting in?",
"choices": [
"A. Red",
"B. Orange",
"C. Yellow",
"D. Blue"
],
"answer": "B"
},
{
"question": "What is the color of the plate in front of the child?",
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_6rE0FIblSuk.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary object being used to pour tea into the glass at the beginning of the video?",
"choices": [
"A. A ceramic teapot with a spout",
"B. A small black lidded vessel",
"C. A metal travel mug",
"D. A plastic measuring cup"
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_mtAXipbwDm0.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the pet grooming brush's handle?",
"choices": [
"A. Pink",
"B. Blue",
"C. White",
"D. Black"
],
"answer": "C"
},
{
"question": "What feature is visible on the brush head that helps... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_ZRBEuw-GT38.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "Which company's name is displayed in a blue box at the bottom left of the screen when discussing the price increase?",
"choices": [
"A. APA",
"B. Sapporo",
"C. γ΅γ³γ¨γΌι£ε",
"D. World Business Satellite"
],
"answer": "C"
},
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_n4RFpJdM5g8.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the boy wearing while lying on the white mat?",
"choices": [
"A. A blue shirt and green shorts",
"B. A red shirt and yellow shorts",
"C. A white t-shirt and blue jeans",
"D. A black hoodie and gray sweatpants"
],
"a... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_EfSTSfvnxUw.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the woman wearing on her feet?",
"choices": [
"A. Ballet slippers",
"B. White socks",
"C. Barefoot",
"D. Black sneakers"
],
"answer": "B"
},
{
"question": "What color is the woman's athletic outfit?",
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_KuXNQ12fCrs.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the cat's fur that is sniffing the plants?",
"choices": [
"A. Black",
"B. Orange",
"C. White",
"D. Gray"
],
"answer": "C"
},
{
"question": "What pattern is visible on the harness w... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_p6c1-4WmlvA.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the color of the band on the cigar that is selected and unwrapped?",
"choices": [
"A. Blue and gold",
"B. Red and white",
"C. Green and black",
"D. Purple and silver"
],
"answer": "B"
},
{
"question": ... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_kk9QxGobg1s.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the woman wearing at the beginning of the video while standing by the pool?",
"choices": [
"A. A one-piece swimsuit with a geometric pattern",
"B. A two-piece bikini with a floral design",
"C. A black tank top and shorts",
"D. ... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_JRz7oX7Ihw0.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the dancer's jacket sleeves?",
"choices": [
"A. Green",
"B. Black",
"C. Yellow",
"D. White"
],
"answer": "C"
},
{
"question": "What type of headwear is the dancer wearing?",
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_jaO95fXiK9k.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the attire of the man on the left in the black-and-white photo with two men?",
"choices": [
"A. A floral shirt",
"B. A suit and tie",
"C. A leather jacket",
"D. A tuxedo"
],
"answer": "A"
},
{
"questio... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_ciB-3X2ydlU.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the phone case being held?",
"choices": [
"A. Blue",
"B. Beige",
"C. Pink",
"D. Green"
],
"answer": "B"
},
{
"question": "Which cartoon character is depicted on the phone case?",
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_E7smWGza3UA.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary object being displayed inside the vending machine?",
"choices": [
"A. Candy bars",
"B. PokΓ©mon trading cards",
"C. Stuffed animals",
"D. Keychains"
],
"answer": "B"
},
{
"question": "What i... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_yvOKpGE8QOw.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the hair color of the woman on the right side of the screen?",
"choices": [
"A. Black",
"B. Blonde",
"C. Pinkish-blonde",
"D. Brown"
],
"answer": "C"
},
{
"question": "What is the name of the cat shown... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_u9DmXPryaFw.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the man wearing on his upper body?",
"choices": [
"A. A black t-shirt",
"B. A gray tank top",
"C. A white hoodie",
"D. A red sleeveless shirt"
],
"answer": "B"
},
{
"question": "What color are the majo... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_eVYVnB5uIes.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color is the child's shirt?",
"choices": [
"A. Red",
"B. Green",
"C. Blue",
"D. Yellow"
],
"answer": "B"
},
{
"question": "What is the color of the slide the child is sliding down?",
"choices": [
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_qZTgzb0fjoI.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the wind speed displayed on the screen during the race?",
"choices": [
"A. 0.0 m/s",
"B. 3.0 m/s",
"C. -3.0 m/s",
"D. -1.5 m/s"
],
"answer": "C"
},
{
"question": "What color is the uniform of the athle... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_KCHdQyYzLJ4.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the color of the roof of the large building shown at the beginning of the video?",
"choices": [
"A. Red",
"B. Green",
"C. Blue",
"D. Gray"
],
"answer": "B"
},
{
"question": "What is the background colo... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_vraWFrd5FhY.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What color is the tank top worn by the woman standing near the wall?",
"choices": [
"A. Blue",
"B. Pink",
"C. Black",
"D. White"
],
"answer": "B"
},
{
"question": "What brand logo is visible on the black and p... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_MwPnJuwJOQY.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary question posed by the on-screen text at the beginning of the video?",
"choices": [
"A. Which ball is better?",
"B. Which hoop is better?",
"C. Which player is better?",
"D. Which court is better?"
],
"an... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_jJU0IFZZoVE.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What is the primary color of the dress worn by the woman seated on the right?",
"choices": [
"A. White",
"B. Black",
"C. Red",
"D. Blue"
],
"answer": "C"
},
{
"question": "What is the man seated on the far rig... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_zKF2CnkE-2A.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "In the photo featuring two individuals, what is the younger person wearing?",
"choices": [
"A. A black tracksuit",
"B. A white Real Madrid jacket",
"C. A blue Manchester City hoodie",
"D. A red Paris Saint-Germain jersey"
],
... |
[
{
"role": "user",
"content": "<video>\nYou are a video captioner. Describe this video in strictly chronological order and in great detail. \n\nYour description should cover:\n1. **Key Visuals:** Detailed appearance of main characters (clothing, colors, gender) and prominent objects.\n2. **Actions & Timestam... | [
"0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_fqpJTGckhhU.mp4"
] | video_caption_rl | {
"ground_truth": [
{
"question": "What action is the woman performing in the grassy field?",
"choices": [
"A. Running away from something",
"B. Crawling on her hands and knees",
"C. Doing a cartwheel",
"D. Stretching her arms out to the side"
],
"answer": "... |
- Required Video Data
- Expected Directory Layout
- Download and Extract Example
- π’ News
- Introduction
- π‘ Highlights
- Model Card
- π¨βπ» Todo
- CapRL++: Unified Image and Video Caption RL
- π οΈ Setup
- βοΈ Quick Start
- QA Curation
- CapRL Training
- Pretraining
- Comparing Caption Quality via Prism Framework
- π License
- Citation
- β€οΈ Acknowledgments
CapRL-Video-QA-20K.jsonl Video Path Setup
Each value is a relative path under the Hugging Face dataset root of lmms-lab/LLaVA-Video-178K.
Example:
"videos": ["0_30_s_youtube_v0_1/videos/liwei_youtube_videos/videos/youtube_video_2024/ytb_khSwLQOthHQ.mp4"]
Required Video Data
Download the original videos from Hugging Face:
- Dataset: https://huggingface.co/datasets/lmms-lab/LLaVA-Video-178K
- Required subdirectories for this 20k subset:
0_30_s_youtube_v0_10_30_s_academic_v0_1
On the Hugging Face file tree, these videos are distributed as compressed archives:
0_30_s_youtube_v0_1/0_30_s_youtube_v0_1_videos_*.tar.gz0_30_s_academic_v0_1/0_30_s_academic_v0_1_videos_*.tar.gz
The annotation JSON files in those HF folders are not required by CapRL-Video-QA-20K.jsonl, but downloading the full folders is also fine.
Expected Directory Layout
After downloading and extracting the archives, organize files as follows:
/path/to/LLaVA-Video-178K/
βββ 0_30_s_youtube_v0_1/
β βββ 0_30_s_youtube_v0_1_videos_1.tar.gz
β βββ ...
β βββ videos/
β βββ liwei_youtube_videos/
β βββ videos/
β βββ youtube_video_2024/
β βββ ytb_*.mp4
βββ 0_30_s_academic_v0_1/
βββ 0_30_s_academic_v0_1_videos_1.tar.gz
βββ ...
βββ videos/
βββ academic_source/
βββ Charades/
βββ NextQA/
βββ activitynet/
βββ ...
The paths stored in CapRL-Video-QA-20K.jsonl should be joined with /path/to/LLaVA-Video-178K. For example:
from pathlib import Path
video_root = Path('/path/to/LLaVA-Video-178K')
relative_path = sample['videos'][0]
video_path = video_root / relative_path
Download and Extract Example
huggingface-cli download lmms-lab/LLaVA-Video-178K \
--repo-type dataset \
--local-dir /path/to/LLaVA-Video-178K \
--include '0_30_s_youtube_v0_1/*' '0_30_s_academic_v0_1/*'
cd /path/to/LLaVA-Video-178K
for f in 0_30_s_youtube_v0_1/*_videos_*.tar.gz; do tar -xzf "$f" -C 0_30_s_youtube_v0_1; done
for f in 0_30_s_academic_v0_1/*_videos_*.tar.gz; do tar -xzf "$f" -C 0_30_s_academic_v0_1; done
If your downloader places files in a different location, keep the extracted videos/ directories under the two split folders shown above, or update your training script to join the relative paths with the actual dataset root.
(ICLR 2026)CapRL: Stimulating Dense Image Caption Capabilities via Reinforcement Learning
Long Xing* Β· Xiaoyi Dong* Β· Yuhang Zang Β· Yuhang Cao Β· Jianze Liang Β· Qidong Huang Β· Jiaqi Wang Β· Feng Wu Β· Dahua Lin
CapRL++: Unified Reinforcement Learning with Verifiable Rewards for Dense Image and Video Captioning
Penghui Yang* Β· Long Xing* Β· Xiaoyi Dong Β· Yuhang Zang Β· Yuhang Cao Β· Yibin Wang Β· Yujie Zhou Β· Jiazi Bu Β· Jianze Liang Β· Qidong Huang Β· Jiaqi Wang Β· Feng Wu Β· Dahua Lin
πCapRL++ Paper | πCapRL Paper | π Github | π€CapRL CollectionCapRL Series Model & Dataset
| Series | Models & Resources |
|---|---|
| CapRL 3.0 Series (CapRL++) | π€ CapRL-Video-4B | π CapRL-Video-178K Dataset |
| CapRL 2.0 Series | π€ CapRL-Qwen3VL-2B | π€ CapRL-Qwen3VL-4B | π¦ CapRL-Qwen3VL-2B-GGUF | π¦ CapRL-Qwen3VL-4B-GGUF | πCapRL-Qwen3VL-4B Space |
| CapRL 1.0 Series | π€ CapRL-Qwen2.5VL-3B | π€ CapRL-InternVL3.5-8B | π CapRL-2M Dataset | π¦ CapRL-3B-GGUF | π¦ CapRL-3B-i1-GGUF | πCapRL-Qwen2.5VL-3B Space |
CapRL 3.0 series (CapRL++): CapRL-Video-4B has been released! CapRL++ extends the original image-caption RL framework to a unified image and video captioning paradigm with verifiable rewards.
We are excited to release the CapRL 2.0 series: CapRL-Qwen3VL-2B and CapRL-Qwen3VL-4B. These models feature fewer parameters while delivering even more powerful captioning performance. Notably, CapRL-Qwen3VL-2B outperforms both CapRL-Qwen2.5VL-3B and Qwen2.5VL-72B in captioning tasks, while CapRL-Qwen3VL-4B further demonstrates a significant performance leap over the 2B version. This improvement in efficiency is driven by our upgraded training recipe, which includes a more rigorous QA data filter and a significantly more diverse image dataset. We welcome everyone to try them out!
When selecting between the available CapRL models, it's essential to consider the trade-off between performance and computational cost. This guide will help you choose the most suitable model for your specific needs:
| Model | Parameters | Strength |
|---|---|---|
| π€CapRL-Qwen3VL-2B | 2B | Speed, Efficiency |
| π€CapRL-Qwen3VL-4B | 4B | High Performance, Advanced Captioning Ability |
| π€CapRL-Video-4B | 4B | Extremely Dense Video Captioning |
Now you can try out CapRL with your own imagesπ¨! β‘οΈ πCapRL-Qwen2.5VL-3B Space and πCapRL-Qwen3VL-4B Space.
π’ News
We are working on even stronger base models and upgrading our training recipe β stay tuned!
- π₯ [06/08/2026] CapRL++ paper is available on arXiv: CapRL++: Unified Reinforcement Learning with Verifiable Rewards for Dense Image and Video Captioning.
- π₯ [05/25/2026] We have released the training and evaluation code for CapRL++. See more in
CapRL++folder. - π₯ [05/22/2026] We have released the CapRL-Video-QA-20K dataset for CapRL++ training and the CapRL-Video-178K dataset (recaptioned by CapRL-Video-4B from LLaVA-Video-178K)!
- π₯ [05/22/2026] We have released the CapRL-Video-4B model (trained on Qwen3-VL-4B) designed for video captioning! Demo is here.
- π₯ [04/16/2026] We have released the CapRL-QA-75K training dataset!
- π₯ [2/9/2026] We release the CapRL training code.
- π₯ [1/27/2026] CapRL is accepted by ICLR2026! We are working on cleaning training code, and will release everything as soon as possible!
- π₯ [12/24/2025] We are excited to release the CapRL 2.0 series: CapRL-Qwen3VL-2B and CapRL-Qwen3VL-4B!
- π₯ [12/24/2025] The total downloads of the CapRL-related models and dataset reached 17,000!
- π₯ [10/15/2025] The total downloads of the CapRL-related models and dataset reached 6,000 within just 20 days!
- π [10/15/2025] We are excited to announce the release of CapRL-InternVL3.5-8B, whose image captioning capability outperforms Qwen2.5-VL-72B!
- π [10/15/2025] Thanks mradermacher for the valuable contribution! CapRL-3B-GGUF is the static quants version, and CapRL-3B-i1-GGUF is weighted/imatrix quants version.
- π [10/15/2025] We release QA curation code.
- π [09/25/2025] We release CapRL repository, CapRL-3B model, evaluation code and dataset.
Introduction
π We are excited to introduce the CapRL series, a family of dense captioning models trained with reinforcement learning rather than conventional supervised caption imitation.
The original CapRL framework focuses on dense image captioning. It optimizes an LVLM captioner with QA-derived rewards: a caption is considered high quality when a text-only model can answer visual questions using only that caption. With this recipe, the lightweight CapRL-3B achieves perception capabilities comparable to Qwen2.5-VL-72B.
CapRL++ further generalizes this idea from static images to dynamic videos. It trains a Qwen3-VL-based captioner with a unified RLVR pipeline, where generated captions are evaluated by their downstream utility for multiple-choice visual question answering. For videos, CapRL++ adds timestamp-format rewards and length-aware regularization so the model learns dense, temporally grounded, and non-redundant descriptions.
π‘ Highlights
- π₯ Unified dense caption RL for images and videos: CapRL++ applies the same QA-utility reward philosophy to both image and video captioning, avoiding dependence on a single reference caption.
- π₯ Verifiable reward design: CapRL++ combines visual utility reward, timestamp-format reward, and length-aware penalty to optimize accuracy, temporal structure, and information efficiency.
- π₯ Strong temporal grounding: CapRL-Video-4B generates explicit timestamped video descriptions and improves downstream video understanding when used as caption data.
- π₯ Remarkable visual understanding for charts, infographics, and documents: CapRL-3B achieves perception accuracy and visual information coverage comparable to Qwen2.5-VL-72B.
- π₯ Well-organized dense output: CapRL models generate structured captions that cover fine-grained objects, attributes, OCR content, relations, and events.
Model Card
- Based on the same recipe as CapRL-3B, we used InternVL3.5-8B as the policy model and obtained CapRL-InternVL3.5-8B through CapRL.
- CapRL-3B-GGUF is static quants version, and CapRL-3B-i1-GGUF is weighted/imatrix quants version. Thanks for their contribution!
- CapRL-Video-4B is trained from Qwen3-VL-4B with CapRL++ for dense video captioning. It is designed to describe both spatial details and temporal event changes with timestamped structure.
π¨βπ» Todo
- β Release 75k QA dataset.
CapRL++: Unified Image and Video Caption RL
CapRL++ is the video-oriented extension of CapRL. It keeps the central principle of CapRL: a caption should be rewarded by how useful it is for downstream visual question answering. Instead of comparing a generated caption with a fixed reference, CapRL++ lets the policy model generate captions, then asks a separate vision-free LLM to answer curated multiple-choice questions using only those captions. The answer accuracy becomes a verifiable reward for RL training.
Reward Design
For a sampled caption c, CapRL++ uses a multidimensional reward:
R_total(c) = R_acc(c) + alpha * R_format(c) + beta * R_len(c)
- Visual utility reward (
R_acc): measures whether a text-only LLM can answer image/video MCQs from the generated caption alone. Options are shuffled and sampled multiple times to reduce answer-position bias. - Temporal format reward (
R_format): used for video captions. It encourages valid timestamp brackets and chronological ordering, helping the model produce temporally grounded narratives. - Length-aware reward (
R_len): discourages reward hacking through overly long or repetitive captions, pushing the model toward high information density.
Static-to-Dynamic Bootstrapping
CapRL++ uses S2D-Boot, a two-stage image-to-video training recipe:
- Image stage: train on static images with visual utility and length rewards to strengthen fine-grained spatial perception, OCR, attributes, and relation extraction.
- Video stage: initialize from the image-stage checkpoint and train on video data with the full reward space, including timestamp-format reward, so optimization can focus on event ordering and temporal localization. This progressive strategy preserves strong image captioning ability while improving video understanding.
CapRL++ Datasets
- CapRL-Video-QA-20K: multiple-choice video QA data for CapRL++ reward training.
- CapRL-Video-178K: LLaVA-Video-178K videos recaptioned by CapRL-Video-4B with dense, timestamped descriptions.
Code Entry Points
The CapRL++ implementation is in CapRL++:
CapRL++/
βββ train/
β βββ scripts/ # reward service and verl training launch scripts
β βββ verl/ # bundled verl backend with video caption RL recipe
βββ eval/
βββ scripts/ # Prism video evaluation scripts
βββ tools/ # benchmark judge helpers
βββ README.md
For details, see:
π οΈ Setup
Installation
For CapRL image training and evaluation:
git clone https://github.com/InternLM/CapRL.git
cd CapRL/CapRL_Training
conda create -n CapRL python=3.10
conda activate CapRL
bash setup.sh
The setup.sh will sequentially:
- Install key dependencies with pinned versions (torch, transformers, vllm, deepspeed, flash-attn, ray, etc.)
- Install the OpenRLHF-based training framework and remaining dependencies via
pip install -e .For CapRL++ video training and evaluation:
cd CapRL/CapRL++/train
conda create -n caprl python=3.10 -y
conda activate caprl
pip install -r scripts/requirements.txt
pip install -e ./verl
Video Prism evaluation dependencies are installed separately:
cd CapRL/CapRL++/eval
pip install -r requirements.txt
βοΈ Quick Start
If you want to use CapRL-3B for captioning, you can directly follow the exact same inference approach as in Qwen2.5-VL-series.
The prompt we use for training and evaluation is Please describe this image in detail.
We recommend using vLLM to speed up inference.
For CapRL-Video-4B, use the Qwen3-VL video inference interface or the Prism evaluation scripts under CapRL++/eval. A typical video caption prompt is:
Please describe this video in detail.
Start an OpenAI API Service
Run the command below to start an OpenAI-compatible API service:
vllm serve "/PATH/CapRL-3B" \
--trust-remote-code \
--tensor-parallel-size=1 \
--pipeline-parallel-size=1 \
--gpu_memory_utilization=0.95 \
--served-model-name=caprl \
--port 8000 \
--host 0.0.0.0
Then you can use the chat API as below: (see OpenAI API protocol document for more details):
import base64
from openai import OpenAI
# Set OpenAI's API key and API base to use vLLM's API server.
openai_api_key = "EMPTY"
openai_api_base = "http://localhost:8000/v1"
client = OpenAI(
api_key=openai_api_key,
base_url=openai_api_base,
)
image_path = "/path/to/local/image.png"
with open(image_path, "rb") as f:
encoded_image = base64.b64encode(f.read())
encoded_image_text = encoded_image.decode("utf-8")
base64_qwen = f"data:image;base64,{encoded_image_text}"
chat_response = client.chat.completions.create(
model="caprl",
messages=[
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": base64_qwen
},
},
{"type": "text", "text": "Please describe this image in detail."},
],
},
],
temperature=1.0,
max_tokens=max_tokens,
top_p=1.0,
extra_body={
"repetition_penalty": 1.0,
},
)
print("Chat response:", chat_response)
QA Curation
This part of the code is in the QA_data_curation folder, which contains all four steps for generating QA data:
- QA generation. Use Qwen2.5-VL-72B to generate 5 QAs for each image. The generation process launches a vLLM service and uses multi-threading to speed up.
- QA extraction. Extract QAs through format matching.
- Qwen2.5-VL-3B answer question. Use Qwen2.5-VL-3B to answer questions with and without images. The parameter
ROTATE_NUMcontrols how many times each question is answered. If a question is answered only once, the randomness may be too high and can easily lead to misjudgment. - Filter question. We keep QA pairs with
visual acchigher than 0.75 andtext acclower than 0.25 to avoid data leakage and ensure the model can correctly answer questions when images are provided.
CapRL Training
All training scripts are located in CapRL_Training/scripts/. Taking qwen2.5vl3b_75k_reward_qwen2.5_3b as an example:
Step 1: Start the reward server
cd CapRL_Training
bash scripts/qwen2.5vl3b_75k_reward_qwen2.5_3b/reward/rjob.sh
Once the reward server is running, note its IP address.
Step 2: Launch training
Set <REWARD_SERVER_IP> in training/launch.sh to the IP from Step 1, then:
bash scripts/qwen2.5vl3b_75k_reward_qwen2.5_3b/training/rjob.sh
Note: The training scripts require
vllm>=0.11.0for Qwen3-VL compatibility. However, the reward server using Qwen2.5/Qwen3 LLM may occasionally encounter issues with higher vLLM versions. We recommend running the reward server in a separate conda environment with a lower version such asvllm==0.10.1.
A note on migrating CapRL to other codebases: Our training code is built on OpenRLHF, which originally lacked VLM (e.g., Qwen3-VL) RL training support. We added VLM adaptation and CapRL's two-stage reward on top of it. If you prefer a more lightweight alternative, consider using VeRL, which natively supports VLM training β you only need to customize the reward computation (e.g., by querying a vLLM reward server). If there is demand for VeRL integration, please open an issue to let us know.
Pretraining
Datasets
Our CapRL-2M dataset is available on : π Hugging Face
It includes images from ShareGPT-1M and DenseFusion-1M, with high-quality captions re-annotated using CapRL-3B, totaling 2M samples.
In our JSONL files, we provide the captions along with their corresponding image paths. The images can be downloaded from ShareGPT-1M and DenseFusion-1M.
Reproducing Pretraining Experiments
To reproduce the pretraining experiments presented in our paper:
Initialize Qwen2.5-VL. Follow the steps in the notebook
initiallize_vlm_3b.ipynbto set up the Qwen2.5-VL model for training.Training. We use LLaMA-Factory for pretraining. The training scripts are provided in
Pretraining_exp/scripts/, covering all 3 stages:Stage0_initial_align.shβ Initial alignment with LLaVA-558KStage1_further_pretrain.shβ Further pretraining with CapRL-1M caption dataStage2_sft.shβ SFT with general instruction data, Open-LLaVA-NeXT-1M
Comparing Caption Quality via Prism Framework
We evaluate caption quality by decoupling the traditional VQA (Visual Question Answering) task:
- First, a model generates a caption for the image.
- Then, a language model answers questions based solely on the generated caption.
This approach allows us to assess the informational quality and completeness of the generated captions β if the language model can accurately answer visual questions based only on the caption, then the caption is likely high-quality.
The complete evaluation scripts can be found in the Prism_Evaluation folder, with the core implementation located in Eval_CapRL.py.
The Prism evaluation files are available at CapRL-Evaluation-Files. The dataset contains json_file/ for the evaluation JSON files and bench_image_folder.zip for the corresponding images.
huggingface-cli download internlm/CapRL-Evaluation-Files --repo-type dataset --local-dir CapRL-Evaluation-Files
cd CapRL-Evaluation-Files
unzip bench_image_folder.zip
Use the JSON files under json_file/ as --data-path and pass the dataset root as --image-root. The image paths inside each JSON are relative to the dataset root, for example bench_image_folder/lmm_eval_chartqa/41699051005347.png.
python -m Eval_CapRL \
--data-path /path/to/CapRL-Evaluation-Files/json_file/lmm_eval_chartqa.json \
--image-root /path/to/CapRL-Evaluation-Files \
--tag chartqa \
...
The model used for answering questions based on captions is CapRL-Eval-3B, which is a finetuned version of Qwen2.5-VL-3B. When dealing with tasks such as ChartQA (not multiple-choice questions), it provides more stable output formatting.
You can specify --reward-model-path as the path to CapRL-Eval-3B in Eval_CapRL.py.
π License
Usage and License Notices: The data and code are intended and licensed for research use only. License: Attribution-NonCommercial 4.0 International It should abide by the policy of OpenAI: https://openai.com/policies/terms-of-use
Citation
If you find CapRL++ useful for your research, please consider citing:
@article{yang2026caprlplusplus,
title={CapRL++: Unified Reinforcement Learning with Verifiable Rewards for Dense Image and Video Captioning},
author={Yang, Penghui and Xing, Long and Dong, Xiaoyi and Zang, Yuhang and Cao, Yuhang and Wang, Yibin and Zhou, Yujie and Bu, Jiazi and Liang, Jianze and Huang, Qidong and Wang, Jiaqi and Wu, Feng and Lin, Dahua},
journal={arXiv preprint arXiv:2606.09393},
year={2026}
}
For the original CapRL paper:
@article{xing2025caprl,
title={CapRL: Stimulating Dense Image Caption Capabilities via Reinforcement Learning},
author={Xing, Long and Dong, Xiaoyi and Zang, Yuhang and Cao, Yuhang and Liang, Jianze and Huang, Qidong and Wang, Jiaqi and Wu, Feng and Lin, Dahua},
journal={arXiv preprint arXiv:2509.22647},
year={2025}
}
β€οΈ Acknowledgments
- Open-LLaVA-NeXT: Thanks for the impressive open-source dataset.
- VLMEvalKit: the amazing open-sourced suit for evaluating various LMMs!
- Downloads last month
- 167