HNHacker News
TopNewBestAskShowJobs

raunakchowdhuri

99 karma · joined November 22, 2022

submissionscomments
raunakchowdhuri··on Reducto releases Deep Extract
The big one is that LLMs get lazy on repetitive tasks. They'll skip rows or consolidate entries instead of grinding through every last one. So you need verify-and-re-extract loops rather than single-pass processing. Breaking work into sub-agent chunks with explicit correctness criteria defined upfront (e.g., "line items must sum to the stated total") lets the system self-verify autonomously. At scale (28M+ fields), this approach actually outperformed expert human labelers!
raunakchowdhuri··on Reducto releases Deep Extract
We've made a lot of changes in the past few months that make our standard extract much, much better, as well as Deep Extract for documents even longer than that. We'd love for you to give it a try!
raunakchowdhuri··on Shai-Hulud Returns: Over 300 NPM Packages Infected
Have a slack channel with them, these are the versions they mentioned: posthog-node 4.18.1 posthog-js 1.297.3 posthog-react-native 4.11.1 posthog-docusaurus 2.0.6
raunakchowdhuri··on Launch HN: Reducto Studio (YC W24) – Build accurate document pipelines, fast
We're fixing it! This for some reason happens on only _some_ phones in our office so was hard to repro. I think has to do with Safari rendering. Will tone down our WebGPU usage
raunakchowdhuri··on Launch HN: Reducto Studio (YC W24) – Build accurate document pipelines, fast
dang no way! we were both in boston too
raunakchowdhuri··on Launch HN: Reducto Studio (YC W24) – Build accurate document pipelines, fast
this is exactly where we're going with this! glad you see the vision :)
raunakchowdhuri··on Launch HN: Reducto Studio (YC W24) – Build accurate document pipelines, fast
yep!
raunakchowdhuri··on Mistral OCR
comparisons to more outputs coming soon!
raunakchowdhuri··on Mistral OCR
We ran some benchmarks comparing against Gemini Flash 2.0. You can find the full writeup here: https://reducto.ai/blog/lvm-ocr-accuracy-mistral-gemini

A high level summary is that while this is an impressive model, it underperforms even current SOTA VLMs on document parsing and has a tendency to hallucinate with OCR, table structure, and drop content.

raunakchowdhuri··on Ingesting PDFs and why Gemini 2.0 changes everything
CTO of Reducto here. Love this writeup!

We’ve generally found that Gemini 2.0 is a great model and have tested this (and nearly every VLM) very extensively.

A big part of our research focus is incorporating the best of what new VLMs offer without losing the benefits and reliability of traditional CV models. A simple example of this is we’ve found bounding box based attribution to be a non-negotiable for many of our current customers. Citing the specific region in a document where an answer came from becomes (in our opinion) even MORE important when using large vision models in the loop, as there is a continued risk of hallucination.

Whether that matters in your product is ultimately use case dependent, but the more important challenge for us has been reliability in outputs. RD-TableBench currently uses a single table image on a page, but when testing with real world dense pages we find that VLMs deviate more. Sometimes that involves minor edits (summarizing a sentence but preserving meaning), but sometimes it’s a more serious case such as hallucinating large sets of content.

The more extreme case is that internally we fine tuned a version of Gemini 1.5 along with base Gemini 2.0, specifically for checkbox extraction. We found that even with a broad distribution of checkbox data we couldn’t prevent frequent checkbox hallucination on both the flash (+17% error rate) and pro model (+8% error rate). Our customers in industries like healthcare expect us to get it right, out of the box, deterministically, and our team’s directive is to get as close as we can to that ideal state.

We think that the ideal state involves a combination of the two. The flexibility that VLMs provide, for example with cases like handwriting, is what I think will make it possible to go from 80 or 90 percent accuracy to some number very close 99%. I should note that the Reducto performance for table extraction is with our pre-VLM table parsing pipeline, and we’ll have more to share in terms of updates there soon. For now, our focus is entirely on the performance frontier (though we do scale costs down with volume). In the longer term as inference becomes more efficient we want to move the needle on cost as well.

Overall though, I’m very excited about the progress here.

--- One small comment on your footnote, the evaluation script with Needlemen-Wunsch algorithm doesn’t actually consider the headers outputted by the models and looks only at the table structure itself.

raunakchowdhuri··on Ingesting PDFs and why Gemini 2.0 changes everything
would encourage you to take a look at some of the real data here! https://huggingface.co/spaces/reducto/rd_table_bench

you'll find that most of the errors here are structural issues with the table or inability to parse some special characters. tables can get crazy!

raunakchowdhuri··on Rd-TableBench – Accurately evaluating table extraction
Love the Pubtables work! It's a really useful dataset. Their data comes from existing annotations from scientific papers, so in our experience it doesn't include a lot of the hardest cases that a lot of methods fail at today. The annotations are computer generated instead of manually labeled, so you don't have things like scanned and rotated images or a lot of diversity in languages.

I'd encourage you to take a look at some of our data points to compare for yourself! Link: huggingface.co/spaces/reducto/rd_table_bench

In terms of the overall importance of table extraction, we've found it to be a key bottleneck for folks looking to do document parsing. It's up there amongst the hardest problems in the space alongside complex form region parsing. I don't have the exact statistics handy, but I'd estimate that ~25% of the pages we parse have some hairy tables in them!

raunakchowdhuri··on Launch HN: Parity (YC S24) – AI for on-call engineers working with Kubernetes
hmmm idk how I would feel about giving an llm cluster access from a security pov
raunakchowdhuri··on Show HN: K8sAI – open-source GPT CLI tool for Kubernetes
Interesting... how did you do the scraping of the documentation?
raunakchowdhuri··on Open Sourcing Remembrall: A Long-Term Memory Proxy for LLMs
Hey HN,

A few weeks ago I shared a beta of Remembrall here and got a lot of great feedback from people in this community, with one of the most common requests being to open source the project.

Excited to share that we’re doing exactly that!

Remembrall is a proxy (integrates in two lines!) on top of your OpenAI queries that uses GPT to save/update important details from each user’s conversations into a vector db. When the user continues the conversation we query the db for relevant info and prepend it into the system prompt. We have a lot of improvements in the works (function calling, queryable user profiles, and more) and would love your feedback on features you’d like to see!

raunakchowdhuri··on Show HN: Remembrall – Long-term memory proxy for LLMs
Yep - full export will always be supported for your data.

No customer # restriction.

I have some optimizations in the works such that the secondary gpt 3.5 call only gets triggered when one iterative conversation thread ends (determined via a timeout). GPT 3.5 is really cheap though, so shouldn’t be a huge deal. Even if you chat with gpt4 we still use 3.5 for the memory consolidation and updates.

raunakchowdhuri··on Show HN: Remembrall – Long-term memory proxy for LLMs
Not right now, but it's a good idea. I'll add that later this week.
raunakchowdhuri··on Show HN: A vector database with semantic SQL-like filtering
So cool! How do tools like pgvector do it?

https://github.com/pgvector/pgvector

They have a WHERE clause built in - no? And then you can additional sort by semantic similarity? Or is this a bit different than that...

raunakchowdhuri··on Show HN: Remembrall – Long-term memory proxy for LLMs
For sure!

When you send an OpenAI request, after a delay (to ensure the user doesn't keep chatting in the same session), a secondary GPT 3.5 call is made to "autosave" the result. This GPT call gets the information from the current chat session as well as other similar entries in the vector database.

The structured output from this call is used to do either insert a new memory or update an existing memory in the vector database. At query time, we do a search of the vector database and quickly insert relevant context into the system prompt.

I like to consider this approach "dynamic" retrieval augmented generation, as the vector database is constantly changing as conversations occur.

raunakchowdhuri··on No, GPT4 Can’t Ace MIT
Neil posted the paper in our fraternity's ML group chat (MIT things lol), and I expressed some skepticism at the results.

Initially we started looking into it more for curiosity's sake, but as we started digging we kept finding more and more ridiculous stuff to the point where we decided to start working on blog post. Then David joined in on the action and helped a ton with the research and writeup.

No professor was involved. The paper was released yesterday, so we just documented as we went along in the investigation process. It only took like 8 hours of work to compile the doc. We finished it last night and posted to Twitter in the morning.

raunakchowdhuri··on No, GPT4 Can’t Ace MIT
Can attest that the distribution is odd from the test set that we sampled.

We've already run the compute to run the zero-shot GPT model on all of the datapoints in the provided test set. We're going through the process now of grading them manually (our whole fraternity is chipping in!) and should have the results out relatively soon.

I can say that, so far, it's not looking good for that 90% correct zero-shot claim either.

raunakchowdhuri··on No, GPT4 Can’t Ace MIT
You're right that our post doesn't quite show that GPT4 cannot perform well on MIT curriculum. We try to be up front about this in the conclusion: > Our critiques are largely of the methodology and rigor of this study, not about its content. We make no claim about the ability of large language models to actually solve MIT curricula, only that this paper fails to prove it in a scientifically rigorous way. Though, as MIT undergraduates ourselves, we can at the very least say that the test set that we accessed does not, at least in our experience, accurately represent the breadth and depth of understanding required to complete an EECS degree at MIT.
raunakchowdhuri··on No, GPT4 Can’t Ace MIT
Am one of the authors of the linked article. Thanks for all of your kind comments! Let me know if you have any questions and I'll be happy to answer.
raunakchowdhuri··on Social Engineer an LLM
Neat!