• CalcProgrammer1@lemmy.ml
    link
    fedilink
    English
    arrow-up
    58
    arrow-down
    3
    ·
    8 months ago

    This…actually seems like a good use of AI? I generally think AI is being shoehorned into a lot of use cases where it doesn’t belong but this seems like a proper place to use it. It’s serving a specific and defined purpose rather than trying to handle unfiltered customer input or do overly generic tasks,

    • barsoap@lemm.ee
      link
      fedilink
      English
      arrow-up
      11
      ·
      8 months ago

      Eh, I doubt that. Bin packing is a very well-researched problem. It’s one of those nasty NP ones but we already have very good algorithms giving very good approximations in very short amounts of time the chance that throwing machine learning at the problem helps is not zero, but close to it. What that kind of approach certainly won’t get you is guarantees, those approximation algorithms can be configured to spit out solutions that are at most 1% or whatever you want worse than the optimal solution.

      I doubt this actually has anything to do with Amazon’s logistics operations it’s just their marketing team wanting to hype up Amazon for AI.

    • 7heo@lemmy.ml
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      7
      ·
      edit-2
      8 months ago

      Yeah, it is one of the least bad uses for it.

      But then again, using literal tera-watts-hours of compute power to save on the easiest actually recyclable material known to man (cardboard), maybe that’s just me, maybe I’m too jaded, but it sounds like a pretty bad overall outcome.

      It isn’t a bad deal for Amazon, tho, who is likely to save on costs, that way, since energy is still orders of magnitude cheaper than it should be[1], and cardboard is getting pricier.


      1. if we were to account for the available supply, the demand, and the future (think sooner than later) need for transition towards new energy sources… Some that simply do not have the same potential. ↩︎

  • Captain Poofter@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    8 months ago

    Just use whatever Temu uses.

    Temu packagers could fit a whole factory in the boxes Amazon uses to ship my deodorant

  • dual_sport_dork 🐧🗡️@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    7
    ·
    8 months ago

    Note that “optimizing” Amazon package can’t possibly be a very high bar to clear. Just being smart enough to package multiple items coming from the same distribution center on the same delivery route into the same box would do it… Something that other online retailers figured out decades ago but apparently somehow Amazon still hasn’t.

    • Jakeroxs@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      21
      arrow-down
      2
      ·
      8 months ago

      Used to work at an Amazon warehouse, things are a lot more complex then you seem to realize.

      • Imgonnatrythis@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        1
        ·
        8 months ago

        Care to expound? Can you explain why a small bottle of vitamins will sometimes come in a box 8 times it’s size. Filled with air bubble packing? I’ve always got the sense that box size was not at all a priority for them.

        • Jakeroxs@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          15
          arrow-down
          1
          ·
          8 months ago

          Depends on how it is fulfilled, if it comes from an Amazon warehouse directly vs directly fulfilled by a third party (if it comes in an Amazon branded box with Amazon tape it probably got fulfilled at an Amazon warehouse).

          If it did get fulfilled at an Amazon warehouse, the one I worked at it goes through a process wherein it is retrieved either by a “picker” manually or via a KIVA bot filled with items (depends on how old the warehouse is, I’d be surprised if they’re not all converted to KIVA bot style by now as it’s been nearly ten years since I’ve worked there and I worked in a brand new warehouse at the time and we had the bots style)

          So the picker puts it into a bin with several other items all scanned together using the ASIN number (separate Amazon barcode, longer and shorter then other barcodes) which gets loaded onto a conveyer which eventually ends up at a sorter, if it’s AFE (multi-item orders, the department I mostly worked in) it gets pushed to a certain line where it’s manually further sorted from the yellow bin, scanned again and placed into a smaller grey bin (rebin) which goes to another sorter eventually into another line where it gets placed into a wall of cubby-holes (I believe that was called induction), the cubby holes would have all the items for an order, once it’s “complete” you push it through to the other side of the cubby hole where the packers are, the packers have a screen that tells them what items are in the order, along with which box to use, they have a whole wall in front of them of different box sizes, along with a feed of the larger bubble cushin things and an automatic tape dispenser for the box side the system told the packer it needed (it didn’t work a lot of the time so there were also buttons to select a specific box size of tape).

          After all that the packer pushes it forward into another conveyer belt, where it is weighed automatically to hopefully ensure it is correct, if it is close enough to the correct weight, it goes out to shipping. (If not, it gets kicked out for problem solvers to figure out what’s wrong with it, that was my main job).

          Single item pack is less complex slightly for obvious reasons (don’t have to stage the items together) but is the same basic idea.

          Now to answer the questions specifically, why a small bottle of vitamins ends up in a large box, either they ran out of the correct box needed or it was just an incompetent worker who doesn’t care what box they use regardless of what the system tells them they should use. Technically the system could kick it out, but that’s a lot of extra time, effort and a wasted box.

          • Imgonnatrythis@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            8 months ago

            Interesting. Thanks. I’m guessing that Amazon maybe isn’t great at incentivizing workers to care. If the last step for a single item is a human putting it into a box, I could see it being easier to have a stack of big boxes that one would just default to rather than paying attention to size recommendations.

            • Jakeroxs@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              3
              ·
              8 months ago

              I only lasted 6 months, if that’s any indication lol.

              It was a really cool job, but you can’t have your phone while working (have to literally leave it outside in a locker, there are metal detractors you walk through to get in and out), the breaks are way too short (there were times more then half my break was spent just walking from my area to the break room when I did pick), and to top it off, it was a 4/10 shift (overnights for me) and frequently they would tell us on the last day right before midnight that we had to work another full 10 hour day tomorrow.

              After several months of 5/12s during “peak” seasons (nov - march) I had enough.

    • pixxelkick@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      3
      ·
      8 months ago

      Bruh did you read the article at all? Nothing you talked about has anything to do with what this AI is for.

      • dual_sport_dork 🐧🗡️@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        8 months ago

        Yes, I did. And what it talks about actually ignores my complaint, which is why I file their claim about “avoid more than 2 millions tons of packaging material worldwide” in the bogus column.

        Their system obviously does not take into account multi-item orders at all, and seems to operate purely on a one-product, one-package model. Which is stupid. They’re not trying to avoid landfill waste, they’re trying to minimize returns due to breakages but without putting any human intervention into the process.

  • pixxelkick@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    8 months ago

    This seems like it has pretty powerful potential for space flight.

    Being able to aggressively min max packaging materials to secure materials could be critical for reducing payload sizes on shuttles, where every single individual gram counts.

    Each kg of packaging is thousands of dollars to get into orbit, so that’s really appealing.

    I’d be curious to see if Amazon is also working on box packing algorithms for maximizing fitting n parcels across x delivery trucks.

    IE if you have 10,00 boxes to move, what’s the fewest delivery trucks you can fit those boxes into as fast as possible too, which introduces multiple complex concepts. Both packing to maximize space usage and the order you pack it in to minimize armature travel time…

    I’d put money down amazon is perfecting this algorithm right now, and has been for awhile.

    • polygon6121@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      2
      ·
      8 months ago

      This is already worked in through mathematics, it is its own mathematical field. We can optimize packaging through formulas that are very fast and accurate. No need to train a AI for that. Especially not for space flight, AI are prone to hallucinations that is not something you want anywhere near any space mission that requires precision and predictability. I believe Johannes Kepler started this field in the 1600s, it is not something new. It is definitely a complex problem, but not new and not unheard of. Amazon is not exactly inventing something new and amazing here…

      • Syntha@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        8 months ago

        AI is not prone to hallucinations, LLMs are. I doubt Amazon is building a chatbot to optimise packaging.

        • Llewellyn@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          8 months ago

          What do you consider to be an AI?
          And do you consider any of the existing systems to be the one?

          • Syntha@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            When I use “AI” I’m using computer science terminology. Artificial intelligence is a subfield of CS, in that sense, any model that comes of that field is, by definition, AI.

            • Llewellyn@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              edit-2
              8 months ago

              Then it’s strange that you are separating AI and LLM, because in CS LLM is a type of artificial intelligence.

              • Syntha@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                8 months ago

                Some AI, namely, LLMs, can hallucinate, but not AI in general. I just had a bit of fun in how I worded it, I guess I should’ve expected someone to become annoyingly nitpicky about it.

        • polygon6121@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          3
          ·
          8 months ago

          AI in general is definitely prone to hallucinations. It is more commonly seen in LLMs because it is more widely used by the public. It is definitely a problem with all AI

            • polygon6121@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              8 months ago

              Text to video, automated driving, object detection, language translations. I might be misusing the term, you could argue that the word is describing what LLMs commonly does and that is where the term is derived from. You can also argue that AI is sometimes correct and the human have issues identifying the correct answer. But In my mind it is much the same just different applications. A car completely missing a firetruck approaching or a LLM just spewing out wrong statements is the same to me.

              • Syntha@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                8 months ago

                Yeah, well it’s not the same. Models are wrong all the time, why use a different term at all when it’s just “being wrong”?

                • polygon6121@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  8 months ago

                  The model makes decisions thinking it is right, but for whatever reason can’t see a firetruck or stopsign or misidentifies the object… you know almost like how a human hallucinating would perceive something from external sensory that is not there.

                  I don’t mind giving it another term, but “being wrong” is misleading. But you are correct in the sense that it depends on every given case…

    • dual_sport_dork 🐧🗡️@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 months ago

      Amazon probably does have some programmatic way of determining how much to fit in a truck, but that’s not what this is. Instead, it’s them trying to cheap out on packaging materials in the dumbest way possible, by figuring out what the reasonably acceptable minimum threshold is for packaging durability but not taking into account size or packing multiples of items at all (as far as I can tell).

      This is a pure cost cutting measure on their part. Anything else is just a tangential side benefit.

  • HelloThere@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    9
    ·
    8 months ago

    Trolley/Bin packing is a solved problem and NP-complete, this is yet another totally pointless use of AI.

    It’s literally a module in the first year of any computer science programme.

    • CalcProgrammer1@lemmy.ml
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      1
      ·
      8 months ago

      Just fitting objects into the smallest box isn’t everything according to the article. This is trying to identify fragile objects and recommend appropriate protective packaging where required to minimize the risk of damage in shipping. If you use a conventional packing algorithm to pack dishes and vases into the smallest box you will receive a box of glass shards on your doorstep. Is AI the best solution? I’m not sure, but using actual statistics of damaged goods and their means of packaging sounds like a worthwhile consideration.

      • HelloThere@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        4
        ·
        8 months ago

        How to properly wrap fragile objects, etc, is again a solved problem.

        Best case scenario this is PR nonsense.

        • Womble@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          8 months ago

          That bin packing is an NP-hard problem is more reason for using heuristics like ml, it means that calculating an exact answer quick explodes to unfeasible amounts of computation so using a far more efficient ml solution to give a probablistic answer makes complete sense.

          • HelloThere@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            2
            ·
            edit-2
            8 months ago

            Using ML to research potentially more efficient, in a BigO sense, packing algorithms makes sense.

            But that isn’t what they are doing.

            They are using image recognition and text analysis to identify the product being packed, and then adjusting the packaging requirements, e.g. more protection = greater volume.

            The point I’m making is that they already know what the item is, because inventory codes, so doing visual checks is pointless. They should already know the packing instructions for fragile, etc, items as these are provided by the manufacturer and have already been proven valid by virtue of the product leaving the factory and getting to the Amazon warehouse.

            If amazon are ignoring those instructions - and it sounds like they are - then that is a problem they are creating for themselves.

            Fitting the items in to the box is still the same problem domain as is taught to first year CompSci students, and is NP-complete. First Fit is extremely efficient when dealing with a relatively small number of items, while optimal solutions are NP-hard, the performance first fit is O(n log n) so not great but not terrible either. Given the myriad combination of item and box size, I’d expect there is a decent amount of triage which can be done and identify “easy to pack” orders (1 or 2 items, no special requirements) which would be essentially a table lookup with O(1) performance.

            There are many better algorithms than first fit, I’m just using that as a single example because the point is the same across all of them.

    • Brkdncr@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      8 months ago

      Isn’t that the point though? We think it can’t get any better, let’s let something else confirm it.