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

Improved vector search #39

Open
6 tasks
kuraisle opened this issue Aug 30, 2024 · 0 comments
Open
6 tasks

Improved vector search #39

kuraisle opened this issue Aug 30, 2024 · 0 comments
Assignees

Comments

@kuraisle
Copy link
Collaborator

Vector search seems an effective step in semantic search for OMOP concepts. We've just used an off-the-shelf model so far, and it got the correct answer in the top 5 for 214/400 medications in an initial test. There are several routes for improving the results

  • Add vector search metrics
    • Top k accuracy: Is the correct mapping in the top k results?
    • Mean reciprocal rank: Where does the correct answer appear? We would have to limit the list to e.g. 20 https://en.wikipedia.org/wiki/Mean_reciprocal_rank
    • Similarity: by some vector similarity metric (cosine similarity etc.), how similar is the input vector to the correct answer? Comparing this between models may not be valid.
  • Test different models: There are biomedical specialist BERTs available. Also, larger and smaller generalist models. We should try some of these and compare how they do.
  • Model fine-tunes: This will be a stretch, but doable
@Karthi-DStech Karthi-DStech self-assigned this Sep 2, 2024
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