Giter VIP home page Giter VIP logo

Comments (2)

joennlae avatar joennlae commented on May 31, 2024 1

Hi @calvinmccarter

Thank you for the suggestion. I read it and agree with your assessment, especially with: "We suggest that future research focus on improving the MADDNESS hash function, which appears to be an accuracy bottleneck.". If you want to use more data to back up that statement, feel free to use my results in addition to yours.

I am thinking about the LeViT results:

Explanation of the table.
Screenshot 2022-07-12 at 10 20 44

MADDness: Is the in the paper described encoding algorithm.
DT: Using the same hashed binary decision tree, the learning is top-down instead of bottom-up. First building the centroids and then mapping the hash function with a decision tree classifier.

centroids_, assignments_ = kmeans2(X, K, minit="points", iter=5)
end = timer()
print(f"kmeans time {end - start}")
# kmeans = KMeans(n_clusters=K, n_init=1).fit(X)
# kmeans = BisectingKMeans(n_clusters=K, n_init=1).fit(X)
# centroids_, assignments_ = kmeans.cluster_centers_, kmeans.labels_
clf_ = tree.DecisionTreeClassifier(**decision_tree_args)

PQ: Product quantization: mapping the input vector to the closest prototype. So it is essentially the perfect encoding function.

Knowing this we can say pretty exact how much we could gain with a better encoding function or in your words: how big the accuracy bottleneck is :-).

Screenshot 2022-07-12 at 10 29 24

ResNet-50 results show the accuracy bottleneck.

I wish you a good presentation :-)

from halutmatmul.

calvinmccarter avatar calvinmccarter commented on May 31, 2024

@joennlae, thanks -- this analysis is so helpful!

from halutmatmul.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.