Discrepancy in bedroom dataset size compared to ATISS and Diffuscene
Hello,
I noticed that in your paper, you mention using a split of 6328/500/500, i.e., 7328 bedrooms in total from 3D-FRONT. However, according to the ATISS paper, there are only 5996 bedrooms after filtering.
Even worse, the new version of the ATISS release contains dramatically fewer scenes. According to DiffuScene and my personal trial, following the filtering code in ATISS results in only 4041 bedrooms.
I wonder how you were able to get a larger number of bedrooms from 3D-FRONT compared to ATISS? Are you using the original 3D-FRONT release with a higher number of scenes?
Thank you!
Hi @Infinity12306, thanks for checking out our work!
From what I understood, ATISS (and other follow up work) filters the splits by using rectangular-only rooms for, e.g, bedrooms.
In contrast, we have a more relaxed filter, considering non-rectangular rooms as well. However, I never ran any statistics on this. It could be interesting to know if the gap indeed stems from this difference or if there are other differences too.
If you have the chance to plot a histogram for "number of corners" for our bedroom split, this could answer the question. I can also take a look at it later this week.
Thank you for such a quick reply! It really helps a lot, and I will try to check it out myself.
Besides, I'm still wondering which version of 3D-FRONT you are using. Is it the newest version with the upload date 2022-01-14, as shown on the official website?
It is really a pity that the 3D-FRONT authors recalled the original version, which had a much larger number of bedrooms. And for now I can not find the original version anywhere on the internet.
Yes, I agree :( We used the newer version of 3D-FRONT as provided on the official website.
I just ran some quick analysis on the bedroom count (train/val/test all merged, resembling our full bedrooms dataset), see plot below.
Overall, ATISS (and others) have MORE rectangular rooms than we have, since we additionally filter by quality of having low total VBL. Thus, it's not that we have all rooms of ATISS plus additional non-rectangular rooms. The two datasets have high overlap but it's not a superset.
For baseline comparison, we trained them on our custom splits though.
Let me know if that helps clarify your question around dataset differences.
Thank you for the insightful dataset analysis! I think I understand the cause of the dataset differences. Here is a summary of my understanding; please let me know if there are any issues:
- ATISS uses the original version of 3D-FRONT with a larger number of bedroom scenes, while you use the newest version with fewer scenes. Additionally, you filter by quality using the VBL metric, resulting in even fewer bedrooms.
- However, due to improvements in your method, you can process non-rectangular floor plans, which allows more bedrooms to be included when preprocessing 3D-FRONT. This eventually results in your dataset having a higher number of bedrooms.
Finally, I want to check if you trained ATISS for comparison on your dataset, or on the common set between yours and the ATISS dataset?"
Your understanding is correct, I think. However, your first point claims that "resulting in even fewer bedrooms" and your second point "having a higher number of bedrooms", contradicting each other a bit. Just to avoid any confusion:
-
We use the newer 3D-FRONT dataset. ATISS might be using the older one (I am not 100% sure though. The older one might be a subset of the newer one anyways?)
-
We filter via VBL, resulting in LESS rectangular-only rooms compared to ATISS (we have ~4.5k, ATISS has ~6k). However, because we additionally have non-rectangular rooms as well (see histogram above), this results in ours having MORE total samples compared to ATISS.
To answer your last point: Yes, we did train all baselines on the same datasets. ATISS (and Mi-Diff) does support non-rectangular rooms as well "in theory", although they did not run experiments on this (they only trained on their rectangular-only dataset). When we compare our method to their method, we trained all methods from scratch on our custom dataset with non-rectangular rooms as well (with the histogram distribution above).
Thank you for your quick response and kind reminder. I apologize for my previous confusing message; I would like to explain in more detail.
The older release of 3D-FRONT actually contains more scenes, as noted in this ATISS issue: https://github.com/nv-tlabs/ATISS/issues/18. Because of this, with the same filtering logic, the number of rectangular bedrooms in your dataset is lower than ATISS's (which should be 4,041 based on my trials and the DiffuScene paper, compared to the 6,534 reported in the ATISS paper). With your additional filtering by the VBL metric, the number should be even lower. However, since you mentioned ~4.5k, I am a bit confused—is this because you adopted a different filtering strategy from ATISS?
We do indeed have a bit of a different filtering strategy. I don't know how exactly we deviate from it though, since we never tried to replicate the dataset that ATISS was using 1:1.
Since there is already a lot of existing work on rectangular-only scene synthesis, our work tried to come up with a way to generalize to more complex layout from the beginning.
I remember that ATISS is filtering on "max. room length" for example:
https://github.com/nv-tlabs/ATISS/blob/0909ce0000e52bf1bf300a6a558109f7f8383fd9/scripts/preprocess_data.py#L73C9-L73C23
There might be other filtering steps along the way for ATISS. I don't remember exactly though.
Does this help clarify the confusion a bit? Overall, we follow a totally different filtering strategy based on a different original dataset (since 3D-FRONT changed). This explain the differences and also why ours is not a strict subset of what ATISS used.
Thank you for the explanation. I think I understand the cause of the dataset difference now.
Just one last question: is your filtering code included in the repo? I found the preprocessing code directory, but it seems that the filtering code is not included.
If you do not plan to release the filtering code, could you please give a high-level description of your filtering strategy? For example, for bedrooms in ATISS, they filter by the number of objects, room size, object types, etc.
The preprocessing goes through several stages as you noted in the folder you linked. The core file though is:
https://github.com/GradientSpaces/respace/blob/master/src/preprocessing/3d-front/04_training_dataset_stage_1_json.py
You will see that inside the function convert_scene, there are several points where we exit the function via continue.
For example, with is_valid_room, has_invalid_values, or obj["size"][0] > 20. Later, we check for issues with the extracted room boundaries via bounds (a previous preprocessing stage). Some rooms do also not have corresponding room boundaries from another dataset we use and will be skipped here.
You can check other parts of the code if you want to understand the full dataset filtering.
I think stage 1 does not filter by room type yet, so it's more like a general-purpose quality filter.
Later, in stage 2, we do another set of filtering, i.e. see is_invalid_scene_by_heuristics, and is_invalid_scene_by_mesh_pbl (the VBL filtering, here referred as PBL before the renaming).
In stage 3 we create the splits by roomtype and instructions etc.
I hope this helps. I know it's a lot of code to look at from different files. I hope you can navigate the code structure. Let me know if there are further questions.
Thank you for noting the filtering code. I will check it myself!
One final question, you mentioned "another dataset" in "Some rooms do also not have corresponding room boundaries from another dataset we use and will be skipped here." Which dataset is it referring to, is it public or private? I really struggle with the data inadequacy problem a lot.
No worries! It's a lot of steps indeed.
We mention the reference in the appendix under "First, we leverage an existing dataset of postprocessed 3D room meshes from 3D-FRONT from Dahnert et al. (2021) that has simplified wall geometry and closed holes, which facilitates the room boundary extraction."
Manuel Dahnert, Ji Hou, Matthias Nießner, and Angela Dai. Panoptic 3d scene reconstruction from a single rgb image. Advances in Neural Information Processing Systems, 34:8282–8293, 2021.
I think we took the front3d-room_meshes.zip from here:
https://github.com/xheon/panoptic-reconstruction
Thank you for the consistently quick replies and sincere help. It really helps a lot, and I think it is fine to close the issue now. Wish you a good day and best of luck with your research!
Thanks @Infinity12306. I am also happy to have a conversation offline if you are interested in more details or want to collaborate on a project that builds up on ReSpace! Just send me an email.
Thank you! I will reach out if there is interest in more details or a good idea for collaboration.