You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Abductive-Learning.rst 3.7 kB

1 year ago
1 year ago
1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Abductive Learning
  2. ==================
  3. Traditional supervised machine learning, e.g. classification, is
  4. predominantly data-driven, as shown in the below figure.
  5. Here, a set of data examples is given, including training instances
  6. :math:`\{x_1,\dots,x_m\}` and corresponding ground-truth labels :math:`\{\text{label}(x_1),\dots,\text{label}(x_m)\}`.
  7. These data are then used to train a classifier model :math:`f`,
  8. aiming to accurately predict the unseen data instances.
  9. .. image:: ../_static/img/ML.png
  10. :align: center
  11. :width: 280px
  12. In **Abductive Learning (ABL)**, we assume that, in addition to data,
  13. there is also a knowledge base :math:`\mathcal{KB}` containing
  14. domain knowledge at our disposal. We aim for the classifier :math:`f`
  15. to make correct predictions on data instances :math:`\{x_1,\dots,x_m\}`,
  16. and meanwhile, the pseudo-groundings grounded by the prediction
  17. :math:`\left\{f(\boldsymbol{x}_1), \ldots, f(\boldsymbol{x}_m)\right\}`
  18. should be compatible with :math:`\mathcal{KB}`.
  19. The process of ABL is as follows:
  20. 1. Upon receiving data instances :math:`\left\{x_1,\dots,x_m\right\}` as input,
  21. pseudo-labels
  22. :math:`\left\{f(\boldsymbol{x}_1), \ldots, f(\boldsymbol{x}_m)\right\}`
  23. are predicted by a data-driven classifier model.
  24. 2. These pseudo-labels are then converted into pseudo-groundings
  25. :math:`\mathcal{O}` that are acceptable for logical reasoning.
  26. 3. Conduct joint reasoning with :math:`\mathcal{KB}` to find any
  27. inconsistencies. If found, the pseudo-groundings that lead to minimal
  28. inconsistency can be identified.
  29. 4. Modify the identified facts through **abductive reasoning** (or, **abduction**),
  30. returning revised pseudo-groundings :math:`\Delta(\mathcal{O})` which are
  31. compatible with :math:`\mathcal{KB}`.
  32. 5. These revised pseudo-groundings are converted back to the form of
  33. pseudo-labels, and used like ground-truth labels in conventional
  34. supervised learning to train a new classifier.
  35. 6. The new classifier will then be adopted to replace the previous one
  36. in the next iteration.
  37. This above process repeats until the classifier is no longer updated, or
  38. the pseudo-groundings :math:`\mathcal{O}` are compatible with the knowledge
  39. base.
  40. The following figure illustrates this process:
  41. .. image:: ../_static/img/ABL.png
  42. :width: 800px
  43. We can observe that in the above figure, the left half involves machine
  44. learning, while the right half involves logical reasoning. Thus, the
  45. entire Abductive Learning process is a continuous cycle of machine
  46. learning and logical reasoning. This effectively forms a paradigm that
  47. is dual-driven by both data and domain knowledge, integrating and
  48. balancing the use of machine learning and logical reasoning in a unified
  49. model.
  50. For more information about ABL, please refer to `References <../References.html>`_.
  51. .. _abd:
  52. .. admonition:: What is Abductive Reasoning?
  53. Abductive reasoning, also known as abduction, refers to the process of
  54. selectively inferring certain facts and hypotheses that explain
  55. phenomena and observations based on background knowledge. Unlike
  56. deductive reasoning, which leads to definitive conclusions, abductive
  57. reasoning may arrive at conclusions that are plausible but not conclusively
  58. proven.
  59. In ABL, given :math:`\mathcal{KB}` (typically expressed
  60. in first-order logic clauses), one can perform both deductive and
  61. abductive reasoning. Deductive reasoning allows deriving
  62. :math:`b` from :math:`a`, while abductive reasoning allows inferring
  63. :math:`a` as an explanation of :math:`b`. In other words,
  64. deductive reasoning and abductive reasoning differ in which end,
  65. right or left, of the proposition “:math:`a\models b`” serves as conclusion.

An efficient Python toolkit for Abductive Learning (ABL), a novel paradigm that integrates machine learning and logical reasoning in a unified framework.