• bitcoinBitcoin(BTC)$80,521.002.84%
  • ethereumEthereum(ETH)$2,423.284.52%
  • tetherTether(USDT)$1.000.06%
  • binancecoinBNB(BNB)$714.031.57%
  • rippleXRP(XRP)$1.323.34%
  • usd-coinUSDC(USDC)$1.000.04%
  • solanaSolana(SOL)$96.373.32%
  • tronTRON(TRX)$0.318391-1.16%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.051.52%
  • zcashZcash(ZEC)$1,318.422.39%
  • HyperliquidHyperliquid(HYPE)$83.32-2.82%
  • dogecoinDogecoin(DOGE)$0.0767531.98%
  • moneroMonero(XMR)$635.81-0.27%
  • USDSUSDS(USDS)$1.000.02%
  • whitebitWhiteBIT Coin(WBT)$77.883.35%
  • chainlinkChainlink(LINK)$11.583.41%
  • leo-tokenLEO Token(LEO)$9.350.43%
  • cardanoCardano(ADA)$0.1981293.41%
  • stellarStellar(XLM)$0.1668661.73%
  • bitcoin-cashBitcoin Cash(BCH)$285.233.05%
  • nearNEAR Protocol(NEAR)$4.03-0.29%
  • uniswapUniswap(UNI)$7.601.78%
  • daiDai(DAI)$1.000.02%
  • Ethena USDeEthena USDe(USDE)$1.000.06%
  • litecoinLitecoin(LTC)$56.012.33%
  • RainRain(RAIN)$0.005835-6.27%
  • CantonCanton(CC)$0.1027313.65%
  • avalanche-2Avalanche(AVAX)$8.751.23%
  • suiSui(SUI)$0.931.55%
  • USD1USD1(USD1)$1.000.01%
  • tether-goldTether Gold(XAUT)$4,108.652.32%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.17-1.32%
  • hedera-hashgraphHedera(HBAR)$0.0728703.21%
  • quant-networkQuant(QNT)$206.666.27%
  • Global DollarGlobal Dollar(USDG)$1.000.02%
  • shiba-inuShiba Inu(SHIB)$0.0000050.77%
  • BittensorBittensor(TAO)$236.042.38%
  • paypal-usdPayPal USD(PYUSD)$1.000.03%
  • crypto-com-chainCronos(CRO)$0.0522772.24%
  • Ripple USDRipple USD(RLUSD)$1.000.02%
  • EthenaEthena(ENA)$0.180522-0.53%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.16%
  • okbOKB(OKB)$111.442.42%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • pepePepe(PEPE)$0.000005-3.72%
  • aaveAave(AAVE)$132.940.96%
  • OndoOndo(ONDO)$0.4088201.27%
  • Pump.funPump.fun(PUMP)$0.004311-3.00%
  • MemeCoreMemeCore(M)$0.83-2.31%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

LOTUS: A Query Engine for Reasoning over Large Corpora of Unstructured and Structured Data with LLMs

July 22, 2024
in AI & Technology
Reading Time: 4 mins read
A A
LOTUS: A Query Engine for Reasoning over Large Corpora of Unstructured and Structured Data with LLMs
ShareShareShareShareShare

The semantic capabilities of modern language models offer the potential for advanced analytics and reasoning over extensive knowledge corpora. However, current systems need more high-level abstractions for large-scale semantic queries. Complex tasks like summarizing recent research, extracting biomedical information, or analyzing internal business transcripts require sophisticated data processing and reasoning. Existing methods, such as retrieval-augmented generation (RAG), are limited to simple lookups and do not support more complex query patterns. 

Researchers from Stanford University, USA, and UC Berkeley have developed semantic operators, a declarative programming interface that enhances the relational model with AI-driven operations for semantic queries over datasets. These operators are implemented in LOTUS, an open-source query engine with a Pandas-like API, enabling the creation of efficient and expressive query pipelines. LOTUS has proven effective in various applications, including fact-checking, multi-label classification, and search, delivering significant improvements in accuracy and execution time. For instance, in fact-checking on the FEVER dataset, LOTUS programs increase accuracy by up to 9.5% and reduce execution time by 7 to 34 times compared to current state-of-the-art pipelines.

YOU MAY ALSO LIKE

OpenAI’s Enterprise Sales Take Majority as Brockman Sees IPO Readiness – Unite.AI

Cat Wu to Lead Product Management for OpenAI’s Core Products – Unite.AI

Several prior works have extended relational languages with LM-based operations for specialized tasks. For instance, Palimpzest offers a declarative approach to data cleaning and ETL tasks, introducing a convert operator for entity extraction and an AI-based filter. SUQL extends SQL to support conversational agents with new operators to answer questions and summarize data. ZenDB and EVAPORATE focus on extracting semi-structured documents into structured tables. In contrast, LOTUS provides a general-purpose programming model with composable semantic operators for diverse applications. It supports complex query patterns, including joins, aggregation, ranking, and search functions, beyond the capabilities of row-wise LLM UDFs.

The LOTUS programming model allows developers to create AI-driven query pipelines for processing large datasets of structured and unstructured data. It extends the relational model with semantic operators, enhancing functionality through an API built on Pandas. These operators include `sem_filter` for filtering, `sem_join` for joining tables, `sem_sim_join` for similarity joins, and others for aggregation, ranking, and clustering. LOTUS supports natural language expressions (langex) for specifying these operations, enabling intuitive and declarative programming. The model incorporates optimization techniques like batched inference, model cascades, and semantic similarity indices to handle complex queries and improve performance efficiently.

The evaluation of LOTUS focuses on its programmability and efficiency across three applications: fact-checking, extreme multi-label classification, and search and ranking. Each application demonstrates that state-of-the-art results are achievable with minimal development overhead using LOTUS programs. For instance, LOTUS can reproduce and enhance the accuracy of a recent fact-checking pipeline by 9.5% while significantly reducing execution time. LOTUS achieves up to 800× faster performance in extreme multi-label classification than traditional methods. In search and ranking, LOTUS outperforms other methods in nDCG@10 by up to 49.4% while also being more rapid. Experiments were conducted using various models and setups, including Llama 3 models on 4 A100 GPUs.

In conclusion, the study introduces semantic operators, providing the first declarative, general-purpose interface for bulk-semantic processing. Implemented in the LOTUS system, these operators extend the relational model, allowing easy composition of advanced reasoning-based query pipelines over large datasets. LOTUS demonstrates effectiveness across applications like fact-checking, extreme multi-label classification, and search, showing its programming model’s expressiveness and low development overhead. For example, LOTUS improves accuracy by 9.5% on the FEVER dataset and reduces execution time significantly. LOTUS achieves state-of-the-art results with substantial efficiency gains in multi-label classification and search tasks, highlighting its optimization capabilities and potential for rich analytics over vast knowledge corpora.


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 and join our Telegram Channel and LinkedIn Group. If you like our work, you will love our newsletter..

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

Find Upcoming AI Webinars here


Sana Hassan, a consulting intern at Marktechpost and dual-degree student at IIT Madras, is passionate about applying technology and AI to address real-world challenges. With a keen interest in solving practical problems, he brings a fresh perspective to the intersection of AI and real-life solutions.


Credit: Source link

ShareTweetSendSharePin

Related Posts

OpenAI’s Enterprise Sales Take Majority as Brockman Sees IPO Readiness – Unite.AI
AI & Technology

OpenAI’s Enterprise Sales Take Majority as Brockman Sees IPO Readiness – Unite.AI

November 5, 2026
Cat Wu to Lead Product Management for OpenAI’s Core Products – Unite.AI
AI & Technology

Cat Wu to Lead Product Management for OpenAI’s Core Products – Unite.AI

November 5, 2026
Amodei Wins Dismissal of Direct Copyright Claim with Leave to Amend – Unite.AI
AI & Technology

Amodei Wins Dismissal of Direct Copyright Claim with Leave to Amend – Unite.AI

November 5, 2026
Snap Has More Than 30 Million Paid Subscribers Across Snapchat+ And Other Plans
AI & Technology

Snap Has More Than 30 Million Paid Subscribers Across Snapchat+ And Other Plans

November 4, 2026
Next Post
Police and protesters clash in new demonstration at UCLA

Police and protesters clash in new demonstration at UCLA

Leave a Reply Cancel reply

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

Search

No Result
View All Result
This Hidden Windows 11 Menu Can Save You Valuable Time When Troubleshooting

This Hidden Windows 11 Menu Can Save You Valuable Time When Troubleshooting

November 1, 2026
Your Android Phone’s New Best Friend

Your Android Phone’s New Best Friend

October 30, 2026
Anthropic Files for IPO in Global Race to Raise Cash for AI

Anthropic Files for IPO in Global Race to Raise Cash for AI

October 29, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!