Unofficial Hacker News companion — get notified on comment replies, and more.

Google's DeepCrossAttention achieves comparable model quality up to 3x faster (opens external site)

631 points by ComputedCamp995 4 days ago | research.google | 220 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (5)

  1. the strawberry problem is not a real problem and it's been understood how to solve it since it showed up. nobody does it because its not worth the compute.

    besides making the letters visible in some way, you need to remove softmax normalization (not for the full model! just for the sections of it that do the counting) since it only allows you to represent outputs as a fraction of the inputs. no model architecture that normalizes this way will ever truly learn integer counting that generalizes to unseen inputs.

    you also need a different activation function, relu and family cut away some crucial information.

    just copy paste what I told you into a claude conversation, they can train a small llm that shows it easily on their server cpu or locally on your machine.

    Replies (3)
    1. Or you give the model the ability to write code that reads the model’s transcript.

      I’m not saying the strawberry problem is a big deal. I’m saying that models often have some difficulty perceiving their own input at a low level, and cross-layer attention seems like it could help in general.

    2. Batteries are not a real problem because we have solid state ones. We just don't do it yet because it's too expensive.

      Traffic is not a real problem because we have flying cars. We just don't do it yet because it's too expensive.

      I don't get what you're saying, is engineering meaningless to you?

      Replies (1)
      1. AI researchers tend to intellectualize a solution while it's more powerful to just dump tons of data during model training.

        This is well described in "The Bitter Lesson" (http://www.incompleteideas.net/IncIdeas/BitterLesson.html).

    3. Recent models have trained their way out of this by spelling things out with hyphens or new lines, then counting. Seems to work reasonably well