Pico-Banana-400k

(github.com)

334 points | by dvrp 19 hours ago ago

56 comments

  • vunderba 19 hours ago

    From the paper

    > The pipeline (bottom) shows how diverse OpenImages inputs are edited using Nano-Banana and quality-filtered by Gemini-2.5-Pro, with failed attempts automatically retried.

    Pretty interesting. I run a fairly comprehensive image-comparison site for SOTA generative AI in text-to-image and editing. Managing it manually got pretty tiring, so a while back I put together a small program that takes a given starting prompt, a list of GenAI models, and a max number of retries which does something similar.

    It generates and evaluates images using a separate multimodal AI, and then rewrites failed prompts automatically repeating up to a set limit.

    It's not perfect (nine pointed star example in particular) - but often times the "recognition aspect of a multimodal model" is superior to its generative capabilities so you can run it in a sort of REPL until you get the desired outcome.

    https://genai-showdown.specr.net/image-editing

    • svantana 9 hours ago

      That's a great website! Feature request: a button to toggle all the sliders left or right at the same time - would make it easier to glance the results without lots of finicky mouse moves.

      • vunderba 6 hours ago

        Thanks. That's a great idea - I also incorporated @MattRix proposal of syncing the sliders. It should be up now!

      • MattRix 8 hours ago

        Seconding this. Once you’ve seen the original image once, you don’t need to see it each time. The idea of syncing the sliders in the current group is a clever solution.

    • lukasb 17 hours ago

      What do you use for evaluation? gemini-2.5-pro is at the top of MMLU and has been best for me but always looking for better.

      • vunderba 16 hours ago

        Recently I've found myself getting the evaluation simultaneously from to OpenAI gpt-5, Gemini 2.5 Pro, and Qwen3 VL to give it a kind of "voting system". Purely anecdotal but I do find that Gemini is the most consistent of the three.

        • dangoodmanUT 6 hours ago

          I found the opposite. GPT-5 is better at judging along a true gradient of scores, while Gemini loves to pick 100%, 20%, 10%, 5%, or 0%. Like you never get a 87% score.

        • motbus3 13 hours ago

          I am running similar experiment but so far, changing the seed of openai seems to give similar results. Which if that confirms, is concerning to me on how sensitive it could be

        • lukasb 16 hours ago

          Interesting, I'll give voting a shot, thanks.

    • scotty79 6 hours ago

      Seedream seems to be clear winner

    • typpilol 18 hours ago

      I love your site I stumble across it once a month it seems.

      Or there's another very similar site. But I'm pretty sure it's yours

      • vunderba 16 hours ago

        Thanks! It's probably the same site. It used to only be a showdown of text-to-image models (Flux, Imagen, Midjourney, etc), but once there was a decent number of image-to-image models (Kontext, Seedream, Nano-Banana) I added a nav bar at the top so I could do similar comparisons for image editing.

        • typpilol 14 hours ago

          Yes that was exactly it.

          How often do you update it? It seems like something new every time I check. Or I forget everything..

          • vunderba 6 hours ago

            Honestly it's kind of inconsistent. Model releases sometimes seem to come in flurries - (it felt like Seedream and Nano-banana were within a few weeks of each other for example) and then the site will receive a pretty big update.

  • ttul 4 hours ago

    Image editing model training is fascinating. One method for training image editing models involves using a second model to apply the inverse of the change you want the model to learn. Typically, the task you’re asking the second model to perform is easy, whereas the inverse task is difficult.

    For example, you might ask the second model to cover the person’s face with a black square; a VLM model notes that the person is a man with brown hair and round glasses. Then, during training, the resulting image is presented along with the prompt, “Remove the black square from the man’s face. He has brown hair and round glasses.”

    The model now learns how to remove black squares and replace them with a man’s face with brown hair and round glasses.

    Since the training data is easily synthesized using existing models, you can generate enormous amounts of it - often very cheaply. For specialized editing tasks, this technique is really powerful. Build your training set for your special purpose task, fine tune an existing image editing model such as Qwen Image Edit to produce a new checkpoint or LoRA (often a LoRA is more than good enough) and then you have a special purpose model to perform whatever narrow editing task you need it to perform on your image data.

    • onlyrealcuzzo 4 hours ago

      Are these models built atop models that already understand natural language?

      If the commands all follow the same syntax, it's easy to imagine how you can generate a good training set.

      But how to they fully grasp natural language to be able to perform tasks worded unexpectedly, which would be easy to parse, if they understood natural language?

      • jerf 3 hours ago

        "But how to they fully grasp natural language to be able to perform tasks worded unexpectedly, which would be easy to parse, if they understood natural language?"

        A Large Language Model. Pardon me for spelling out the full acronym, but it is what it is for a reason.

        I think a lot of the whiz-bang applications of LLMs have drowned it out, but LLMs are effectively the solution to the long-standing problem of natural language understanding, and that alone would be enough to make them a ground-breaking technology. Taking English text and translating it with very high fidelity into the vector space these models understand is amazing and I think somewhat underappreciated.

  • sollewitt 6 hours ago

    AI industry: please _please_ get it together with naming. There shouldn’t be this much overlap between this, a dataset, and a massive image model which was already given a garbage name to begin with.

    Don’t get me started in how “agent” is a term of art that means absolutely nothing, encompassing everything from a plain old shell script to a full language model.

    • 3abiton 6 hours ago

      To be fair, as the "AI" industry came late, the dibs were called on all the cool acronyms/names (LoRa for example).

      • andai 5 hours ago

        That's true. And if they did somehow think of a cool name, they simply wouldn't have the resources to purchase the rights to it ;)

    • NBJack 3 hours ago

      Is it just me, or do they switch the names a bit as they go along? Maybe I just missed something?

      > Dataset Statistics

      > Nano-Banana-400K contains ~400K image editing data, covering a wide visual and semantic range drawn from real-world imagery.

  • skissane 16 hours ago

    The license is CC BY-NC-ND - I’m not sure who is going to be able to use it given the NC-ND part… especially given the potential uncertainty over what uses count as commercial and what counts as derivative works. OTOH, given the bulk of this dataset is AI outputs, its copyrightability is an open question.

    • niek_pas 12 hours ago

      > CC-BY-NC-ND or Creative Commons Attribution NonCommercial NoDerivs, is the most restrictive license offered by Creative Commons. With this license, the user (while attributing the original creator) can only share the work but not change it in any way or ever use it commercially.

    • qoez 9 hours ago

      Output from a generative AI model has already been deemed non copyrightable and the license can't really overwrite that

    • hsbauauvhabzb 12 hours ago

      I find caring about a licence for an LLM highly ironic.

      • littlestymaar 12 hours ago

        It's not even an LLM, it's a dataset.

        And clearly, if training on copyrighted material is fair use as every LLM makers claim, then this license has literally no weight.

        Also, NAL but IIRC an automatically generated dataset isn't copyrightable in the first place.

      • DrewADesign 10 hours ago

        Honor among thieves?

  • TechSquidTV 17 hours ago

    Can it be? Has Apple FINALLY joined the party? Very ironic they are using an open dataset from Google... and Gemini for prompts by Google.

    I'm happy to see something from Apple but this seems so low-tech that it could be one of my own local ComfyUI workflows.

    • echelon 14 hours ago

      They're distilling Nano Banana with a Google dataset, letting anyone more easily build and test their own systems. It's kind of funny how easy this is to do.

      "You wouldn't steal a car," but anyone can distill an expensive, fully trained model in order to build their own.

      This is going to be one of the most important categories of image model. It's good that we have more than Google and the Chinese (ByteDance, et al) with competent editing models. I don't think Flux Kontext is keeping up.

      It'd be really nice if we had a Nano Banana-calibur model as open source.

      • TechSquidTV 6 hours ago

        Qwen Image Edit? Though it is a little soft and plasticy

        • ttul 4 hours ago

          Unless you fine tune it… the guys of Qwen are amazing.

      • kranke155 11 hours ago

        Flux Kontext is not keeping up. Even then Flux has become only partially open source. They keep the more advanced models API only.

        • ttul 4 hours ago

          Flux backbone is too rigid. Very difficult to fine tune. Qwen is where it’s at these days.

        • ThrowawayTestr 3 hours ago

          I've gotten mind blowing results with flux.1 Dev. Is the API even better?

  • MeteorMarc 6 hours ago

    Thought this was about Raspberry Pi because of the assocations with the banana pi and the pi pico.

    • 3form 4 hours ago

      And 400. I genuinely thought it's going to be a Banana Pi in keyboard form factor.

  • daemonologist 17 hours ago

    I confess that I don't quite get the point here - is it just that they've paid the inference costs for a dataset than can be used for distillation/other research?

    • peddling-brink 16 hours ago

      Essentially yes, it’s a data set that can help train or fine tune another model or similar research. From the site:

      > Pico-Banana-400K serves as a versatile resource for advancing controllable and instruction-aware image editing. Beyond single-step editing, the dataset enables multi-turn, conversational editing and reward-based training paradigms.

  • ThrowawayTestr 3 hours ago

    I love open datasets. The future of LLM is open source models.

  • BarakWidawsky 16 hours ago

    Looks like the dataset is distilled from Gemini nano-banana

    Definitely very useful, but I’m so curious how the original datasets from these image editing models were created. I’m guessing a lot of it is synthetic data to construct scenes programmatically with layers

    • ttul 4 hours ago

      My rough guess is that they set a few workflows combining analytical and ML-based image manipulations to generate the training set. For instance, you can get a long way by having a segmentation model identify and mask various objects and then apply simple analytical manipulations to the masked areas such as changing their color, or diffusing new content into that area using masked guidance to another image diffusion model. In this way, you can create training pairs that your editing model learns to invert, such as “turn the woman’s hair into blonde hair” (start with a blonde haired woman, mask the hair, and get a diffusion model to turn it brown; this gives you the scene you can now invert as a training pair).

  • zuInnp 13 hours ago

    Maybe it is only me, but all the emojis in the readme look like AI wrote it and instantly make stop reading it ...

    • thinkingemote 13 hours ago

      Another glaring giveaway is the over use of numbered lists and bullet point lists.

      Personally it makes me less likely to read it but the content might be useful. I have some general tech interest but am not overwhelmingly interested in the subject. Sometimes good things crop up on HN too.

      Now, if an author was writing for an audience with the intention to attract the interest of people who were not enthusiasts to become enthusiasts of their product they would create something readable and attractive. The LLM hasn't here.

      Together, this leads me to think that the readme is not for me but is just for dedicated enthusiasts.

    • ThrowawayTestr 3 hours ago

      I've seen so many repos with bare readmes that I don't even mind generated ones.

    • stefan_ 5 hours ago

      All the READMEs these days are such a tell. It's okay when explicitly prompted, but now thanks to reinforcement learning through people who have no clue, all the models just top off every change with some pointless documentation change.

  • cubefox 12 hours ago

    Any idea why they didn't use GPT-4o image generation?

    • whywhywhywhy 4 minutes ago

      4o generates new images that try to be close but not exact it doesn't edit existing ones so wouldn't be much use for this.

    • pwython 7 hours ago

      Valid question, as they already have a partnership with OpenAI to use ChatGPT in Siri. I personally use GPT for illustrations and Nano Banana for photo edits (Midjourney for realistic photos).

      As an aside, perhaps they're using GPT/Codex for coding. Did anyone else notice the use of emojis and → in their code?

    • Alifatisk 11 hours ago

      I think it's because Geminis nano banano is better than 4o imagegen at creating and editing images from instructions

    • svantana 9 hours ago

      Gemini is better. See results of double-blind evaluation here:

      https://lmarena.ai/leaderboard/image-edit

    • Jackson__ 9 hours ago

      Because GPT-4o is too orange (literally).

      • neom 5 hours ago

        Someone who works in AI told me they think that was trained in as a "watermark", apparently the same is true with the em-dashes, to "ease people into AI" or something.

  • vednig 19 hours ago
    • cjrd 17 hours ago

      Eh

      • gus_massa 12 hours ago

        It looks like a post about the presentation in the conference. No discussion. Sometimes the first post about a topic doesn't geht traction but a layer post gets more popular.