Loading video...

Video Failed to Load

Go Home

Test-time scaling, reasoning, and generally search-like processes clearly drive significant gains in LLMs. Largely owed to the structure of language. One would think the same could apply to non-linguistic domains, like image generation, but that obviously depends on whether the structure of the domain's representation lends itself to search....

15,686 views • 4 months ago •via X (Twitter)

13 Comments

Amir Zamir's profile picture
Amir Zamir4 months ago

Unlike the standard 2D grid tokenization, which encodes images into a fixed number of tokens, 1D ordered tokenizers encode images into variable-length sequences with a coarse-to-fine structure. Examples of such 1D ordered tokenizers are and This coarse-to-fine structure changes how these models scale at test time.

Amir Zamir's profile picture
Amir Zamir4 months ago

This coarse-to-fine structure yields intermediate readouts from 1D ordered tokens, which are easier to verify than those from 2D grids. This provides a signal for steering the model via test-time search. The animation shows beam search over a 1D ordered tokenizer.

Amir Zamir's profile picture
Amir Zamir4 months ago

To study this topic, we define a search-over-tokens (SoTo) framework with three key questions: 1️⃣ Which search algorithm works best for a given token structure? 2️⃣ Which verifiers can guide search, and which work best? 3️⃣ How much does the AR prior matter?

Amir Zamir's profile picture
Amir Zamir4 months ago

We compare 1D ordered and 2D grid-based tokens with controlled AR models across three standard search algorithms and find: Both models scale similarly under best-of-N and lookahead search, but ordered tokens benefit the most from beam search, and ultimately scale better.

Amir Zamir's profile picture
Amir Zamir4 months ago

Interestingly, it is possible to search directly over 1D ordered tokens, even without training an AR model entirely, and still generate reasonable images. The video shows beam search directly over the FlexTok token space, guided by an ImageReward verifier.

Amir Zamir's profile picture
Amir Zamir4 months ago

Search also enables zero-shot control. By swapping in an image-image verifier (e.g., DreamSim), we can guide the model to generate objects similar to a reference image, even though the AR model was only trained on text-image pairs.

Amir Zamir's profile picture
Amir Zamir4 months ago

We also study search with a range of image-text verifiers. All of them improve over the no-search baseline, but an ensemble achieves the strongest results overall across all metrics. Some example visualizations:

Amir Zamir's profile picture
Amir Zamir4 months ago

We also compare different AR priors. While unconditional and uniform priors can generate reasonable images via guided search, a strong conditional prior narrows the search space, converging on the final image concepts much faster.

Amir Zamir's profile picture
Amir Zamir4 months ago

The interactive tools on the website and the demo are really useful to get a quick understanding. The code is open-source. It is extensible to other AR models, verifiers, and search algorithms. There are starter notebook examples in the repo. Website:  Paper: Code: Demo: Congrats to the great team at @EPFL_en and @Apple: @zhitong_gao, @parham_rezaei_, @califyn, @MingqiaoY, @nale_jovanovic, @JRAllardice, @afshin_dn, @zamir_ar, @roman__bachmann, @oguzhanthefatih!

Zhiran's profile picture
Zhiran4 months ago

A significant step toward Search-over-Tokens for vision. The real insight here is that 1D ordered tokens transform image generation from a rigid raster-scan into a hierarchical decision tree, making test-time compute finally effective. The scaling curves (530M + search vs. 3.4B) clearly show that representation structure, not just model size, is the bottleneck for visual reasoning. Congrats on the @icmlconf 2026 acceptance!

Sam Gijsen's profile picture
Sam Gijsen4 months ago

@m1nj12 Awesome! It always seemed like semanticist/flextok should enable some cool new things built on top.

EB1A Experts's profile picture
EB1A Experts4 months ago

Really compelling insight. The idea that test-time scaling in non-linguistic domains depends heavily on whether the representation itself supports structured search feels extremely important especially as reasoning-style inference expands beyond text.

Ed's profile picture
Ed4 months ago

All diffusion models too enable step-by-step coarse-to-fine generation

Related Videos

I’m very excited to announce AI Autocomplete AI Autocomplete is a breakthrough patented technology that supercharges natural language input = Unlocking 10x faster search and commerce, advertising, and powerful augmented reality. Available for use as an SDK. This solves a fundamental problem of today’s chat interfaces – They are good at single step request, but any multi-step action (like booking a flight or purchasing goods) quickly becomes a back and forth 'game of 10 questions'. While working on our own assistant, we realized the core driver of this problem is a human one: People don’t know everything they need to say upfront, for every action you could do on the internet. And to solve it, we would need to think about how to marry design and technology in a new way. AI Autocomplete solves this, and can now plug into chat interfaces to guide you in real-time, with everything you would need to say, upfront. So you can do anything you can do on the internet in one shot. No more back and forth. As a result, this unlocks multiple AI breakthroughs: 1. 10x faster search and commerce 2. Smarter (and far lower cost) media generation 3. Natural language advertising 4. Powerful, lightweight Augmented Reality From here, we’ll be using this for Hero, but we also want others to use it too since this is an industry-wide problem. So if you have a product that could benefit from AI Autocomplete and want to work with us, reach out below! Shoutout to Seung W. Lee who helped think of and patent this nearly 3 years ago! And shoutout to the entire Hero Assistant team that keeps innovating on the next generation of AI products

brad

304,043 views • 10 months ago

Terence Tao, Professor of Mathematics at UCLA and Fields Medalist, on why nobody can fully explain why LLMs work: Tao starts with the mechanics, which are no mystery at all. You gather an enormous amount of text and you fit a curve to it. "The magic of LLMs is that if you train these LLMs on enough data — so trillions and trillions of data points — and you really try to fit as good a curve as possible, and this takes like millions and millions of dollars of computing power and months and months of time, then suddenly, even when you iterate, it stays coherent. It begins to sound not like monkeys but it actually sounds like a human speaking." That is the entire recipe: data, compute, time, curve-fitting. None of it obviously adds up to fluent English. Then Tao says the part that most people building these systems move past quickly: "And somehow we don't fully understand why that's the case." The admission comes from one of the most capable living mathematicians, and the gap he describes sits at the centre of the field. His best account of what's happening puts the mystery in the language rather than the machine: "What seems to be true is that language, like English or other natural languages, contains a lot of hidden patterns that we're not consciously aware of. I mean, we know some of the laws of English, there's laws of grammar and things, but there are sort of unspoken, unwritten rules of language that humans pick up." It relocates the question: the structure was always latent in the text, and the model found it. Why enough curve-fitting surfaces that structure is still unanswered. Tao reaches for a child to explain it: "A human child, even though they're not taught what a noun is, what a verb is or whatever, they can pick up what order English words go in just by continual exposure to the language." Which is honest about the limits of the explanation, because we can't fully account for how children do it either. From there, the unexplained behaviour compounds. Exposure to language turns out to be enough to produce something that looks like reasoning: "It seems like you can teach these models to also pick up patterns in language to the point where you can give them math questions. The answer to 2 plus 3 is — and they will say five." And once a model handles language at all, you can push it into resembling self-correction: "Once you have a little bit of ability to speak English, you can kind of go in loops and sort of check your work and make fewer mistakes, and you can prompt these models to proceed step by step and not say something unless it's been double checked and so forth. And so they become a little bit smarter, quote unquote, to the point where they can solve many, many complicated tasks." The scare quotes around "smarter" carry the whole argument. Tao does not concede that the unexplained fluency implies anything underneath it: "But they're still just guessing the next word to say. It's not really grounded in any deep understanding of the real world. It's just that they have seen the patterns in the English language or other language that they've absorbed so well."

Big Brain AI

189,602 views • 7 days ago

Introducing Sharpe Search: On-Chain Search AI Agent Powered by Hive Intelligence We’re thrilled to announce the launch of Sharpe Search, a crypto search AI agent powered by Hive Intelligence Designed to simplify blockchain data interaction, Sharpe Search represents a significant step toward making crypto more accessible and actionable for users at every level. Sharpe Search leverages Hive Intelligence’s advanced search API to provide real-time, actionable insights across the blockchain ecosystem. Here’s a detailed look at what Sharpe Search is, how it works: What Is Sharpe Search? At its core, Sharpe Search is an AI agent purpose-built for querying and analyzing on-chain data. It takes the complexity out of blockchain exploration by enabling users to ask questions in plain language and receive detailed, accurate responses. Whether you’re looking to monitor wallet activity, track portfolio positions, or analyze transaction history, Sharpe Search ensures that the answers are at your fingertips—accurate, comprehensive, and delivered instantly. How Does Sharpe Search Work? Sharpe Search is powered by Hive Intelligence, a search engine API designed to make blockchain data easily accessible and AI-ready. Here’s a breakdown of how it enables Sharpe Search to function effectively: 1. LLM-Optimized Query Processing Sharpe Search leverages Hive Intelligence's optimized responses for large language models. This ensures that AI agents can process blockchain data in a structured format, delivering precise answers to complex user queries. 2. Natural Language Interaction Forget the need for technical knowledge. Sharpe Search supports natural language queries, making it as simple as typing: - “What tokens are in my wallet? Am I eligible for any airdrop I haven't claimed yet?” - “Check me my last 100 transactions, tell me if I interacted with any protocol with recent hacks” - “Track my wallet activity over the past month, suggest optimised portfolio based on best stable yields available” 3. Real-Time Insights Across Multi-Chains Using Hive Intelligence, Sharpe Search connects to over 20 chains and 5000+ Protocols. This real-time access ensures that the AI agent provides up-to-date and actionable insights, no matter how dynamic the blockchain environment. 4. Unified API Access Sharpe Search consolidates fragmented blockchain data through Hive’s unified API. Instead of dealing with multiple integrations, Sharpe Search uses a single access point to aggregate and query data, reducing complexity for both users and developers. Technical Depth: The AI Agent Advantage Sharpe Search's design philosophy revolves around the principle of creating an intuitive, AI-driven experience. Here’s what makes its technology stand out: Data Indexing and Aggregation: Hive Intelligence employs advanced indexing algorithms to aggregate data from multiple chains. This ensures that Sharpe Search can retrieve information within milliseconds, even when querying vast datasets. Dynamic Updates: Blockchain data is volatile. Sharpe Search processes dynamic updates in real time, enabling users to act on the most recent metrics, transactions, and balances without delays. Contextual Understanding: The AI agent parses natural language queries and contextualizes them to blockchain-specific scenarios. For instance, when querying “Show portfolio details,” Sharpe Search understands the underlying requirements—fetching wallet holdings, token values, and current positions. Hive Intelligence: The Backbone of Sharpe Search While Sharpe Search takes center stage, Hive Intelligence provides the critical infrastructure to make it all possible. Its LLM-ready responses and multi-chain support ensure that Sharpe Search operates at the forefront of blockchain data accessibility. By launching Hive Intelligence through Sharpe Launchpad, Sharpe reinforces its commitment to supporting innovation in the blockchain space. Hive’s infrastructure not only powers Sharpe Search but also lays the groundwork for future AI agents to thrive in the ecosystem. What’s Next for Sharpe Search? Currently in invite-only access, Sharpe Search is preparing for a broader public release. Future updates will include: - Expanded Blockchain Coverage: More chains and protocols will be added. - Enhanced Query Flexibility: Even more advanced natural language capabilities. Stay tuned for the public launch and get ready to explore crypto like never before!

Sharpe AI

263,308 views • 1 year ago