Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 15, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 15, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 15, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 15, 2025

      Intel’s latest Arc graphics driver is ready for DOOM: The Dark Ages, launching for Premium Edition owners on PC today

      May 15, 2025

      NVIDIA’s drivers are causing big problems for DOOM: The Dark Ages, but some fixes are available

      May 15, 2025

      Capcom breaks all-time profit records with 10% income growth after Monster Hunter Wilds sold over 10 million copies in a month

      May 15, 2025

      Microsoft plans to lay off 3% of its workforce, reportedly targeting management cuts as it changes to fit a “dynamic marketplace”

      May 15, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      A cross-platform Markdown note-taking application

      May 15, 2025
      Recent

      A cross-platform Markdown note-taking application

      May 15, 2025

      AI Assistant Demo & Tips for Enterprise Projects

      May 15, 2025

      Celebrating Global Accessibility Awareness Day (GAAD)

      May 15, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Intel’s latest Arc graphics driver is ready for DOOM: The Dark Ages, launching for Premium Edition owners on PC today

      May 15, 2025
      Recent

      Intel’s latest Arc graphics driver is ready for DOOM: The Dark Ages, launching for Premium Edition owners on PC today

      May 15, 2025

      NVIDIA’s drivers are causing big problems for DOOM: The Dark Ages, but some fixes are available

      May 15, 2025

      Capcom breaks all-time profit records with 10% income growth after Monster Hunter Wilds sold over 10 million copies in a month

      May 15, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Harvard Researchers Unveil How Strategic Text Sequences Can Manipulate AI-Driven Search Results

    Harvard Researchers Unveil How Strategic Text Sequences Can Manipulate AI-Driven Search Results

    April 15, 2024

    Large language models (LLMs) are widely used in search engines to provide natural language responses based on users’ queries. Traditional search engines perform well in retrieving relevant pages but cannot compute the information and present it as a coherent response. LLMs can overcome this inability by compiling search results into natural language responses that directly address users’ specific queries. Google Search and Microsoft Bing have started integrating LLM-driven chat interfaces alongside their traditional search boxes.

    However, it is difficult to keep the traditional LLMs updated with new information due to the limited knowledge acquired during their training. Also, they are prone to factual errors during text generation from the trained model weights. These limitations can be solved using Retrieval-augmented generation (RAG) by integrating an external knowledge source, such as a database or search engine, with the LLM to enhance the text generation process with additional context. Another drawback of LLMs is the adversarial attack in which attackers use crafted token sequences in the input prompt to bypass the model’s safety mechanisms and generate a harmful response.

    Researchers from Harvard University proposed a Strategic Text Sequence (STS), a carefully crafted message that can influence LLM-driven search tools in the context of e-commerce. With the help of STS, one can improve a product’s ranking in the LLM’s recommendations by inserting an optimized sequence of tokens into the product information page. Researchers used a catalog of fictitious coffee machines. They analyzed its effect on two target products: one that appears in the LLM’s recommendations and another that usually ranks second. They found that STS enhances the visibility of both products by increasing their chances of appearing as the top recommendation.

    STS has proved that an LLM can be manipulated to increase the chances of a product being listed as the top recommendation. By inserting STS into a product’s information, a framework was developed to game an LLM’s recommendations in favor of the target product. For further optimization of STS, adversarial attack algorithms such as the Greedy Coordinate Gradient (GCG) algorithm are utilized in the framework, improving product visibility in business and e-commerce. This framework also helps make the STS strong enough to handle changes in the order of product information listed in the LLM’s input prompt.

    The GCG algorithm finds the optimized STS by running for 2000 iterations wherein the target product, ColdBrew Master, shows improvements over the iterations. Initially, the product was not recommended, but after 100 iterations, it shows in the top recommendation, and the effect of STS was evaluated on the rank of the target product in 200 LLM inferences with and without the sequence. STS has an equal probability of advantage and disadvantage yield; however, if the product order is randomized during the STS optimization phase, the advantages will significantly increase while the disadvantages will be minimized.

    In conclusion, Researchers introduced STS, a carefully crafted message that can influence LLM-driven search tools in the context of e-commerce. It can improve a product’s ranking in the LLM’s recommendations by inserting an optimized sequence of tokens into the product information page. Also, a framework was developed by inserting STS into a product’s information and optimizing STS using the GCG algorithm, improving product visibility in business and e-commerce. The overall impact of this paper is not only bound to e-commerce but also highlights the implications of AI search optimization and the ethical considerations that come with it.

    Check out the Paper and Github. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

    If you like our work, you will love our newsletter..

    Don’t Forget to join our 40k+ ML SubReddit

    Want to get in front of 1.5 Million AI Audience? Work with us here

    As we increasingly rely on #LLMs for product recommendations and searches, can companies game these models to enhance the visibility of their products?

    Our latest work provides answers to this question & demonstrates that LLMs can be manipulated to boost product visibility!… pic.twitter.com/gwsGiuUdRR

    — 𝙷𝚒𝚖𝚊 𝙻𝚊𝚔𝚔𝚊𝚛𝚊𝚓𝚞 (@hima_lakkaraju) April 12, 2024

    The post Harvard Researchers Unveil How Strategic Text Sequences Can Manipulate AI-Driven Search Results appeared first on MarkTechPost.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleResearchers at UC Berkeley Introduce GOEX: A Runtime for LLMs with an Intuitive Undo and Damage Confinement Abstractions, Enabling the Safer Deployment of LLM Agents in Practice
    Next Article GNNBench: A Plug-and-Play Deep Learning Benchmarking Platform Focused on System Innovation

    Related Posts

    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 16, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-4732 – TOTOLINK A3002R/A3002RU HTTP POST Request Handler Buffer Overflow

    May 16, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Why an AI PC might be the right move for creators

    Development

    Nvidia H100’s dominance in machine learning benchmarks is still untouched

    Development

    Article: Vue.js, the Green framework

    Development

    Acer drops “women and casual gamers” gimmick for RTX 4050 gaming laptop with new 14, 15, 16, and 17-inch Nitro variants

    News & Updates

    Highlights

    These OnePlus flagship earbuds were already a great deal, but now they’re $40 off

    May 2, 2025

    The OnePlus Buds Pro 3 introduces several adjustments, including better audio and a longer-lasting battery.…

    Microsoft on how custom AI offers your business better answers, lower costs, faster innovation

    May 6, 2025

    Squeaky

    March 31, 2025

    CVE-2025-24349 – CtrlX OS Network Interfaces HTTP Request Deletion Vulnerability

    April 30, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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