29 comments

  • armcat 2 hours ago
    About six years ago we built a ticket classification/routing model and pipeline [1]. The initial version was trained using SVMs, it took a couple of minutes to train, and the ticket classification was just a few milliseconds. It's so fascinating to watch how the field moved over to LLMs, and then back to faster/cheaper classifiers again.

    [1] "Linnaeus: A highly reusable and adaptable ML based log classification pipeline", https://arxiv.org/abs/2103.06927

    NOTE: the work was actually accepted at the International Conference on Software Engineering (ICSE) in 2021.

    • jval43 2 hours ago
      SVMs in big data were already well liked back in 2010 as they could be scaled via map-reduce.

      An issue in industry was that companies would not allow training on their data across customers. Understandably so, as SVM dimensions are readily interpretable given some thought. General purpose datasets were ill-suited too depending on the task.

      So you'd start from scratch every time, annotate features like crazy, and often didn't have enough training data overall.

      LLMs "solved" that by just ignoring the previous rules and training on everything, which lets the necessary world knowledge seep back in.

      I'm sure we'll see many combinations of LLMs and regular machine intelligence in the near future.

      • exe34 56 minutes ago
        And you can now get that world knowledge out of llms and generate synthetic data to train your svm and fine tune on your own dataset!
    • benrutter 2 hours ago
      Yeah, its pretty wild! I think one of the benefits, but also potential risks, with LLMs, is you can just point them at anything without a lot of expertise.

      Building an SVM isn't a tricky job, but you probably need a data scientist involved, and to think carefully about a labeled dataset.

      I think we're seeing the modelling equivalent of something like electron apps. Where they waste a tonne of resources, but make an easier developement experience.

      Will be interesting to see how much or little this changes with LLM costs.

      • Foobar8568 9 minutes ago
        I have seen Phd in stats validating models with data the models have been trained on. And I don’t live in a country with dubious universities.

        So between llm and pseudo experts, at this stage, I prefer to go with a LLM.

      • IshKebab 43 minutes ago
        > Building an SVM isn't a tricky job, but you probably need a data scientist involved, and to think carefully about a labeled dataset.

        Well not anymore... You can just get AI to build it.

        • benrutter 21 minutes ago
          True I guess. I think most companies would at least want sign off from someone who's heard of SVMs that it isn't doing something mad.

          Just like, LLMs can build web back ends, but I'd want a security professional to give it some kind of thumbs up. Especially if a lot of money rides on it.

    • solidasparagus 58 minutes ago
      What has changed is that expensive models can be deployed instantly and generate training data until you swap over to training your own cheap models.

      Your model only took minutes to train if you don't count the data collection and labelling work

    • autuni 1 hour ago
      I think this kind of change will pop up more often.

      In software engineering, we learned a long time ago that giant monoliths are not the answer. You want smaller, but specialized units that work together. They perform better at their specific task, are more maintainable, you can just upgrade one part of the system without having to impact the others, ....

      I don't know where the focus on building a single model that can do everything comes from.

      • Geezus_42 1 hour ago
        I was thinking about this recently as well. Smaller, specialized models that can run on device just make so much more sense to me than these huge generalized models that need huge infrastructure run.
      • ivell 1 hour ago
        I am not sure a best practice in one area translates nicely to another. LLM's power comes with it being a monolith.
        • 9rx 0 minutes ago
          > LLM's power comes with it being a monolith.

          Does it? All the latest frontier models that has made technical details publicly available is using MoE; the "microservices" of LLMs.

        • autuni 52 minutes ago
          Does it though? Let's say you use an LLM to write code, do you think it benefits from the fact that the same model is capable of translating corporate messaging into internet slang for marketing?

          I would assume a smaller model trained specifically to produce code based on natural language input would perform at least just as well, which would already be better given the smaller size / probably lower training resource requirements. This is of course, as already said, an assumption. But generalizing typically comes at a cost, there is no reason why this wouldn't apply to LLMs, it even applies to humans.

          • heggy 19 minutes ago
            Isn't this just the Bitter Lesson over and over again? Specialised approaches get outperformed by more compute and a simpler general approach pretty much every time.
    • pletnes 1 hour ago
      Interesting! I had the idea to compute embeddings of log lines to look for “black swans” in my logs. A small model running locally would do. Then PCA, SVM - any old school method should work, I guess. Haven’t seen it done but it must be tried by someone somewhere.
    • elvircrn 21 minutes ago
      Svaka cast :)
    • floro 2 hours ago
      This is just the AI grift and uneducated hypebros. There is zero reason to use an LLM as a classifier. But AIbros with zero technical knowledge will push for it anyways even if it is 1000x slower and 1000x more expensive to run.
      • wodenokoto 2 hours ago
        You can can't build an SVM-classifier for a ticketing system without domain data. You can ask an LLM to do it, and it will do it very well.

        With the LLM you don't even need a data scientist to train the model, you just need someone who can connect to APIs. And the LLM is fine with adding and removing categories. No retraining.

        It makes the initial faces incredibly fast. Then it is slow and expensive to run, so once the system settles, it becomes the target for model optimization, e.g, a dedicated, or semi-dedicated model.

        • Karrot_Kream 27 minutes ago
          I mean just have a coding agent do the whole process from start to finish. Tell it you want to bootstrap an SVM from LLM runs on ticket data. I can bet that it'll do it all for you without much input from you at all.
      • IanCal 1 hour ago
        There are absolutely good reasons to use smarter things for classification. Svm with tdf idf for example is super fast but will make very bad classifications at times in ways entirely unfixable with that system (thinking back to bats being an acronym for a theology degree classification or similar)
      • vidarh 1 hour ago
        I can spin up a classification solution with an LLM in ca. 5 minutes that is likely to do an okay job. To build a custom classifier, I need lots of training data first.

        That is the reason.

        Once you then have a system that is used enough, it starts making sense to look to replace that with a leaner classifier, but LLMs have a place in vast number of places where we'd previously never use a classifier because it was too much effort.

        • darkwater 48 minutes ago
          > but LLMs have a place in vast number of places where we'd previously never use a classifier because it was too much effort.

          Absolutely! But that doesn't rule out that there are AIbros that will tell you to use an LLM, even if the task could be done with a static analyzer with a few rules. Use an LLM because it's AI!

      • cryptonym 16 minutes ago
        1000x more expensive run can be overall cheaper. You avoid upfront training/tuning cost. It all depends on your scale.
      • NitpickLawyer 1 hour ago
        This is a bit too radical and misses some nuance. In order to start building classifiers you at least need some ML domain knowledge, like what to google at least. Meanwhile, point anyone at the jev/open-jev-clones API and have them start classifying in <10 minutes. There's some value there. (same used to be valid for LLMs before jev became a thing. You can use llms as zero-shot classifiers with the right API wrapper, w/ no domain data).
    • chaostheory 1 hour ago
      The tech industry is not that far off from the fashion industry
  • Kaedon 2 hours ago
    At ~$21,700 saved per million tickets, saving millions annually would suggest at least 92 million tickets a year to reach $2 million saved. Is that about right?

    I initially thought of tickets as just customer support, or internal JIRAs, but the article mentions alarms, security findings, and capacity increase requests, so that makes the scale feel more plausible. Still surprising so many tickets go through the system.

    • f0cus10 2 hours ago
      yes, there's a ticket for EVERYTHING. people have tickets cut in their names even decades after they've left
      • oblio 9 minutes ago
        In some big companied many core corporate teams which hate that level of transparency and build their own opaque systems. I've seen this for departments like IT, HR, legal, etc.

        I'd rather have tickets for everything and full transparency except for confidential info.

      • fy20 1 hour ago
        At my company we also do the same every request to engineering (alarms, security, bug, customer support escalation) gets a ticket.
        • f0cus10 1 hour ago
          i mean there's even tickets cut if you need IT to fix a laptop or assign you a locker or unlock the code on your desk ped.

          heck, there's even a ticket if the office toilet is clogged

          • tippa123 50 minutes ago
            I once had to raise a ticket for a double AA battery for my mouse. This sort of stuff frustrated me enough to start my own company.
            • phillc73 31 minutes ago
              What does your company use for ticketing?
            • baxtr 42 minutes ago
              Were there tickets for tickets too?
    • sjdh76 1 hour ago
      Well there is the UFO/Bigfoot/Poltergeist crowd.

      If you dont fully pay attention to their theories about what they think is the reason for the suspicious stain on the ground in the parking lot, the queue is going to get flooded. If your Boss belongs to that club oh man god say the division.

    • vasco 2 hours ago
      Well if they use VPN point to point connections managed by AWS they'll get an email per week until they die for each VPN instance from AWS that they need to put in trash so I understand them.
  • nlpnerd 1 hour ago
    Founder of Seldon AI (www.seldon-ai.com) here. We are working on dev tools to help developers with this kind of refactoring and continual production work.

    Basically there is a whole host of tarpit usage of LLMs in application backends today. This is simply another case of LLMs enabling people to build what they cannot productionize or maintain.

    Today developers without any AI/ML skillset can prototype a fancy new feature with LLMs, what used to require collecting and curating data to train a pipeline of ML models then serving them in production.

    The problem comes when it's time to take the new feature into production. That $20 cost with prototype/beta workload is now $30k per month in LLM costs, and those hallucinations that never happened on their 200 test samples is happening 600 times per day.

    They are then stuck, because they lack the knowledge and budget to build and run the production ML pipeline properly, the infra stack necessary to handle production workload. Management also doesn't understand why they have to invest in rebuilding something that "seems to work" with "outdated methods".

    These system one or decision models are a step up from LLMs when it comes to this usage. Problem is that they are still difficult to work with (limited in expression power) for many application logic. Despite the initial popularity, I hear about a lot of frictions refactoring LLM based backend with them, and multiple cases of production rollbacks to LLMs already.

    I think system one models is a sensible paradigm, and we are on the precipice of something great, but there is a lot more work needed above the model layer to make this work.

  • Gasp0de 56 minutes ago
    This article is so confusing. For example, they say they tried the Strands Decider model and dismissed it for Gemma, then they continue to call the model they used Strands Decider? Did I miss something?
    • ahoka 35 minutes ago
      Not exactly sure, but as I understand this version of Strands is Gemma fine tuned for decision.
  • origini 13 minutes ago
    So why did they not even try Haiku 5.5?

    Why would Amazon go to another company to let them provide an adjusted decider model?

    Amazon already has all these tickets labeld, they could just have build it themselves?

  • psnehanshu 1 hour ago
    Ok, but why did they chose Sonnet in the first place? Couldn't they have chosen Haiku or GPT Luna or maybe even some small cheap Chinese model?
    • loafoe 19 minutes ago
      Strands decider actually uses a small cheap/free Chinese model for its base architecture: Qwen
    • theshrike79 1 hour ago
      I’m guessing accuracy. Smaller models are just THAT much more inaccurate to not make it viable.
    • Hamuko 55 minutes ago
      Not sure if it would even need to be a small Chinese model. Amazon would surely have the necessary hardware and infrastructure to run a bigger Chinese model with a low per-token cost too. They probably get their Sonnet at a discounted rate too since they do the inference "locally", but I imagine the savings for not having to pay Anthropic their share would still add up.
  • egorfine 53 minutes ago
    > JSON key order changed the answer. Sending the same content with keys in a different order moved the output probabilities by up to 0.19

    Isn't it detrimental?

  • tdhz77 2 hours ago
    You can do this even more efficiently with the rust crate bonsai. You will have more control and you can create sceneries of logic. You can use incredibly cheap models this way and get way better results.

    I built a real time character story. In which players interact and integrate fictional characters. There is no delay in response and the characters are all in character. Oh and it’s all voice.

    It’s shocking how effective this is.

    • golf1052 1 hour ago
      I don't see how "bonsai + cheap model" is any better than the solution they used which was just "cheap open-source decision model that can be run internally at Amazon".
    • soon_to_be_sb 1 hour ago
      Where can I read more about this!?
  • 3eb7988a1663 2 hours ago
    Classifying into one of 20 groups? Did anyone try scikit learn?
    • lofties 1 hour ago
      I was going to say, and I say this a little bit too often, a BERT model can do this even faster, with even less memory...
  • hubertzhang 1 hour ago
    People use machine learning models before and after LLM is invented.
  • andai 46 minutes ago
    50x cheaper, damn. I recall Chinese LLMs being similarly cheaper (and quite suitable for such simple tasks).

    I think a decision model is superior here based on the task, and of course they weren't out yet when they started, but I'm wondering if they wouldn't have similar results (on price, probably not on speed) if they went with DeepSeek or something?

    I don't mean send the data to china obviously — there must be an American provider that offers it?

    Anyway it's moot in this case (decision model is a better fit) but it just makes me wonder who else is overpaying by 2 orders of magnitude.

  • gvv 1 hour ago
    What I don't understand is why are they not offering the decision model via Bedrock yet. Sagemaker / Lambda are quite expensive if you're not using the model continuously.
  • cmiles8 1 hour ago
    This pattern is playing out a lot. Running LLM inference at scale on apps typically lacks ROI. But I increasingly see folks use LLMs to help improve classical techniques.

    So there’s some LLM use to develop a new version of algo, but maybe 2% of what would have been used by putting LLMs in the path of every API call. That generally does have ROI.

    Putting LLMs in the loop each time is generally a dumb move, unless you’re an AI bro trying to get everyone to use LLMs for all the things.

  • llukas 1 hour ago
    Are developments like that priced in Anthropic IPO?
  • nikit1411 1 hour ago
    yah i mean older models dosent mean they are worthless i still use cluade opus 4.6 for day to day task
  • phillennium 2 hours ago
    It's funny how AI sometimes feels like it went full circle:

    — "Let's build efficient classifiers"

    — "Forget about the silly classifiers, LET'S BUILD A MACHINE GOD"

    — "Ah, that machine god is often too expensive and underwhelming. Let's build efficient classifiers"

    • solidasparagus 54 minutes ago
      If you were actually involved in that work pre-LLM, you know it didn't go in a circle. Most projects died at training data and problem definition. That isn't the case with LLM applications which can ship with zero data collection and labelling effort.

      Now you can iterate on your 20 ticket categories in days against real workloads and not commit to training an efficient model until you've proven the prototype in production.

    • Schiendelman 1 hour ago
      The key is that the circle takes a few weeks instead of a decade.
      • written-beyond 1 hour ago
        You'll be surprised how fast things move when there's European GDP levels of investment going into an industry.
        • oblio 3 minutes ago
          You should probably say "European country GDP levels of investment" as the European economy as whole is +/- the size of the US economy.
  • ZiiS 3 minutes ago
    Amazon saves millions by asking their pencil manufacture to make them 1mm shorter. At that scale anything adds up to millions.
  • tveita 27 minutes ago
    > One thing that surprised us was that JSON key order changed the answer. Sending the same content with keys in a different order moved the output probabilities by up to 0.19.

    That's like... really basic LLM knowledge? Like how e.g. this article measures how often answers change based on order https://zachlandes.com/trolley-problem/#appendix-a:~:text=Ch...

    Or is this the Claudish "One thing that suprised us" that just means "and here's another thing"?

  • 0x00cl 49 minutes ago
    Sounds like a bunch of `if` statements with extra steps. Maybe throw an RNG decider too.
  • coolgoose 2 hours ago
    Yea right... Paying market price of 3 usd per mil tokens on sonnet 4.6...
  • speedboat199 1 hour ago
    Meanwhile they could have just switched to Haiku 5.5 to get same savings. No need for complex orchestration involving GPU instances and would have just been a one line change in the code.
  • Oras 1 hour ago
    Nice marketing to sell their decision model.
  • lencastre 2 hours ago
    counting the miliseconds until the insurance industry picks this up
  • simianwords 24 minutes ago
    why didn't they use Jev or Luna decision model? Seems odd that they used Sonnet and Strands instead of trying out of the box solutions
  • oofbey 2 hours ago
    If their model costs 98% less than Sonnet, and Amazon is saving “millions” then these folks are raking in 2% of millions. Congrats I guess?
    • mcintyre1994 2 hours ago
      I think you’re missing that Strands Agents are open source models released by AWS, not an external startup that Amazon is paying.
      • otterley 1 hour ago
        You're (understandably) a bit mixed up here. Strands Agents is an agent SDK. Strands Decider is a decision model.
      • swiftcoder 2 hours ago
        Yes, this is more of less an advert, using their internal adoption as a case study
      • rrr_oh_man 1 hour ago
        I yearn for the day of going back to make v. buy, not buy v. buy
    • vincnetas 2 hours ago
      2% of millions ... so far. Take in to account growth potential.
      • Den_VR 2 hours ago
        small, open source, decision model optimized for fast experimentation, local development, and innovation...

        But just think of the street cred!

  • unnataisolution 20 minutes ago
    [flagged]
  • GordyNumberOne 1 hour ago
    [dead]
  • sznio 2 hours ago
    why didn't they upgrade to further sonnet versions?
    • Zanfa 2 hours ago
      If they’re running on AWS Bedrock, lack of batch API support for more recent Anthropic models would be my guess.
    • mikae1 2 hours ago
      How about at least reading a couple of paragraphs from the post this thread is about before commenting? :)