Close Menu
    Trending
    • Designing a Machine Learning System: Part Five | by Mehrshad Asadi | Aug, 2025
    • Innovations in Artificial Intelligence That Are Changing Agriculture
    • Hundreds of thousands of Grok chats exposed in Google results
    • Workers Over 40 Are Turning to Side Hustles — Here’s Why
    • From Pixels to Perfect Replicas
    • In a first, Google has released data on how much energy an AI prompt uses
    • Mastering Fine-Tuning Foundation Models in Amazon Bedrock: A Comprehensive Guide for Developers and IT Professionals | by Nishant Gupta | Aug, 2025
    • The Key to Building Effective Corporate-Startup Partnerships
    AIBS News
    • Home
    • Artificial Intelligence
    • Machine Learning
    • AI Technology
    • Data Science
    • More
      • Technology
      • Business
    AIBS News
    Home»AI Technology»Finding “Silver Bullet” Agentic AI Flows with syftr
    AI Technology

    Finding “Silver Bullet” Agentic AI Flows with syftr

    Team_AIBS NewsBy Team_AIBS NewsAugust 19, 2025No Comments9 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    TL; DR

    The quickest approach to stall an agentic AI venture is to reuse a workflow that now not matches. Utilizing syftr, we recognized “silver bullet” flows for each low-latency and high-accuracy priorities that persistently carry out effectively throughout a number of datasets. These flows outperform random seeding and switch studying early in optimization. They get better about 75% of the efficiency of a full syftr run at a fraction of the price, which makes them a quick start line however nonetheless leaves room to enhance.

    You probably have ever tried to reuse an agentic workflow from one venture in one other, you understand how typically it falls flat. The mannequin’s context size may not be sufficient. The brand new use case would possibly require deeper reasoning. Or latency necessities may need modified. 

    Even when the outdated setup works, it might be overbuilt – and overpriced – for the brand new drawback. In these instances, a less complicated, sooner setup is perhaps all you want. 

    We got down to reply a easy query: Are there agentic flows that carry out effectively throughout many use instances, so you’ll be able to select one primarily based in your priorities and transfer ahead?

    Our analysis suggests the reply is sure, and we name them “silver bullets.” 

    We recognized silver bullets for each low-latency and high-accuracy targets. In early optimization, they persistently beat switch studying and random seeding, whereas avoiding the complete value of a full syftr run.

    Within the sections that observe, we clarify how we discovered them and the way they stack up in opposition to different seeding methods.

     A fast primer on Pareto-frontiers

    You don’t want a math diploma to observe alongside, however understanding the Pareto-frontier will make the remainder of this put up a lot simpler to observe. 

    Determine 1 is an illustrative scatter plot – not from our experiments – exhibiting accomplished syftr optimization trials. Sub-plot A and Sub-plot B are equivalent, however B highlights the primary three Pareto-frontiers: P1 (crimson), P2 (inexperienced), and P3 (blue).

    • Every trial: A particular stream configuration is evaluated on accuracy and common latency (larger accuracy, decrease latency are higher).
    • Pareto-frontier (P1): No different stream has each larger accuracy and decrease latency. These are non-dominated.
    • Non-Pareto flows: No less than one Pareto stream beats them on each metrics. These are dominated.
    • P2, P3: When you take away P1, P2 turns into the next-best frontier, then P3, and so forth.

    You would possibly select between Pareto flows relying in your priorities (e.g., favoring low latency over most accuracy), however there’s no cause to decide on a dominated stream — there’s all the time a greater choice on the frontier.

    Optimizing agentic AI flows with syftr

    All through our experiments, we used syftr to optimize agentic flows for accuracy and latency. 

    This strategy means that you can:

    • Choose datasets containing query–reply (QA) pairs
    • Outline a search house for stream parameters
    • Set goals reminiscent of accuracy and price, or on this case, accuracy and latency

    Briefly, syftr automates the exploration of stream configurations in opposition to your chosen goals.

    Determine 2 exhibits the high-level syftr structure.

    Figure 02 syftr
    Determine 2: Excessive-level syftr structure. For a set of QA pairs, syftr can mechanically discover agentic flows utilizing multi-objective Bayesian optimization by evaluating stream responses with precise solutions.

    Given the virtually infinite variety of potential agentic stream parametrizations, syftr depends on two key strategies:

    • Multi-objective Bayesian optimization to navigate the search house effectively.
    • ParetoPruner to cease analysis of probably suboptimal flows early, saving time and compute whereas nonetheless surfacing the best configurations.

    Silver bullet experiments

    Our experiments adopted a four-part course of (Determine 3).

    Figure 03 experiments
    Determine 3: The workflow begins with a two-step knowledge technology section:
    A: Run syftr utilizing easy random sampling for seeding.
    B: Run all completed flows on all different experiments. The ensuing knowledge then feeds into the subsequent step. 
    C: Figuring out silver bullets and conducting switch studying.
    D: Operating syftr on 4 held-out datasets 3 times, utilizing three totally different seeding methods.

    Step 1: Optimize flows per dataset

    We ran a number of hundred trials on every of the next datasets:

    • CRAG Process 3 Music
    • FinanceBench
    • HotpotQA
    • MultihopRAG

    For every dataset, syftr looked for Pareto-optimal flows, optimizing for accuracy and latency (Determine 4).

    Figure 04 training
    Determine 4: Optimization outcomes for 4 datasets. Every dot represents a parameter mixture evaluated on 50 QA pairs. Purple strains mark Pareto-frontiers with the most effective accuracy–latency tradeoffs discovered by the TPE estimator.

    Step 3: Establish silver bullets

    As soon as we had equivalent flows throughout all coaching datasets, we may pinpoint the silver bullets — the flows which can be Pareto-optimal on common throughout all datasets.

    Figure 05 silver bullets process
    Determine 5: Silver bullet technology course of, detailing the “Establish Silver Bullets” step from Determine 3.

    Course of:

    1. Normalize outcomes per dataset.  For every dataset, we normalize accuracy and latency scores by the very best values in that dataset.
    2. Group equivalent flows. We then group matching flows throughout datasets and calculate their common accuracy and latency.
    3. Establish the Pareto-frontier. Utilizing this averaged dataset (see Determine 6), we choose the flows that construct the Pareto-frontier. 

    These 23 flows are our silver bullets — those that carry out effectively throughout all coaching datasets.

    Figure 06 silver bullets plot
    Determine 6: Normalized and averaged scores throughout datasets. The 23 flows on the Pareto-frontier carry out effectively throughout all coaching datasets.

    Step 4: Seed with switch studying

    In our unique syftr paper, we explored switch studying as a approach to seed optimizations. Right here, we in contrast it straight in opposition to silver bullet seeding.

    On this context, switch studying merely means choosing particular high-performing flows from historic (coaching) research and evaluating them on held-out datasets. The information we use right here is identical as for silver bullets (Determine 3).

    Course of:

    1. Choose candidates. From every coaching dataset, we took the top-performing flows from the highest two Pareto-frontiers (P1 and P2).
    2. Embed and cluster. Utilizing the embedding mannequin BAAI/bge-large-en-v1.5, we transformed every stream’s parameters into numerical vectors. We then utilized Ok-means clustering (Ok = 23) to group related flows (Determine 7).
    3. Match experiment constraints. We restricted every seeding technique (silver bullets, switch studying, random sampling) to 23 flows for a good comparability, since that’s what number of silver bullets we recognized.

    Be aware: Switch studying for seeding isn’t but absolutely optimized. We may use extra Pareto-frontiers, choose extra flows, or strive totally different embedding fashions.

    Figure 07 transfer learning
    Determine 7: Clustered trials from Pareto-frontiers P1 and P2 throughout the coaching datasets.

    Step 5: Testing all of it

    Within the ultimate analysis section (Step D in Determine 3), we ran ~1,000 optimization trials on 4 take a look at datasets — Vibrant Biology, DRDocs, InfiniteBench, and PhantomWiki — repeating the method 3 times for every of the next seeding methods:

    • Silver bullet seeding
    • Switch studying seeding
    • Random sampling

    For every trial, GPT-4o-mini served because the decide, verifying an agent’s response in opposition to the ground-truth reply.

    Outcomes

    We got down to reply:

    Which seeding strategy — random sampling, switch studying, or silver bullets — delivers the most effective efficiency for a brand new dataset within the fewest trials?

    For every of the 4 held-out take a look at datasets (Vibrant Biology, DRDocs, InfiniteBench, and PhantomWiki), we plotted:

    • Accuracy
    • Latency
    • Price
    • Pareto-area: a measure of how shut outcomes are to the optimum end result

    In every plot, the vertical dotted line marks the purpose when all seeding trials have accomplished. After seeding, silver bullets confirmed on common:

    • 9% larger most accuracy
    • 84% decrease minimal latency
    • 28% bigger Pareto-area

    in comparison with the opposite methods.

    Vibrant Biology

    Silver bullets had the very best accuracy, lowest latency, and largest Pareto-area after seeding. Some random seeding trials didn’t end. Pareto-areas for all strategies elevated over time however narrowed as optimization progressed.

    Figure 08 bright biology
    Determine 8: Vibrant Biology outcomes

    DRDocs

    Just like Vibrant Biology, silver bullets reached an 88% Pareto-area after seeding vs. 71% (switch studying) and 62% (random).

    Figure 09 drdocs
    Determine 9: DRDocs outcomes

    InfiniteBench

    Different strategies wanted ~100 further trials to match the silver bullet Pareto-area, and nonetheless didn’t match the quickest flows discovered by way of silver bullets by the tip of ~1,000 trials.

    Figure 10 infinitebench
    Determine 10: InfiniteBench outcomes

    PhantomWiki

    Silver bullets once more carried out finest after seeding. This dataset confirmed the widest value divergence. After ~70 trials, the silver bullet run briefly targeted on dearer flows.

    Figure 11 phantomwiki
    Determine 11: PhantomWiki outcomes

    Pareto-fraction evaluation

    In runs seeded with silver bullets, the 23 silver bullet flows accounted for ~75% of the ultimate Pareto-area after 1,000 trials, on common.

    • Purple space: Features from optimization over preliminary silver bullet efficiency.
    • Blue space: Silver bullet flows nonetheless dominating on the finish.
    Figure 12 test plot
    Determine 12: Pareto-fraction for silver bullet seeding throughout all datasets

    Our takeaway

    Seeding with silver bullets delivers persistently robust outcomes and even outperforms switch studying, regardless of that methodology pulling from a various set of historic Pareto-frontier flows. 

    For our two goals (accuracy and latency), silver bullets all the time begin with larger accuracy and decrease latency than flows from different methods.

    In the long term, the TPE sampler reduces the preliminary benefit. Inside a number of hundred trials, outcomes from all methods typically converge, which is anticipated since every ought to ultimately discover optimum flows.

    So, do agentic flows exist that work effectively throughout many use instances? Sure — to a degree:

    • On common, a small set of silver bullets recovers about 75% of the Pareto-area from a full optimization.
    • Efficiency varies by dataset, reminiscent of 92% restoration for Vibrant Biology in comparison with 46% for PhantomWiki.

    Backside line: silver bullets are a reasonable and environment friendly approach to approximate a full syftr run, however they aren’t a alternative. Their influence may develop with extra coaching datasets or longer coaching optimizations.

     Silver bullet parametrizations

    We used the next:

    LLMs

    • microsoft/Phi-4-multimodal-instruct
    • deepseek-ai/DeepSeek-R1-Distill-Llama-70B
    • Qwen/Qwen2.5
    • Qwen/Qwen3-32B
    • google/gemma-3-27b-it
    • nvidia/Llama-3_3-Nemotron-Tremendous-49B

    Embedding fashions

    • BAAI/bge-small-en-v1.5
    • thenlper/gte-large
    • mixedbread-ai/mxbai-embed-large-v1
    • sentence-transformers/all-MiniLM-L12-v2
    • sentence-transformers/paraphrase-multilingual-mpnet-base-v2
    • BAAI/bge-base-en-v1.5
    • BAAI/bge-large-en-v1.5
    • TencentBAC/Conan-embedding-v1
    • Linq-AI-Analysis/Linq-Embed-Mistral
    • Snowflake/snowflake-arctic-embed-l-v2.0
    • BAAI/bge-multilingual-gemma2

    Circulate varieties

    • vanilla RAG
    • ReAct RAG agent
    • Critique RAG agent
    • Subquestion RAG

    Right here’s the complete checklist of all 23 silver bullets, sorted from low accuracy / low latency to excessive accuracy / excessive latency: silver_bullets.json. 

    Strive it your self

    Wish to experiment with these parametrizations? Use the running_flows.ipynb pocket book in our syftr repository — simply be sure to have entry to the fashions listed above. 

    For a deeper dive into syftr’s structure and parameters, take a look at our technical paper or discover the codebase.

    We’ll even be presenting this work on the International Conference on Automated Machine Learning (AutoML) in September 2025 in New York Metropolis.



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleCan You Spot the Bot? The Science of Detecting AI-Generated Text | by whomegwho | Aug, 2025
    Next Article News Corp Warns AI Engines Are Snatching Trump’s Book Content: ‘The Art of the Deal’ Becomes ‘The Art of the Steal
    Team_AIBS News
    • Website

    Related Posts

    AI Technology

    In a first, Google has released data on how much energy an AI prompt uses

    August 21, 2025
    AI Technology

    Should AI flatter us, fix us, or just inform us?

    August 19, 2025
    AI Technology

    Why we should thank pigeons for our AI breakthroughs

    August 18, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    Designing a Machine Learning System: Part Five | by Mehrshad Asadi | Aug, 2025

    August 21, 2025

    I Tried Buying a Car Through Amazon: Here Are the Pros, Cons

    December 10, 2024

    Amazon and eBay to pay ‘fair share’ for e-waste recycling

    December 10, 2024

    Artificial Intelligence Concerns & Predictions For 2025

    December 10, 2024

    Barbara Corcoran: Entrepreneurs Must ‘Embrace Change’

    December 10, 2024
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    Most Popular

    Why Tariffs Could Be the Unexpected Gift Bitcoiners Never Saw Coming

    March 8, 2025

    The best leaders know how to ask the right questions. Here’s a model that can help you do just that

    July 7, 2025

    News Bytes 20250505: Japan’s Rapidus 2nm Chips, $7T Data Center Forecast, NVIDIA and Trade Restrictions, ‘Godfather of AI’ Issues Warning

    May 5, 2025
    Our Picks

    Designing a Machine Learning System: Part Five | by Mehrshad Asadi | Aug, 2025

    August 21, 2025

    Innovations in Artificial Intelligence That Are Changing Agriculture

    August 21, 2025

    Hundreds of thousands of Grok chats exposed in Google results

    August 21, 2025
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us
    Copyright © 2024 Aibsnews.comAll Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.