HackerTrans
TopNewTrendsCommentsPastAskShowJobs

teendifferent

no profile record

Submissions

[untitled]

1 points·by teendifferent·hace 5 meses·0 comments

Stitching Vision Encoders into LLMs: Clip vs. I-JEPA vs. ViT Comparison

teendifferent.substack.com
2 points·by teendifferent·hace 5 meses·1 comments

Bypassing Gemma and Qwen safety with raw strings

teendifferent.substack.com
140 points·by teendifferent·hace 6 meses·46 comments

[untitled]

1 points·by teendifferent·hace 7 meses·0 comments

[untitled]

1 points·by teendifferent·hace 8 meses·0 comments

comments

teendifferent
·hace 5 meses·discuss
OP here. I wanted to test whether the vision encoder's pre-training strategy matters when you stitch it into an LLM. So I froze three encoders (CLIP, I-JEPA, supervised ViT), stitched each into Qwen2.5 with a small trainable projector + LoRA (~3M params), and compared.

Key findings: - CLIP dominates on average (language-aligned embeddings make the projector's job trivial). - But I-JEPA — which has never seen text during pre-training — ties CLIP on compositional reasoning (CLEVR). And scaling the LLM from 0.5B to 1.5B helped more than swapping any encoder.

Code, trained weights, and eval scripts are all open: https://github.com/REDDITARUN/CLIP-ViT-IJEPA-VLM/tree/main

Blog: https://teendifferent.substack.com/p/stitching-vision-into-l...

Curious what others think about I-JEPA-style representations for VLMs — the spatial reasoning results surprised me.
teendifferent
·hace 8 meses·discuss
I miss the era of deep learning where we actually diagnosed failure modes instead of just scaling compute.

I spent the weekend auditing ViT vs. CNN decision boundaries using a custom perturbation pipeline. I bypassed the standard LIME segmentation (Quickshift produces too much high-variance noise) and injected a custom SLIC pipeline to force semantic superpixels.

The results show that "Clever Hans" is still very much an issue.

Spurious Correlations: The ViT predicted "Jeep" (p=0.99) purely by overfitting on the muddy terrain texture. The attention map showed it ignored the vehicle geometry entirely.

Hallucinations: EfficientNet hallucinated a "toaster" solely because it detected a white counter + flowers context.

Accuracy metrics are masking the fact that our models are just exploiting dataset biases. Full write-up on the surrogate loss implementation and visual audits here.