Algorithm Search⌘K

Information retrieval and AI reasoning

Algorithms that index, rank and recommend documents, and algorithms that represent knowledge and draw conclusions from it.

Problems

  • Belief revision

    Change a consistent belief set to accept a new piece of information while keeping consistency and losing as little as possible.

    intro
  • Phrase query

    Find the documents in which the query terms occur next to each other in the given order.

    O(M + r P) positional_indexintro
  • Posting list intersection

    Given the sorted posting lists of the terms of an AND query, output the documents that appear in all of them.

    O(m log(n/m + 1)) gallopingintro
  • Ranked retrieval

    Given a query and a scoring function, return the k documents of highest score, ideally without scoring every document.

    O(T (m + log k)) exhaustiveintro
  • Recommendation problem

    Given past interactions of users with items, predict the items each user is most likely to rate highly or engage with.

    intro
  • Web crawling

    Fetch a large, changing set of web pages by following links from seed URLs, under politeness, freshness and coverage goals.

    intro
  • Abduction

    Given a theory and an observation, find a minimal consistent set of hypotheses that together with the theory entails the observation.

    core
  • Concept satisfiability

    Decide whether a concept can have an instance in some model of the TBox.

    core
  • Concept subsumption

    Decide whether every instance of concept C is an instance of concept D in every model of the TBox.

    core
  • Consistency-based diagnosis

    Given a system description and observations, find minimal sets of components whose abnormality makes the observations consistent.

    core
  • Credulous and skeptical acceptance

    Given a framework, an argument and a semantics, decide whether the argument is in some extension (credulous) or in every extension (sceptical).

    core
  • Dynamic index maintenance

    Keep an inverted index current while documents are added and deleted, with fast queries and low merge cost.

    core
  • Instance checking

    Decide whether an individual is an instance of a concept in every model of the knowledge base.

    core
  • Near-duplicate document detection

    Find pairs of documents whose content is almost the same, such as mirrored or templated pages, among billions of documents.

    core
  • Ontology classification

    Compute the subsumption hierarchy among all concept names of an ontology.

    core
  • Query auto-completion

    Given a typed prefix, suggest the k most likely complete queries in a few milliseconds.

    core
  • Rank aggregation

    Combine several rankings of the same items into one consensus ranking that agrees with them as much as possible.

    O(n^3 + n^2 k) worstcore
  • Wildcard query

    Find the documents that contain any term matching a pattern with wildcards, such as mon*h.

    O(L + n q + P log r) dictionary_scancore
  • Yale shooting problem

    After loading a gun, waiting and shooting, naive minimization of change gives an unintended model where the gun unloads and the victim lives.

    core
  • Belief update

    Change beliefs to record that the world itself has changed, by revising each model of the old beliefs separately.

    advanced
  • Crawl revisit policy

    Choose how often to refetch each page, given its change rate, so that the average freshness of the local copy is highest.

    advanced
  • Document identifier reassignment

    Renumber the documents of a collection so that the gaps in the posting lists are small and the index compresses best.

    advanced
  • Federated search

    Send a query to several independent search engines, choose which to ask, and merge their result lists into one.

    advanced
  • Low-rank matrix completion

    Recover a low-rank matrix from a small random subset of its entries, the model problem behind rating prediction.

    advanced
  • Search result diversification

    Rank results so that the top covers the different intents of an ambiguous query while each result stays relevant.

    advanced
  • Session-based recommendation

    Predict the next item a user will interact with from the ordered items of the current session, often with no user history.

    advanced
  • Temporal constraint satisfaction problem

    Time points with binary constraints that each allow a union of intervals for the difference of two points. Consistency is NP-complete; one interval per constraint gives the polynomial STP.

    advanced
  • Belief merging

    Combine several belief bases, possibly in conflict, into one consistent base that respects integrity constraints and fairness postulates.

    research
  • Disjunctive temporal problem

    Time points with constraints that are disjunctions of difference inequalities, possibly on different pairs of points. Consistency is NP-complete and is solved by search over STPs.

    research
  • Ontology-mediated query answering

    Answer a conjunctive query over data under an ontology, returning the tuples that are answers in every model.

    research
  • Simple temporal network with uncertainty

    An STP in which some durations are chosen by nature within known bounds. The questions are strong, weak and dynamic controllability; strong and dynamic are polynomial.

    research

Algorithms

  • Backward chaining

    Start from the goal, pick a rule that concludes it, and prove the conditions of that rule as subgoals in the same way, depth first, until every subgoal is a known fact.

    O(s^(n+1)) worst1 languagesintro
  • Forward chaining

    Start from the known facts, find each rule whose conditions all match facts, add its conclusion, and repeat until no rule adds a new fact or the goal appears.

    O(r m a n^m) worst1 languagesintro
  • Merge-based list intersection

    Walks two sorted posting lists with one pointer each and advances the smaller, in time linear in the sum of the lengths.

    O(m + n) worst1 languagesintro
  • Alternating least squares for matrix factorization

    Fixes the item factors and solves a ridge regression for each user, then the reverse, so the regularized error never increases from one half step to the next.

    O(T (s r^2 + (m + n) r^3)) worst1 languagescore
  • Blocked sort-based indexing

    Builds an inverted index on disk by sorting blocks of termid-docid pairs in memory and merging the sorted runs.

    O(T log T) worst · average · best1 languagescore
  • CombSUM and CombMNZ

    Fuses result lists by summing normalized scores (CombSUM), and in CombMNZ multiplies the sum by the number of lists that retrieved the document.

    O(N + n log n) worst1 languagescore
  • Document-at-a-time evaluation

    Reads all query posting lists in parallel in docid order and scores each document fully before moving on, keeping a heap of the best k.

    O(T (m + log k)) worst1 languagescore
  • Grounded extension computation

    Computes the grounded extension in linear time. Count the attackers of each argument that are not yet out, accept an argument when its count is 0, and reject every argument it attacks.

    Θ(n + m) worst · best1 languagescore
  • Item-based collaborative filtering

    Precomputes similarities between items from co-ratings and predicts a user's rating from the user's ratings of the most similar items.

    O(n s + n^2 log n) worst1 languagescore
  • Justification-based truth maintenance

    Records a justification for each derived belief and relabels beliefs in and out when assumptions change, keeping the belief set well founded.

    O(n s) worst1 languagescore
  • Logarithmic merging

    Keeps indexes of sizes n, 2n, 4n and so on, and merges two of equal size like a binary counter, so each posting is merged O(log(T/n)) times.

    Θ(T log(T/n)) build1 languagescore
  • Matrix factorization for recommendation

    Fits a user vector and an item vector whose dot product predicts each known rating, by regularized least squares and gradient descent.

    O(E s r) worst1 languagescore
  • Maximal marginal relevance

    Greedily adds the document that maximizes lambda times relevance minus (1 - lambda) times maximum similarity to those already chosen.

    O(n log n + n k) worst1 languagescore
  • Most popular completion

    Suggests the past queries that extend the prefix with the highest log frequency, found by a top-k search in a scored trie.

    O(m + k L log(k L)) expected1 languagescore
  • Noisy channel spelling correction

    Chooses the correction w that maximizes P(w) P(typed word | w), from a language model and an error model of single edits.

    O(n^2 s) expected1 languagescore
  • Porter stemmer

    Removes English suffixes in five rule phases, each rule guarded by a condition on the measure of the remaining stem.

    O(n) worst · best1 languagescore
  • Positional intersection

    Intersects two positional posting lists and, inside each common document, merges the position lists to find occurrences within distance k.

    O(m + n + P + z) worst1 languagescore
  • Ranking SVM

    Learns a linear scoring function by solving an SVM on pairwise preferences between documents of the same query.

    O(T P d) total1 languagescore
  • Reciprocal rank fusion

    Scores each document by the sum over input rankings of 1/(k + rank), a simple fusion that needs no score calibration.

    O(N + n log n) worst1 languagescore
  • Rete algorithm

    Compile the rule conditions into a network that stores the partial matches, so each change of working memory updates the conflict set without matching all rules again.

    O(r m a n^m) worst1 languagescore
  • Rocchio algorithm

    Moves the query vector toward the centroid of the relevant documents and away from the centroid of the nonrelevant ones.

    O(z) worst1 languagescore
  • Single-pass in-memory indexing

    Builds a separate dictionary and posting lists for each block in one pass with no global term ids, then merges the blocks.

    O(T log T) worst1 languagescore
  • Slope One

    Predicts a rating from the average rating difference between each pair of items, a simple scheme that updates online.

    O(d) worst1 languagescore
  • Structural subsumption algorithm

    Normalizes two concepts of a small description logic and compares them part by part. It is sound and complete for FL-, but it fails once role restrictions or full negation are added.

    O(n log n) worst1 languagescore
  • Tableau algorithm for ALC

    Tries to build a model of a concept in negation normal form by expansion rules for and, or, some and all, and reports a clash if none exists.

    2^O(n^2) worst1 languagescore
  • Term-at-a-time evaluation

    Reads the posting lists one term after another and adds each term's contribution into a score accumulator per document.

    O(T (1 + log k)) expected1 languagescore
  • User-based collaborative filtering

    Predicts a rating as the user's mean plus a similarity-weighted average of how far other users rated the item above or below their own means.

    O(m n) worst1 languagescore
  • Algebraic closure

    Refines each label of a qualitative network by the composition through every third node until nothing changes, with a queue of changed pairs, in O(n^3) steps.

    O(B n^3) worst1 languagesadvanced
  • Allen's constraint propagation

    Allen's incremental method for interval networks. Each new constraint is intersected into its label and pushed through the 13 by 13 table until no label changes.

    O(n^3) worst1 languagesadvanced
  • Alternating fixpoint computation

    Computes the well-founded model of a ground normal program by applying the reduct least model operator alternately, giving underestimates of the true atoms and overestimates of the non-false ones.

    O(n · s) worst1 languagesadvanced
  • Answer set grounding

    Replaces variables of a safe ASP program by constants, producing only ground rules whose bodies can be true, by semi-naive evaluation.

    O(r · m^2 · c^k · d^2) worst1 languagesadvanced
  • Assumption-based truth maintenance

    Labels each node with the minimal consistent sets of assumptions from which it follows, so a reasoner can work in all contexts at once; the labels can be exponential.

    2^O(a k) s worst1 languagesadvanced
  • Baeza-Yates intersection

    Searches the median of the shorter list in the longer one and recurses on both halves, adapting to the ratio of the list lengths.

    O(m log(n/m + 1)) worst1 languagesadvanced
  • Balanced interleaving

    Merges two rankings so that every prefix of the shown list holds top prefixes of both of nearly equal length, and compares the clicks inside those prefixes.

    O(n) worst1 languagesadvanced
  • Bayesian personalized ranking

    Learns from implicit feedback by maximizing the log-sigmoid of the score margin between an observed item and a sampled unobserved one.

    O(T r + (m + n) r) expected1 languagesadvanced
  • CORI resource selection

    Ranks the collections of a federated search system for a query by a tf-idf style belief computed from each collection's document frequencies and size.

    O(K m + K log K) expected1 languagesadvanced
  • Dalal's revision operator

    Revises by the models of the new formula that are at minimum Hamming distance from some model of the old beliefs.

    Θ(n·2^n) worst1 languagesadvanced
  • EL classification by completion rules

    Puts an EL TBox in a normal form, then fills the set of subsumers of every concept name with five completion rules. It classifies the whole TBox in polynomial time.

    O(n^3) worst1 languagesadvanced
  • Focused crawling

    Orders the crawl frontier by a classifier score of page relevance to a topic, so the crawler fetches on-topic pages first.

    O((S + m) log(S + m)) expected1 languagesadvanced
  • Geometric partitioning

    Keeps index partitions whose sizes grow geometrically by a ratio r, or at most p of them, trading merge cost against the number of partitions a query reads.

    O(r T log(T/b) / log r) build1 languagesadvanced
  • LambdaMART

    Fits gradient-boosted regression trees to LambdaRank gradients, a strong standard ranker on feature-based benchmarks.

    O(M (N log N + P + D d N log N)) total1 languagesadvanced
  • LambdaRank

    Scales each pairwise RankNet gradient by the change in nDCG that swapping the pair would cause, to optimize the metric directly.

    O(T (N log N + P + N d)) total1 languagesadvanced
  • ListNet

    Trains a scorer by minimizing the cross-entropy between top-one probability distributions induced by predicted and true scores.

    O(T N d) total1 languagesadvanced
  • Markov chain rank aggregation

    Builds a Markov chain that moves from an item to one that a majority of rankings prefer, and ranks items by its stationary distribution.

    O(n^2 k + n^2 t) worst1 languagesadvanced
  • MaxScore

    Splits query terms into essential and nonessential by their score upper bounds, and skips documents that only nonessential terms could lift into the top k.

    O(T (m log T + log k)) worst1 languagesadvanced
  • Point algebra consistency algorithm

    Decides consistency of a point algebra network, including not-equal labels, with strongly connected components of the order graph, and returns a solution, in O(n^2) time.

    O(n + e) worst1 languagesadvanced
  • Possible models approach

    Updates each model of the old beliefs to the models of the new formula that differ from it in a minimal set of atoms.

    Θ(k·n·2^n) worst1 languagesadvanced
  • QSIM

    Kuipers's 1986 qualitative simulation. From a qualitative differential equation it builds a tree of possible behaviors by Table 1 transitions and constraint filtering. Sound, not complete.

    O(b (c^3 + c n 4^n)) worst1 languagesadvanced
  • RankBoost

    Boosts weak rankers by reweighting the misordered document pairs at each round, minimizing an exponential pairwise loss.

    O(T (P + d N log N)) total1 languagesadvanced
  • RankNet

    Trains a neural scoring function with a cross-entropy loss on the logistic probability that one document ranks above another.

    O(T (P + N d)) total1 languagesadvanced
  • Regression in the situation calculus

    Rewrites a query about the situation after a sequence of actions into an equivalent query about the initial situation, using successor state axioms.

    O(2^k (q + n m)) entail_brute_force1 languagesadvanced
  • Reiter's hitting set tree

    Finds all minimal diagnoses as the minimal hitting sets of the conflict sets, with a breadth-first search tree whose edges are elements of conflicts.

    O(k · (k + m) · u) worst1 languagesadvanced
  • SALSA

    Scores hubs and authorities of a query subgraph by two random walks on its bipartite hub-authority graph; the scores reduce to degrees weighted by component size.

    O(n + m) worst1 languagesadvanced
  • SLG resolution

    Goal-directed evaluation that keeps a table of answers for each call and delays negative literals it cannot decide yet. It terminates on finite ground programs and computes the well-founded semantics.

    O(s³) worst1 languagesadvanced
  • SVD++

    Adds to the biased latent factor model an implicit-feedback term, a scaled sum of factors of the items the user rated or viewed, so that the fact of rating counts as a signal.

    O(E s d r) worst1 languagesadvanced
  • Simple-9 coding

    Packs as many small integers as fit into each 32-bit word, using 4 selector bits to choose one of nine equal-width layouts.

    O(n + W) decode1 languagesadvanced
  • Small-versus-small intersection

    Intersects many lists by taking the two shortest first and searching each candidate of the short list in the next one by galloping.

    O(m log(n/m + 1)) worst1 languagesadvanced
  • Smodels algorithm

    Searches for stable models by branching on atoms and propagating with well-founded and lookahead reasoning, in the style of DPLL.

    O(2^n · n^3 · s) worst1 languagesadvanced
  • System Z

    Ranks defaults by tolerance into layers and ranks worlds by the highest layer they violate, computing rational closure.

    O(r^2 · P) worst1 languagesadvanced
  • TREAT algorithm

    A production system matcher that keeps only the matches of single conditions and the conflict set, joins each new element with the other conditions, and deletes by a scan of the conflict set.

    O(r m a n^(m-1)) worst1 languagesadvanced
  • Team-draft interleaving

    Lets two rankers pick documents in turns like team captains, with a coin flip for the first pick of each round, and credits each click to the team that picked the document.

    O(n) worst1 languagesadvanced
  • TrustRank

    Propagates trust from a hand-checked seed set of good pages by a biased PageRank, so spam pages get low trust scores.

    O(M (n + m) + n log n) worst1 languagesadvanced
  • WAND

    Sorts posting cursors by docid and finds a pivot where the summed term upper bounds first exceed the heap threshold, skipping all earlier documents.

    O(T m log m) worst1 languagesadvanced
  • Weighted matrix factorization for implicit feedback

    Factorizes binary preferences with confidence weights from counts, using a sum over all cells that ALS evaluates in time linear in the data.

    O(T (s r^2 + (m + n) r^3)) worst1 languagesadvanced
  • Block-max WAND

    Refines WAND with score upper bounds stored per block of postings, so whole blocks are skipped when their local bounds cannot reach the threshold.

    O(T m log m) worst1 languagesresearch
  • ColBERT late interaction

    Keeps one embedding per token and scores a document by summing, over query tokens, the maximum similarity to any document token.

    O(n t e) stage_one1 languagesresearch
  • Conflict-driven answer set solving

    Encodes completion and loop constraints as nogoods and runs CDCL-style search with unfounded set checks to find stable models.

    2^O((n + s) log(n + s)) worst1 languagesresearch
  • Demaine-Lopez-Ortiz-Munro adaptive intersection

    Intersects k sorted sets by cycling through them with galloping search, in time bounded by the size of a proof of the result.

    Ω(m log(n/m + 1)) lower1 languagesresearch
  • Dense passage retrieval

    Trains a question encoder and a passage encoder with in-batch negatives so that relevant passages are nearest neighbors by inner product.

    O(B m k) per_batch1 languagesresearch
  • GRU4Rec

    Feeds the items of a session to a gated recurrent network and trains it with ranking losses to score the next item.

    O(E N (H^2 + B H)) worst1 languagesresearch
  • Hypertableau calculus

    Turns a TBox into DL-clauses and builds a model with hyperresolution-like steps that branch only on real disjunctions, with anywhere blocking to stop.

    2^2^2^O(n) worst1 languagesresearch
  • IA-Select

    Greedily picks documents that maximize the probability that each query intent is satisfied by at least one result; a (1 - 1/e) approximation.

    O(n log n + n k m) worst1 languagesresearch
  • Minimal test collection

    Judges pooled documents one at a time, each chosen for how much it can tighten bounds on the difference in average precision, and stops once the sign of that difference is fixed.

    O(m^3) worst1 languagesresearch
  • Morris's dynamic controllability algorithm

    Morris's 2006 check of dynamic controllability for an STNU. It runs K rounds of shortest-path propagation from the lower-case edges and tests the AllMax projection, in O(N^4) time.

    O(N^4) worst1 languagesresearch
  • Neural collaborative filtering

    Replaces the dot product of matrix factorization by a neural network over user and item embeddings, trained on implicit feedback.

    O(E s (q + 1) (k + P)) worst1 languagesresearch
  • PerfectRef query rewriting

    Rewrites a conjunctive query under a DL-Lite TBox into a union of conjunctive queries that gives the certain answers when it is run on the data alone.

    (t n)^O(n) worst1 languagesresearch
  • Probabilistic interleaving

    Draws each shown document from a softmax over a ranking picked by a fair coin, then credits clicks by the exact posterior of which ranking drew each document.

    O(n^2) worst1 languagesresearch
  • Recursive graph bisection for index reordering

    Orders documents by recursive balanced bisection of the term-document graph, moving documents to minimize a log-gap cost.

    O(I (m + n log n) log n) total1 languagesresearch
  • SASRec

    Applies causal self-attention over a user's item sequence to predict the next item, attending to the relevant past items.

    O(E U (n^2 d + n d^2 + m d)) worst1 languagesresearch
  • Sparse linear method for recommendation

    Learns a sparse item-item weight matrix with zero diagonal by elastic-net regression of the interaction matrix on itself.

    O(T n s) worst1 languagesresearch
  • xQuAD

    Greedily picks documents that are relevant to the query and to query aspects not yet covered by the documents already picked.

    O(n log n + n k m) worst1 languagesresearch

Data structures

  • Posting list

    The sorted list of document ids, with optional frequencies and positions, for one term of an inverted index.

    O(1) access1 languagesintro
  • Permuterm index

    Indexes every rotation of each term with an end marker, so a wildcard query becomes a prefix lookup in a search tree.

    O(l (l log K + K)) delete · insert1 languagescore
  • Positional index

    An inverted index whose postings store, for each document, the positions where the term occurs, so phrase and proximity queries can be answered.

    O(L) expected add_document1 languagescore
  • Tiered index

    Splits each posting list into tiers by score, and reads lower tiers only when the higher tiers give fewer than k results.

    O(n log r) build1 languagescore
  • URL frontier

    The queues of URLs still to be fetched, with front queues for priority and back queues per host so each host is visited politely.

    O(F) amortized add1 languagescore
  • k-gram index

    Maps each character k-gram to the dictionary terms that contain it, for wildcard queries and spelling correction.

    O(k l + l P) delete · insert1 languagescore
  • Deterministic decomposable negation normal form

    A circuit of and, or and literals whose ands have disjoint variables and whose ors have disjoint models. It gives linear-time consistency, clause entailment and model counting.

    O(s) clause_entailment · condition · consistency · count_smooth1 languagesadvanced
  • Impact-ordered index

    Sorts each posting list by precomputed impact scores, so query evaluation reads the highest impacts first and can stop early.

    O(n log n) build1 languagesadvanced
  • Signature file

    Stores for each document a bit signature made by OR-ing hashed term codes, so a scan rejects most documents without false negatives.

    O(m D + F/w) insert1 languagesadvanced
  • Partitioned Elias-Fano index

    Splits each posting list into chunks chosen by dynamic programming and codes each chunk with Elias-Fano or a bitmap, to fit local density.

    O(log m) access1 languagesresearch
  • Sentential decision diagram

    A canonical circuit for a fixed variable tree that splits a function into prime and sub pairs. It generalizes OBDDs, and its apply is polynomial when the result is not compressed.

    O(s t) apply_uncompressed1 languagesresearch

Techniques

  • Collaborative filtering

    Recommends items from the behavior of many users, assuming users who agreed in the past will agree again, with no item content.

    intro
  • Content-based filtering

    Recommends items whose features are similar to those of items the user liked before, from a profile of item features.

    intro
  • Relevance feedback

    Uses the documents a user marks relevant or not relevant to build a better query for a second round of retrieval.

    intro
  • Stemming

    Maps the inflected and derived forms of a word to one stem before indexing and querying, so that a query word also matches its variants.

    intro
  • Stop word removal

    Drops the most frequent function words from the index or the query, to save space and time at a small cost in recall.

    intro
  • tf-idf weighting

    Weights a term in a document by its frequency there times the log of the inverse fraction of documents that contain it.

    intro
  • Anchor text indexing

    Indexes the text of links that point to a page as part of that page, since it often describes the page better than the page itself.

    core
  • Answer set programming

    Solves a search problem by writing a logic program whose stable models are exactly its solutions and calling a solver to find them.

    core
  • Dirichlet prior smoothing

    Smooths a document language model by adding mu pseudo-counts in proportion to the collection model, so short documents are smoothed more.

    core
  • Front coding

    Stores each term of a sorted dictionary as the length of the prefix it shares with the previous term plus its remaining suffix.

    1 languagescore
  • Hybrid recommender

    Combines collaborative and content-based signals, by weighting, switching, cascading or feature combination, to offset each one's weaknesses.

    core
  • Interleaved evaluation

    Merges the result lists of two rankers into one shown list and credits the ranker whose documents get more clicks.

    core
  • Jelinek-Mercer smoothing

    Smooths a document language model by mixing it with the collection model at a fixed weight lambda.

    core
  • Pivoted document length normalization

    Tilts the length normalization of term weights around a pivot so that long documents are not penalized more than their relevance rate suggests.

    core
  • Pooling

    Judges only the union of the top k documents of each participating system and treats unjudged documents as not relevant.

    core
  • Postings gap encoding

    Stores the differences between consecutive document ids of a posting list, which are small and compress well with integer codes.

    core
  • Pseudo-relevance feedback

    Assumes the top documents of a first retrieval are relevant and expands the query with their terms, with no user input.

    core
  • Query-biased snippet generation

    Picks the sentences of a result page that best match the query to show under the link, so the user can judge relevance quickly.

    core
  • Skip pointers

    Adds about sqrt(n) forward pointers to a posting list so an intersection can jump over runs that cannot match.

    core
  • Argument labelling

    Describes extensions as labellings that mark each argument in, out or undec under local rules. Each semantics becomes a selection among the complete labellings.

    advanced
  • Blocking

    Stops expanding a tableau node whose label is contained in that of an ancestor, so tableaux with general TBoxes terminate.

    advanced
  • Knowledge compilation

    Translates a knowledge base once, offline, into a target language in which the queries asked online, such as entailment or model counting, take polynomial time in the size of the result.

    advanced
  • Static index pruning

    Removes low-impact postings from an inverted index at build time, so the index is smaller and faster with a small, measured loss in ranking quality.

    advanced
  • Retrieval-augmented generation

    Retrieves passages for an input and conditions a text generator on them, so the output can use knowledge outside the model weights.

    research
  • SAT encoding of argumentation semantics

    Encodes conflict-freeness, admissibility and stability as propositional formulas so SAT solvers enumerate extensions.

    1 languagesresearch
  • Unbiased learning to rank

    Learns a ranker from biased click logs by weighting each click by the inverse of its estimated examination propensity.

    research

Concepts

  • Cranfield paradigm

    Evaluates retrieval systems offline on a fixed set of documents, queries and relevance judgments, so systems can be compared and repeated.

    intro
  • Description logic

    A family of decidable fragments of first-order logic that describe concepts, roles and individuals, used for ontologies.

    intro
  • Nonmonotonic reasoning

    Reasoning in which adding premises can withdraw conclusions, as when a default is blocked by new information.

    intro
  • Ontology (knowledge representation)

    A formal and explicit specification of the concepts of a domain, their relations and the axioms that constrain them, shared by the people and programs that use it.

    intro
  • Bow-tie structure of the web

    The web graph has a giant strongly connected core, pages that reach it, pages it reaches, and tendrils and tubes outside them.

    core
  • Click model

    A probabilistic model of how users examine and click a ranked list, used to infer relevance from clicks and to simulate users.

    core
  • Cold-start problem

    Collaborative methods give poor or no personal recommendations for new users and new items, which have few or no interactions to learn from.

    core
  • Conflict resolution strategy

    The rule that picks one instantiation to fire from the conflict set, by refractoriness, recency, specificity or priority.

    core
  • Implicit feedback

    Signals such as clicks, plays and purchases that indicate preference indirectly, with no negative examples and varying confidence.

    core
  • Index partitioning

    Distributes an index over machines either by documents, each node holding a full local index, or by terms, each node holding whole posting lists.

    core
  • Link spam

    Groups of pages that create links among themselves to raise their link-based scores, such as PageRank, above their merit.

    core
  • Negation as failure

    The negation not p in a rule body holds when p cannot be derived. Each semantics of logic programs reads "cannot be derived" in its own way, and all of them are nonmonotonic.

    core
  • Open-world assumption

    A statement not entailed by the knowledge base is unknown rather than false, as in first-order and description logics.

    core
  • Position bias

    Users click results near the top more often regardless of relevance, so raw click rates are biased toward higher positions.

    core
  • Unique name assumption

    Different individual names denote different objects, an assumption made by databases and some logics but not by OWL.

    core
  • Knowledge compilation map

    Compares target languages such as OBDD, DNNF and d-DNNF by succinctness and by the queries and transformations that each supports in polynomial time.

    research

Definitions

  • Mean reciprocal rank

    The mean over queries of 1/r, where r is the rank of the first relevant result.

    intro
  • Precision at k

    The fraction of the top k retrieved documents that are relevant.

    intro
  • Term-document incidence matrix

    A 0-1 matrix with a row for each term and a column for each document, set where the term occurs in the document.

    intro
  • Test collection

    A document set, a set of topics and judgments of which documents are relevant to each topic, used to score systems.

    intro
  • User-item rating matrix

    A sparse matrix with a row per user and a column per item, holding known ratings or interactions and blanks elsewhere.

    intro
  • AGM postulates

    Rationality postulates for expansion, contraction and revision of a logically closed belief set, such as success and minimal change.

    core
  • ALC

    The basic description logic with concept negation, conjunction, disjunction and existential and universal role restrictions.

    core
  • Admissible set of arguments

    A set of arguments with no attack inside it that defends each of its members, which means that it attacks every attacker of each member.

    core
  • Choice rule

    An ASP rule whose head lets a solver include any subset of a set of atoms, within lower and upper bounds, when the body holds.

    core
  • Clark's completion

    The completion of a logic program reads the rules for each predicate as an "if and only if" definition, so an atom holds exactly when the body of one of its rules holds.

    core
  • Complete extension

    An admissible set that also contains every argument it defends, which is the same as a conflict-free fixed point of the characteristic function.

    core
  • Default extension

    An extension of a default theory is a set of beliefs that is a fixed point of Reiter's operator, so it contains the facts and every default conclusion it does not block.

    1 languagescore
  • Gelfond-Lifschitz reduct

    The reduct of a normal program by a set of atoms M deletes the rules blocked by M and the negative literals in the rest. The result has no negation, so it has a least model.

    core
  • Grounded extension

    The least fixed point of the characteristic function of a framework. It is the least complete extension, the set of the arguments that every complete extension accepts.

    core
  • Interpolated precision-recall curve

    Plots, at each recall level r, the highest precision reached at any recall at least r, and averages it over standard recall points.

    core
  • Levi identity

    Defines revision by p as contraction by not p followed by expansion by p.

    core
  • Mean average precision

    The mean over queries of average precision, the mean of the precision values at the ranks of the relevant documents.

    core
  • Normalized discounted cumulative gain

    Sums graded relevance gains discounted by the log of the rank, and divides by the same sum for the ideal ordering.

    core
  • Preferred extension

    An admissible set of arguments that is maximal under set inclusion. Every framework has one, and each preferred extension is complete.

    core
  • R-precision

    Precision at rank R, where R is the number of relevant documents for the query; it equals recall at that rank.

    core
  • Stable extension of an argumentation framework

    A conflict-free set of arguments that attacks every argument outside it. It may not exist, and when it does it is a preferred extension.

    core
  • Stable model semantics

    A set of atoms is a stable model of a normal program when it equals the least model of the program's reduct by that set. A program can have no, one or many stable models.

    core
  • Stratified logic program

    A logic program is stratified when no predicate depends on its own negation. Such a program has one standard model, computed layer by layer, and every major semantics agrees on it.

    core
  • TBox and ABox

    A knowledge base splits into a TBox of concept inclusion axioms and an ABox of assertions about named individuals.

    core
  • Bpref

    Counts, for each relevant document, how many judged nonrelevant documents rank above it, so it is robust to incomplete judgments.

    advanced
  • Composition table

    The m by m table that gives, for base relations a and b of a qualitative calculus, every base relation that can hold between x and z when x a y and y b z.

    advanced
  • DL-Lite

    Description logics designed so that conjunctive queries over ontologies rewrite into first-order queries over the data.

    advanced
  • Disjunctive logic program

    A program whose rule heads are disjunctions of atoms, with answer sets defined as minimal models of the reduct.

    advanced
  • EL description logic

    The description logic with only conjunction, existential restriction and top, in which subsumption with general TBoxes is polynomial.

    advanced
  • Epistemic entrenchment

    An ordering of beliefs by how firmly they are held, from which an AGM contraction gives up the least entrenched beliefs first.

    advanced
  • Expected reciprocal rank

    The expected value of 1/r for the rank r where a cascade user stops, each document satisfying with a probability set by its grade.

    advanced
  • ORD-Horn subclass

    The 868 interval relations, counting the empty one, that are defined by Horn clauses over endpoint comparisons; path consistency decides their networks.

    advanced
  • Partial meet contraction

    Contracts a belief set by p as the intersection of a selected subset of its maximal subsets that do not entail p.

    advanced
  • Qualitative constraint calculus

    A finite set of jointly exhaustive, pairwise disjoint base relations on an infinite domain, closed under converse, with unions as relations and a weak composition.

    advanced
  • Qualitative constraint network

    Variables over an infinite domain with a relation of a qualitative calculus on each pair; it is consistent when some assignment satisfies every relation.

    advanced
  • Rank-biased precision

    The expected rate of relevant documents seen by a user who goes on from each rank with persistence probability p.

    advanced
  • Rational closure

    The canonical rational consequence relation for a set of conditionals, adding rational monotony to System P.

    advanced
  • SROIQ

    An expressive description logic with role chains, nominals, inverses and qualified number restrictions, the logic behind OWL 2 DL.

    advanced
  • Semi-stable extension

    A complete extension whose range, the set plus the arguments it attacks, is maximal. It equals stable when a stable extension exists, and still exists when none does.

    advanced
  • Successor state axioms

    One axiom per fluent saying that it holds after an action exactly when the action made it true, or it held before and the action did not make it false.

    advanced
  • Well-founded semantics

    The well-founded semantics gives every normal program one three-valued model. Atoms are true when forced by the rules, false when only unfounded support exists, and undefined otherwise.

    advanced
  • Alpha-nDCG

    An nDCG variant over the subtopics of a query that discounts the gain of a subtopic each time it has already been covered.

    research
  • Darwiche-Pearl postulates

    Postulates on how revision changes the plausibility ordering of an epistemic state, so that sequences of revisions behave well.

    research
  • Dynamic controllability

    An STNU is dynamically controllable if a strategy that decides each point from the durations seen so far meets every constraint in every situation. It lies between strong and weak controllability.

    research
  • Inferred average precision

    Estimates average precision from a uniform random sample of the judgment pool. It equals AP under complete judgments and is close to it in expectation, but not exactly unbiased.

    research

Theorems

  • Probability ranking principle

    Ranking by decreasing probability of relevance maximizes the expected sum of decreasing rank weights of relevant documents, when the relevance of a document does not depend on the others.

    core
  • AGM representation theorem

    A contraction satisfies the basic AGM postulates if and only if it is a partial meet contraction for some selection function.

    advanced
  • Complexity of preferred semantics

    For finite frameworks, credulous acceptance under preferred semantics is NP-complete, verification is coNP-complete, and sceptical acceptance is Pi2P-complete.

    advanced
  • EXPTIME-completeness of ALC with general TBoxes

    Concept satisfiability in ALC with respect to general concept inclusions is EXPTIME-complete.

    advanced
  • Fages' theorem

    If no atom of a normal program depends positively on itself, the stable models of the program are exactly the models of its Clark completion, so a SAT solver can find them.

    advanced
  • Gardenfors impossibility theorem

    No nontrivial belief revision system satisfies both the AGM preservation postulate and the Ramsey test for conditionals.

    advanced
  • Katsuno-Mendelzon revision theorem

    Propositional revision operators satisfying the AGM postulates are exactly those that select minimal models under a faithful total preorder.

    advanced
  • Lin-Zhao loop formula theorem

    The stable models of a finite normal program are exactly the models of its completion that satisfy one loop formula for each loop of the positive dependency graph.

    advanced
  • NP-completeness of stable model existence

    Deciding whether a finite propositional normal logic program has a stable model is NP-complete.

    advanced
  • NP-completeness of the interval algebra

    Deciding whether a network of Allen interval relations has a solution is NP-complete, by a reduction from 3-SAT; algebraic closure is therefore not a complete test.

    advanced
  • Nebel-Bürckert theorem

    For interval networks whose labels are ORD-Horn, algebraic closure decides consistency in O(n^3) time, and adding any other relation makes the problem NP-complete.

    advanced
  • PSPACE-completeness of ALC concept satisfiability

    Satisfiability of ALC concepts with no TBox is PSPACE-complete, by a depth-first tableau and a reduction from QBF.

    advanced
  • Schild's correspondence theorem

    ALC is a notational variant of the multimodal logic K, with roles as accessibility relations, so results transfer between them.

    advanced
  • Splitting set theorem

    If a set U of atoms contains every body atom of each rule whose head is in U, the stable models of a program are the stable models of its U part, each extended by the stable models of the rest.

    advanced
  • Tractable subclasses of the interval algebra

    Allen's interval algebra has exactly 18 maximal tractable subclasses, and every subclass not contained in one of the 18 is NP-complete (Krokhin, Jeavons and Jonsson 2003).

    advanced
  • Exact matrix completion by nuclear norm minimization

    Nuclear norm minimization recovers an incoherent rank r matrix exactly, with high probability, from about r (n1 + n2) log^2 n2 uniformly random entries (Recht 2011).

    research
  • Renz-Nebel tractability theorem for RCC8

    RCC8 consistency is NP-complete. Path consistency decides it for the 148 relations of H8, a maximal tractable class; with C8 and Q8 these are the only such classes with all base relations.

    research
  • Sigma2P-completeness of default logic

    Deciding whether a propositional default theory has an extension, or credulous entailment, is Sigma2P-complete.

    research
  • Sigma2P-completeness of disjunctive answer sets

    Deciding whether a propositional disjunctive logic program has an answer set is Sigma2P-complete.

    research
  • Strong equivalence of logic programs

    Two programs have the same stable models in every context exactly when they have the same SE-models, which is the same as equivalence in the logic of here-and-there.

    research

Models

  • Boolean retrieval model

    A query is a Boolean expression of terms, and a document is returned when it satisfies the expression, with no ranking.

    intro
  • Frame (knowledge representation)

    A record for a stereotyped object or situation with named slots, default fillers and attached procedures, placed in an is-a hierarchy from which slots are inherited.

    intro
  • Heaps' law

    The number of distinct terms in a collection of T tokens grows as k T^b with b near one half.

    intro
  • Production system

    A working memory of facts and a set of if-then rules, run by a cycle that matches rules, selects one and fires its actions.

    intro
  • Semantic network

    Represents knowledge as a graph whose nodes are concepts and individuals and whose labeled edges, such as is-a and has-part, are relations; properties are inherited along is-a.

    intro
  • Vector space model

    Represents documents and queries as weighted term vectors and ranks documents by the cosine of the angle to the query.

    intro
  • Zipf's law

    The frequency of the i-th most common term in a collection is roughly proportional to 1/i.

    intro
  • Abstract argumentation framework

    A set of arguments with an attack relation, as in Dung (1995). A semantics picks the sets of arguments that can be accepted together, using only the attack graph.

    core
  • Binary independence model

    A probabilistic model with binary term occurrence and term independence given relevance, giving the Robertson-Sparck Jones term weight.

    core
  • Cascade click model

    The user scans results from the top and clicks the first attractive one, then stops; each result is examined only if all above were skipped.

    1 languagescore
  • Circumscription

    Entails what holds in all models that minimize the extension of chosen predicates, such as abnormality, with others fixed or varying.

    core
  • Default logic

    Extends first-order logic with default rules of the form a:b/c, read as from a, if b is consistent, conclude c.

    core
  • Nine-intersection model

    Classifies the topological relation of two spatial objects by which of the nine intersections of their interiors, boundaries and exteriors are empty. For simple regions, 8 of 512 matrices occur.

    core
  • Okapi BM25

    Scores a document by summing idf times a saturating, length-normalized term frequency, with parameters k1 and b.

    1 languagescore
  • Position-based click model

    A click happens when the user examines a rank, with a probability that depends only on the rank, and the document attracts.

    1 languagescore
  • Query likelihood model

    Ranks each document by the probability that a unigram language model estimated from it generates the query.

    core
  • RCC5

    The calculus of five base relations between regions that ignores boundary contact, DR, PO, EQ, PP and PPi. It has 32 relations and NP-complete consistency.

    core
  • RCC8

    The calculus of eight base relations between regions, from disconnected to non-tangential proper part. It has 256 relations, weak composition and NP-complete consistency.

    core
  • Situation calculus

    A logical language for change in which situations are histories of actions and fluents are relations whose truth depends on the situation; reasoning about actions is entailment.

    core
  • Abductive logic programming

    Extends logic programs with abducible predicates and integrity constraints, so a query is answered by hypotheses that explain it.

    advanced
  • Assumption-based argumentation

    Builds arguments as deductions from assumptions in a rule system, with attacks on assumptions through their contraries.

    advanced
  • Autoepistemic logic

    A modal logic of an agent reasoning about its own beliefs, whose belief sets are stable expansions of the premises.

    advanced
  • BM25F

    Extends BM25 to documents with fields by combining weighted, field-normalized term frequencies before the saturation step.

    advanced
  • Cardinal direction calculus

    Qualitative relations such as north and southwest between points or regions, defined by projections on the axes or by the 3x3 grid around the bounding box of the reference object.

    advanced
  • Certainty factors

    Attaches a number in [-1, 1] to each rule and fact and combines them by fixed formulas, an early non-probabilistic model of uncertainty.

    advanced
  • Defeasible logic programming

    Logic programs with strict and defeasible rules, where a query is warranted by a dialectical tree of arguments and defeaters.

    advanced
  • Divergence from randomness

    Weights a term by how far its frequency in a document diverges from a random model, normalized for information gain and document length.

    advanced
  • Double-cross calculus

    Locates a point relative to an oriented segment by which side of it and of the two perpendiculars at its ends the point lies on. Its consistency problem is NP-hard even for base relations.

    advanced
  • Dual encoder retrieval model

    Encodes queries and items separately into one vector space, so item vectors are precomputed and retrieval is a nearest neighbor search.

    advanced
  • Dynamic Bayesian network click model

    Extends the cascade model so that a clicked document may or may not satisfy the user, who continues with a fixed perseverance.

    1 languagesadvanced
  • Event calculus

    A logic of events on a time line in which events initiate and terminate fluents, fluents persist between such events, and circumscription makes the lists of events and effects complete.

    advanced
  • Factorization machine

    A regression model whose pairwise feature interactions use dot products of learned factor vectors, computed in time linear in the features.

    advanced
  • Grove system of spheres

    Nested sets of possible worlds around the current beliefs; revision by p picks the p-worlds in the smallest sphere that meets p.

    advanced
  • Ordinal conditional functions

    Grades possible worlds by ordinal degrees of disbelief, which support iterated revision by conditionalization on ranks.

    advanced
  • Point algebra

    The qualitative calculus of time points with the base relations <, = and >; its 8 relations include not-equal, and every network over it is decided in polynomial time.

    advanced
  • Probabilistic matrix factorization

    Models ratings as Gaussian noise around the dot product of user and item factors with Gaussian priors, so MAP estimation is regularized MF.

    advanced
  • Qualitative process theory

    Models physical change by processes that influence quantities, with quantity spaces and signs of derivatives in place of numbers.

    advanced
  • Rectangle algebra

    The qualitative calculus of axis-parallel rectangles, with one Allen relation per axis. It has 169 base relations, 2^169 relations, and NP-complete consistency.

    advanced
  • Relevance model

    Estimates a term distribution of the relevant class from top-ranked documents and mixes it with the query model for re-retrieval.

    advanced
  • System P

    The rules of reflexivity, left logical equivalence, right weakening, or, cut and cautious monotony for nonmonotonic consequence.

    advanced
  • Two-Poisson model

    Models within-document term frequency as a mixture of two Poisson distributions, for documents elite and not elite for the term.

    advanced
  • Value-based argumentation framework

    Assigns each argument a value promoted, so an attack succeeds for an audience only if it does not prefer the attacked value.

    advanced
  • ASPIC+

    Structured argumentation with strict and defeasible rules, attacks by undermining, rebutting and undercutting, and preferences among arguments.

    research
  • C/W/L framework

    Describes each metric by a user model of continuation probabilities at each rank, from which the weights and the expected utility follow.

    research
  • Cross-encoder reranking

    Feeds the concatenated query and document to one transformer that outputs a relevance score, used to rerank a short candidate list.

    research
  • SPLADE

    Learns sparse term weights over the whole vocabulary from a masked language model, so learned expansions run on an inverted index.

    research