If an LLM can’t be trusted with a fast food order, I can’t imagine what it is reliable enough for. I really was expecting this was the easy use case for the things.

It sounds like most orders still worked, so I guess we’ll see if other chains come to the same conclusion.

  • yetAnotherUser
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    vor 4 Monaten

    There are machine learning algorithms for anomaly detection though. They actually work decently well because exploits like this do in fact differ significantly from regular orders. Because they assume all anomalies are attempted exploits, their false negative rate is rather low while their false positive rate can be a bit higher.

    Taco Bell has the capability to create a decently large training set from all recorded orders (which must all be valid and non-malicious) so they shouldn’t have too many issues developing this model.

    If an anomaly is detected, make a human verify it is indeed an irregular order.

    • hark@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      vor 4 Monaten

      This is handwaving, which, to be fair, describes a lot of AI “solutions”. An anomaly could be as basic as a customer not wanting onions on their burger because the vast majority don’t make that modification.

      Now what do you do in that situation? Force orders to never have modifications? That customization is such an important feature to the point that burger king adopted it as a slogan with “have it your way”.

      • yetAnotherUser
        link
        fedilink
        English
        arrow-up
        1
        ·
        vor 4 Monaten

        The idea of anomaly detection is to project some input onto a (high dimensional), numeric output. From the training data alone, you can then see where the projections are clustered and develop a high dimensional “boundary” where everything within is known and good and everything outside is unknown and possibly bad. Since orders come in relatively slow, a human would be able to check for false positives and overwrite the computer decision.

        By the way, an ideal training set is preprocessed and has duplicates removed and new orders added by recombining parts of individual orders.

        For example, if we have 3 orders:

        • (Hamburger, Fries)
        • (Hamburger, Fries)
        • (Cheeseburger, Sandwich)

        We could then create the following set:

        • (Hamburger)
        • (Cheeseburger)
        • (Fries)
        • (Sandwich)
        • (Hamburger, Fries)
        • (Hamburger, Cheeseburger)
        • (Hamburger, Sandwich)

        And so on, and so forth. A naive variant is just taking the power set of all valid orders.

        • hark@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          vor 4 Monaten

          This is more complicated than just having the available menu items, the available modifications, and the limits on quantities to compare against. This is already available through the app/online ordering.

          • yetAnotherUser
            link
            fedilink
            English
            arrow-up
            1
            ·
            vor 4 Monaten

            That doesn’t prevent someone ordering “everything” at max quantity, which is almost certainly a “malicious” order.