Invest In Crypto News
  • Home
  • Latest News
    • Bitcoin News
    • Altcoin News
    • Ethereum News
    • Blockchain News
    • Doge News
    • NFT News
    • Video
    • Market Analysis
    • Business
    • Finance
    • Politics
    • Mining
    • Regulation
    • Technology
  • Top 10 Cryptos
  • Market Cap List
  • IC DAO
  • Donations
  • Contact
  • Buy Crypto
  • BLOG
No Result
View All Result
Invest In Crypto News
  • Home
  • Latest News
    • Bitcoin News
    • Altcoin News
    • Ethereum News
    • Blockchain News
    • Doge News
    • NFT News
    • Video
    • Market Analysis
    • Business
    • Finance
    • Politics
    • Mining
    • Regulation
    • Technology
  • Top 10 Cryptos
  • Market Cap List
  • IC DAO
  • Donations
  • Contact
  • Buy Crypto
  • BLOG
No Result
View All Result
Invest In Crypto News
No Result
View All Result

Enhancing AI Search Precision: NVIDIA Boosts RAG Pipelines with Re-Ranking

CryptoExpert by CryptoExpert
July 31, 2024
in Blockchain News
0
Nvidia's Soaring Data Center Revenue Signals Strong AI and GPU Market Position
  • Facebook
  • Twitter
  • Pinterest


You might also like

Unitree Robotics (UNITREE) Pre-IPO Price Prediction: Momentum Is Extended, but Futures Positioning Still Favors Buyers

Confucius4-R2T2: Stable-Prefix ASR Model for Real-Time Transcription

Ciena (CIEN) Stock Price Prediction: Bearish momentum meets oversold conditions near support



Alvin Lang
Jul 30, 2024 18:19

NVIDIA introduces re-ranking to improve the precision and relevance of AI-driven enterprise search results, enhancing RAG pipelines and semantic search.





In the rapidly evolving landscape of AI-driven applications, re-ranking has emerged as a pivotal technique to enhance the precision and relevance of enterprise search results, according to the NVIDIA Technical Blog. By leveraging advanced machine learning algorithms, re-ranking refines initial search outputs to better align with user intent and context, significantly improving the effectiveness of semantic search.

Role of Re-Ranking in AI

Re-ranking plays a crucial role in optimizing retrieval-augmented generation (RAG) pipelines, ensuring that large language models (LLMs) operate with the most pertinent and high-quality information. This dual benefit of re-ranking—enhancing both semantic search and RAG pipelines—makes it an indispensable tool for enterprises aiming to deliver superior search experiences and maintain a competitive edge in the digital marketplace.

What is Re-Ranking?

Re-ranking is a sophisticated technique used to enhance the relevance of search results by utilizing the advanced language understanding capabilities of LLMs. Initially, a set of candidate documents or passages is retrieved using traditional information retrieval methods like BM25 or vector similarity search. These candidates are then fed into an LLM that analyzes the semantic relevance between the query and each document. The LLM assigns relevance scores, enabling the re-ordering of documents to prioritize the most pertinent ones.

This process significantly improves the quality of search results by going beyond mere keyword matching to understand the context and meaning of the query and documents. Re-ranking is typically used as a second stage after an initial fast retrieval step, ensuring that only the most relevant documents are presented to the user. It can also combine results from multiple data sources and integrate into a RAG pipeline to further ensure that context is ideally tuned for the specific query.

okex

NVIDIA’s Implementation of Re-Ranking

In this post, the NVIDIA Technical Blog illustrates the use of the NVIDIA NeMo Retriever reranking NIM. This transformer encoder, a LoRA fine-tuned version of Mistral-7B, uses only the first 16 layers for higher throughput. The last embedding output by the decoder model is used as a pooling strategy, and a binary classification head is fine-tuned for the ranking task.

To access the NVIDIA NeMo Retriever collection of world-class information retrieval microservices, see the NVIDIA API Catalog.

Combining Results from Multiple Data Sources

In addition to enhancing accuracy for a single data source, re-ranking can be used to combine multiple data sources in a RAG pipeline. Consider a pipeline with data from a semantic store and a BM25 store. Each store is queried independently and returns results that the individual store considers to be highly relevant. Figuring out the overall relevance of the results is where re-ranking comes into play.

The following code example combines the previous semantic search results with BM25 results. The results in combined_docs are ordered by their relevance to the query by the reranking NIM.

all_docs = docs + bm25_docs

reranker.top_n = 5

combined_docs = reranker.compress_documents(query=query, documents=all_docs)

Connecting to a RAG Pipeline

In addition to using re-ranking independently, it can be added to a RAG pipeline to further enhance responses by ensuring that they use the most relevant chunks for augmenting the original query.

In this case, connect the compression_retriever object from the previous step to the RAG pipeline.

from langchain.chains import RetrievalQA
from langchain_nvidia_ai_endpoints import ChatNVIDIA

chain = RetrievalQA.from_chain_type(
llm=ChatNVIDIA(temperature=0), retriever=compression_retriever
)
result = chain({“query”: query})
print(result.get(“result”))

The RAG pipeline now uses the correct top-ranked chunk and summarizes the main insights:

The A100 GPU is used for training the 7B model in the supervised
fine-tuning/instruction tuning ablation study. The training is
performed on 16 A100 GPU nodes, with each node having 8 GPUs. The
training hours for each stage of the 7B model are: projector
initialization: 4 hours; visual language pre-training: 30 hours;
and visual instruction-tuning: 6 hours. The total training time
corresponds to 5.1k GPU hours, with most of the computation being
spent on the pre-training stage. The training time could potentially
be reduced by at least 30% with proper optimization. The high image
resolution of 336 ×336 used in the training corresponds to 576
tokens/image.

Conclusion

RAG has emerged as a powerful approach, combining the strengths of LLMs and dense vector representations. By using dense vector representations, RAG models can scale efficiently, making them well-suited for large-scale enterprise applications, such as multilingual customer service chatbots and code generation agents.

As LLMs continue to evolve, RAG will play an increasingly important role in driving innovation and delivering high-quality, intelligent systems that can understand and generate human-like language.

When building a RAG pipeline, it’s crucial to correctly split the vector store documents into chunks by optimizing the chunk size for the specific content and selecting an LLM with a suitable context length. In some cases, complex chains of multiple LLMs may be required. To optimize RAG performance and measure success, use a collection of robust evaluators and metrics.

For more information about additional models and chains, see NVIDIA AI LangChain endpoints.

Image source: Shutterstock



Source link

  • Facebook
  • Twitter
  • Pinterest
CryptoExpert

CryptoExpert

Recommended For You

Unitree Robotics (UNITREE) Pre-IPO Price Prediction: Momentum Is Extended, but Futures Positioning Still Favors Buyers

by CryptoExpert
November 10, 2026
0
Unitree Robotics (UNITREE) Pre-IPO Price Prediction: Momentum Is Extended, but Futures Positioning Still Favors Buyers

Home / Latest reporting Price Prediction Unitree Robotics (UNITREE) is trading at $111.25 after a 4.69% 24-hour gain, with price pressing above its short-...

Read more

Confucius4-R2T2: Stable-Prefix ASR Model for Real-Time Transcription

by CryptoExpert
November 10, 2026
0
Confucius4-R2T2: Stable-Prefix ASR Model for Real-Time Transcription

Home / Latest reporting News Confucius4-R2T2 introduces stable-prefix streaming ASR with high accuracy and low latency, enabling real-time transcription without output revisions. Ted Hisokawa...

Read more

Ciena (CIEN) Stock Price Prediction: Bearish momentum meets oversold conditions near support

by CryptoExpert
November 9, 2026
0
Ciena (CIEN) Stock Price Prediction: Bearish momentum meets oversold conditions near support

What happened and why it matters Ciena Stock changed hands at $244.77, down 0.14% over 24 hours, with a trading range of $236.86 to $248.54 and volume of...

Read more

Zcash Developers Propose 20-Second Blocks After NU7 Upgrade

by CryptoExpert
November 9, 2026
0
Cointelegraph

Zcash developers have proposed reducing the blockchain’s target block interval from 25 seconds to 20 seconds, seeking faster transaction confirmations days after activating the NU7 upgrade. On Sunday, developers...

Read more

SPCX Price Prediction: SpaceX valuation headlines meet a softer technical backdrop

by CryptoExpert
November 9, 2026
0
SPCX Price Prediction: SpaceX valuation headlines meet a softer technical backdrop

Home / Latest reporting Price Prediction SpaceX-linked pricing is still anchored by the company’s IPO valuation story, but SPCX is trading below its 20-day...

Read more
Next Post
Kamala Harris

Kamala Harris Crypto Strategy Questioned As She Mulls Anti-Crypto VP Choice

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Browse by Category

  • Altcoin News
  • Bitcoin News
  • Blockchain News
  • Business
  • Doge News
  • Ethereum News
  • Finance
  • Market Analysis
  • Mining
  • NFT News
  • Politics
  • Regulation
  • Technology
  • Trending Cryptos
  • Video

Sitemap

  • Market Cap
  • Donations
  • Trading
  • Mining
  • Contact

Legal Information

  • Privacy Policy
  • Anti-Spam Policy
  • Copyright Notice
  • DMCA Compliance
  • Social Media Disclaimer
  • Terms Of Service

Categories

  • Altcoin News
  • Bitcoin News
  • Blockchain News
  • Business
  • Doge News
  • Ethereum News
  • Finance
  • Market Analysis
  • Mining
  • NFT News
  • Politics
  • Regulation
  • Technology
  • Trending Cryptos
  • Video

© Copyright 2024 InvestInCryptoNews.com

No Result
View All Result
  • Home
  • Latest News
    • Bitcoin News
    • Altcoin News
    • Ethereum News
    • Blockchain News
    • Doge News
    • NFT News
    • Video
    • Market Analysis
    • Business
    • Finance
    • Politics
    • Mining
    • Regulation
    • Technology
  • Top 10 Cryptos
  • Market Cap List
  • IC DAO
  • Donations
  • Contact
  • Buy Crypto
  • BLOG

© Copyright 2024 InvestInCryptoNews.com

This website is using cookies to improve the user-friendliness. You agree by using the website further.

Privacy policy
bitcoin
Bitcoin (BTC) $ 73,399.00
ethereum
Ethereum (ETH) $ 2,033.36
tether
Tether (USDT) $ 0.999208
bnb
BNB (BNB) $ 678.31
usd-coin
USDC (USDC) $ 0.999599
xrp
XRP (XRP) $ 1.05
solana
Solana (SOL) $ 82.31
tron
TRON (TRX) $ 0.319081
staked-ether
Lido Staked Ether (STETH) $ 2,265.05
figure-heloc
Figure Heloc (FIGR_HELOC) $ 1.05

Pin It on Pinterest

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?