Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using only features from pure html #18

Open
ilyalasy opened this issue May 23, 2022 · 3 comments
Open

Using only features from pure html #18

ilyalasy opened this issue May 23, 2022 · 3 comments

Comments

@ilyalasy
Copy link

ilyalasy commented May 23, 2022

Hi, thanks for great work!
It seems that accessing metadata for every element on the page in prediction setting is a very time consuming task (judging by personal experience with Selenium).
Therefore I have a question: did you try to train models that use only pure html features (css class names, element attributes, xpath encoding) rather than using font information/bounding boxes/etc.?

@stefanmagureanu
Copy link
Contributor

Hello and thanks for the kind words!
We have tried that a little but we haven't invested too much time since, from what we've seen, adding visual features (especially bounding boxes) substantially boosts the model's predictive performance. If you find features that are available in the HTML only (without rendering the page) and offer competitive performance please share your results! I'd love to see alternatives, especially since we didn't spend a lot of time on feature engineering.

@ilyalasy
Copy link
Author

ilyalasy commented May 23, 2022

First thing that comes in mind is xpath embedding as in MarkupLM. Will try to use that on your dataset eventually.
Btw, I think it is a great idea to see how MarkupLM performs on your dataset to know if GNN can outperform large language models.

@stefanmagureanu
Copy link
Contributor

Please share results if you get the chance to try it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants