RTUEE / EC / EEEYr 2019 · Sem 72019

Q4Artificial Intelligence Techniques

Question

16 marks

Q.2. (a) Discuss about the following terms in knowledge representation: (i) Validity (ii) Satisfiability (iii) Contradiction [2+3+3]

(b) With respect to support vector machine, define: (i) Positive margin (ii) Negative margin [4+4]

Answer

In knowledge representation, validity refers to a logical statement being true under every possible interpretation, satisfiability refers to a statement being true under at least one interpretation, and contradiction refers to a statement being false under every possible interpretation; in a support vector machine, the positive margin is the distance from the decision boundary to the nearest positive-class support vector, and the negative margin is the corresponding distance to the nearest negative-class support vector, with the SVM training objective being to maximize the combined (total) margin between these two classes.

(a) Validity, Satisfiability, and Contradiction in Knowledge Representation

Validity: a logical statement (well-formed formula) is said to be valid if it evaluates to true under every possible interpretation (every possible assignment of truth values to its constituent propositional or predicate variables) — a valid statement is a logical tautology, true purely by virtue of its logical structure, regardless of the specific truth values assigned to its component variables. For example, the propositional statement (P OR NOT P) is valid, since it is true regardless of whether P itself is assigned true or false. Validity is a central concept in automated theorem proving and logical inference, since demonstrating that a conclusion follows validly from a set of premises is precisely what constitutes a sound logical deduction.

Satisfiability: a logical statement is satisfiable if there exists at least one interpretation (at least one specific assignment of truth values to its variables) under which the statement evaluates to true — a statement need not be true under every interpretation to be satisfiable, only under at least one. For example, the statement (P AND Q) is satisfiable (true when both P and Q are assigned true), even though it is not valid (it is false under other interpretations, such as when P is false). Satisfiability checking is a fundamental computational problem in AI and computer science (the well-known Boolean satisfiability problem, SAT), with wide application in automated planning, constraint satisfaction, and formal verification.

Contradiction: a logical statement is a contradiction (or is unsatisfiable) if it evaluates to false under every possible interpretation, with no assignment of truth values to its variables making it true. For example, the statement (P AND NOT P) is a contradiction, since it is false regardless of whether P is assigned true or false — a contradiction is, in a sense, the logical opposite of a valid statement (tautology): while a tautology is true under every interpretation, a contradiction is false under every interpretation. Detecting whether a given knowledge base (a conjunction of stated facts and rules) contains an internal contradiction is an important consistency-checking task in knowledge representation, since a contradictory knowledge base can, under classical logic, be used to derive absolutely any conclusion whatsoever (the principle of explosion), rendering it entirely useless for meaningful reasoning until the contradiction is identified and resolved.

(b) Positive Margin and Negative Margin in Support Vector Machine

SVM - Positive and Negative MarginDecision boundaryPositive margin boundaryNegative margin boundary

A Support Vector Machine (SVM) is a supervised learning algorithm used primarily for binary classification, which seeks to find the optimal separating hyperplane (decision boundary) that divides the training data points belonging to two different classes, positioned so as to maximize the separation (margin) between the two classes.

Positive margin: the perpendicular distance from the SVM's central decision boundary (separating hyperplane) to the nearest training data point(s) belonging to the positive class — these nearest positive-class points, which lie exactly on this positive margin boundary, are called the positive support vectors, since they are the specific data points that most directly determine (support) the exact position and orientation of the margin boundary on the positive-class side.

Negative margin: correspondingly, the perpendicular distance from the central decision boundary to the nearest training data point(s) belonging to the negative class, with these nearest negative-class points termed the negative support vectors, similarly determining the margin boundary's position on the negative-class side.

SVM training objective: the fundamental training objective of a (hard-margin, linearly separable) SVM is to position the decision boundary hyperplane so that the combined total margin (the sum of the positive margin and negative margin, i.e., the full perpendicular distance separating the nearest positive-class point from the nearest negative-class point) is maximized, while still correctly classifying every training data point — this maximum-margin principle is motivated by the intuition, formally supported by statistical learning theory, that a decision boundary positioned with the largest possible margin from the nearest training points of each class tends to generalize better to new, previously unseen data than a decision boundary that happens to pass very close to some of the training points, since a larger margin provides greater tolerance to small perturbations or noise in the input data before a point would be misclassified. In practice, for data that is not perfectly linearly separable, a soft-margin SVM formulation is used instead, which allows a controlled, penalized degree of margin violation (some training points falling within, or even on the wrong side of, the positive or negative margin boundaries) in exchange for a wider overall margin and improved generalization performance, with a regularization parameter controlling the trade-off between margin width and the penalty for such margin violations.

The practical effectiveness of any heuristic search algorithm is ultimately governed by the quality of the heuristic function employed - a heuristic that closely approximates the true remaining cost to the goal (while never overestimating it, satisfying the admissibility condition required for algorithms like A* to guarantee an optimal solution) will guide the search very efficiently toward the goal, whereas a poorly-informed or misleading heuristic can cause the search to explore many unnecessary states, degrading performance toward that of an uninformed search strategy.

Understanding these logical properties (validity, satisfiability, and contradiction) is essential groundwork before more advanced knowledge-representation and automated-reasoning topics can be meaningfully studied, since virtually every automated theorem-proving or logical-inference algorithm in AI is fundamentally concerned with determining, for a given set of premises and a proposed conclusion, whether the conclusion is a valid logical consequence of the premises, which reduces directly to checking whether the negation of the conclusion combined with the premises is unsatisfiable (a contradiction), tying these three logical properties together as complementary facets of the same underlying reasoning problem.

This close relationship between validity, satisfiability, and contradiction is why automated reasoning systems can typically implement all three checks using the same underlying satisfiability-testing machinery.

Both the logical properties discussed and the SVM margin concepts remain essential, frequently examined topics within any comprehensive AI curriculum.

Mastery of both areas is a prerequisite for tackling more advanced automated reasoning and machine learning classification topics later in the curriculum.

Both topics are frequently paired in examinations given their shared roots in formal decision-boundary reasoning.

Back to Paper