Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'desc'}) and 2 missing columns ({'question', 'answer'}).

This happened while the json dataset builder was generating data using

hf://datasets/xhLiu/PMRL_data/data/annotations/activitynet/descs_ret_train.json (at revision 58a6b1651660e195b14fff0d58ac761495da96e6), [/tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_qa_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_qa_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_ret_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_ret_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/audiocaps/audiocaps_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/audiocaps/audiocaps_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/didemo/descs_ret_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/didemo/descs_ret_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_cap_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_cap_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_ret_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_ret_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/vatex/descs_ret_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/vatex/descs_ret_train.json)], ['hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_qa_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_ret_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/audiocaps/audiocaps_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/didemo/descs_ret_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_cap_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_ret_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/vatex/descs_ret_train.json']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1893, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2281, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2227, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              video_id: string
              desc: string
              to
              {'video_id': Value('string'), 'question': Value('string'), 'answer': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1895, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'desc'}) and 2 missing columns ({'question', 'answer'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/xhLiu/PMRL_data/data/annotations/activitynet/descs_ret_train.json (at revision 58a6b1651660e195b14fff0d58ac761495da96e6), [/tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_qa_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_qa_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_ret_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_ret_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/audiocaps/audiocaps_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/audiocaps/audiocaps_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/didemo/descs_ret_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/didemo/descs_ret_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_cap_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_cap_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_ret_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_ret_train.json), /tmp/hf-datasets-cache/medium/datasets/82624470434398-config-parquet-and-info-xhLiu-PMRL_data-6c81daf5/hub/datasets--xhLiu--PMRL_data/snapshots/58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/vatex/descs_ret_train.json (origin=hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/vatex/descs_ret_train.json)], ['hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_qa_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/activitynet/descs_ret_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/audiocaps/audiocaps_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/didemo/descs_ret_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_cap_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/msrvtt/descs_ret_train.json', 'hf://datasets/xhLiu/PMRL_data@58a6b1651660e195b14fff0d58ac761495da96e6/data/annotations/vatex/descs_ret_train.json']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

video_id
string
question
string
answer
string
v_okC18bPTils
are all the people in the video men
no
v_okC18bPTils
what is the person in the video doing
diving
v_okC18bPTils
what color is the light in the video
green
v_okC18bPTils
what happened to the person in the video before the dive
dive preparation
v_okC18bPTils
what is in front of the person in the video
seabed
v_okC18bPTils
how safe is this sport in the video
common
v_okC18bPTils
where is the person in the video
water
v_okC18bPTils
are people wearing glasses in the video
yes
v_okC18bPTils
does the person in the video recite the oxygen gas bottle
yes
v_okC18bPTils
are all the people in the video wearing scuba diving suits
yes
v_ALjodjboELk
are all the people in the video men
no
v_ALjodjboELk
what is the person in the video doing
diving
v_ALjodjboELk
what happened to person in the video after the cow was caught
play
v_ALjodjboELk
how safe is this sport in the video
dangerous
v_ALjodjboELk
what is the under the person in the video
bottom of pool
v_ALjodjboELk
why are people diving in the video
entertainment
v_ALjodjboELk
what is the person behind the video
oxygen bottle
v_ALjodjboELk
what color is the diving suit in the video
black
v_ALjodjboELk
is the person wearing submersible suits in the video
yes
v_ALjodjboELk
does the person in the video wear dive glasses
yes
v__ucD-3rUWWE
are all the people in the video women
no
v__ucD-3rUWWE
how many people are there in the video
2
v__ucD-3rUWWE
is the person in the video wearing a hat
yes
v__ucD-3rUWWE
what is the person in the video doing
drift
v__ucD-3rUWWE
what is in front of the person in the video
waterfall
v__ucD-3rUWWE
how safe is this sport in the video
danger
v__ucD-3rUWWE
where is the person in the video
drifting
v__ucD-3rUWWE
what happens after the person in the video wobble the paddle
move
v__ucD-3rUWWE
is the red kayak in front of the video
yes
v__ucD-3rUWWE
what color is the kayaking in the video
red
v_AAQp3iEJxJc
are all the people in the video women
no
v_AAQp3iEJxJc
are all the people in the video wearing hats
yes
v_AAQp3iEJxJc
how safe is this sport in the video
danger
v_AAQp3iEJxJc
where is the person in the video
drifting
v_AAQp3iEJxJc
why is the canoe moving in the video
people are rowing
v_AAQp3iEJxJc
what is the front of the person wearing a yellow hat
person
v_AAQp3iEJxJc
what color is the boat of the man with blue hat
red
v_AAQp3iEJxJc
what happened to the person in the black hat after he rowed the oars
canoeing
v_AAQp3iEJxJc
what's the man in the hat doing in the video
rowing
v_AAQp3iEJxJc
are people in the video paddling
no
v_whcxrkF2hws
is the no.3 athlete playing indoor
no
v_whcxrkF2hws
how difficult is to play the volleyball
commonly
v_whcxrkF2hws
is the no.3 player outdoors
yes
v_whcxrkF2hws
what is the no.3 player doing
match
v_whcxrkF2hws
what color is the hair of the no.3 player
black
v_whcxrkF2hws
what is in front of the no.3 player
network
v_whcxrkF2hws
what is the gender of the no.3 player
male
v_whcxrkF2hws
what is the role of the no. 1 athlete
pass ball
v_whcxrkF2hws
what happened to the number 3 player after he picked up the ball
beat ball
v_whcxrkF2hws
how many number 3 athletes are there
1
v_LrputIUn4oY
is the athlete wearing trousers
no
v_LrputIUn4oY
what is the athlete doing
play game
v_LrputIUn4oY
what is on the athlete's hand
wrist guard
v_LrputIUn4oY
what happened before the dive
raise ones hands
v_LrputIUn4oY
what is in front of the athlete
diver
v_LrputIUn4oY
what is the gender of the chinese athletes
male
v_LrputIUn4oY
what color does the chinese swimsuit wear
blue
v_LrputIUn4oY
how many chinese players have they got
first
v_LrputIUn4oY
how many contestants are there in a team
2
v_LrputIUn4oY
is the athlete wearing a swimming trunks
yes
v_Mzt-E6pxuUI
is the child indoors
yes
v_Mzt-E6pxuUI
is the child outdoors
no
v_Mzt-E6pxuUI
how many children are there in the video
1
v_Mzt-E6pxuUI
what is the kid doing
play with water
v_Mzt-E6pxuUI
what color is the hair of the kid
golden
v_Mzt-E6pxuUI
what is in front of the child
water tank
v_Mzt-E6pxuUI
what is the gender of the kid
male
v_Mzt-E6pxuUI
what kind of clothes are the children wearing
lattice
v_Mzt-E6pxuUI
where do the children play with water
kitchen
v_Mzt-E6pxuUI
what happens after the child played with water
rubbing table
v_syAccI5soVw
is the child indoors
yes
v_syAccI5soVw
is the child outdoors
no
v_syAccI5soVw
how many people are there on the stage
1
v_syAccI5soVw
what is the kid doing
dance
v_syAccI5soVw
what is behind the child
curtain
v_syAccI5soVw
what is the gender of the kid
female
v_syAccI5soVw
where do the children dance
stage
v_syAccI5soVw
what is on the stage
stool
v_syAccI5soVw
what color are the children's skirts
pink
v_syAccI5soVw
what happens before the children danced
raise hand
v_SMUWOVJ3bzE
is the child indoors
yes
v_SMUWOVJ3bzE
is the child outdoors
no
v_SMUWOVJ3bzE
what is the kid doing
play piano
v_SMUWOVJ3bzE
what color is the curtain
white
v_SMUWOVJ3bzE
what is in front of the child
piano
v_SMUWOVJ3bzE
what style are kid's clothes
long sleeves
v_SMUWOVJ3bzE
what is the top of the piano
dust cover
v_SMUWOVJ3bzE
why do they need a dust cover on the piano
prevent dust
v_SMUWOVJ3bzE
what happens after the child played the piano
put on mask
v_SMUWOVJ3bzE
how many pianos are there indoors
1
v_yvTmIulkl7c
is the child indoors
yes
v_yvTmIulkl7c
is the child outdoors
no
v_yvTmIulkl7c
what is the kid doing
play game
v_yvTmIulkl7c
what is in front of the child
toy
v_yvTmIulkl7c
what is the gender of the kid
female
v_yvTmIulkl7c
what season does video occur
summer
v_yvTmIulkl7c
what is the shape of the toy
unicorn
v_yvTmIulkl7c
what's on the kid's neck
necklace
v_yvTmIulkl7c
what style of pants does the child wear
jeans
v_yvTmIulkl7c
what happens before the child played the game
hold up stick
End of preview.

Principled Multimodal Representation Learning (PMRL)

License: MIT License

A Novel Framework for Representation Learning Across Multiple Modalities


โœจ Overview

Principled Multimodal Representation Learning (PMRL) addresses the fundamental challenges in multimodal representation learning by proposing a novel framework that achieves simultaneous alignment of multiple modalities without anchor dependency.

๐Ÿ’ก Our Solution

PMRL introduces a principled approach grounded in theoretical insights:

Key Insight: Full alignment corresponds to a rank-1 Gram matrix

Our framework optimizes the dominant singular value of the representation matrix to align modalities along a shared leading direction.


๐ŸŽฏ Key Features

๐Ÿ”„ Simultaneous Multi-Modal Alignment

  • No predefined anchor modality required
  • Unified representation space for all modalities

๐Ÿงฎ Softmax-based Loss Function

  • Treats singular values as logits
  • Prioritizes the largest singular value for stable optimization

๐ŸŽฏ Instance-wise Contrastive Regularization

  • Maintains inter-instance separability
  • Prevents representation collapse

โšก Distributed Training Support

  • Multi-GPU training capabilities
  • Efficient data parallel processing

๐Ÿ“Š Comprehensive Evaluation

  • Extensive benchmarking across diverse tasks
  • Quantitative and qualitative analysis tools

๐Ÿ—๏ธ Architecture

The PMRL framework consists of three main components:

  1. ๐Ÿ”ง Multi-Modal Encoder: Processes different input modalities
  2. ๐ŸŽฏ Singular Value Optimization: Aligns representations via dominant singular value
  3. ๐Ÿ”„ Principled Regularization: Maintains instance-level discrimination

Citation

If you find this work useful, please consider citing:

@article{liu2026principled,
  title={Principled multimodal representation learning},
  author={Liu, Xiaohao and Xia, Xiaobo and Ng, See-Kiong and Chua, Tat-Seng},
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year={2026},
  publisher={IEEE}
}
Downloads last month
51

Paper for xhLiu/PMRL_data