News for hackers. Stuff that matters.
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by volodia on Wednesday February 26, 2025 @03:22PM (#43187777)
This is Volodymyr, co-founder at Inception---let us know if you have any questions about diffusion, language modeling, and our new Mercury models!
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by olddustytrail on Wednesday February 26, 2025 @05:24PM (#43188965)
How does producing tokens in parallel not just result in completely incoherent output?
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by volodia on Wednesday February 26, 2025 @05:44PM (#43189141)
The short answer is that we do more than one parallel pass over multiple tokens: we iteratively refine them over a few passes to fix incoherences. This can be seen as a generalization of diffusion algorithms that underlie systems like Midjourney or Sora.
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by aw123 on Friday February 28, 2025 @06:30PM (#43213262)
so if I understand correctly, you remask some tokens that were previously unmasked?
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by imtringued on Wednesday February 26, 2025 @05:59PM (#43189267)
Assuming the model tracks convergence in one way or another, it would simply continue performing iterations until it has reached an error below an epsilon value.

This means that in the worst case the number of iterations is the same as a classic autoregressive transformer.

So they are mostly taking advantage of the fact that the average response is in reality not fully sequential, so the model is discovering the exploitable parallelism on its own.

This is not too dissimilar to a branch and bound algorithm that has a worse theoretical runtime than a simple brute force search, but in practice is solving the integer linear programming problem in almost polynomial time, because not everyone is encoding the hardest instances of problems in NP as integer linear programs.

Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by tsadoq on Wednesday February 26, 2025 @05:42PM (#43189119)
It looks super cool, any plan on open sourcing something? Btw, looking for an AI solution/sale engineer :P
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by volodia on Wednesday February 26, 2025 @05:44PM (#43189147)
Good question! We are not open sourcing the models at launch time, but we have a roadmap of future releases in which we hope to make some of our models accessible to the research community.
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by Reubend on Wednesday February 26, 2025 @06:05PM (#43189306)
Super cool, and I'd love to play around with this if they release an open source version.

Without a full paper, it's a bit hard to understand the full details. Does this essentially replace nucleus sampling with diffusion, or does it change the "core" transformer architecture in a major way?

Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by volodia on Wednesday February 26, 2025 @06:55PM (#43189713)
Yes, we plan to be releasing a tech report soon. We are not open sourcing the models at launch time, but we have a roadmap of future releases in which we hope to make some of our models accessible to the research community.
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by g-mork on Wednesday February 26, 2025 @08:24PM (#43190297)
Probably it's not relevant to you commercially at the moment (or ever?), but would love some intuition on how your models perform on really low end hardware. Does this technique translate into improved CPU-only performance? Also curious about density, does the technique require more/fewer/roughly same parameters as a traditional LLM for the same output quality?
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by volodia on Wednesday February 26, 2025 @09:15PM (#43190585)
Great question! The model can more efficiently leverage existing GPU hardware---it performs more computation per unit of memory transferred; this means that on older hardware one should be able to get similar inference speeds as one would get on recent hardware with a classical LLM. This is actually interesting commercially, since it opens new ways of reducing AI inference costs.
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by Rin0 on Thursday February 27, 2025 @12:05PM (#43196226)
May I ask if the training cost of the Mercury Code is higher compared to existing LLMs of similar capabilities?
Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by vessenes on Saturday March 01, 2025 @01:41AM (#43216599)
Volodymyr, congrats. This is crazy fast. If not super great at long context coding tasks. I tagged a few problem responses.

I'm curious about something that has analogues in image diffusion models -- you can see diffusion models, depending on how they are working through their latent space, sometimes try out and then move on from a feature in an image as it fits less with what's around it.

Are there analogues for Mercury? Does it try with a token or set of tokens, and as parts of the response fill in move on from them? Similarly, this architecture seems like it would have real problems inserting a needed token in the middle of a bunch of relatively high confidence generated tokens.

Can you give some insight / thoughts from the frontlines on these?

Re:Mercury Coder: frontier diffusion LLM generating 1000+ to... by aDyslecticCrow on Friday March 07, 2025 @04:35PM (#43295001)
This is simply brilliant.

The moment I heard the synopsis of the technique, I thought of one thing: Style transfer.

This model style should be really nice for translation and style transfer tasks. Takes an existing section text, noises it, and reverses it with guidance like an image diffusion model; A "movement" in latent with a controllable amount of modifications.

The diffusion process enables a wide range of "control" approaches not possible with current transformer models. Perhaps summarizing text can be done differently as well, taking an input and diffusing it into a shorter and shorter section.

I've not been this hyped about a new method since GPT3 itself.