Better HN
topnewbestaskshowjobs
Log inSign up

macklinkachorn

137 karma · joined Jul 7, 2019 (7y ago) · 43 submissions

Founder @ Trellis (YC W24,https://runtrellis.com/)

Say hi at: mac@runtrellis.com

Submissions

comment 1y ago · link · parent

In my previous role, I have experienced similar things where the rule-based parsing approach is really tricky to get right and often failed via from edge cases.

We (at https://runtrellis.com/) have been building PDF processing pipeline from the ground up with LLMs and VLMs and have seen close to 100% accuracy even for tricky PDFs. The key is to use rule based engine and references to cross check the data.

2.

Trellis (YC W24) Is Hiring(runtrellis.com ↗)

by macklinkachorn · 1y ago

3.

Trellis (YC W24) Is Hiring Eng to Automate PDFs Task at Scale(ycombinator.com ↗)

by macklinkachorn · 1y ago

4.

Trellis (YC W24) is hiring eng to turn documents into database(ycombinator.com ↗)

by macklinkachorn · 2y ago

5.

Running Semantic query over YC job posting(postgresml.org ↗)

1 points · by macklinkachorn · 2y ago · discuss

6.

Trellis (YC W24) is hiring eng to build AI workflows for unstructured data(ycombinator.com ↗)

by macklinkachorn · 2y ago

7.

Trellis (YC W24) is hiring eng to build AI workflows for unstructured data(ycombinator.com ↗)

by macklinkachorn · 2y ago

8.

Trellis (YC W24) is hiring eng to build AI workflows for unstructured data(ycombinator.com ↗)

by macklinkachorn · 2y ago

comment 2y ago · link · parent

The users specify the schema and output format and a validation rule and we make sure the system adheres to that.

comment 2y ago · link · parent

That’s awesome. Curious to hear your use cases and also happy to share notes on what we see work well. Feel free to ping me (email in Bio)

comment 2y ago · link · parent

Super cool! This aligns with our experiences. These tools are great and can get to near 100% of accuracy but it's quite a lot of work on the Eng side to get it there reliably.

comment 2y ago · link · parent

Great to hear that you worked saw similar use cases. Doing this before LLMs seem like a big challenge.

comment 2y ago · link · parent

Yes, we combine LLMs as a judge with traditional checks like reverse search in original data sources, defining your own post-processing logic, and simple classifier for confidence score.

comment 2y ago · link · parent

A few that we experience as we’re building Trellis out:

1. Managing end-to-end workflows from integrating with data sources, automatically triggering new runs when there’s new data coming in, and keeping track of different business logic that’s involved (i.e. I want to classify the type of the emails and based on that apply different extraction logic)

2. Most out-of-the-box solutions only get you 95% of the way there. The customers want the ability to pass in their own data to improve performance and specify their unique ontology.

3. Building a good UI and API support for both technical and non-technical users to use the product.

comment 2y ago · link · parent

Unstructured seems to be focusing a lot on the document chunking and data ingestion into RAGs part. Trellis handles the process end-to-end from extraction to transforming the data into the schema that you need for downstream applications.

The way unstructured built their parsing and extraction are mostly based on traditional OCR and rule based extraction. We built all preprocessing pipeline in an LLM and vision model first way that allows us to be flexible when the data is quite complex (like tables and images within documents).

comment 2y ago · link · parent

NER is good for really simple things (like getting names, addresses, etc.).

A lot of the use cases that we see, like extracting data from nested tables in 100-page-long private credit documents or flagging transactions and emails that contain a specific compliance violation, are impossible to do with NER.

NER is good for really simple things (like getting names, addresses, etc.).

A lot of the use cases that we see, like extracting data from nested tables in 100-page-long private credit documents or flagging transactions and emails that contain a specific compliance violation, are impossible to do with NER.

With Trellis, the idea is taht you can write any mappings and transformations (no matter how complex the tasks or the source data are).

comment 2y ago · link · parent

Yes, HIPAA compliance is on the roadmap and should be out in a few weeks. We spent a lot of time on healthcare/sensitive data use cases.

Google Document AI and Watson SDU seem to be an afterthought for IBM/Google. The accuracy and configurability often fall short when you want to use them in a production setting.

Comparing to other legacy document processing companies, I think there are a few areas where we differentiate:

1. We handle end-to-end workflows from integrating with data sources, defining the transformation, and automatically triggering new runs when there’s an update to the data. 2. We built our entire stack on LLM and Vision transformers and use OCR/parser to check the results. This allows the mapping and tasks to be a lot more robust and flexible. 3. We have validations, reference checking, and confidence score metrics that enable fast human-in-the-loop iteration.

comment 2y ago · link · parent

Getting a lot of love from HN so the demo site and data processing might slow down by quite a bit. We're fixing it right now!

comment 2y ago · link · parent

Good question and we have seen this extraction workflow a lot in financial services. We just added table mode to the product (select table in transformation parameters) where we extract table structure in the documents that match that schema. So 1 file map to N rows where N is all the row in the table.

comment 2y ago · link · parent

Totally! The structured extraction from AI is only a small part in the product. Beyond the list above we also built 1. Custom validation that allows end users to validate outputs with their own logic 2. Manage different workflows (monitoring, scaling) and keep track of business logic in processing different data sources.

comment 2y ago · link · parent

Thanks! We also start to see the patterns where search systems are being improved with filters and hierarchy level metadata. Another use case that people use Trellis for is ingesting data into their downstream LLMs applications.

comment 2y ago · link · parent

We face similar challenges you listed and handle all of the above. 1. Out of the box OCR doesn't perform as well for complex documents (with tables, images, etc.). We use vision model to help process that documents. 2. Recall (for longer documents) and accuracy are also a major problem. We built in validation systems and references to help users validate the results. 3. Maintain this systems in production, integrate with the data sources and refresh when new data comes in are quite annoying. We manage that for the end users. 4. For non-technical users, we allow them to iterate through different business logic and have a one unify place to manage data workflows.

comment 2y ago · link · parent

Please let me know the issues and happy to get it set up correctly for you. I'm at mac@runtrellis.com

comment 2y ago · link · parent

Thanks! Always surprised to see how many dodgy PDFs and scans there is in enterprises.

comment 2y ago · link · parent

Appreciate the note.

1. I completely agree. Last-mile accuracy is crucial for enterprise buyers, and the challenge isn't just the AI. It's about mapping their business logic and workflows to the product in a way that demonstrates fast time to value.

2. Thanks for the feedback. We're still refining the messaging and don't want to be overly focused on just the extraction aspect. Do you think positioning it as ETL for unstructured data or high-accuracy extraction for enterprises might work better?"

comment 2y ago · link · parent

Exact accuracy depends on the domain and tasks. Processing emails will naturally have higher accuracy than 150+ pages of private credit documents. Generally, we see 95%+ accuracy out of the box and can go up to 99%+ with fine-tuning, and human in the loop validation.

comment 2y ago · link · parent

Maintaining the right level of accuracy across different domain is quite hard and something we spend a lot of time on. The accuracy bar tends to be quite high for financial services so we're adding some validation steps and checking to make sure any errors get caught beforehand.

comment 2y ago · link · parent

We use a combination of fine-tune LLMs models that're specialized at extraction, data validation and parsing and large foundational models for more general reasoning tasks.

Model routing architecture has been quite interesting to explore.

comment 2y ago · link · parent

Glad to see people experiencing similar problems! We previously spend way too much time building and maintaining document processing pipeline that doesn't really scale.
12