222 points · by helloduck1234 · 2y ago · 152 comments
I'm a high school student with a passion for tackling misinformation online. Inspired by the need for more reliable content verification tools, I decided to create Factful. It's an AI-powered web app designed to revolutionize how individuals and organizations verify content.
Unlike traditional grammar checkers, Factful provides a comprehensive analysis that goes beyond just grammar. It evaluates context, factuality, coherence, and more to ensure the accuracy and credibility of content.
I believe that in today's information age, it's more crucial than ever to have tools like Factful to combat misinformation and promote content integrity. I'm excited to continue developing Factful and would love for you to check it out. Your feedback and support would mean the world to me. Thanks for taking the time to read about Factful, and please go check out our beta deployment of Factful (a little beyond the MVP) for free on our website!
- most current LLMs are trained on large amounts of web data that itself contains facts, opinions, and misinformation. These things are treated equally, so I would expect the LLM to get common facts right, but also to represent opinions or misinformation as facts when they are pervasive.
- LLMs "hallucinate" and tend not to know when to say "I don't know" or to not try to fact-check something that is not factual in nature.
...in short, I would expect LLMs to be an unreliable fact checker, which has the potential to do as much harm as good.
I don't mean the fact checking part - thats legitimately a good thing to pursue. What I mean is that the value of this (to you and your co-creators) has enormous value to you way beyond the social good it might provide.
For example at some point you're going to have to deal with nuance. Things are rarely purely right or wrong. (The earth is not round, but its a good first approximation for geological beginners.)
So, I'd encourage you not to measure success here with "does it work", or how many users, or if LLMs are a suitable approach, or any metrics like that. The goal here shouldn't be popularity or "correctness".
The most value you will get is the experience of building something, ideally in team. Of facing road-blocks and challenges and overcoming them. Or, to put it another way, have fun. And things that are easy are not fun...
Congrats on the project. May it lead you forward to discovering more about how to code, more about the world, more about yourself. Don't shy away from the hard questions. But above all keep it fun.
This is awesome, and you're doing great. This is such strong signal for an amazing career and impact.
Keep going!
I find this is one of the more difficult things for people to learn to fully integrate into their psyche. Many people never learn to truly care about this and everything it means. They go on forever primarily caring about what’s good for them personally.
I mean look at the world. Essentially everybody puts themselves first and it’s clear as day. Don’t trick yourself into being the sap doing things for the greater good.
And who cares if there’s equal potential for harm and good? The harm might be less than we imagine and the good might be better than we think it could be. “This might be bad” is a terrible reason to not do something. Nearly everything might be bad!
People are pretty resilient. They can generally deal with you being selfish.
- Using a RAG architecture on top of a database of factual information. Wikipedia is probably your best bet. It is not 100% factual or correct either, but maybe as good as it gets. Scaling RAG to wikipedia size is not trivial, but I think it can be done.
- Prompting the LLM to cite its sources so people can fact-check the fact-checker
- Prompting the LLM to say it is unsure when something does not have a clear answer. I don't expect this to be reliable, but maybe somewhat better
The universe of facts is infinite.
The larger a user base, the fewer facts they'll collectively agree on.
If you take on a large user base and an infinite knowledge domain, you'll lose trust with users who disagree with your fact checking (rightly or wrongly.)
Instead, give yourself a smaller scope where you can actually win. Train your tool to be a world-class fact checker in a specific domain. Then market to a userbase who explicitly already agree on the facts you check against. This smaller scope sets you up for technical success and builds experience, revenue, and user trust, all of which you can leverage to iterate into another domain more quickly.
I challenged your AI on this thematic : "a spring weight heavier when compressed", or "earth spinning make it heavier". Both results tell me it's not true despite it being correct (E=mc2).
I admit I'm cherrypicking, because it does say croissant is not French. But can I trust it blindly? That's why you must provide sources. It's valuable to have sources when we talk about truth.
good job anyway, keep working on what you like
I tried testing it with the sentence “Toledo is the largest city in Ohio” and it’s suggestions were to replace this with paragraphs of text about what constitutes a city in Ohio and history about Ohio, which did happen to include that Columbus is currently the largest city in Ohio.
That doesn’t seem strictly helpful as a fact checker as at first glance it isn’t even addressing the truthiness of the original sentence and just bloviates on about other details, if I even accept it’s suggestion.
Is there a demo that shows how you expect people to use this?
Again, I would love to know more about how this works in the sense of how does it determine facts, and as you alluded to in other comments how it avoids political opinions.
Thanks for sharing.
I have heard a lot of good, and bad comments, so I want to clear some things up.
First of all, we are using an OpenAI based back-end, we are in the process of developing our own LLM for the task of text fitting. Secondly, the LLM in our approach is currently only used for text translation. This meaning, we assume the LLM dosnt know anything, and thus before the users input even reaches the LLM it has to hit a couple other models which determine if the statement is a fact or not, then an intermediary text analyses model to extract understandable queries from the text which can then be used to search information about the topic from a DB (for example, Google FC API, or a custom dataset of documents known good). After that process, all the data is presented to an LLM which can then fit the known good data into the context of the users input.
The LLM itself is never trusted with data.
Of course for a system like this to work, we would need access to a DB and those intermediary models, which as you can guess, will take a while to build and develop. For now, we are pushing our beta without this system but a dumbed down non-optimized (and definitely flawed) version to test scalability and fix bugs, test security, and check scalability for our back-end platform.
In case anyone was wondering anything about my credentials, I am one of the lead back-end developers working on the project. I am also free to answer any reasonable questions anyone might have about Factful.
Excellent! Good to see the younger generation practicing skepticism with AI and learning how to use AI appropriately. Keep up the good work!
> Green Party leader Justin Trudeau was ejected from Canada's House of Commons after fiery exchanges with Prime Minister Jagmeet Singh. Mr Trudeau's removal came after he refused to apologise for calling Mr Singh a "wacko" and "extremist" during a question period.
And your service game up with
Green => Liberal; was => was not; fiery => factuality; Prime Minister => NDP Leader; "Mr Trudeau's removal came after he refused to apologise for calling Mr Singh a "wacko" and "extremist" during a question period." => did not occur as described;
What really happened was:
Conservative Party leader Pierre Poilievre was ejected from Canada's House of Commons after fiery exchanges with Prime Minister Justin Trudeau. Mr. Poilievre's removal came after he refused to apologise for calling Mr. Trudeau a 'wacko' and 'extermist' during question period.
Considering this happened yesterday, this is pretty impressive. Great work.
Btw, awesome job and huge kudos to you and your friends for publishing it here!
Personally, I think there are a number of hard questions to answer surrounding fact checking, it might be wise to get advice from experienced people in fact checking (I have no idea what it is called, but I think that is an entire field).
No big deal, but it raises my curiosity, why are you located in Canada and incorporated in the U.K.? I see you already have a LTD, and TOS (so you _did_ speak to legal advice already, I guess?) It seems like you have gone pretty far with this already. It seems I can get a quote as a business... do you charge by the query?
[plugin:vite:import-analysis] Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
or nothing happensEdit: if I open the editor, type the same text, and then click "Fact Check", I get the same error
That said, at 16 you’re just learning, and literally whatever you accomplish will be a great achievement, so go down these paths and learn your lessons
For example: "Which country contributed the most to the demise of Germany during ww2 ?"
https://qph.cf2.quoracdn.net/main-qimg-f7f98c319f4d9ace2079a...
On the other hand, I guess the change of perception is due to Hollywood.
Would come down to how nice the libraries are for developers, and how good the SaaS UI and pricing is.
How AI can observe events in real life?
However you might want to build with production mode enabled, since your current build actually tries to connect to a Vite dev server on localhost:3000.
Here's a primer to help you navigate building for production: https://vitejs.dev/guide/build
Best of luck to you Andrew and to the team!
Based on what it does the evaluations? Is there some set collection & hierarchy of sources and if so will I be aware of it after it is done?
Prompt:
> Factful.io uses a hand-coded natural language parser to determine factual accuracy to within a tolerance of 12.3 standard units of factfulness.
No revisions, it must already be perfect!
Prompt:
> The only remaining bias in Factful.io is that which is legally required by the USDA.
No revisions, it must already be perfect!
Prompt:
> Factful.io checks everything you enter against a database of known facts as defined in ISO 102522 "A comprehensive list of all that we know to be true."
Suggested revision:
> It seems like there might have been a misunderstanding or an error in communication. If you have a specific question or topic you'd like to know more about, please provide more details so I can assist you effectively.
Prompt:
> Factful.io provides the Objective Truth as determined by an international panel of experts from countries which have names beginning with "Y" and no ports.
Suggested revision:
> The reduction in extreme poverty over the past two centuries is one of the most significant changes in human conditions. The decline from over 80% of the global population living in such conditions in 1800 to under 20% by 2015 represents a major shift, driven by a combination of factors including economic growth, technological advancements, improved health care and education, and international aid and development efforts. The World Bank's international poverty which which was set at $1.90 per day in 2011 prices, is a benchmark used to measure extreme poverty globally. Adjusted for inflation, this threshold would be equivalent to $2.57 per day in 2023 dollars. Living below this line means that individuals lack the resources to meet their basic needs for survival. Despite the progress, extreme poverty remains a critical issue, particularly in regions like South Asia and Sub-Saharan Africa. Nigeria, for example, was have to have the highest number of people living in extreme poverty with 2018, with 86 million individuals below the international poverty line. Efforts to combat extreme poverty continue through various means, including economic development, and in education and health care, and targeted poverty alleviation programs. The Sustainable Development Goals (SDGs), adopted by all United Nations Member States in 2015, include a goal to end poverty in all its forms everywhere by 2030. Achieving this goal will require sustained and concerted efforts from governments, international organizations, the private sector,
I think it's fair to say there's some edge cases left to smooth out. ;)
I tried to gauge quality using chatgpt-3.5, 4.0, and your tool. chatgpt produced better results.
Appreciate the hustle, but the hype around AI is fizzing out tbh.
render 40 hours of Harry Potter film based on every detail of all books
or: create a sequel to Titanic where Leo DiCap comes back from the dead and rezzes Godzilla
and you'll be able to watch that. Imagine that in every content vertical, we haven't even scratched the surface.To talk about what entertainment, art, music, etc. might come out of AI I think is a conversation worth having for anyone into those things, either producing or consuming, macro ethics aside.
One piece of feedback. I used the sample text and it gave me a sentence about a gold fish's memory and when I checked it, it had three errors. I had to update each error individually and over a longer sentence/thought/paragraph that might get cumbersome. It would be nice if there was a way to see a fully corrected sentence and point out the changes so I can do a one click change for a single sentence.
Nothing happens when I click "fact check" so it's very hard to evaluate.
Also from your ToS:
> You may not modify, reproduce, distribute, or create derivative works based upon the Service, in whole or in part, without our prior written consent.
Can I even send my fact-checked document to anyone?
> Herbert Hoover was the 31st President of the United States. 144 / 12 = 3
> Suggestion: (3) Correct your text to 12
> Herbert Hoover was the 121st President of the United States. 144 / 12 = 3
Looks like it's searching for the first text match
Facts are sacks, it is what puffs them up and surrounds them that gives them their veracity which causes so much ire. You can't capture or deflate veracity so easily, but many think they can get around this by certifying lone facts to a minimum level of approved "veracity" thus amplifying the veracity of any claims made with them. Wink-wink. It's more crucial to be rid of centrally-informed favoritism than hot takes.
Not only is this an impressive use of LLMs, it's highly relevant to our social media of today, and I can imagine use cases for user-facing apps like giving context to a user comment (which may or may not be factual).
Are there API client libraries where I can see developer usage? That's likely how I would use a product like this.
Very impressive work for high school - I was making Lunar Lander in VB6 with MS Paint graphics at that age :) very cool to see work of this quality from a 16-year-old.
I stopped reading here because LLMs do not deal in facts. LLMs are statistical models of the relationships between words. An LLM can regurgitate facts that appear in its training data, but they are incapable of distinguishing between fact and fiction.
You cannot trust anything output by an LLM to be factual; it always needs to be verified. Therefore, LLMs are unsuited to fact-checking.
I'm not saying this to be a dick. I'm trying to warn you against investing a lot of time and energy into something that just doesn't work the way people want it to.
Also, it's rich to imply humans don't do literally everything LLMs are accused of to argue they're fundamentally different from humans.
eg: https://math.stackexchange.com/questions/421312/converting-t...
I wonder if the text doesnt equate to true....you can just assume incredibility off the bat. If it passes - you can continue...
do you use this concept in this project? Curious :)
1. When a voyage starts and when a voyage ends are two different things. 2. As with most things in history nailing down when something actually happened is a range of values. You say he made it to China in 1271... but that's not fully accurate is it? It's a range of time in which he actually made it to China.
(I added a green rectangle around the desired information.)
Nevertheless, good job so far!
> Lost Productivity and Bad Data Costs US Businesses 4.9 Trillion Dollars Per Year
That was funny :)
What is the template you're using for the site's landing pages? I feel like I've seen it before.
How do you expect a language model to see through propaganda and other large-scale misinformation by power/money with a megaphone?
How do you expect a computer program that can't reliably determine what letter a word starts with to determine objective truth?
I appreciate that you have a passion for the subject, but this tool is fundamentally unable to do what you wish it to do. If your goal is to make money -- keep going forward. Big promises built on lies have made many tech billionaires. If your goal is to combat misinformation you'd be better served by doing it in a different way than relying on a machine.
If you're building this at sixteen you have no limits. Don't take this as discouragement towards building things -- take it as a warning against cybernetic totalism. Make the world a better place not through technology that tells humans how to be or how things are; make the world a better place by building technology that adapts itself it human needs. Maybe even build technology that needs humans more than the humans need the technology.
But while enthusiasm is great, delusion is not. Since you're striving to be a founder and not a hobbyist, you have to be realistic about what you're trying to build.
What you're describing is fundamentally not possible to provide assurances on without some kind of legititmate AGI, which you lack the resources to build yourself.
Many better resourced companies are trying to provide grounded, factually accurate information, so it just seems like an area of effort far too broad to ever succeed in.
I would suggest a pivot into demonstrating legitimacy in a very narrow niche before attempting to be a genralist know-it-all. Providing fine-tuning as a service to a point of assured factual grounding is itself a hard enough open challenge in AI.
You are tackling an extremely broad, nuanced, unsolvable problem.
You and your friends are obviously incredibly bright, pivot to something more narrow focused. Maybe you can fact check for some sub genre of information that is solvable?
Think sports scores, building heights and structural engineering. Hard, concrete fact.
As soon as you get into anything with any degree of subjectivity misinformation is impossible to solve.
I honestly thought hackernews of all places would have given you better advice in-line with the above commenter, but what’s actually happening is people are filling you with false hope because you are young.
I was in a similar position as you when I was younger, and as I’ve gotten older and had some successes I’ve learnt to listen for valid criticisms.
Block out the noise, both positive and negative. Listen to the wise ones
I see some comments giving you suggestions that I don't agree with. I suggest you keep going.
I tested it with 'The founder of factful.io is John F. Kennedy', but it responded with nothing.
Morever, if we are living in a world where we need advanced AI to even check basic facts, is this a direction we really want to continue? I admire where you are coming from but I don't think it will end well for society.
"Error occurred processing text500"
no matter what I put into it.
edit: i'll email you at andrew@factful.io