r/LocalLLaMA • • 2d ago

New Model [ccore/Inkling-2-Mini-3D-Trace-Reconstructor] Reconstruct reasoning traces from finished Three.js scenes to use them as training data

I fine-tuned Inkling 2 Mini to turn finished Three.js scenes into training data
Give it a scene prompt and the finished HTML. It reconstructs a reasoning trace from the code, so you can train on scenes with missing or incomplete traces. The original HTML stays as the answer.
In the video, MiniMax uses those traces to rebuild scenes from Three.js Scenes v2 with zero new reasoning tokens. The side-by-side renders show which details carried over.

Model HF: Inkling-2-Mini-3D-Trace-Reconstructor.

43 Upvotes

24 comments sorted by

4

u/Visual-Active5761 2d ago

you are on FIRE bro loving all this

4

u/ConfidentDinner6648 2d ago

thanks! i actually needed to train this model to regenerate the reasoning traces in some of my datasets and see if i could improve the quality of one-shot 3d generation with 4b models. training of the new model will start in a few hours.

2

u/StubbornNinjaTeej 1d ago

This model is very cool! I always love coming across your stuff. From my (VERY LIMITED) experience, I found training on these kinds of reasoning traces didn't seem correct since the traces were short and overconfident. As I've been digging into ways to train CoT I came across this paper (arXiv 2603.24472) where training on answer-in-view traces actually hurt the model's reasoning overall. I've switched to self-sampling where Q3.5 solves the CadQuery blind with thinking on and keeping only the traces whose output matches the reference the request came from.

Have you found this to be true as well? Would be very curious if you have and what your experience is!

2

u/ConfidentDinner6648 1d ago

thanks for sharing the paper! i think i could’ve been clearer about what i meant by “in reverse.” in my original threejs scenes dataset, the model got a prompt, produced the reasoning trace, and then wrote the scene code. i only flipped the order for training, using the finished code as input and the original trace as the target. so the specific bias the paper describes doesn’t apply to how those original traces were created. the code didn’t exist yet when the model wrote them.

i chose this dataset because i built it myself, so i know the quality of the traces and the rendered images. i used the same quality standards across the whole set. that gives me a consistent way to test the idea: i can compare a reconstructed trace with the original for the same scene, then check whether training on the new traces actually improves one-shot 3d generation on held-out prompts. :)

1

u/stylome-ai-detection 1d ago

Notice: This comment appears to be AI generated.

Stylome AI detector flagged this comment. No removal or report was made by the bot.

Scan result: likely AI-generated

Detector confidence: confident

Subreddit sensitivity: Strict (AI-generated only)

This is an automated assessment and can be wrong. If you think this is a mistake, please message the moderators.


Stylome AI detector · scan results

2

u/Fun_Photograph1761 2d ago

did you see if OP dropped a v1 of those scenes earlier, or did it just start at v2

3

u/Kincar 2d ago edited 2d ago

Could you do with with cad files? This is really cool btw.

4

u/ConfidentDinner6648 1d ago

potentially, yes (: especially with parametric CAD formats. the idea is to reconstruct the reasoning behind a finished artifact and turn it into useful training data. Three.js is just the domain i'm experimenting with right now.

2

u/Kincar 1d ago

Awesome! I thought about trying and this give me a boost of confidence. Thank you! Do you have any pointers or material you can point me in the direction of for starting?

1

u/ConfidentDinner6648 1d ago

really happy to hear that! you should definitely give it a try :)

maybe you can find some inspiration in this project, they're exploring a similar idea but in the graphic design domain.

https://perpetualresearch.si/designworld/

here's the code and dataset too:

https://github.com/adithya-s-k/FineEnvs/tree/main/10-design-world

https://huggingface.co/datasets/perpetual-research/designworld-sft

hopefully this gives you a good starting point. would love to see what you come up with!

1

u/Kincar 1d ago

Thank you! I will be sure to share with you!

2

u/MmmmMorphine 1d ago

Hmmm, wouldn't openscad essentially have both the 3d item and the 'training data' for it at the same time?

Of course most things aren't made in openscad, but hey, free training data for quite a few things

3

u/Ylsid 2d ago

Why is it slightly different? Don't you have the ground truth already?

1

u/ConfidentDinner6648 1d ago

yes, and the original HTML is still the ground truth used for training. the reconstruction in the video is just a way to evaluate how much information the generated reasoning trace preserves.

the actual goal is to build better training data, not to reproduce the original scene pixel-perfectly. i'm already applying this to the Fable-Kawaii dataset and will train a 4B model with the reconstructed traces today.

2

u/Ylsid 1d ago

I see! You're doing great so far!

1

u/ConfidentDinner6648 1d ago

i’m training a 4B model and an Inkling 2 Mini LoRA in parallel with the reconstructed traces. On the same 2,000 Fable-Kawaii scenes, the original traces had a median of 526 tokens, which feels pretty short for scenes with complex geometry, materials, and animation. The reconstructed traces had a median of 26.5K.

Once the Inkling run finishes, I’ll repeat it with the original traces and keep the prompts and HTML the same. Then I’ll compare the renders on scenes neither run trained on to see if the extra detail actually helps.

2

u/True_Requirement_891 2d ago

oly shite man people should be doing more legendary shit like this

2

u/ConfidentDinner6648 1d ago

thanks man! i'm already using it to regenerate the reasoning traces of a dataset with 3.8k scenes. really curious to see how much better a 4B model can get with better reasoning supervision.

2

u/Poprouter 1d ago

the html is the only real ground truth here. since many traces can lead to the same scene, the model is building a plausible path rather than finding the original one. do you think this variability helps with generalisation?

1

u/ConfidentDinner6648 1d ago

yeah, that's my hypothesis. the goal isn't to recover the original reasoning, but to reconstruct a coherent reasoning path grounded in the actual implementation.i'm currently regenerating the reasoning traces for this dataset:

https://huggingface.co/datasets/liumindmind/Fable-Kawaii-3D-ThreeJS

i'll be training a 4B model with the new traces today to see if this approach improves one-shot 3D generation. whether the variability itself helps generalization is something i'd like to investigate further.

2

u/Poprouter 1d ago

oh cool curious how this turns out

1

u/ConfidentDinner6648 1d ago

Me too; the first checkpoints will be ready soon, and I’ll post the results. (:

2

u/Poprouter 1d ago

awesome, will keep an eye out

1

u/Dazzling_Equipment_9 1d ago

I just came across a 3D modeling software designed specifically for agents: https://github.com/wrong-nebula/forma , I’m very curious to see what kind of synergy might emerge between your model and this software.