absorb.md

Andrej Karpathy

Chronological feed of everything captured from Andrej Karpathy.

JavaScript t-SNE Implementation Visualizes Twitter User Similarities via TF-IDF Tweet Embeddings

Andrej Karpathy re-implemented t-SNE in JavaScript (tsnejs) to embed high-dimensional TF-IDF vectors of top Twitter users' tweets into 2D for visualization, clustering similar tweeters together. TF-IDF vectors were derived from 200 concatenated tweets per user using scikit-learn's TfidfVectorizer on unigrams and bigrams, yielding 500 x 87k feature matrix with cosine similarities as distances. The pipeline scrapes top users with Kimono, collects tweets via Tweepy, processes with Python/IPython/scikit-learn, and renders interactively with D3.js, emphasizing t-SNE's local structure preservation via KL-divergence on Gaussian-to-Student-t distances.

Jekyll Outshines WordPress with Static Simplicity, Security, and GitHub Integration

Jekyll generates static sites from Markdown posts and templates, eliminating PHP vulnerabilities, bloat, and dynamic rendering issues plaguing WordPress. Content lives in plain folders like _posts, enabling easy editing, versioning via Git, and automatic deployment on GitHub Pages. Workflow involves writing Markdown, committing to Git, and pushing for instant live updates with built-in preview via jekyll serve.

Fragment-Level Embeddings Boost Bidirectional Image-Sentence Retrieval

The model embeds fine-grained fragments—objects from images and typed dependency relations from sentences—into a shared multimodal space, enabling bidirectional image-sentence retrieval. It combines a global ranking objective with a novel fragment alignment objective that directly associates cross-modal fragments. Experiments demonstrate significant performance gains over global-only embeddings, with explicit alignments providing interpretability.

Karpathy Links 2014 Interview on ConvNetJS, Background, and Neural Net Trends

Andrej Karpathy shared a link to his ~2-month-old interview from Data Science Weekly. The interview covers ConvNetJS, his professional background, and perspectives on neural network trends, particularly in academia. It provides early insights into the field's direction as of early 2014.

Automated Minute-Granularity Scraping Reveals Hacker News Dynamics

Karpathy collected 47 days of Hacker News data by scraping front and new stories pages every minute from August 22 to October 30, storing ~10MB per day as gzipped pickles. BeautifulSoup parsed unstructured HTML tables into JSON with fields like domain, title, points, rank, user, and comments, handling edge cases in a 100-line function. Analysis in an IPython Notebook visualizes upvote trajectories, top domains/users/topics, and optimal posting times, with data/code once publicly available.

Chrome Extensions Enable Rapid, Powerful Website Customization via DOM Manipulation

Chrome extensions require only a manifest file and JavaScript/HTML, deployable in minutes to inject code into any webpage's DOM. They support adding UI elements, persistent storage, and periodic execution, allowing removal of unwanted content, auto-interactions, and novel features like tweet rarity highlighting. Twitter modifications demonstrate hiding promoted tweets, auto-loading new content, and visually prioritizing infrequent posters using scraped user frequencies stored locally.

Human scene understanding demands vast commonsense knowledge far beyond current CV capabilities

Interpreting a simple image like Obama pranking a scale requires fusing 3D scene structure, physics, human psychology, social norms, and predictive reasoning about mental states—none of which emerge from pixels alone. State-of-the-art CV benchmarks like ImageNet and PASCAL VOC test narrow, disconnected tasks that ignore this iceberg of prior knowledge. Progress demands not just more image data and learning tricks, but structured experiential data, embodiment, and active inference architectures to approximate human-like comprehension.

Human Achieves 94% Accuracy on CIFAR-10, Exposing Dataset Challenges and 2011 SOTA Limits

Andrej Karpathy manually classified 400 CIFAR-10 test images to 94% accuracy, far surpassing the 2011 state-of-the-art of 80% from Coates et al.'s k-means centroids with whitening and SVM. The exercise reveals high intra-class variability in poses, scales, and partial views, plus dataset undersampling causing test images without close training matches. Random clusters yield 70% and random patches 74%, suggesting k-means mainly spreads activations near data manifolds; post-2015 deep learning pushed accuracy to 95%.